Hi!
Is it possible to change the head in an easy way when using a two sided layout? Because I would like to have the page number on the right hand side on odd and on the left hand side on even pages…
Thank you for your help!
Regards,
Carina
Theses, Books, Title pages ⇒ Page numbers incorrect with two side page layout
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: Page numbers incorrect with two side page layout
Hello, I changed the documentclass to twoside but the number of the page is always, both in odd and even pages, appearing in the up right side of the paper. What can I do to change it? Thanks for th great tamplate!
Antonis
Antonis
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: Page numbers incorrect with two side page layout
Hi,
first thanks for the great template!
I have the same problem as Antonis (15. April)
“…Hello, I changed the documentclass to twoside but the number of the page is always, both in odd and even pages, appearing in the up right side of the paper. What can I do to change it? Thanks for th great tamplate!…”
Some idea?
jojo
first thanks for the great template!
I have the same problem as Antonis (15. April)
“…Hello, I changed the documentclass to twoside but the number of the page is always, both in odd and even pages, appearing in the up right side of the paper. What can I do to change it? Thanks for th great tamplate!…”
Some idea?
jojo
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Page numbers incorrect with two side page layout
Hello all,
besides changing the documentclass to
First of all, in the
Then, if you want to add a header with the chapter number (or anything), at the beginning of each chapter you should use
this is for the header on each page - perhaps a shortened title. Left header of odd pages (and right header of even pages), the description of the chapter.
Hope it helps!
Cayetano
besides changing the documentclass to
twoside
, there are two things you should change.First of all, in the
main.tex
file, right before calling the chapters you should use this:Code: Select all
\pagestyle{fancy} % Return the page headers back to the "fancy" style
\fancyhead{} % clear all fields
\fancyhead[LE,RO]{\thepage} %left header of even pages, number of the page. Right header of odd pages, number of the page
\input{Chapters/Chapter1}
\input{Chapters/Chapter2}
Then, if you want to add a header with the chapter number (or anything), at the beginning of each chapter you should use
Code: Select all
\fancyhead[LO,RE]{Chapter~X} % Change X to a consecutive number;
this is for the header on each page - perhaps a shortened title. Left header of odd pages (and right header of even pages), the description of the chapter.
Hope it helps!
Cayetano