🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #5730

Re: TeX macro for Nuclear Physics symbols (bug patch)

#5730
From: Raymond Juimong Chen
Date: Fri, 20 Jan 1989 20:40
25 lines
1478 bytes
Aigh!  Bug patch.  I shouldn't have used \count0 outside of grouping,
since it messes up the page number.  (Thud thud.  Sound of head banging
against desk.)  It's safe to use it, though, since the output routine
will not get activated while \count0 contains a funny value.

@x
\def\g@tisotope{\let\b@ck\relax\ifmmode\else$\let\b@ck$\fi
\afterassignment\g@tis@tope\count0=}
@y
\def\g@tisotope{\let\b@ck\relax\ifmmode\else$\let\b@ck$\fi
\bgroup\afterassignment\g@tis@tope\count0=}
@z

@x
\def\g@tis@tope{{}^{\number\count0}{\rm\the\@lement}\b@ck}
@y
\def\g@tis@tope{{}^{\number\count0}\egroup{\rm\the\@lement}\b@ck}
@z

% Is anybody out there?
-- 
Raymond Chen	UUCP: ...allegra!princeton!{phoenix|pucc}!rjchen
		BITNET: rjchen@phoenix.UUCP, rjchen@pucc
		ARPA: rjchen@phoenix.PRINCETON.EDU, rjchen@pucc.PRINCETON.EDU
"Say something, please!  ('Yes' would be best.)" - The Doctor
Technical Details
Message-ID: <5652@phoenix.Princeton.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!mailrus!cornell!rochester!udel!princeton!phoenix!rjchen
References: <676@ur-cc.UUCP> <5619@phoenix.Princeton.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!mailrus!cornell!rochester!udel!princeton!phoenix!rjchen
From: rjchen@phoenix.Princeton.EDU (Raymond Juimong Chen)
Newsgroups: comp.text
Subject: Re: TeX macro for Nuclear Physics symbols (bug patch)
Message-ID: <5652@phoenix.Princeton.EDU>
Date: 20 Jan 89 20:40:58 GMT
References: <676@ur-cc.UUCP> <5619@phoenix.Princeton.EDU>
Reply-To: rjchen@phoenix.Princeton.EDU (Raymond Juimong Chen)
Distribution: na
Organization: Princeton University, NJ
Lines: 25