[Tex/LaTex] Setting thesis margins

margins

My university requires theses to be bound and printed with the following specification:

There should be a margin of at least 1.5 inches, preferably 2 inches (5cm),   
on the left side of the page, 
both for typescript and diagrams, to allow for binding. Other margins should
be of at least 1 inch (2.5 cm). 

If I plan to double-side print on A4, how can I ensure this in latex?
Would the following in the preamble suffice?

\setlength{\oddsidemargin}{16mm} 
\setlength{\textwidth}{140mm}  
\setlength{\textheight}{200mm}  
\setlength{\topmargin}{8mm}

I found this in someone else's thesis. My understanding is that oddsidemarin sets the left margin for odd-numbered pages, minus 1 inch, so this gives 1 inch(25.5mm)+16mm: 1.63inches on the left side of the odd-numbered pages. Then A4 dimensions are 210mm w x 297mm so
\setlength{\textwidth}{140mm} along with my oddsidemargin means there will be 210-41.5-140=28.5mm=1.11inch left for the right margin of odd-sided pages. Similarly, \setlength{\textheight}{200mm} means there is 297-200=97mm=3.8inches left for both the top and bottom margins, so 1.9inches each. Not sure what \topmargin is doing here.

Do I need to set evensidemargin too? Are the above settings correct to match the university specifications?

Best Answer

If you define inner and outer margins instead of left/right or even/odd and use the attributes of the documentclass to switch between oneside and twoside it will be all right. The example below works for me just fine.

\documentclass[oneside]{book}%

\usepackage{geometry}
\usepackage{lipsum}

\newgeometry{
    top=1in,
    bottom=1in,
    outer=1in,
    inner=2in,
}

\begin{document}

\lipsum[1-20]

\end{document}