General ⇒ Redefining \leftmark and \rightmark
Redefining \leftmark and \rightmark
How to redefine \leftmark and \rightmark to correspond to \part and \chapter instead of \chapter and \section? Is there some thorough explanation of these (preferably with practical examples)?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Redefining \leftmark and \rightmark
have a look at the fancyhdr packlage. Following the link to this package you will find its documentation, training slides and examples. The documentation also provides basic information about LaTeX marks using \leftmark and \rightmark.
If you use KOMA classes the scrpage2 package is a recommendable alternative.
Stefan
Re: Redefining \leftmark and \rightmark
-
- Posts: 6
- Joined: Mon Oct 13, 2008 3:56 pm