Am 21.09.24 um 10:30 schrieb Jürgen Spitzmüller:
Am Samstag, dem 21.09.2024 um 08:54 +0200 schrieb Herbert Voss:
Yes, \thanks is a footnote and that is fragile. However, using
\thanks
inside
a caption is wrong LaTeX code, because it also moved into the
listoftables|figures
and you'll get it _two_ times in the output.
A \thanks should (without \protect) only be used together with the
optional
argument which gets the caption titel without thanks.

\caption[foo]{foo\thanks{bar}}

   Then all is fine: for LaTeX and for LyX ... :-)
The problem is not about \thanks in a caption, but about a label in
\thanks, as in

ok, but that is completely different to the caption case.

Herbert


\documentclass{article}
\usepackage[T1]{fontenc}

\begin{document}

\title{title\thanks{\label{fn:bla-blah}bla blah}}
\maketitle

see footnote \ref{fn:bla-blah}
\end{document}


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to