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 have a problem with placing a footnote. In the text I use \footnote{blabla} and it works well and displays the "blabla" at the bottom of the page. But I use a header and footer in the document and I would like to place the footnote in the footer below the line, that separates the footer from text. I have managed to remove the line above the footnote so now I do not have two lines (one to separate footnote and another to separate footer), but the footnote is still part of the text and not part of the footer. I have also tried using "bottom" in the use package:

\usepackage[bottom,norule]{footmisc}

but that did not help.

Do you know how can I force the footnote to be part of the footer?

share|improve this question
    
Could you give us a minimal example? It's not clear what you want... –  Seamus Jul 19 '11 at 13:13
    
Does this question help? –  Seamus Jul 19 '11 at 13:13
5  
Don't do it. The footnotes are not part of the footer. I don't think there is a package or option for that. –  Martin Scharrer Jul 19 '11 at 13:51

2 Answers 2

You would have to modify the fancyhdr package to include a test to see if there were any footnotes in the insert which holds them, and then output them in the footer. The problem would be that the footnoting mechanism is not coupled to the running-footer mechanism, and the footnoting mechanism operates first, so you would also need to maintain a flag that says you don't want footnotes in the normal place, and then modify the footnoting mechanism to detect that and act accordingly. Technically possible, but a lot of work, and it might raise conflicts with other packages.

From what you say, you seem to want a variable-height footer (sometimes normal height, other times as high as needed to accommodate the footnotes). IMHO this is A Bad Idea, typographically.

Why not fake it up by making the footnote rule full-width, and removing the rule above the footer? If you wanted a rule above the footer on pages with no footnotes, though, you'd still need to rewrite parts of fancyhdr.

share|improve this answer
    
I was affraid there is no simple way. I guess I will eithe remove the line above footer and do what you propose or I will make peace with having the footnote as part of the text. Thanks for help! –  Cunik16 Jul 19 '11 at 15:33

I faced the same problem, and I managed to get the footnote text into the page footer using a simple hack. To display the footnotemark, I temporarily change the fancyhdr layout using \thispagestyle:

% footnote in footer
\newcommand{\fancyfootnotetext}[2]{%
  \fancypagestyle{dingens}{%
    \fancyfoot[LO,RE]{\parbox{12cm}{\footnotemark[#1]\footnotesize #2}}%
  }%
  \thispagestyle{dingens}%
}

It can be used like a normal pair of \footnotemark[x] and \footnotetext[x] (manual numbering is mandatory, as it is not figured out automatically):

text that needs a footnote\footnotemark[1]

\fancyfootnotetext{1}{this is the footnote which will appear in the page footer}

For changing the footnote appearance, please refer to the fancyhdr's documentation: http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr

footnote in fancyhdr's footer

share|improve this answer
1  
Welcome to LaTeX! As new user without image posting privileges simply include the image as normal and remove the ! in front of it to turn it into a link. A moderator or another user with edit privileges can then reinsert the ! to turn it into an image again until you get more rep points. –  percusse Oct 2 '12 at 12:23
    
I added a \vspace{0.75cm} to the \parbox to use this with a footer that had a centred page number, and it worked great. Thanks. –  Jon May 21 at 2:27

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.