The following example gives different results for pdfLaTeX and LuaLaTeX. I use a recent TeX Live 2019 installation.

\mag=250 %
\LaTeX \hfill \LaTeX
\LaTeX \hfill \LaTeX
  1. pdfLaTeX: A page on A8 paper (53mm x 74mm)

  2. LuaLaTeX: A page on A4 paper (210mm x 297mm)

I use the package »geometry« only for transfering the page size informations to the output file. Without »geometry« I get the same results. Why ist the size not changed with LuaLaTeX? Can anyone enlighten me? Thanks in advance.

1 Answer 1


This is a documentated difference to pdftex. From the manual:

Magnification (\mag) is only supported in dvi output mode. You can set this parameter and it even works with true units till you switch to pdf output mode. When you use pdf output you can best not touch the \mag variable. This fuzzy behaviour is not much different from using pdf backend related functionality while eventually dvi output is required

  • Thank you for the explanation.
    – rolfn
    May 9, 2019 at 12:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .