Click to See Complete Forum and Search --> : LaTeX Headers?


Namtar314
10-13-2002, 07:42 PM
Really quick question...

I just want a simple header on the top of an article I'm writing. (It's actually the essay to a grad school aplication)

All I want is my name on one side and my phone number on the other side.

I have found information on how to make headers with lots of complicated info, but nothing on how to make a simple one.

Thanks for the help
Namtar

demian
10-14-2002, 11:12 AM
The headers and footers are controlled with the

\@oddhead
\@evenhead
\@oddfoot
\@evenfoot

commands. You can change them in your document preamble:


[stuff here...]

\makeatletter
\renewcommand{\@evenhead}{\textrm{Your Name}\hfil\textrm{and number}}
\renewcommand{\@oddhead}{\sectionmark\hfil\thepage }
\makeatother
[more stuff here...]


Just an example. If you don't use two sided printing you only need to define \@oddhead and \@oddfoot