TeX - LaTeX Asked by cruijf on March 18, 2021
EDIT: I ended up using the method outlined here and was able to resolve the problem. Big thanks to the answerer of that question!
I am using LyX, and am trying to center two images next to each other. They are both positioned in a float right now, each in their own box minipage. I have used the paragraph settings to center the float, the images inside, as well as the boxes, but for some reason their position is still shifted to the right (see screenshot). Any idea how to fix this?
This is what I see in the code prevew pane:
begin{center}
begin{figure}[H]
centering{}%
begin{minipage}[t]{0.45linewidth}%
begin{center}
includegraphics[width=0.42paperwidth,height=0.45textheight,keepaspectratio]{../Figures/Consumption}
parend{center}
caption{Consumption}
%
end{minipage}hspace*{0.05paperwidth}%
begin{minipage}[t]{0.45linewidth}%
begin{center}
includegraphics[width=0.42paperwidth,height=0.45textheight,keepaspectratio]{string"../Figures/Agg Capitalstring".jpg}
parend{center}
caption{Aggregate Capital}
%
end{minipage}
end{figure}
parend{center}
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP