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:
\documentclass{minimal}
\special{papersize=14in,14in}
\setlength{\paperwidth}{14in}
\setlength{\paperheight}{14in}
\setlength{\textwidth}{12in}
\setlength{\textheight}{12in}
\topskip0pt
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\topmargin}{0pt}
\setlength{\oddsidemargin}{0pt}
\begin{document}
\ldots
\end{document}
But the PDF file I get is by no means square. What is wrong with my code?
minimal
, IMHO it's more a coding example than a real class. What's the problem with usingarticle
?texdoc geometry
and go through the documentation ofgeometry
package to find all these details.