Page Layout ⇒ Page numbering top right corner
-
- Posts: 1
- Joined: Thu Apr 20, 2023 5:56 pm
Page numbering top right corner
I currently working on my bachelor thesis and using latex. I have a given format but unfortunately not all page numbers are displayed in the top right corner sometimes they are in the bottom center. In picture 1 you can see how it normally looks, but this is not the case on every page. I have tried using fancyhdr to set the page number to the top right of each page, however the header then becomes a simple line with the number as it should be. Does anyone have a solution how I can place all the page numbers in the top right corner but the header doesn't change otherwise?
Thanks in advance!
Picture 1
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Page numbering top right corner
\pagestyle{plain}
is issued at the beginning of chapters. If you are using 
Code: Select all
\fancypagestyle{plain}{%
% Put code that you want to generate the header and footer on chapter pages here
% example is below
\fancyhf{}%
\fancyhead[R]{\thepage}
}