Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!iesd!iesd.auc.dk!krab From: krab@iesd.auc.dk (Kresten Krab Thorup) Newsgroups: comp.text.tex Subject: Re: can't get \ in a \special Message-ID: Date: 16 Mar 91 14:46:28 GMT References: <1991Mar15.211418.27337@hoss.unl.edu> Sender: news@iesd.auc.dk Distribution: comp Organization: Mathematics and Computer Science, University of Aalborg Lines: 31 In-reply-to: jaffe@hoss.unl.edu's message of 15 Mar 91 21:14:18 GMT >>>>> On 15 Mar 91 21:14:18 GMT, jaffe@hoss.unl.edu (David Jaffe) said: |> How do I get a backslash to be outputted as part of a special? The only |> thing I can come up with is to change catcodes before the special, which |> is not an entirely satisfactory solution. I want the string (f\(x\)) to |> be outputted, which postscript will subsequently convert into the string |> f(x). |> \special{ ... (f\(x\)) ... } |> obviously won't work. No... you must use the \string command; like: \special{ ... (f\string\( x\string\) ) ... } read in the TeX book pages 40, 213-214, 215. |> David Jaffe (jaffe@hoss.unl.edu) |> University of Nebraska -- Lincoln /Kresten -- / |__ __/ | / /_/_| / ___/ | _____/ __/ __/__/__| ____/ LaTeX's not crap --- that's me