# How can I have multiple lines in a header or footer using scrpage2?

For an assignment at university I have to copy a lay-out template that is provided in Word but I want to use LaTeX. For this, I need to have two lines in the footer.

How can I achieve this using scrpage2? It is possible to simply use \\ in the text, e.g.

\refoot{\upshape Course year\\ 2010/2011}


however, then the text is shifted upwards into my separation line instead of downwards.

There are the commands

\setheadwidth
\setfootwidth


available but not

\setfootheight


Minimal example:

\documentclass{scrartcl}

\usepackage{ucs}
\usepackage[utf8x]{inputenc}

\refoot{Course year\\ 2010/2011}
\rofoot{Course year\\ 2010/2011}

\begin{document}
This is a sample document.
\end{document}

-
Added a minimal example. –  Ingo Sep 14 '10 at 13:46

in LaTeX2e the command \footheight does not longer exist. It actually did in LaTeX 2.09. To solve your problem there are two possible options.

1) You can use \raisebox and e.g. a tabular environment to get everything below the line

\documentclass{scrartcl}

\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{layout}

\refoot{Course year\\ 2010/2011}
\rofoot{\raisebox{-5ex}{\begin{tabular}[t]{rr}
Course year\\
2010/2011
\end{tabular}}}

\begin{document}

This is a sample document.
\end{document}


2) or you draw the line yourself with \rule

\documentclass{scrartcl}

\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{layout}

\refoot{Course year\\ 2010/2011}
\rofoot{%
\rule{1\textwidth}{1.5pt}
\begin{tabular}[t]{rr}
Course year\\
2010/2011
\end{tabular}}