6

How to increase footer text distance from the separator line so that it looks like header?

You can see the distance from footer text to line is less than header....

enter image description here

3
  • It would be good if you provide a small code example which produces this. Then we would know the specific KOMA class you are using and your settings regarding class, scrpage2 (or fancyhdr, possibly) and everything else involved.
    – Stefan Kottwitz
    Jun 4, 2011 at 10:38
  • the example below works
    – yolo
    Jun 4, 2011 at 11:55
  • For background information to this question (in German), see the KOMA-Script Documentation Project.
    – mhp
    Feb 15, 2012 at 8:33

2 Answers 2

10

try this:

\documentclass[]{scrartcl}
\usepackage{calc}
\usepackage[headsepline,footsepline]{scrpage2}
\clearscrheadings
\ihead{Header}
\ifoot{\rule{0pt}{\ht\strutbox+\dp\strutbox}Footer}
\pagestyle{scrheadings}
\begin{document}
\mbox{}
\end{document} 
2
  • 1
    +1, and I need to get familiar with \strutbox.
    – lockstep
    Jun 4, 2011 at 10:46
  • 1
    works with scrbook as well
    – yolo
    Jun 4, 2011 at 11:55
0

This is the answer in a similar question

\documentclass{scrbook}
\usepackage{blindtext}

\usepackage[
    footsepline=0.25pt, % to show the footwidth
]{scrlayer-scrpage}

% shift lines up:
\ModifyLayer[addvoffset=-.6ex]{scrheadings.foot.above.line}
\ModifyLayer[addvoffset=-.6ex]{plain.scrheadings.foot.above.line}

\begin{document}
\blindtext
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .