General ⇒ Correct Unnumbered Chapter Headers
Correct Unnumbered Chapter Headers
I've attached a tex file and the generated pdf, which exhibit the problem.
I am using unnumbered chapters (\chapter*) , and know that if I use numbered chapters (w/o *) that the header will be correct, but I'd prefer to have unnumbered chapters.
Can anyone tell me how to add the proper chapter title to the header?
Thanks.
- Attachments
-
- example.pdf
- (57.15 KiB) Downloaded 463 times
-
- example.tex
- (15.83 KiB) Downloaded 344 times
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
Correct Unnumbered Chapter Headers
you could use \markboth or \markright, as described in the link provided. To further customise the headings/footers I would suggest you to use the fancyhdr package.
Re: Correct Unnumbered Chapter Headers
I'm trying to find more info about how to use these options, and what parameters they can take.
There doesn't seem to be any further info in my texlive distro, nor much on google. So far, I found that they can take the parameters \chaptername and \thechapter neither of which do what I would like.
Does anyone know if there's a list of parameters available somewhere for \markright & \markboth?
Correct Unnumbered Chapter Headers
you can use as argument some fixed information. I mean, you could use something like:
Code: Select all
\chapter*{PART 1}
\addcontentsline{toc}{chapter}{PART 1}
\markboth{\textsc{Discourse On The Method}}{\textbf{\Large Part 1}}