Hey, i'm using the package fancyhdr to make nice headings in my thesis. It works fine in the mainmatter, but i have some problems in the frontmatter. The table of contents, list of figures and list of tables are in the headings always displayed uppercase. The heading of the glossary is always displayed lowercase. I seem unable to change it with the commands of fancyhdr (they work fine in the mainmatter).
Anyone has a solution for this?
Thanks
\usepackage[toc]{glossaries}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
\lhead{\leftmark}
\rhead{\thepage}
\renewcommand{\headrulewidth}{1.2pt}
\headsep = 15pt
\footskip = 30pt
\headheight = 15 pt
Page Layout ⇒ Fancy headers in frontmatter
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Fancy headers in frontmatter
Focus on one particular line in your code snippet and think about what it's doing.
The fancyhdr manual shows you how to format your headers as desired.
Best regards and welcome to the board
Thorsten
Code: Select all
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
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