LyX ⇒ Removing page numbers
Removing page numbers
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Removing page numbers
Generally, you might try constructing your headers/footers using fancyhdr, something like this (in the preamble):
Code: Select all
\usepackage{fancyhdr}
\fancyhf{}
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\renewcommand{\headrulewidth}{0.4pt}
\pagestyle{fancy}
Code: Select all
\makeatletter
\let\ps@plain\ps@empty
\makeatother