Theses, Books, Title pagescross referencing footnote

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
pierre92
Posts: 13
Joined: Fri Jun 19, 2015 4:19 pm

cross referencing footnote

Post by pierre92 »

Hi all,

My template: legrand orange book

I have tried to cross-reference footnotes but had no luck so far. My footnotes are non-consecutive and numbered with arabic numbers and yes, I do need to cross-reference footnotes dynamically.

I have tried to add a \label{note:note1} inside the target footnote, and to call it with either \footref{note:note1} or with \footnoteref{note:note1}. In both cases, the compiler pdfLaTex gives me a "Undefined control sequence" which seems to indicate it's as puzzled as I am.

Code: Select all

This is a text\footnote{\label{note:note1} With an interesting footnote.}, but this is a picture\footnote{not quite but who cares}. The question remains as to what this is\footref{note1}
I could not find an example of how to do that in the template, just how to make a footnote. Any ideas ?

Thanks
Last edited by cgnieder on Sun Jul 05, 2015 1:06 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

cross referencing footnote

Post by Johannes_B »

You are thinking too complicated ;-)

Code: Select all

\documentclass{article}
\begin{document}
a lot to say about walzing wombat\footnote{not about lazy
leguans\label{fn:ll}}

See details in footnote~\ref{fn:ll}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
pierre92
Posts: 13
Joined: Fri Jun 19, 2015 4:19 pm

Re: cross referencing footnote

Post by pierre92 »

Indeed, it was way too complicated. Thanks a lot!
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

cross referencing footnote

Post by cgnieder »

\footref isn't a standard LaTeX macro. So depending on the class and packages you're using it is no surprise that you're getting errors. KOMA-Script classes and memoir do have a \footref, though, see Reference different places to the same footnote on TeX.sx.

Regards
site moderator & package author
Post Reply