Theses, Books, Title pagesGreek letters in figure captions

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Greek letters in figure captions

Post by templateuser »

Hey Vel,

Great job with the template, it’s beautiful. However, if I use a greek letter in a figure caption I get a failure for the list of figures and if I typeset it again it just doesn’t include the list of figures. It seems to not like greek letters in figure captions. Is there a way around?

So long,
Daniel

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Greek letters in figure captions

Post by templateuser »

Sorry, it’s not only greek letters but the math mode. Thanks

Daniel
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Greek letters in figure captions

Post by templateuser »

If the symbols or commands used in captions are fragile you need to protect them. Citations, glossary entries and a number of others are vulnerable to this, though I am unsure about math mode . Add \protect before the command that is failing to see if that helps. eg:

Code: Select all

\caption{Description shamelessly lifted from \cite{internet}}
becomes

Code: Select all

\caption{Description shamelessly lifted from \protect\cite{internet}}
Cameron
Post Reply