fancyhdr in Latex - onesided book
Here is my problem:

Im writing my thesis using the book class. I want my thesis to be onesided (left and right margins of same size), but I would also like to use the fancyhdr package to give me chapter names in the pagehead of even pages and section names in the pagehead of odd pages.

Trying to do so together with the "oneside" option gives me a warning when compiling saying that the [E] option is useless when the book is "onesided".

Example code:

    \documentclass[11pt,a4paper, oneside]{book}
    ...
    \fancyhf{} 
    \pagestyle{fancy}
      \headheight 20pt
      \fancyhead[LE]{\rightmark}


Any good ideas would be much appreciated!
fancyhdr in Latex - onesided book
===

Here is my problem:

Im writing my thesis using the book class. I want my thesis to be onesided (left and right margins of same size), but I would also like to use the fancyhdr package to give me chapter names in the pagehead of even pages and section names in the pagehead of odd pages.

Trying to do so together with the "oneside" option gives me a warning when compiling saying that the [E] option is useless when the book is "onesided".

Example code:

    \documentclass[11pt,a4paper, oneside]{book}
    ...
    \fancyhf{} 
    \pagestyle{fancy}
      \headheight 20pt
      \fancyhead[LE]{\rightmark}


Any good ideas would be much appreciated!