Page LayoutJust want a normal header

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
kluni
Posts: 4
Joined: Mon Nov 23, 2009 1:40 am

Just want a normal header

Post by kluni »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Just want a normal header

Post by frabjous »

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}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Just want a normal header

Post by localghost »

kluni wrote:[...] But apparently latex and fancyhdr aren't capable of distinguishing between odd and even in an article. [...]
Of course they are. But you can also try the titlesec package. I consider it much more flexible than fancyhdr thus preferable.


Best regards and welcome to the board
Thorsten¹
Post Reply