Search found 4 matches

by jamshark70
Sat Jan 17, 2026 4:38 am
Forum: LyX
Topic: Side-by-side subfigures don't work for program listings
Replies: 2
Views: 538

Re: Side-by-side subfigures don't work for program listings


\includegraphics sets the baseline to the bottom. The baseline of your listing, top, is aligned with the baseline of the image, the bottom.


Ohhh I see. I could never have guessed that, since both minipages are set to top alignment. That's counterintuitive, isn't it? A parent object, a minipage ...
by jamshark70
Fri Jan 16, 2026 10:42 am
Forum: LyX
Topic: Side-by-side subfigures don't work for program listings
Replies: 2
Views: 538

Side-by-side subfigures don't work for program listings

Here, I have followed the instructions in https://wiki.lyx.org/FAQ/FiguresSideBySide:


Float


Subfigure (width 0.45\textwidth)
Horizontal fill
Subfigure (width 0.45\textwidth)




In the page screenshot, the top float places a program listing into the first subfigure and an image into the ...
by jamshark70
Fri Jan 16, 2026 10:19 am
Forum: LyX
Topic: Initial pains: for now, fonts
Replies: 3
Views: 592

Re: Initial pains: for now, fonts


Are you sure that LyX is configured to use XeLaTeX? Because the default setting for LyX is pdfLaTeX (Document/Settings/Compiler), and that cannot use TTF fonts. On the other hand, you would get a fontspec error earlier because that cannot be used with pdfLaTeX at all. But check anyway, also to see ...
by jamshark70
Thu Jan 15, 2026 9:43 am
Forum: LyX
Topic: Initial pains: for now, fonts
Replies: 3
Views: 592

Initial pains: for now, fonts

I had been using emacs org-mode LaTeX export for writing documents, but it seems for a current project that I have outgrown this. So I was looking at LyX. I'm pretty sure it can handle what I need (maybe), but...

I like Charis SIL for body text. In my ~/.fonts directory, I have the four CharisSIL-B ...