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 want to write my master thesis and I use the following setting:



\usepackage [round,authoryear] {natbib} 



\usepackage[bookmarksopen,hyperfootnotes=false,pdftitle=test, pdfauthor=test,pdfsubject=Project]{hyperref}


\textwidth157mm \oddsidemargin11mm \evensidemargin11mm


\ifoot[]{My Name}

% {\includegraphics[scale=1]{Logowatermark.jpg}}}




\normalsize description\\


Degree Course: enter here\\

\textbf{School of  \mbox{test}}\\[0.8cm]

Name of Chair \\[1.5cm]
%\begin{tabular}{l l}
Chairholder:  \\
Supervisors:             \\
Author:   &My Name              \\
%Address:         &               \\[0.2cm]
%                 &1                   \\
Matriculation Number.:    &            \\
Email:           &      \\

Place, Date






 % \input{Chapter1}  
test test test test test test
\end{document}                                           % Ende des Dokuments

I am not happy with my header: As you can see on the first page (roman number 1 ), there is no text in the header. So this would be only the case on the next page. But I want to have a header text on every page with the chapter description and with the section description. Second I want to have at the left and at the rigth side of the black line of the header an additional vertical line. I attached a link to a screenshot which illustrates what I mean (I have not enough reputation to attach images :-( )

enter image description here

share|improve this question
Welcome to TeX.sx! No need to add thanks in your post, we save space that way. Simply upvote any good answers you may receive to express your gratitude to those that help. –  Peter Jansson Mar 4 '13 at 14:52
@Stat Tistician What you want to achieve is not very clear. You should clarify your original post so the community can guide you in the right direction. At any rate, the fancyhdr package is a very good package to customise header and footer. You should look it up. –  Jubobs Mar 4 '13 at 18:21
@Jubobs 1. I want to have text in the header on every page including chapter and section description 2. I want to have a vertical line on the left and on the right side of the header, you can see it in the attached picture. I cannot implement fancyheader, since I get the following error message: ! LaTeX Error: Command \chead already defined. Or name \end... illegal, see p.192 of the manual. –  Stat Tistician Mar 4 '13 at 19:59
add comment

closed as unclear what you're asking by Joseph Wright Aug 9 '13 at 20:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.