[comp.text.tex] margins

ERSHC@CUNYVM (10/11/90)

I want to print a page (8.5in wide) with .5in margins left and right.
When I :textwidth = 7in (in LaTeX), I get the regular 1.75in left
margin, and print running off the page. I've looked through both
the TeXbook and LaTeX, and can't find a way to do this. Am I missing
something (like brains)?

Yes, I RTFM, but my eyes ain't too good!

Thanks.
-------


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 eric schweitzer                   seek it with thimbles, seek it with care,
                                              pursue it with forks and hope,
 ershc@cunyvm.cuny.edu             threaten its  life with a  railway-share,
      @cunyvm.bitnet                          charm it with smiles and soap.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

spencer@osc.edu (Stephen N. Spencer) (10/11/90)

In article <90284.002343ERSHC@CUNYVM.BITNET> ERSHC@CUNYVM writes:
>I want to print a page (8.5in wide) with .5in margins left and right.
>When I :textwidth = 7in (in LaTeX), I get the regular 1.75in left
>margin, and print running off the page. I've looked through both
>the TeXbook and LaTeX, and can't find a way to do this. Am I missing
>something (like brains)?
>

From the LaTeX book, p. 163:

\oddsidemargin	One inch less than the distance from the left edge of the paper
	to the left margin of the text on right-hand pages.

\evensidemargin	The same as \oddsidemargin except for left-hand pages.

This ends our reading from the book of Lamport.  :-) :-)

I looked at our 'fullpage.sty' which has both \oddsidemargin and 
\evensidemargin set to 0in, and \textwidth set to 6.5in, which means that 
it would have 1 inch margins.

I made a new style, called it 'widepage', and set it up like this:

\topmargin-.25in
\textheight8.5in
\evensidemargin-.5in \oddsidemargin-.5in
\textwidth7.5in

This indeed gives a 7.5 inch wide block for text, with 0.5 inch margins on
the left and right.  Since the margin variables are -0.5 inch, the margins
will be one inch MORE than these variables, hence 0.5 inch margins.

Hope this helps...

steve


-- 
Stephen N. Spencer      | "Gentlemen!  You can't fight in here!
ACCAD, 1224 Kinnear Rd. |  This is the WAR room!" 
Columbus OH 43212-1163  |			   - Dr. Strangelove
spencer@cgrg.ohio-state.edu||71160.3141@compuserve.com||stephen_spencer@osu.edu

gampell@hpcc01.HP.COM (David J. Gampell) (10/12/90)

/ hpcc01:comp.text.tex / ERSHC@CUNYVM /  9:23 pm  Oct 10, 1990 /

I want to print a page (8.5in wide) with .5in margins left and right.
When I :textwidth = 7in (in LaTeX), I get the regular 1.75in left
margin, and print running off the page.

Thanks.
-------


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 eric schweitzer                   seek it with thimbles, seek it with care,
                                              pursue it with forks and hope,
 ershc@cunyvm.cuny.edu             threaten its  life with a  railway-share,
      @cunyvm.bitnet                          charm it with smiles and soap.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----------
Conforming DVI drivers cannot print within a 1-inch margin at the left and
the top of the page.  As far as I know, attempts to defeat this behavior
are futile.  I don't think you can get a 0.5-inch margin, therefore.

Regards,

Dave Gampell
dave@hpoclpa.hp.com
"Why do you think I speak for Hewlett-Packard?"