When I export a simple text file to PDF with the command org-latex-export-to-pdf, by default, Org-mode adds the number of each page at the bottom of the PDF file.

But I would like Emacs to print absolutely no page number.

How could I do that?


Add #+LATEX_HEADER: \usepackage{nopageno} to the top of the document.

  • 2
    or #+latex_header: \pagestyle{empty} – Dox Oct 2 '18 at 7:17
  • 1
    @Dox that does not work completely if you for example have book as the documentclass. Hence the dedicated package is better (even though its code is only 4 tokens!) – Andrew Swann Oct 5 '18 at 10:02
  • @AndrewSwann: HAHAHA... Sure. Thank you! I will take your advise – Dox Oct 9 '18 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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