PDA

View Full Version : Please help with Latex Layout!


MetapostAddict
May 3rd, 2009, 02:52 PM
Hi all,

I'm going crazy trying to set up the proper margins for my honors thesis, and I'd really appreciate any help.

My needs are simple: I need 1 inch margins on top, bottom and right, and 1.5in margins on left.

I tried geometry package, but when I print it out the dimensions are way off what I set.

I tried manually setting everything, but still the margin are way off.

argh it's driving me crazy!

below is what I've tried...



\setlength\voffset{-.75in}
\setlength\topmargin{0in}
\setlength\headheight{.125in}
\setlength\headsep{.375in}
\setlength\textheight{9in}
\setlength\footskip{0in}
\setlength\hoffset{0in}
\setlength\oddsidemargin{.5in}
\setlength\textwidth{6in}


\usepackage[truedimen,paperheight=11in,paperwidth=8.5in,hdivid e={1.5in,6in,1in},vdivide={1in,9in,1in},showframe, dvips]{geometry}


Thanks in advance for any help

favilac
May 3rd, 2009, 10:56 PM
Try this:

\usepackage{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin= 1.5in,rmargin=1in}

hubie
May 3rd, 2009, 11:21 PM
As I understand the geometry package, you fill in the values that you want and it autocompletes the rest. Because of interdependencies on a lot of those parameters, you can get into trouble if you try to set all of them yourself.

The documentation (http://www.tex.ac.uk/tex-archive/macros/latex/contrib/geometry/geometry.pdf) for the geometry package states that if you want to use hdivide and vdivide, you should not specifiy all three values. You should specify two and leave the other to be calculated.

Try something like
\usepackage[letterpaper,left=1.5in,top=1.0in,bottom=1.0in,righ t=1.0in]{geometry}

I think you can even shorten this up with
\usepackage[letterpaper,margin=1in,left=1.5in]{geometry}
I can't check these because I can't get on to my latex machine right now.

MetapostAddict
May 4th, 2009, 03:48 PM
I finally figured out the prolem(s), using http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/testflow/

that site has a LaTeX diagnostic procedure, which helped me discover that dvi defaults to a4 paper size, even if you specify in LaTeX that you're using letter.

If anyone else needs to take their margins seriously, the above link is extremely helpful.