General ⇒ Customizing margins in thesis
Customizing margins in thesis
I have a problem while writing my thesis. There is a regulation for our dept which says:
"The thesis must be submitted on letter-size paper, 8.5 x 11 inches. It must be double spaced, in a standard
type face, with a 1.5 inch (3.81 cm) left hand margin and a 1 inch (2.54 cm) margin at the top, bottom and
right."
I am using a style file which is designed for this purpose but it is not working. The name of this file is cuthesis.sty.
The main file is latex1.tex and the body is latex2.tex
All these files have been added. Any help is appreciated.
- Attachments
-
- cuthesis.sty
- (10.18 KiB) Downloaded 439 times
-
- LaTeX2.tex
- (1.58 KiB) Downloaded 421 times
-
- LaTeX1.tex
- (2.05 KiB) Downloaded 386 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: margins in latex
anyone could you please help me of what I posted before. I need a help.
Thanks in advance
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Customizing margins in thesis
totototo1 wrote: […] I am using a style file which is designed for this purpose but it is not working. The name of this file is cuthesis.sty. […]
Which part doesn't work? I can compile your example document without any errors, but a few warnings about missing font shapes and some over- or underfull hboxes. For creating longer text parts you can use the blindtext package.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: margins in latex
yes there are no errors but the problem in the margins. The style file is not giving the same margins as requested mentioned above. I do not know why.
Thanks in advance.
Re: margins in latex
please as I mentioned before I have difficulties in the margins and I am using the style file to fit the requirements mentioned above so please anyone expert answer me. I tried all I have.
Regards
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Customizing margins in thesis
totototo1 wrote: […] There is a regulation for our dept which says:
"The thesis must be submitted on letter-size paper, 8.5 x 11 inches. It must be double spaced, in a standard
type face, with a 1.5 inch (3.81 cm) left hand margin and a 1 inch (2.54 cm) margin at the top, bottom and
right." […]
If these are the demands, then why do i find this strange code in the cuthesis.sty file?
Code: Select all
\oddsidemargin 0.5in \evensidemargin 0.5in
\marginparwidth 40pt \marginparsep 10pt
%\topmargin 0pt \headsep .5in % no longer acceptable
%\textheight 8.1in \textwidth 6in % no longer acceptable
\topmargin 0in \headsep 0in % -0.1 topmargin
\textheight 8.75in \textwidth 6in % 9in textheight
Code: Select all
\usepackage[left=1.5in,top=1in,right=1in,bottom=1in]{geometry}
- Attachments
-
- Thesis.pdf
- The thesis compiled directly with pdflatex using the settings from cuthesis.sty
- (49.47 KiB) Downloaded 345 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: margins in latex
I checked with the document you gave me using 'A4' and 'letter' as a layout but it did not work. I think it is something very silly but I have to fix it. My Miketex is 2.4 and I am using Acrobat 7. I am not using the ps , I am using latex to pdf. As you said the geometry package gives the same as the style file. If there are some settings I have to fix please let me know.
Thanks in advance
- countbela666
- Posts: 64
- Joined: Thu Apr 26, 2007 2:44 pm
Customizing margins in thesis
even if it does not solve the problem: MiKTeX 2.4 is obsolete and no longer supported. You should update to MiKTeX 2.6.totototo1 wrote: My Miketex is 2.4 and I am using Acrobat 7. I
Regards
Marcel
a thousand worlds for you to see here, take my hand and follow me...
Re: margins in latex
I can not change the version since the university has the license for 2.4 so I can not update it.
Please any suggestions for the margins.
Regards