8

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?

1 Answer 1

13

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

3
  • 3
    or #+latex_header: \pagestyle{empty}
    – Dox
    Oct 2, 2018 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!) Oct 5, 2018 at 10:02
  • @AndrewSwann: HAHAHA... Sure. Thank you! I will take your advise
    – Dox
    Oct 9, 2018 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.