Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!munnari.oz.au!spool.mu.edu!think.com!zaphod.mps.ohio-state.edu!caen!deccrl!bloom-beacon!eru!hagbard!sunic!sics.se!ifi.uio.no!nuug!ugle.unit.no!ugle.runit.sintef.no!toriver From: toriver@lise.unit.no (Tor Iver Wilhelmsen) Newsgroups: comp.text.tex Subject: Re: \makeatletter \makeatother what do they do? Message-ID: Date: 19 Jun 91 13:59:26 GMT References: Sender: news@ugle.unit.no Distribution: comp Organization: Institute Of Computer Sciences, NTH Lines: 22 In-Reply-To: tas@tasman.cc.utas.edu.au's message of 18 Jun 91 22:33:17 GMT In article tas@tasman.cc.utas.edu.au (Tas van.Ommen) writes: Maybe this is a novice question but I can't find these control sequences in either Knuth or Lamport. What do the commands \makeatletter and \makeatother do? Tas van Ommen email: tas@physvax.phys.utas.edu.au * I think they are macros defined as such: \def\makeatother{\catcode'\@=12} % @ becomes an 'other' type %character \def\makeatletter{\catcode'\@=11} % @ becomes a letter, can then % be used in macro names The reason to do this is to have "hidden" names, plain TeX uses this a lot (source: Schwartz: Introduction to TeX, p. 190) -- "When things are slow, don't introduce new technology, introduce new terminology." - John C. Dvorak "Keep it up, rock'n'roll, good music save your soul" - Motorhead: Ramones toriver@{lise,solan,siri}.unit.no pumpkin@norunit.{sintef.no, bitnet}