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.

I'm using the KOMA-Script report scrreprt to typeset my PhD thesis and the graduate school requires that the main text be double spaced and that the page number be in the top right. When I enable double spacing the page number moves down a little bit. How can I solve this?

Here is a MWE that reproduces the problem:

\documentclass[12pt, letterpaper]{scrreprt}

\usepackage{setspace}

\usepackage{scrpage2}
\pagestyle{scrheadings}
%this code clears the header/footer
\clearscrheadfoot
%then puts the page number in the top right
\rohead[\pagemark]{\pagemark}

\begin{document}
\chapter{ch1}
hello
\chapter{ch2}
\doublespacing
hello
\end{document} 
share|improve this question
2  
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. –  henrique Oct 12 '12 at 1:08
add comment

1 Answer

up vote 7 down vote accepted

Adding \setstretch{1} to the header seems to help:

\makeatletter
\g@addto@macro\headfont{\setstretch{1}}
\makeatother
share|improve this answer
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.