I need to create a document for a square piece of paper. I've been trying to use \documentclass{minimal}, but it doesn't work.

This is my code:





But the PDF file I get is by no means square. What is wrong with my code?

  • 2
    Do not use minimal, IMHO it's more a coding example than a real class. What's the problem with using article? – Martin Scharrer Mar 6 '12 at 10:48
  • I didn't know how to change paper size - I'm quite a beginner, my LaTeX guides don't cover this, and this is what I'd found on the web. You must be right that article is indeed OK. – user12355 Mar 6 '12 at 10:59
  • @Tymon do a texdoc geometry and go through the documentation of geometry package to find all these details. – user11232 Mar 6 '12 at 14:45

Use geometry package to set paper size.


enter image description here

For more details, executetexdoc geometry from the command prompt and go through the documentation of geometry package.

Like Martin said in the comment, it is better to use some other class since they support extended features.

  • @Tymon, If you find this answer useful, you may consider accepting it by checking the green tick mark above and also consider upvoting. – user11232 Mar 6 '12 at 11:00
  • Sure, I've just accepted it, but I can't upvote - too little reputation. – user12355 Mar 6 '12 at 11:07

Your Answer

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