Open eyayaw opened 1 year ago
@dragonstyle do we allow sizing inside layout for LaTeX ?
it seems it works for HTML, but I am not sure if LaTeX implementation of layout allow sizing. It seems it probably should work but unsure...
(tagging myself on this one too since the fix will go through the new PanelLayout node. That's messy enough that I think you'll want my help. Let me know..)
This is related to #2417.
Changing the
out-width
in a multi-plot layout is ignored for pdf output.Custom widths are completely ignored on pdf output.
Generated tex
```tex \begin{figure} \begin{minipage}[t]{0.50\linewidth} {\centering \raisebox{-\height}{ \includegraphics{out-width_files/mediabag/surus.png} } } \subcaption{\label{fig-surus}Surus} \end{minipage}% % \begin{minipage}[t]{0.50\linewidth} {\centering \raisebox{-\height}{ \includegraphics{out-width_files/mediabag/hanno.png} } } \subcaption{\label{fig-hanno}Hanno} \end{minipage}% \caption{\label{fig-elephants}Famous Elephants} \end{figure} \begin{figure} \begin{minipage}[t]{0.50\linewidth} {\centering \raisebox{-\height}{ \includegraphics{out-width_files/mediabag/surus.png} } } \subcaption{\label{fig-surus-1}Surus} \end{minipage}% % \begin{minipage}[t]{0.50\linewidth} {\centering \raisebox{-\height}{ \includegraphics{out-width_files/mediabag/hanno.png} } } \subcaption{\label{fig-hanno-2}Hanno} \end{minipage}% \caption{\label{fig-elephants-1}Famous Elephants 1} \end{figure} ```