Article View: comp.text.tex
Article #989Re: TeX grammar
From: James Petts
Date: Fri, 07 Aug 1992 08:52
Date: Fri, 07 Aug 1992 08:52
24 lines
1299 bytes
1299 bytes
In article <jpl1.712798679@Isis.MsState.Edu> John Patrick Lestrade, jpl1@ra.msstate.edu writes: >>Would I type: The cat is worth much \$ today? Since TeX recognizes that >>there can only be one control symbol and therefore stops? It seems like the >>only thing possible since if you wanted this line: The bank is worth >>an estimated $5000.00 Yes. If the character following the backslash is a non-letter, then TeX recongnises that it is a controls *symbol* (i.e. a single character control sequence) and the next space is not gobbled up. You need to end the control sequence explicitly *only* if it is a control *word* (i.e. begins with a letter). Thus The cat is worth much \$\$ today will give "The cat is worth much $$ today", but The cat is worth much \$ \$ today will give "the cat is worth much $ $ today". James Petts
Technical Details
Message-ID:
<BsLvAy.Kp@gate.demon.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!nuntiusReferences:
<1992Aug2.211518.14238@u.washington.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!nuntius From: James Petts <pettsj@visigoth.demon.co.uk> Subject: Re: TeX grammar Organization: No Affiliation Date: Fri, 7 Aug 1992 08:52:08 GMT Message-ID: <BsLvAy.Kp@gate.demon.co.uk> X-Useragent: Nuntius v1.1 References: <1992Aug2.211518.14238@u.washington.edu> Sender: news@gate.demon.co.uk (Usenet Administration) Nntp-Posting-Host: visigoth.demon.co.uk Lines: 24