home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / applicat / 6165 < prev    next >
Encoding:
Text File  |  1992-07-23  |  2.4 KB  |  57 lines

  1. Path: sparky!uunet!psinntp!ncrlnk!ncr-mpd!kentd
  2. From: kentd@FtCollins.NCR.com (Kent Dalton)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: LaTeX question: the 1-inch offset
  5. Message-ID: <KENTD.92Jul22144255@zappa.FtCollins.NCR.com>
  6. Date: 22 Jul 92 13:42:55 GMT
  7. References: <Brr6y2.7Fy@news.cso.uiuc.edu>
  8. Sender: uucp@ncr-mpd.FtCollins.NCR.COM
  9. Organization: NCR Microelectronics, Ft. Collins, CO
  10. Lines: 44
  11. In-reply-to: jmrg9881@uxa.cso.uiuc.edu's message of 21 Jul 92 19:18:00 GMT
  12.  
  13. >>>>> On 21 Jul 92 19:18:00 GMT, jmrg9881@uxa.cso.uiuc.edu (Jon Reid) said:
  14.  
  15. Jon> Hey folks, help me out.  A fellow on GEnie posted the following question,
  16. Jon> and I don't have a copy of the TeXbook.  I seem to recall a couple
  17. Jon> variables called \hoffset and \voffset.  Am I right?  Here's the post:
  18.  
  19. Jon> I have another question about LaTeX.  It seems like you can't
  20. Jon> override the margins set up by the \documentstyle command.  I have
  21. Jon> tryed everything to get it to change but it always shoves it down
  22. Jon> and over by about an inch (even in the ShowDVI program, with the
  23. Jon> margin lines on, it don't match).  If anyone has any insight into
  24. Jon> this problem, I would really a appreciate it.....
  25. Jon>  
  26. Jon>            Eric
  27.  
  28. I don't know about PasTeX in particular, but in general you have
  29. complete control of margins in LaTeX using the following 4 keywords:
  30. \topmargin
  31. \leftmargin
  32. \rightmargin
  33. \textheight
  34.  
  35. An example: 
  36.  
  37. %%% 8.5x11 paper with .5inch margins all around
  38. %%% If this doesn't work your LaTeX/DVItools are broken :^).
  39. %
  40. \setlength{\topmargin{0.5in}}
  41. \setlength{\leftmargin{0.5in}}
  42. \setlength{\rightmargin{0.5in}}
  43. \setlength{\textheight{10in}}
  44.  
  45. See page 113 of "LaTeX: A Document Preparation System" by Leslie Lamport
  46. for further information. If the original poster doesn't have it, tell
  47. him to buy it *immediately*.  LaTeX is unusable without that book IMHO.
  48. (The publisher is Addison-Wesley and ISBN is: 0-201-15790-X)
  49. --
  50. /**************************************************************************/
  51. /* Kent Dalton                   * EMail: Kent.Dalton@FtCollinsCO.NCR.COM */
  52. /* NCR Microelectronics          * Phone: (303) 223-5100 X-319            */  
  53. /* 2001 Danfield Ct. MS470A      *   FAX: (303) 226-9556                  */
  54. /* Fort Collins, Colorado 80525  *                                        */
  55. /**************************************************************************/
  56. Look!  A ladder!  Maybe it leads to heaven, or a sandwich!
  57.