Page Layout ⇒ Just want a normal header
Just want a normal header
I searched and searched, found nothing.
I use documentclass{article}
I just want a header, where the in the header is only written the information about the section or the subsection. Not both. So if a section begins, in the header should be written the section name.
Is that so difficult? If that is not possible, than at least, that on the odd pages there is written the section name an on the even pages the section name. But apparently latex and fancyhdr aren't capable of distinguishing between odd and even in an article.
When i make documentclass{boo}, than he always writes chapter 1. that is not what I need.
thanks for any help.
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
Re: Just want a normal header
If you want to be able to distinguish odd and even in a header though, use
\documentclass[twoside]{article}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Just want a normal header
Of course they are. But you can also try the titlesec package. I consider it much more flexible than fancyhdr thus preferable.kluni wrote:[...] But apparently latex and fancyhdr aren't capable of distinguishing between odd and even in an article. [...]
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10