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 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

share|improve this question
    
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 '11 at 10:38
    
the example below works –  umar Jun 4 '11 at 11:55
    
For background information to this question (in German), see the KOMA-Script Documentation Project. –  mhp Feb 15 '12 at 8:33
add comment

1 Answer 1

up vote 7 down vote accepted

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} 
share|improve this answer
    
+1, and I need to get familiar with \strutbox. –  lockstep Jun 4 '11 at 10:46
1  
works with scrbook as well –  umar Jun 4 '11 at 11:55
add comment

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.