2

I wrote a LaTeX document (approx. 50 pages) with 2 classmates together. Now i want to show who wrote which part in at the top right of each page. For example at page 2-15 will be my name at the top right corner and at the top right corner is something like "calendar week 30".

How can I do something like that?

schaeferpp
  • 53
  • 6

1 Answers1

2

I found the answer myself:

\usepackage{fancyhdr}
\def \thekw {0}
\def \thespecificauthor {My Name}
\setlength{\headheight}{15.2pt}
\pagestyle{fancyplain}
\rhead{KW \thekw~- \thespecificauthor}

When I modify these variables via

\def \thekw {21}

in the document, the following headers will be correct.

schaeferpp
  • 53
  • 6