Article View: comp.text.tex
Article #10366Re: \makeatletter \makeatother what do they do?
From: Tor Iver Wilhelmsen
Date: Wed, 19 Jun 1991 13:59
Date: Wed, 19 Jun 1991 13:59
22 lines
1638 bytes
1638 bytes
In article <tas.677284397@tasman> 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}
Technical Details
Message-ID:
<TORIVER.91Jun19155926@lise1.lise.unit.no>Path:
arc1-ca.pugleaf.net!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!toriverReferences:
<tas.677284397@tasman>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <TORIVER.91Jun19155926@lise1.lise.unit.no> Date: 19 Jun 91 13:59:26 GMT References: <tas.677284397@tasman> 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