Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am having some difficulty with the numbering of a couple of footnotes in an epigraph. Using \footnotemark and \footnotetext, both the footnotes are given the same number although the contents are correct. Using \footnotemark[1] doesn't help either. I am using the epigraph package.

MWE:

\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{epigraph}
\usepackage[sc]{mathpazo}
\setlength{\epigraphrule}{0pt}
\setlength{\epigraphwidth}{.9\textwidth}
\renewcommand{\epigraphflush}{center}
\renewcommand{\sourceflush}{flushright}
\renewcommand{\textflush}{flushleft}
\setlength{\afterepigraphskip}{.2\baselineskip}

\begin{document}
\section{Introduction}
\begin{epigraphs}
\qitem{Epigraph one blah blah blah?\footnotemark Blah blah\footnotemark blah}%  
{---\textsc{Author A}}
\qitem{Epigraph two blah blah}%
{---\textsc{Author B}}
\end{epigraphs}
\footnotetext{one}
\footnotetext{two}
\noindent Blah blah blah\footnote{three}. Blah blah Blah.
\end{document}
share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

This is not a problem with the epigraphs environment, but a general limitation of the \footnotemark/\footnotetext workaround. If you use this combo for multiple footnotes, you have to adjust the footnote counter by subtracting n-1 (n being the number of footnotes) before the first \footnotetext and using \stepcounter before all other occurences of \footnotetext. Modify your example as follows:

\addtocounter{footnote}{-1}
\footnotetext{one}
\stepcounter{footnote}
\footnotetext{two}

(NOTE: I have given this hint here before, but I don't consider your question a duplicate.)

share|improve this answer
    
Although this works, it seems to break hyperref. Do I just put up with that, or is that another question? –  Frank_Zafka Aug 28 '11 at 15:50
1  
@RSoul: That's another question (one I'd like to know the answer myself). –  lockstep Aug 28 '11 at 15:55
    
Okay, well thanks for the help. :) –  Frank_Zafka Aug 28 '11 at 16:00
    
I opted for Lockstep's solution with \usepackage[hyperfootnotes=false]{hyperref} –  Frank_Zafka Aug 28 '11 at 19:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.