LyXCitation inside figure labels - Issue

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Derf_Person
Posts: 2
Joined: Tue Nov 23, 2010 10:34 pm

Citation inside figure labels - Issue

Post by Derf_Person »

Greetings,

I'm writing my thesis with Lyx, the document includes a list of figures before the first chapter, I have some figures with citations inside, I'm using the numerical mode and for the bibliography style "unsrt".

My problem is that lyx starts numbering the citations in the list of figures, so when I reach the first chapter the first citation there is already number 7...It should start only in the first chapter...

Can someone help me?

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Citation inside figure labels - Issue

Post by kaiserkarl13 »

The best solution is to make a separate (often shorter) caption appear in the table of contents than appears in the main document, like so:

Code: Select all

  \caption[Diagram showing everything you'd ever want to know]%
          {Diagram showing everything you'd ever want to know.
           Adapted from Smith~\cite{Smith1992}.}
This solves the problem of erratic numbers appearing in the caption (which you don't want).
Post Reply