Text Formatting ⇒ Removing Headers from Blank Pages
Removing Headers from Blank Pages
I want to remove headers from blank pages, the even pages are left blank because chapters can only start in odd pages. Do you need a minimal example?
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Removing Headers from Blank Pages
Of course 

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Removing Headers from Blank Pages
Yes we do, and you should know this by now. Please take a look at the topic "Remove headers from blank pages". If I remember correctly you are also using fancyhdr, maybe you can adapt the suggestion of Thorsten.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Removing Headers from Blank Pages
May I draw your attention to the Forum Search or to the "Similar Topics" on the bottom of this page (only to see when logged in)?AleCes wrote:I want to remove headers from blank pages, the even pages are left blank because chapters can only start in odd pages. […]
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
Removing Headers from Blank Pages
Oops...localghost wrote:May I draw your attention to the Forum Search or to the "Similar Topics" on the bottom of this page (only to see when logged in)?AleCes wrote:I want to remove headers from blank pages, the even pages are left blank because chapters can only start in odd pages. […]
Thorsten


Code: Select all
\documentclass[a4paper, 12pt]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[CE]{{\leftmark}}
\fancyhead[CO]{{\rightmark}}
\usepackage{fontspec}
\defaultfontfeatures{Style=Alternate, Mapping=tex-text}
\setmainfont{FreeSerif}
\usepackage{polyglossia}
\setmainlanguage{serbian}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{emptypage}
\usepackage{lipsum}
\begin{document}
\chapter{Foo}
\lipsum[1-3]
\chapter{Bar}
\lipsum[4-6]
\chapter{Baz}
\lipsum[7-9]
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Removing Headers from Blank Pages
I would consider my solution not as convoluted. Just redefining the responsible command is straightforward. And I was not aware of emptypage.AleCes wrote:[…] By the way, your solution, localghost, seems to me a bit convoluted, what about emptypage? […]
And by the way, the package does nothing else. This can be seen from the documented code in its manual. It only uses a helper macro. A method which I would consider far more convoluted. But it does this in order to enable the package options. Nevertheless thank you for the alternative solution.
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
Removing Headers from Blank Pages
By "convoluted" I meant there was so much code to write while emptypage does it in a cleaner and quicker way. As you can see, localghost, I'm not that lazy, sometimes I even find out solutions by myself.localghost wrote:I would consider my solution not as convoluted. Just redefining the responsible command is straightforward. And I was not aware of emptypage.AleCes wrote:[…] By the way, your solution, localghost, seems to me a bit convoluted, what about emptypage? […]
And by the way, the package does nothing else. This can be seen from the documented code in its manual. It only uses a helper macro. A method which I would consider far more convoluted. But it does this in order to enable the package options. Nevertheless thank you for the alternative solution.
