3

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}

1 Answer 1

5

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.)

3
  • Although this works, it seems to break hyperref. Do I just put up with that, or is that another question? Commented Aug 28, 2011 at 15:50
  • 1
    @RSoul: That's another question (one I'd like to know the answer myself).
    – lockstep
    Commented Aug 28, 2011 at 15:55
  • I opted for Lockstep's solution with \usepackage[hyperfootnotes=false]{hyperref} Commented Aug 28, 2011 at 19:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .