LyX ⇒ Page numbering problems in LyX
Page numbering problems in LyX
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Page numbering problems in LyX
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
Page numbering problems in LyX
\renewcommand*{\partpagestyle}{empty}
in the preamble deletes page numbering on all pages! 