How can I make produce a table of contents by
\tableofcontents with page style empty?
It doesn't work with
You could use this in your preamble to change the first (otherwise commonly plain) TOC page to empty style:
The other pages behave like expected if you use
it is as simple as placing this line:
somewhere in the preamble.
If you use the
It seems there are three headers that need to be altered separately:
You can add the
The advantage of this solution is that it preserves page numbering as you would expect.
Another option, if all you are using is a plain page number, is to remove it using
You could then restore it (if you are using Arabic numerals) with
(Valid options include
If, when using this option, for some reason you want the page numbering to continue before and after the table of contents, you will need to save the page number and restore it: