home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / text / tex / 10384 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!swrinde!news.dell.com!math.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: evc@ccwf.cc.utexas.edu (Edward Van Cura)
  3. Newsgroups: comp.text.tex
  4. Subject: Help! Inside/Outside Margins in 2-Sided TeX Doc
  5. Message-ID: <78134@ut-emx.uucp>
  6. Date: 21 Aug 92 04:40:59 GMT
  7. Sender: news@ut-emx.uucp
  8. Lines: 27
  9.  
  10. Please (With Sugar on Top) Help Me . . .
  11.  
  12.    I would like to produce a document which is double-sided with
  13. the inner margins set at 1.0in and the outer margins set at 0.5in.
  14. I am using doublecolumns with eplain-1.9. 
  15.  
  16. I set the \topmargin and \bottommargin at 0.5in each, then initialize
  17. the \hoffset with 
  18.  
  19. \ifodd\pageno \hoffset=0.0in \else \hoffset=-0.5in\fi
  20. (an article may start on page 26, for example)
  21.  
  22. Then I need a way to reverse the margin settings at the end of the 
  23. page in preparation for the next page. First I tried to tack the 
  24. \ifodd statement listed above onto the \headline{} routine, since I
  25. thought TeX would look at it during the \output routine
  26. at the end of every page. This failed to get the desired effect. 
  27. Then I tried to make the margin change by sticking the \ifodd statement
  28. in what I thought was the \output routine token list. No dice.
  29. I've spent 3 days squinting at the TeXbook, TeX for the Impatient, 
  30. the eplain docs, the TeX FAQ file, and searching several ftp sites
  31. for a ready-made macro. 
  32.  
  33. Any advice or pre-fab macros would be greatly appreciated.
  34.  
  35. Edward Earl van Cura
  36. evc@ccwf.cc.utexas.edu
  37.