LyXProblems with subfigures in Lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Oski
Posts: 4
Joined: Sat Apr 16, 2011 7:22 pm

Problems with subfigures in Lyx

Post by Oski »

Hi, was hoping I could get some help with my thesis. I'm trying to make a figure float with subfigures but everytime I nest a figure float within a figure float and try to make a PDF of the document it comes up with an error message (below). Any ideas? Any help would be massively appreciated.

Latex error: File 'caption.sty' not found

}
%
*** (cannot \read from terminal in nonstop modes)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Problems with subfigures in Lyx

Post by Stefan Kottwitz »

Hi Oski,

welcome to the board!

Install the caption package. For this, use the package manager of your distribution: mpn with MiKTeX, tlmgr with TeX Live or MacTeX. You should find that package manager also in the menu of your OS.

Stefan
LaTeX.org admin
Oski
Posts: 4
Joined: Sat Apr 16, 2011 7:22 pm

Re: Problems with subfigures in Lyx

Post by Oski »

Fantastic! That's sorted it right out, thank you so much. I'd not realised there was all this stuff that needs enabling. Cheers for the clear advice!
Post Reply