How to Add Title & Page Number in Header
Does your document's header appear a tad monotonous? Liven it up by adding a title and page numbers. This article guides you through adding these elements using Microsoft Word and LaTeX.
Headers serve multiple purposes, from branding your documents to providing essential information at a glance. Let's dive into unpleasant, but essential, formatting tasks to make your headers stand out.
Adding Titles to a Header
In Microsoft Word, headings are added via the Header and Footer tools. Here's how you can add a title:
1. Click on the 'Insert' tab, then select 'Header' and choose a header style. (For a fresh start, click on 'Edit Header'.)
Centered Title
To center your title:
- Type your title in the header and select the entire text.
- Click on the ' zam' symbol and select 'Center' from the alignment options.
Large Font Size
For a larger font size:
- Select your title.
- Click on the font size dropdown in the header section and choose your desired size.
Adding Page Numbers to a Header
Page numbers aren't just for novels—they're essential for reports, presentations, and multi-page documents. Here's how to add them:
Microsoft Word
1. In the Header editing mode, place your cursor where you want the page number.
2. Click on the 'Insert' tab, then click on 'Page Number' in the Header & Footer section and choose a position.
LaTeX
For LaTeX users, it's equally simple using the fancierhdr package:
- Add `\usepackage{fancyhdr}` to your preamble.
- Below your preamble, add the following code:
\pagestyle{fancy} \fancyhead[LO]{\textit{Your title}} \fancyfoot[RO]{\thepage}
Replace 'Your title' with your actual title. 'LO' stands for 'Left-On' (for odd-numbered pages) and 'RO' for 'Right-Only' (for even-numbered pages).
Tweaking headers might seem minute, but these details significantly impact your document's overall outlook. Experiment with different fonts, sizes, and positions to find your ideal header.