I'm using this on my document (scrartcl documentclass):
\usepackage{etoolbox}
\pretocmd{\section}{\cleardoubleevenemptypage}{}{}
\pretocmd{\part}{\cleardoubleevenemptypage}{}{}
This makes me get blank pages so that the sections and parts always start on even pages, which is nice. (I shall say I'm using fancyhdr to define the header and footer).
So my question, is there any similar command to \pretocmd
that applies to the current section page instead of the previous pages? I've looked for such thing in the etoolbox
documentation, but I couldn't find anything.
More precisely, what I want is to get no header and footer on the Part pages.
Edit: I know I can use \part{}\thispagestyle{empty}
but I'd like to make this step automatic by defining it (similar to the \pretocmd
command) within the the document preamble.
\part{title}\thispagestyle{empty}
?