GeneralFootnote line vertical space with the revtex4-1 class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Footnote line vertical space with the revtex4-1 class

Post by Cham »

I'm having a small aesthetical glitch with the footnote line, with the revtex4-1 document class :
linegap.jpg
linegap.jpg (14.54 KiB) Viewed 4461 times
The line has too much vertical white space above the first footnote entry. How to reduce it ?

And how to make that line a bit longer ?

Here's a MWE code to work with, with some humor ;) :

Code: Select all

\RequirePackage[l2tabu,orthodox]{nag}
\documentclass[10pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1}
\usepackage[letterpaper,margin=1in]{geometry}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{microtype}
\raggedbottom
\usepackage[bottom]{footmisc}

\begin{document}

\title{A code from a bozo}
\author{A bozo made this code}
\maketitle

\section{Some unfunny title}

\LaTeX is cool\footnote{Some note from a clown.}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Footnote line vertical space with the revtex4-1 class

Post by Stefan Kottwitz »

A quick shot:

Code: Select all

\renewcommand{\footnoterule}{\kern -1ex\rule{\linewidth}{0.5pt}\\\vspace{1ex}}
Stefan
LaTeX.org admin
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Footnote line vertical space with the revtex4-1 class

Post by Cham »

I wasn't expecting this kind of command. Feels "hacky".

Is it really the most "natural" way, or is it a kind of hack because of the lack of flexibility of the revtex4 class ?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Footnote line vertical space with the revtex4-1 class

Post by Stefan Kottwitz »

\footnoterule is predefined and just used, you can redefine it as you like. I just put together some commands. :-)

Stefan
LaTeX.org admin
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Footnote line vertical space with the revtex4-1 class

Post by Cham »

Ok, I think this is good then. I'll use your code, with a shorter lenght.

Thanks again, Stefan !

I have one last glitch with footnotes and the pesky revtex4-1 class. I'll start another topic on it, since it's unrelated to the above (AFAIK).
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Footnote line vertical space with the revtex4-1 class

Post by Cham »

Stefan,

my last glitch with the revtex4-1 class is there : http://latex.org/forum/viewtopic.php?f= ... 51#p100251
Post Reply