[OS X TeX] Concatinating backslash and id

Peder Axensten peder at axensten.se
Thu May 11 10:25:32 CEST 2006


A very simple solution, thank you!

/Peder


On 11 maj 2006, at 09.52, Morten Høgholm wrote:

> On 5/11/06, Peder Axensten <peder at axensten.se> wrote:
>> Thank you very much!
>>
>> A variant of the question:
>> If I want to write the newcommand to a text file, something like:
>>
>>        \immediate\write\fileid{\newcommand{\#1}{#2}}%
>>
>> The same problem here, I want to concatenate \ and #1. How can I do
>> that?
>
> LaTeX provides a single \ for writing to files and message under the
> name \@backslashchar.
>
> Morten
> ------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
>

------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list