# adjust the margin to be 1"

I am working on my dissertation, I am using a custom document class you can find it here

I am trying to make the margin 1" from each side. I tried to use geometry but didn't work

\usepackage[margin=1in]{geometry}


I am getting this error

Package geometry Error: \paperwidth (0.0pt) too short.


This is what I have on the cls. file

\pdfpageheight 11in
\pdfpagewidth 8.5in

%\paperheight 11in
%\paperwidth 8.5in
\voffset 0pt
\topmargin 0pt
\textheight 9.0in

\oddsidemargin 0in
\evensidemargin 0in
\marginparwidth 0.0in
\textwidth 6.5in%5.95in
\widowpenalty \@MM
\clubpenalty \@MM

\let\@oddfoot\@empty
\let\@mkboth\markboth
\def\chaptermark##1{%
\markright {\uppercase{\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ \fi
##1}}}}
\let\@oddfoot\@empty\let\@evenfoot\@empty
\let\@mkboth\@gobbletwo
\let\chaptermark\@gobble
\let\sectionmark\@gobble}
\pagestyle{plain}


I am getting a 1-inch margin from the right side and the left side, but the top and bottom aren't 1 inch!

how can I fix it?

========

Updated

Even after using the following:

\usepackage[letterpaper,margin=1in]{geometry}


I still feel that the bottom margin isn't 1"

I feel that the page number is 1" from the bottom where it should be 0.75"

• Try to write 'letterpaper,' just before 'margin=1in'. Jun 24 at 3:20
• Why would you upload a .zip file to github? The whole point of github is to be able to see the source and suggest modifications to it. I was going to suggest the same thing as Raffaele, but I think that only works for the mainmatter, as the document class has manually set margins in the frontmatter. There are also errors in the way the ToC, LoF and LoT are handled, but I didn't investigate those in any detail. Did your University provide the .cls or did you make it? Your University probably wants it used as is. They tend to be fussy about that. Jun 24 at 4:17
• @RaffaeleSantoro I think it worked, is there any way to double-check that I am actually getting a 1-inch margin? Jun 24 at 17:21
• @frabjous I updated the files in Github. The .cls isn't provided by the university, one of my friends made it. In fact, the university pointed out that I need to fix the ToC, LoF, and LoT. Jun 24 at 17:24
• Put this line of code in the preamble '\usepackage{showframe}' Jun 24 at 17:29