[tex-live] Fontspec overriding default paper size with LuaTeX

David Carlisle d.p.carlisle at gmail.com
Thu May 26 15:23:02 CEST 2016


fontspec (unless you use the new tuenc option) ends up loading
graphics, and this behaviour has always been this way

\documentclass{article}
%\usepackage{graphics}

\begin{document}

Hello World!

\end{document}

with pdftex will (if pdftex is set up to default to A4) give A4 as
above but letter if you uncomment graphics.

The default page size for latex standard classes  is _always_ usletter
however by default it does not communicate that to the back end  so it
just prints or previews on whatever size "paper" you have set up.  If
you use graphics (or geometry) or one or two other packages, they do
use a special or pdfliteral so set up the right size so ine pdf above
is then usletter unless you add [a4paper] in which case latex adjusts
the text block to A4 and graphics inserts the whatsit to force the
backend to A4

David


More information about the tex-live mailing list