Apologies for the silly question. I'm new to using LyX and I'm struggling.
How do I remove page numbers from a document? I have tried using \thispagestyle{empty} but that also removes the header from my document.
Thanks.
LyX ⇒ Removing page numbers
NEW: TikZ book now 40% off at Amazon.com for a short time.

Removing page numbers
Which document class are you using and which pagestyle? An example .lyx file would be nice too.
Generally, you might try constructing your headers/footers using fancyhdr, something like this (in the preamble):
In case that you have problems with the first page of a chapter, try putting into the preamble the following:
Of course, you may replace empty with fancy or any other page style you like.
Generally, you might try constructing your headers/footers using fancyhdr, something like this (in the preamble):
Code: Select all
Code, edit and compile here:
\usepackage{fancyhdr}\fancyhf{}\fancyhead[LE]{\leftmark}\fancyhead[RO]{\rightmark}\renewcommand{\headrulewidth}{0.4pt}\pagestyle{fancy}