GeneralChallenging problem "Changing Margins"

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

Challenging problem "Changing Margins"

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.

Each time I am compiling from Latex to Pdf (I do not want to use other transformation such as Latex to ps or others)
The MikTex installed is 2.4 (I know this an old version but it is installed on the university's machine) and the Acrobat is 7.0

The body is latex1.tex and the main file is latex2.tex
All these files have been added. I have posted this problem but no one gave a clear solution. Any help is appreciated.

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: Challenging problem "Changing Margins"

Post by totototo1 »

sorry I forgot to attach the files
check the attachment below.
Attachments
LaTeX2.tex
(1.58 KiB) Downloaded 247 times
LaTeX1.tex
(2.05 KiB) Downloaded 242 times
cuthesis.sty
(10.18 KiB) Downloaded 227 times
User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

Challenging problem "Changing Margins"

Post by pumpkinegan »

Have you tried the geometry package with pdfLaTeX:

Code: Select all

\usepackage[lmargin=3.81cm,rmargin=2.54cm,tmargin=2.54cm,bmargin=2.54cm,pdftex]{geometry}
This will make the geometry defined in cuthesis.sty obsolete:

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
It works correctly for me (MiKTeX 2.6, pdflatex.exe).
Attachments
MarginsGeometry.pdf
(40.6 KiB) Downloaded 245 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Challenging problem "Changing Margins"

Post by localghost »

totototo1 wrote: […] I have posted this problem but no one gave a clear solution. […]

As you can see, you get the same clear solution as in the other thread. So the problem is on your side. Check the settings of your MiKTeX system. The MiKTeX options offer the setting of the default paper size.
Post Reply