I need to create a document in book document class with papersize 170 x240, left and right margins 2 cm, top margin 2.2 cm and bottom margin 1.8 cm. I used this:


\usepackage[width=170.00mm, height=240.00mm, left=2.0cm, right=2.00cm, top=2.2 cm, bottom=1.80cm]{geometry}

but now the printer is telling me that is 176 x 250. What should I change?

  • 4
    I believe it's \usepackage[paperwidth=170.00mm, paperheight=240.00mm, ... rather than just width and height... Anyway, it doesn't make sense to specify b5paper and then set up a different paper size. – yo' Aug 21 '15 at 7:10
  • 1
    width = textwidth +marginparsep +marginparwidth <paperwidth=width+left+right and height = textheight +headheight + headsep + footskip<paperheight= height+top+bottom – touhami Aug 21 '15 at 7:17
  • @yo' An answer, please... – karlkoeller Aug 21 '15 at 8:36

You're setting up the wrong key for geometry. The keys you want are paperwidth and paperheight.

However, I do not see the point in first specifying [b5paper] to the class, when you later change the size to something else in geometry.

The option b5paper has no effect and only makes your code unclear.

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.