[OS X TeX] macros with \
Piet van Oostrum
piet at cs.uu.nl
Tue Jan 18 09:21:06 EST 2005
>>>>> Curtis Clifton <curt.clifton at mac.com> (CC) wrote:
CC> On Jan 17, 2005, at 10:29 PM, John Burt wrote:
>> I'm trying something that should be simple, and in fact it's something I
>> used to do all the time in version 7. I just want to make a macro to
>> insert a LaTeX command into the text. I find that the macro keeps
>> interpreting the \ character as something else. How do I get \ into a
>> macro?
CC> About to call it a night, so I'm just guessing here. But try putting two
CC> backslashes like you would in a grep string.
That certainly won't work. I suppose the OP wants to print a backslash (the
question is not very clear). a backslash can be printed with \textbackslash
or $\backslash$ (the latter is for math mode).
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: piet at vanoostrum.net
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list