Hi guys,
Hopefully I will fulfill all forum requirements.
Here goes... In my LyX document (class: book (KOMA-script)) I have two issues:
1) I have x number of 'Part' pages, where I would like to remove the page number, so the page number is neither included on the page, or in the TOC, but I would like to 'Part' title to be in the TOC.
2) Four of my in total 90 pages has no page numbering, for some unclear reason. I have tried to erase footnotes (but I need those), and it solved the problem, but on two out of the four pages, there is no footnotes. So, therefore I have no clue why LyX is removing page numbering from some of the pages. I have tried changing the foot skip, also without any luck.
Any ideas?
Thanks
LyX ⇒ Page numbering problems in LyX
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Page numbering problems in LyX
Hi,
welcome to the board!
Great that you use a KOMA-Script class, which makes customizations much easier than with base classes. Removing the page number on part pages is easy:
For removing the page number from the table of contents, a quick idea is to simply set the color of this page number to the background color, i.e. to white:
Loading the
Regarding the second question, it would be good if you would post a
minimal working example, which shows the problem. This could be a much reduced copy of your LyX file, posted as attachment.
Stefan
welcome to the board!
Great that you use a KOMA-Script class, which makes customizations much easier than with base classes. Removing the page number on part pages is easy:
Code: Select all
\renewcommand*{\partpagestyle}{empty}
Code: Select all
\setkomafont{partentrypagenumber}{\color{white}}
color
or xcolor
package is required, of course. And the code belongs to the document preamble (LyX main menu, document, settings). If you would like to suppress it completely, no problem, I could look at the source of the class. But I recommand to think again about it: the table of contents is not just a nicely designed list, it's for looking up places in the document. So if you look for a certain chapter, you find the corresponding page number there. But if the reader looks where part III starts - wouldn't it be bad if there's no page number? So a part heading would just be a kind of divider in the table of contents.Regarding the second question, it would be good if you would post a

Stefan
LaTeX.org admin
Page numbering problems in LyX
Putting 
\renewcommand*{\partpagestyle}{empty}
in the preamble deletes page numbering on all pages! 