[Tex/LaTex] One inch margins and the geometry package

margins

Using

\usepackage[margin=1in]{geometry}

I can create a margin of 1 inch around my document. What would be the equivalent commands if I used the native LaTeX commands such as \textwidth, \evensidemargin, etc?

Best Answer

\documentclass{article} 
%\usepackage[margin=1in]{geometry}
\setlength\topmargin{0pt}
\addtolength\topmargin{-\headheight}
\addtolength\topmargin{-\headsep}
\setlength\oddsidemargin{0pt}
\setlength\textwidth{\paperwidth}
\addtolength\textwidth{-2in}
\setlength\textheight{\paperheight}
\addtolength\textheight{-2in}
\usepackage{layout}

\begin{document} 
\layout
\end{document}