Page LayoutModifications to the Footer

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dk1536
Posts: 2
Joined: Wed Nov 24, 2010 12:53 am

Modifications to the Footer

Post by dk1536 »

hi guys,

i've been trying to find a way to get more space above and below the footer line as it looks too packed if i leave like it is...

does anyone know how to get more space in there?

thank you
Attachments
here you can see that everything is too packed
here you can see that everything is too packed
problem_latex_footnotes.PNG (44.26 KiB) Viewed 4072 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Modifications to the Footer

Post by fatra2 »

Hi there,

Have you tried something like:

Code: Select all

\setlength{\headheight}{XXpt}
This will, as the command says, increase the head/foot height to XXpt. Don't forget to set the paper height according though.

Cheers
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Modifications to the Footer

Post by localghost »

The approach of fatra2 doesn't take two critical points into account.
  1. There is no length register to control the foot height.
  2. The footnotes belong to the text body and not to the footer.
There is the insertion register \footins that needs to be modified to get additional space above the footnote rule. The additional space below the rule is done by a small tweak of the \footnoterule command. See code below for an approach.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[uft8]{inputenc}
\usepackage{babel}
\usepackage[onehalfspacing]{setspace}
\usepackage{blindtext}

\skip\footins=2\bigskipamount     % Determine the space above the rule
\renewcommand*{\footnoterule}{%
  \kern-3pt%
  \hrule width 2in%
  \kern 2.6pt%
  \vspace{\smallskipamount}       % The additional space below the rule
}

\begin{document}
  \blindtext\footnote{The quick brown fox jumps over the lazy dog.}

  \blindtext[3]
\end{document}

Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
dk1536
Posts: 2
Joined: Wed Nov 24, 2010 12:53 am

Re: Modifications to the Footer

Post by dk1536 »

thank you thorsten :)

it worked!
Post Reply