Hi, Here is a minimal working example: August at Hmmm, why would you not want to use any package? It works, but I have just one problem: Policies and guidelines Contact us. It would have been sufficient to provide a link to where you got the code from.

Setting a bigger top margin made the header appear and then I could adjust the said margin to a suitable measure 55pt, in my case. August at 9: Dear Tom, Thank you for the link and sorry for the delay in getting back to you. How can I achieve that? The fancyhdr package lets us add things in the left L , right R and centre C of the header or footer and also lets us specify a different arrangement depending on whether its on an odd O or even E page.

The first line for the header, the second for the footer. October at I still have one technical problem and hope to share with you all: If this is not the case, you would be far better advised to use a different class.

First thdsis the margins, you can access them through the following commands:.

LaTeX/Customizing Page Headers and Footers

Thanks for a great introduction. Or in other words, the inner margin is smaller than the outer:. You can define each side fancyhrd identifying each side with options identifying the even and odd page numbers as well as the side of the header you want to use.


This post shows how to display page margins.

How to Write a Thesis in LaTeX (Part 2): Page Layout – Overleaf, Online LaTeX Editor

This module may require a complete rewrite in order to suit its intended audience. I am currently finishing my phd thesis for the publication process. However, for the page number, the specification requires me to put it on top right of each page, 0. Let me show a couple of image in order to make myself clear: August at 8: I adapted the StackExhange code to create a colored footer in a one-sided article.

Hi Yusuf, I would expect this to be the normal behavior. December at 5: Fanyhdr Aida, Thanks for your comment.

latex thesis fancyhdr

First I thought you could use:. This mean that the three columns of white space you get with a double page spread will be a similar size:. I want to write a custom class.

latex thesis fancyhdr

Hi Alexandra, Thanks for your comment. Some people like to put the current page number in context with the whole document. Dear Sarvesh, You are welcome.


June at Please note I am using a two sided document. Any help would be appreciated. The possible styles are:. To configure the page layout, we enter instructions into the square brackets of this command.

Masters/Doctoral Thesis- Page numbering, headers and footers

This is not likely: The page number can be set independently. Both, header and footer are separated in an inner, center, and outer part, which can be set independently. Hi Benoit, thanks for posting this solution. By default the paper size is set to US letter but we’ll change this to a4paper.

latex thesis fancyhdr

For a clean customization, we recommend you start from scratch. I suggest you use fancyhdr, making it easily to define what you need.

Author: admin