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.

Following my previous post concerning the change of numbering in footnote to temporally be alphabetical, I'm trying to merge this with the possibility to refer various time to the same footnote as described here. I tried this :

       %---alpha footnotes

   \newenvironment{alphafootnotes}
     {\par\edef\savedfootnotenumber{\number\value{footnote}}
      \renewcommand{\thefootnote}{\alph{footnote}}
      \setcounter{footnote}{0}}
     {\par\setcounter{footnote}{\savedfootnotenumber}}


   %---refer to same footnote more than ounce

\newcommand{\footlabel}[2]{%
    \addtocounter{footnote}{1}
    \footnotetext[\thefootnote]{%
        \addtocounter{footnote}{-1}%
        \refstepcounter{footnote}\label{#1}%
        #2%
    }%
    $^{\ref{#1}}$%
}

\newcommand{\footrefa}[1]{%
    $^{\ref{#1}}$%
}

\newcounter{savefootnote}

But the new \footlabel command inside the newly defined environment seems to enter in conflict ( missing number ... treated as zero )? Any help?

Another part of my question would be redefining the style of the footnote numbering (that is: obtain italic, alphabetical "numbering" of the footnote)

The third and final question is: Is there a package managing all theses footnotes tunings?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

The simplest way to refer to a previously written footnote is to define

\newcommand{\footnoteref}[1]{\textsuperscript{\ref{#1}}}

and put a \label command in the footnote with multiple calls:

text\footnote{The footnote text\label{somelabel}} and again
the same footnote number\footnoteref{somelabel}

If you want italic letters, just change the code in the definition of alphafootnotes: instead of

\renewcommand{\thefootnote}{\alph{footnote}}

write

\renewcommand{\thefootnote}{\textit{\alph{footnote}}}

Consider the bigfoot or manyfoot packages for multiple footnote sets.

share|improve this answer
    
Nice :) Thank you ! –  oo1on Oct 5 '11 at 22:12
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.