Hi all,
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.
Page Layout ⇒ Just want a normal header
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Just want a normal header
You should post the actual code you were trying to use.
If you want to be able to distinguish odd and even in a header though, use
\documentclass[twoside]{article}
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¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10