This question already has an answer here:

I'm trying to force the paper size with LaTeX but all I can find is solution like

LaTeX - how do I force PDF page height/width?


Custom Paper Size, Geometry Package Class

in which the geometry is changed within the page instead of actually changing the page dimensions.

How do genuinly change the paper size? (For instance to 100mm by 100mm)

I use lualatex from Tex Live 2017 under Windows 7.

Minimum working example:

\usepackage[paperwidth=100mm, paperheight=100mm]{geometry}

marked as duplicate by user36296, TeXnician, Maarten Dhondt, Stefan Pinnow, Andrew Swann Jul 10 '17 at 13:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Could you post a minimal (non-)working example showing the problem? I suppose you've tried with geometry? – Bernard Jul 10 '17 at 12:35
  • What is your problem with the first linked post? – TeXnician Jul 10 '17 at 12:35
  • The missing \RequirePackage{luatex85} was the culprit :(. With \RequirePackage{luatex85}, the code works fine! – Adriaan Jul 10 '17 at 12:46

Update 2018:

As commented by David Carlisle this workaround is no longer required, as the geometry package was updated in the mean time.

Original answer:



\usepackage[paperwidth=100mm, paperheight=100mm]{geometry}


enter image description here

  • luatex85 is no longer required with geometry 2018/03/24 v5.7 – David Carlisle Mar 26 '18 at 10:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.