10 May 2011
But it doesn't! Some pages still have pagenumbers! This is what is necessary to remove ALL pagenumbers.
comments powered by Disqus
Latex sucks
Maybe I should not write blog posts when I'm angry about something... but anyway:
Today was another wasted day, mostly caused by Latex. To sum it up: Although there is no real alternative to Latex, and I will therefore continue to use it in the future: IT SUCKS!
Consider the following problem:
I want no pagenumbers on all pages from the first, until after the list-of-tables.
If Latex would be sensibly designed, somthing like the following would work:
\pagestyle{empty}
\maketitle
\tableofcontents
\listoffigures
\listoftables
\pagestyle{headings}
But it doesn't! Some pages still have pagenumbers! This is what is necessary to remove ALL pagenumbers.
\usepackage{scrpage2}
[...]
\clearpage
\pagestyle{empty}
\renewcommand*{\chapterpagestyle}{empty}
\maketitle
\tableofcontents
\listoffigures
\listoftables
\addtocontents{toc}{\protect\thispagestyle{empty}}
\addtocontents{lof}{\protect\thispagestyle{empty}}
\addtocontents{lot}{\protect\thispagestyle{empty}}
\clearpage
\pagestyle{headings}
\renewcommand*{\chapterpagestyle}{plain}
And then run latex several times ...