Graphics, Figures & TablesGlossary entry within a caption

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
nePolle
Posts: 4
Joined: Fri Apr 16, 2010 11:30 am

Glossary entry within a caption

Post by nePolle »

Hi there

I tried to put a glossarlink within a capture tag:

\begin{figure}[htbp]
\centering
\begin{minipage}{3.2 cm}
\includegraphics[width=1.0\textwidth]{myImage}
\caption{Text \gls{GlossoarLink} \cite{Stuff}}
\label{Text}
\end{minipage}...

Citation works fine also my hole document without the gls tag, but it doesn´t work with the gls tag...

Can someone help me???

Thanks and regards

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: Glossary entry within a caption

Post by sommerfee »

Try using \protect\gls instead of \gls.
nePolle
Posts: 4
Joined: Fri Apr 16, 2010 11:30 am

Re: Glossary entry within a caption

Post by nePolle »

Thank you for your answer

it works!!
Post Reply