I've noticed that my left margin is slightly larger than my right margin while making a document. Here's an MWE of what I'm describing:



    \Huge lallalalalalal\\

And here's an image of the rendered PDF output:

Is there any way to make the left and right margins perfectly equal? I'm using LuaLaTeX.

  • I don't see the difference with your MWE, compiled with pdflatex from texlive2016. Feb 20, 2017 at 18:14
  • 2
    Your margin length settings can be combined into a single margin=0.75in.
    – Werner
    Feb 20, 2017 at 18:18
  • Remember to pass also the paper format, probably you want paper=letter.
    – egreg
    Feb 20, 2017 at 18:22
  • @samcarter I used lualatex to compile this document which has this problem. You're right, pdflatex displays the document properly.
    – nov1943
    Feb 20, 2017 at 18:43

1 Answer 1


This issue affects the geometry package when used with the LuaLaTeX engine. Based on browsing the mailing lists, the geometry package has not been updated to work with the latest versions of LuaTeX.

The fix is to add a \RequirePackage{luatex85} to the preamble of the document, which fixes the margins and gives the expected output.

You must log in to answer this question.

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