With pdflatex
, it seems easy to get a landscape document, on A3 paper. One only needs to add [landscape,a3paper]
or [landscape,a4paper]
to the document class options. With xelatex
, however, these options do not seem to work.
How can I get a landscape mode document, on A3 or A4 paper, with 2 cm margins and no page numbers, headers, or footers in XeTeX for all of the pages of a document?
Best Answer
You could use
geometry
for document layout and setting the page style (includingplain
) toempty
.The above MWE sets the document page style to
empty
, which has no header/footer nor header/footer rule. It then also sets theplain
page style(\ps@plain
) to be exactly the same as that ofempty
(\ps@empty
), since these styles are used as the first pages for chapters within thebook
andreport
document classes (includingmemoir
).You could also have obtained a similar style (if small modifications are required at a later stage) by using the
fancyhdr
package. For that, the following preamble modifications would result in the same output: