I was making a book in the latex document. I changed my page size to 9" height and 6" width. But due to this my content stared going out of page and you can see below.

enter image description here

Is there a way to auto-adjust the text on the page? Any help will be highly appreciated.

  • 1
    Welcome to TeX.SX! Could you please add a minimal working example (MWE) that shows what you tried to achieve the desired result? You might alos want to have a look into the geometry package. – leandriis Jul 22 '19 at 6:47
  • @leandriis I am sorry but I have no idea to fix it. I tried using the margins but that made me into much trouble. I am using \documentclass[twoside]{book}. Please help! – Anand Jul 22 '19 at 6:57
  • tried something like this? ``\usepackage[paperheight=11in,paperwidth=8.51in,margin=2cm,left=1.7cm,right=1.3cm,top=1.8cm]{geometry}` – Indian Jul 22 '19 at 6:59
  • @TVMBoy Thank you, this did the job, but changed my page size! Now how to fix that? – Anand Jul 22 '19 at 7:01
  • you can give the paper size inside paperheight= and paperwidth= – Indian Jul 22 '19 at 7:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.