Page LayoutSuppressing Page Numbers in a Child Document

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mike1264
Posts: 27
Joined: Wed Jul 24, 2013 6:07 pm

Suppressing Page Numbers in a Child Document

Post by mike1264 »

Hi,
I have a book set up with a master document and child documents. I need to be able to suppress the header/footer (page numbers) on a child document. I have tried using \thispagestyle{empty} on master document (adding it before the include statement) and, also inside the child document (which of course is then overridden by the master document.
Anything I've tried so far is ignored by Lyx. I suspect there's some Latex I can use in Lyx that will solve the problem.
Any advice would be much appreciated...
Cheers,
Mike

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

mike1264
Posts: 27
Joined: Wed Jul 24, 2013 6:07 pm

Re: Suppressing Page Numbers in a Child Document

Post by mike1264 »

Hi - I've found a solution that seems to work. I changed the text on the 'Part' document (child) to a Title format. Then, I could remove the header for some weird reason. I suspect, that Part automatically sets a new page and/or chapter start which then adds headers and footers (and page numbers) accordingly. Anyway, it's solved now :-)

Mike
Post Reply