Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!warwick!maujt From: maujt@warwick.ac.uk (Richard J Cox) Newsgroups: comp.text Subject: Re: def numbering in LaTeX Keywords: uniqueness Message-ID: <266@poppy.warwick.ac.uk> Date: 22 Apr 89 20:10:55 GMT References: <838@mv03.ecf.toronto.edu> Reply-To: maujt@warwick.ac.uk (Richard J Cox) Organization: Computing Services, Warwick University, UK Lines: 20 In article <838@mv03.ecf.toronto.edu> apollo@ecf.toronto.edu (Vince Pugliese) writes: % % i was wondering if it is possible to make def's unique by simply % appending a number to the macro definition, e.g. % \def\dummy_macro{..... % \def\dummy_macro2{...... % % LaTeX does not seem to like the second def when it used in the % body of the text arguing that the definition of dummy_macro2 does % not exist. any suggestions or ideas? This is TeX's fault, you can't have digits as part of a macro/function name and hence the same applies to LaTeX. - RC /*--------------------------------------------------------------------------*/ JANET: maujt@uk.ac.warwick.cu BITNET: maujt%uk.ac.warwick.cu@UKACRL ARPA: maujt@cu.warwick.ac.uk UUCP: maujt%cu.warwick.ac.uk@ukc.uucp Richard Cox, 84 St. Georges Rd, Coventry, CV1 2DL; UK PHONE: (0203) 520995