3

Illustrating a minimal example:

\documentclass{article}

\usepackage{fancyhdr}

\pagestyle{fancy}

\lhead{Short Name \\ Really long Name}
\chead{Title}
\rhead{Date}

\begin{document}
|
\end{document}

In my plain case I want the Short Name to be centred above the Really long Name

\lhead{\centering Short Name \\ Really long Name}

is not an option

1 Answer 1

7

Use a tabular in the head.

enter image description here

\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{\begin{tabular}[b]{@{}c@{}}
Short Name \\ Really long Name
\end{tabular}}
\chead{Title}
\rhead{Date}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}

I suggest you to change the head height with \setlength{\headheight}{25pt}, for example.

enter image description here

You must log in to answer this question.

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