[Tex/LaTex] How to make document custom page dimensions

paper-size

I have seen the options such as a4paper, a5paper, letterpaper, etc… to go in the square brackets after \documentclass, but what I want is 8.25 inches width by 10.75 inches height for one document and 6 inches width by 9 inches height for another one. How is this done?

Best Answer

Hope the code is self explanatory.

For first,

\documentclass{article}
\usepackage{blindtext}
\usepackage[paperheight=10.75in,paperwidth=8.25in,margin=1in,heightrounded,showframe]{geometry}
\begin{document}

\Blinddocument

\end{document}

and the second:

\documentclass{article}
\usepackage{blindtext}
\usepackage[paperheight=9in,paperwidth=6in,top=1in,bottom=1in,right=1in,left=1in,heightrounded,showframe]{geometry}
\begin{document}

\Blinddocument

\end{document}
Related Question