I get this annoying error in my layout:
Andreas
This error applies to the section level headings only. Chapter, subsection, etc. work fine. Anyone knows how to fix this?Page Layout ⇒ Section text occurs twice - also below the head.
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
Section text occurs twice - also below the head.
Nobody can tell that without seeing the code that unleashes this behaviour. So, build a minimal working example (MWE).
Best regards and welcome to the board
Thorsten¹
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
Re: Section text occurs twice - also below the head.
I've discovered the error. It was due to my bad use of \renewcommand when changing the header. I wanted to skip the name of the section in the header, and only display the chaptername, as they overlapped.
This works fine:
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{}
-Andreas
This works fine:
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{}
-Andreas