home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / text / tex / 9532 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.2 KB  |  42 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!bruce.cs.monash.edu.au!monu6!fawlty6.eng.monash.edu.au!rjl
  3. From: rjl@fawlty6.eng.monash.edu.au (Russell Lang)
  4. Subject: help with TeX \@... definitions, please.
  5. Message-ID: <rjl.712218343@fawlty6.eng.monash.edu.au>
  6. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  7. Organization: Monash University, Melb., Australia.
  8. Date: Mon, 27 Jul 1992 06:25:43 GMT
  9. Lines: 31
  10.  
  11. I am trying to redefine \@oddpage and \@evenpage in LaTeX.
  12. However TeX doesn't seem to be accepting my definitions.
  13. The example file below works for the two definitions without
  14. an @, and for the last definition with an @.
  15. \@oddhead and \@evenhead get confused with \@ when I try to 
  16. expand them later.
  17. Could someone please tell my why?
  18.  
  19. How do I make the others work?
  20.  
  21. \def\defone{first definition}
  22. \def\@oddhead{right head text}
  23. \def\@evenhead{left head text}
  24. \def\@anotherhead{another head text}
  25. \def\deftwo{seconf definition}
  26.  
  27. \@oddhead
  28.  
  29. \@evenhead
  30.  
  31. \@anotherhead
  32.  
  33. \defone
  34.  
  35. \deftwo
  36.  
  37. \bye
  38. -- 
  39. Russell Lang   Email: rjl@fawlty4.eng.monash.edu.au   Phone: (03) 565 3460
  40. Department of Electrical and Computer Systems Engineering
  41. Monash University, Australia
  42.