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'm having some issues with page numbering in my LaTeX document. I would like the odd numbered pages to display the page number on the left and the even numbered pages to display it on the right.

I've followed the wiki by the book but it always displays the pages on the left side no matter what; http://en.wikibooks.org/wiki/LaTeX/Page_Layout

This is what I have so far:

\begin{document}
\pagestyle{fancyplain}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{1pt}
\fancyhead[LE,RO]{\thepage}
\fancyfoot[L]{my name}
\fancyfoot[R]{Assignment Name}
share|improve this question
    
Are you using the twoside class option and \pagestyle{fancy}? –  Gonzalo Medina Apr 29 '12 at 16:36
    
Aha! I was missing twoside in my documentclass. Thank you =] –  Steveyphil Apr 29 '12 at 16:44
    
Thanks! And to the folks who closed this - lucky for me the answer was in a comment. You guys were wrong in saying this was "unlikely to help any future visitors." It was exactly what I needed. Thanks to Steveyphil for asking, and for Gonzalo for the answer. –  Steve Kass Jan 4 at 3:10
add comment

closed as too localized by lockstep, Marco Daniel, Joseph Wright Apr 29 '12 at 16:50

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.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.