because LaTeX matters

fancyhdr

The fancyhdr package provides an easy and flexible way to customize the page style. Furthermore, the package makes it easy to define new page styles. In this post, I will briefly show how to define an alternative page style in general and illustrate two possible applications including complete code examples: Different page style in the … [Read more…]

The default header with fancyhdr for a book (two-sided by default) displays the chapter at the inner side (left odd, right even) and the section title at the outer side (left even, right odd). For long chapter and/or section titles, the two may overlap. There are several possible workarounds to solve this issue. One may … [Read more…]

Adding your company’s logo or brand to the title page of an product description, general terms and conditions or news announcement makes it look more professional. This quick post shows an easy way how to do this using Latex. We define a simple fancy header for the title page, adding the logo to the right-hand … [Read more…]

Showing the total number of pages in addition to the actual page number is straight forward using the lastpage package. Now you can simply access the number of pages using: Note: You will have to typeset the DVI/PDF twice in order to get the number right. Example: Note: See this recent comment on how to … [Read more…]

Creating headers and footers in Latex can be done by using the package “fancyhdr”. This is a short introduction, showing the most important features of the package. If you know “fancyhdr” and are looking for something particular, refer to the fancyhdr-documentation. First of all, you need to tell Latex to use the package: and change … [Read more…]