Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I tried to use this command, but doesn't work.

\makeatletter
    \let\ps@plain\ps@empty
\makeatother

I put it in the beginning, in the middle and just before the \begin{document}.

share|improve this question
1  
Welcome to TeX.SE. It is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. –  Peter Grill Jul 29 '12 at 1:17
4  
If you set the pagestyle to plain \pagestyle{plain} you should then get the desired result. –  Peter Grill Jul 29 '12 at 1:18

2 Answers 2

You could use

\usepackage{nopageno}
share|improve this answer

Page styles are merely a collection of macros which change the style of the page. Using

\makeatletter
\let\ps@plain\ps@empty
\makeatother

merely equates the two page styles in terms of what they do, but technically does not issue any page style. That is, you have to specify the page styles to be plain before they're actually changed. Therefore, also adding

\AtBeginDocument{\pagestyle{plain}}

(anywhere in your preamble) should make all your pages be styled as plain (which is empty).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.