I hope that questions about lateks are welcome here at Stackoverflow, as this is not programming related.
I am having trouble determining the correct style for the header using the package fancyhdr. I would like to achieve
- On the odd pages on the left side, the following text is "My paper title"
- On even pages on the right side, the text "Last name Last name"
(Replaced with the correct text, of course).
I currently have the following “test” latex document:
\documentclass[a4paper,12pt,T2A,oneside]{article}
\usepackage[english]{babel}
\usepackage{indentfirst}
\usepackage{amsmath}
\usepackage{amsxtra}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage[pdfborder=0 0 0]{hyperref}
%define the header
\pagestyle{fancy}
\fancyhf{}
\fancyhf[ROH,LEH]{Firstname Surname}
\fancyhf[REH,LOH]{\bfseries My paper title}
\begin{document}
\title{My title \\}
\author{\small{Firstname Surname}}
\date{June 9, 2009}
\maketitle
\section{Introduction}
blablabla asdfasdf asdf ads fad sf
adsfadsf a fdasfd asfd
\subsection{This is a subsection}
Some text\ldots
\pagebreak
some further text
\pagebreak
some additional text
% Stop your text
\end{document}
I tried different versions of this part
\fancyhf{}
\fancyhf[ROH,LEH]{Firstname Surname}
\fancyhf[REH,LOH]{\bfseries My paper title}
. . wiki, "ROH" ..... , - . - , ...
!
//Edit:
Tex: gwTeX
: Mac OS X 10.5.8