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.

How to make footnotes appear at bottom of the footer's bar?

Code:

\renewcommand{\footrulewidth}{0.4pt}

AJAX\footnote{Asynchronous JavaScript and XML permet de construire des applications Web et des sites web dynamiques interactifs sur le poste client.}

Made:

enter image description here

Thanks in advance!

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Set the length \footskip to a suitable value, e.g.

\setlength{\footskip}{17pt}

MWE:

\documentclass{article}
\usepackage{fancyhdr}

\renewcommand{\footrulewidth}{0.4pt}
\pagestyle{fancy}

\setlength{\footskip}{17pt}

\begin{document}

AJAX\footnote{Asynchronous JavaScript and XML permet de construire des applications Web et des sites web dynamiques interactifs sur le poste client.}

\end{document} 

Output:

enter image description here


EDIT

If you want your footnotes under the foot rule, they will overwrite the page number...

In this case I suggest to delete the line

\renewcommand{\footrulewidth}{0.4pt}

and to redefine \footnoterule

\makeatletter
\renewcommand\footnoterule{%
  \kern23\p@
  \hrule\@width\linewidth
  \kern2.6\p@}
\makeatother 

MWE:

\documentclass{article}
\usepackage{fancyhdr}
\usepackage{lipsum} % only for the example

\makeatletter
\renewcommand\footnoterule{%
  \kern23\p@
  \hrule\@width\linewidth
  \kern2.6\p@}
\makeatother

\pagestyle{fancy}

\begin{document}

AJAX\footnote{Asynchronous JavaScript and XML permet de construire des applications Web et des sites web dynamiques interactifs sur le poste client.}

\lipsum[1-8]

\end{document} 

enter image description here

share|improve this answer
    
Is it possible to write footnotes under the lowest foot bar? –  dgs Mar 8 at 9:09
    
The footskip that you have written will damage the final display of a report. Because, that bar will be mixed with the table just above. Have you please a better idea? –  dgs Mar 8 at 9:13
    
PERFECT! What about the space under the footnote? –  dgs Mar 8 at 9:24
    
Is it possible to remove it and place it over the footer bar? –  dgs Mar 8 at 9:31
    
@user3289501 I've edited the answer. Note, however, that the spacing depends on the contents of the page. –  karlkoeller Mar 8 at 10:10

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.