I often go back and force between LyX and LaTeX. Unfortunately, exporting from LyX to LaTeX (pdflatex) and importing again into LyX messes up the layout of (sub)figures.

More particularly, I'd like subfigures to appear side by side. In the original LyX file, this looks as follows, and in the PDF figures appear side by side

(figure_layout_original.lyx)

If I now export to LaTeX (pdflatex), and compile the .tex file (figure_layout.tex), the figures still appear side by side.

However, if I import back into LyX (import from LaTeX, plain), the figures appear below one another.

(figure_layout_imported.lyx)

I then have to readjust the layout for all subfigures. Do you have any suggestions how to avoid this behavior. To replicate the issue, find a minimum working example with the files mentioned above at: https://www.dropbox.com/sh/3c6ea1mztonqrgs/AADidw2HLdqv74d6MO2iUmVea?dl=0

Regards,
Uwe

P.S. I'm running LyX Version 2.3.0 on macOS High Sierra

Reply via email to