![](https://secure.gravatar.com/avatar/ad1e74bd82982756ebbaf8f873c0e7cc.jpg?s=120&d=mm&r=g)
19 May
2004
19 May
'04
6:06 a.m.
Good evening. Is there some command simmilar to \headnumber[section] that would tell me the name of the current chapter/section/...? I want to have the headertext on the left like this: [pagenumber] [chapter title] (chap. [chapter number]) and on the right side like this: [section title] (sec. [section number]) [pagenumber] where [x] is value of x, e.g. [pagenumber] is the number of the current page. How can I do it? Many thanks Michal Kvasnicka