🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #452

help with TeX \@... definitions, please.

#452
From: Russell Lang
Date: Mon, 27 Jul 1992 06:25
31 lines
1257 bytes
I am trying to redefine \@oddpage and \@evenpage in LaTeX.
However TeX doesn't seem to be accepting my definitions.
The example file below works for the two definitions without
an @, and for the last definition with an @.
\@oddhead and \@evenhead get confused with \@ when I try to 
expand them later.
Could someone please tell my why?

How do I make the others work?

\def\defone{first definition}
\def\@oddhead{right head text}
\def\@evenhead{left head text}
\def\@anotherhead{another head text}
\def\deftwo{seconf definition}

\@oddhead

\@evenhead

\@anotherhead

\defone

\deftwo

\bye
-- 
Russell Lang   Email: rjl@fawlty4.eng.monash.edu.au   Phone: (03) 565 3460
Department of Electrical and Computer Systems Engineering
Monash University, Australia
Technical Details
Message-ID: <rjl.712218343@fawlty6.eng.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!bruce.cs.monash.edu.au!monu6!fawlty6.eng.monash.edu.au!rjl

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!bruce.cs.monash.edu.au!monu6!fawlty6.eng.monash.edu.au!rjl
From: rjl@fawlty6.eng.monash.edu.au (Russell Lang)
Subject: help with TeX \@... definitions, please.
Message-ID: <rjl.712218343@fawlty6.eng.monash.edu.au>
Sender: news@monu6.cc.monash.edu.au (Usenet system)
Organization: Monash University, Melb., Australia.
Date: Mon, 27 Jul 1992 06:25:43 GMT
Lines: 31