The next code produce a a6 format paper with pdflatex that fit well, but with lualatex the layout is a6 on a a4 paper sheet.

Passing a6paper option to geometry package doesn't solve the problem.

How have a correct papersize.



Hello word !


Geometry has not been updated for the changes in lualatex (where they removed some \pdf... variables). Add this before \documentclass:

  • 1
    Forget about this one... I'll accept in 3 minutes. – Tarass Mar 23 '18 at 10:10
  • 1
    Is geometry not maintained anymore? – AlexG Mar 23 '18 at 11:34
  • 2
    If you load graphicx.sty and/or xcolor.sty before geometry.sty your MWE works as expected. Of course, you have to be using graphicx.sty and/or xcolor.sty in the first place ;)... (I use them practically all the time). So far, I have found no downside to this workaround. – sgmoye Mar 23 '18 at 11:48
  • luatex85 is not needed for geometry version 5.7 released yesterday – David Carlisle Mar 26 '18 at 12:11
  • @AlexG github.com/davidcarlisle/geometry – David Carlisle Mar 26 '18 at 12:13

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.