Page Layout ⇒ Spacing between Footnote and Footnote Rule
Spacing between Footnote and Footnote Rule
I'm having a spacement glitch with a footnote horizontal line. See the pictures below. By default, all my footnotes are placed at the bottom of their page.
How can I tell LaTeX to draw the line exactly the same way for all the footnotes ?
Here's the problematic footnote. The horizontal line has a huge space above the footnote text: Here's how the footnotes should look like:
How can I tell LaTeX to draw the line exactly the same way for all the footnotes ?
Here's the problematic footnote. The horizontal line has a huge space above the footnote text: Here's how the footnotes should look like:
NEW: TikZ book now 40% off at Amazon.com for a short time.

Spacing between Footnote and Footnote Rule
Can you please show us a
minimal working example? There are quite a lot packages (and classes) that influence footnotes that else an answer would be a shot in the dark.
Regards

Regards
site moderator & package author
Spacing between Footnote and Footnote Rule
Ok, here's a working example. But take note that I can't reproduce my spacement issue with a small working example like this. It's a very rare issue (actually, I think it's the first time I got this one and yet I have dozens of footnotes in my document).
I need to tell LaTeX to draw the footnote horizontal line at exactly the same height over the footnote text, like the one from this example :
I need to tell LaTeX to draw the footnote horizontal line at exactly the same height over the footnote text, like the one from this example :
Code: Select all
Code, edit and compile here:
\documentclass[12pt,letterpaper,twoside]{book}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{textcomp}\usepackage{setspace}\setstretch{1.1}\raggedbottom\usepackage[bottom]{footmisc}\usepackage{anysize}\marginsize{1.5in}{1in}{0.5in}{0.5in}\begin{document}Bla bla bla bla\footnote{Bla bla bla bla}. Bla blaaaa !\end{document}
Spacing between Footnote and Footnote Rule
Then you could make it bigger. The “minimal” in MWE means “as long as is needed to reproduce the error/unwanted behavior”Cham wrote:But take note that I can't reproduce my spacement issue with a small working example like this.
Regards
site moderator & package author
Re: Spacing between Footnote and Footnote Rule
I tried to reproduce the issue. I'm yet unable. The issue is unique to a page, and whatever what I do on it, the problem stay the same. I don't have the problem on any other footnote.
My LaTeX document is very big. It's a whole book.
So is there a preamble command to constraint the footnote line ?
My LaTeX document is very big. It's a whole book.
So is there a preamble command to constraint the footnote line ?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Spacing between Footnote and Footnote Rule
You could "hack down" a copy of the document: reduce the code step by step, compile each step and test. Either you fixed it by such a step and located the error here, or you end with a short document which still contains the error, which we could check.
Stefan
Stefan
LaTeX.org admin
Spacing between Footnote and Footnote Rule
Okay, here's the "minimal" example I was able to define to reproduce the problem. The code is a bit long, but as soon as I reduce it in some way (replacing the equations by some text, for example), the issue simply disappear !
The issue is located at the bottom of the last page (there are two pages in this example) : The footnote horizontal line doesn't have the same spacing as the footnote on the first page. What is wrong here ?
The issue is located at the bottom of the last page (there are two pages in this example) : The footnote horizontal line doesn't have the same spacing as the footnote on the first page. What is wrong here ?
Code: Select all
Code, edit and compile here:
\documentclass[12pt,letterpaper,twoside]{book}\usepackage[T1]{fontenc}\usepackage{setspace}\setstretch{1.1}\usepackage{pdfpages} % include color directives. Also needed for the title page\usepackage{anysize}\marginsize{1.5in}{1in}{0.5in}{0.5in}\usepackage{titlesec}\usepackage{empheq} % to put a frame around an equation\newenvironment{important}[2][]{\setkeys{EmphEqEnv}{#2}\setkeys{EmphEqOpt}{box={\setlength{\fboxsep}{10pt}\fcolorbox{gray}{gray}},#1}\EmphEqMainEnv}{\endEmphEqMainEnv}\begin{document}\section{Bla bla}Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla\footnote{Bla bla bla.} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla babla bla blabla bla bla bla bla bla blaa bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blbla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blas\begin{align*}A = B &= C \\ \\&= D.\end{align*}bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla :\begin{important}{equation}A = B,\end{important}bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla\footnote{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla blabla bla blabla bla bla bla bla bla bla bla bla bla :\begin{equation*}A = B.\end{equation*}}, bla bla bla bla.Bla bla bla\footnote{Bla bla bla.}.\end{document}
Spacing between Footnote and Footnote Rule
I have a solution that fixes the MWE: include the bigfoot package. However, this might not be compatible with
Regards
\usepackage[bottom]{footmisc}
(from your first example), although »bigfoot« might take care of the cases itself where »footmisc«'s bottom
option is useful. Another however: »bigfoot« is incompatible with hyperref's hyperfootnotes
and turns them off.Regards
site moderator & package author
Spacing between Footnote and Footnote Rule
Thanks, is solves the issue,
but I'm using hyperref alot with url links in footnotes. I haven't tested your solution to my whole book yet, and I'm afraid it would give a lot of troubles.
And what is the parameter to place all the footnotes at the bottom of the page ? The documentation isn't clear about that.
but I'm using hyperref alot with url links in footnotes. I haven't tested your solution to my whole book yet, and I'm afraid it would give a lot of troubles.
And what is the parameter to place all the footnotes at the bottom of the page ? The documentation isn't clear about that.
Re: Spacing between Footnote and Footnote Rule
Double post deleted...
Last edited by Cham on Thu Oct 11, 2012 2:08 am, edited 1 time in total.