LyX ⇒ Hide chapter numbering but show section numbers
Hide chapter numbering but show section numbers
I have a book which has 2 parts. First part has 12 chapters and many sections, and everything looks fine as is. But second part has just hundreds of sections. I've put a chapter in before the sections of the second part, so the numbers of the sections start from 1, but the chapter has the same name as the second part, so I don't really need to show it.
So now I have 13th chapter with the same name as the second part which has hundreds of sections.
The numbers goes like 13.1, 13.2 etc... But I'd really would like to see 1, 2, 3, etc... and don't want to see the chapter at all.
How could I achieve this?
Thanks in advance.
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
Hide chapter numbering but show section numbers
Code: Select all
\markboth{left}{Second Part Title}
\renewcommand*\thesection{\arabic{section}}
Second line hides 13th chapter's number, and shows only section numbers.
This is still not perfect, because I need to duplicate the second part name in the code. But I guess there is the way just to show the title of the current part somehow else. Yet to be discovered ))
Thank you