Path: utzoo!attcan!uunet!samsung!brutus.cs.uiuc.edu!jarthur!dhosek From: dhosek@jarthur.Claremont.EDU (D.A. Hosek) Newsgroups: comp.text Subject: Re: Where in Leslie Lamport's LaTeX manual is this? Message-ID: <3183@jarthur.Claremont.EDU> Date: 21 Nov 89 09:24:08 GMT References: <2598@goanna.oz.au> Reply-To: dhosek@jarthur.UUCP (D.A. Hosek) Organization: Pitzer College, Claremont, CA 91711 Lines: 27 In article <2598@goanna.oz.au> isaac@goanna.oz.au (Isaac Balbin) writes: ->Someone waltzed into my office the other day and asked, ->"How do I get a caret symbol as part of a \section title?, -> When I use {\tt ^} I have problems, I can't use \verb, I can't use -> \^ since that means something else" ->Now, we solved the problem by \chardef\caret`\^ but it occurred to me ->that the LaTeX manual ought to be exhaustive in telling the user how to ->reproduce _each_ special character without having the special effect. ->I couldn't find this one in the index. Have you seen it? How do _you_ handle ->this problem? The LaTeX manual, in the reference manual section, references a command called \symbol which can be used in the context of \symbol{NUMBER} to get the character with character code NUMBER. \chardef is not mentioned because it doesn't follow the same syntax rules as normal LaTeX commands (e.g., all required arguments go in {}, optionals in [], and numeric pairs for picture mode in ().) The LaTeX manual does include a pointer to the TeXbook for more advanced constructions (particularly in math). -dh -- "Odi et amo, quare id faciam, fortasse requiris? nescio, sed fieri sentio et excrucior" -Catullus D.A. Hosek. UUCP: uunet!jarthur!dhosek Internet: dhosek@hmcvax.claremont.edu