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 was given the following style:

% Style definitions
\usepackage{fancyhdr}

\renewcommand{\chaptermark}[1]% 
{\markboth{\MakeUppercase{\chaptername\ \thechapter.\ #1}}{}} 
\renewcommand{\sectionmark}[1]% 
{\markright{\MakeUppercase{\thesection.\ #1}}}
\newcommand{\helv}{% 
\fontfamily{phv}\fontseries{b}\fontsize{9}{11}\selectfont} 

\newcommand{\cp}[0]{\clearpage{\thispagestyle{empty}\cleardoublepage}}
\fancyhf{} 

%\fancyhead[LE,RO]{\helv \thepage} 
\fancyhead[LO]{\helv \rightmark} 
\fancyhead[RE]{\helv \leftmark}
\renewcommand{\headrulewidth}{0.5pt} 

\fancyfoot[R]{\helv \thepage}
\renewcommand{\footrulewidth}{0.5pt}

\fancypagestyle{plain}{% 
\fancyhf{} % clear all header and footer fields 
\fancyfoot[R]{\helv \thepage} % except the center 
\renewcommand{\headrulewidth}{0pt} 
\renewcommand{\footrulewidth}{0.5pt}}

When I look at it, it seems to have very redundant commands. However I don't understand this well enough to be certain. Could someone suggest a "cleaning" to this style?

Anyways, this style always marks the page number on the right side. Is there anyway to make the page number always on the outer side of the page.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I did it with:

\fancyfoot[LE,RO]{\helv \thepage}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.