GeneralCustomizing margins in thesis

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
totototo1
Posts: 8
Joined: Sat Jul 07, 2007 7:33 pm

Customizing margins in thesis

Post by totototo1 »

Hi;
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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

totototo1
Posts: 8
Joined: Sat Jul 07, 2007 7:33 pm

Re: margins in latex

Post by totototo1 »

Hi;
anyone could you please help me of what I posted before. I need a help.


Thanks in advance
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Customizing margins in thesis

Post by localghost »

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.
totototo1
Posts: 8
Joined: Sat Jul 07, 2007 7:33 pm

Re: margins in latex

Post by totototo1 »

Hi;
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.
totototo1
Posts: 8
Joined: Sat Jul 07, 2007 7:33 pm

Re: margins in latex

Post by totototo1 »

Hi;
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
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Customizing margins in thesis

Post by localghost »

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
When i deactivate these lines (by setting them as a comment), the margins are set to default. So the settings could be made by external packages like the geometry package.

Code: Select all

\usepackage[left=1.5in,top=1in,right=1in,bottom=1in]{geometry}
But the result is exactly the same as if using the settings from cuthesis.sty, which shows me that these are the right ones. But on my (german) system (MiKTeX 2.6), the default settings for compiling to PS are for A4 paper. When I compile directly with pdflatex, it seems that i get the right paper size and the right margins (displayed in Adobe Reader 8.1). But i can't verify that on my printer, because i only have A4 paper in reserve. I put the result in the attachment so you can verify on your own. You should check the settings of your LaTeX system (you did not mention which you use), especially when compiling to PS. So, for me everything seems to work fine.
Attachments
Thesis.pdf
The thesis compiled directly with pdflatex using the settings from cuthesis.sty
(49.47 KiB) Downloaded 345 times
totototo1
Posts: 8
Joined: Sat Jul 07, 2007 7:33 pm

Re: margins in latex

Post by totototo1 »

Hi;
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
User avatar
countbela666
Posts: 64
Joined: Thu Apr 26, 2007 2:44 pm

Customizing margins in thesis

Post by countbela666 »

Hi,
totototo1 wrote: My Miketex is 2.4 and I am using Acrobat 7. I
even if it does not solve the problem: MiKTeX 2.4 is obsolete and no longer supported. You should update to MiKTeX 2.6.

Regards
Marcel
Listen to me children of the night, beyond the doors of darkness you will find
a thousand worlds for you to see here, take my hand and follow me...
totototo1
Posts: 8
Joined: Sat Jul 07, 2007 7:33 pm

Re: margins in latex

Post by totototo1 »

Hi;
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
Post Reply