Hi,

Same problem here, but a little bit different : I want to *write* a latex 
string to a .txt file, including backslashes (to make an automatic graph 
with latex labels from a .csv generated in Julia).

For instance, I want to write  "{$ \lambda $}" in a txt file. In julia I 
can escape the backslash like this "{\$ \\lambda \$}" and println("{\$ 
\\lambda \$}") gives me a nice "{$ \lambda $}" in the REPL.

However, I can't find a syntax to write a simple backslash in a text file : 
the same string used with Julia's *write* function gives me "{\$ \\lambda 
\$}" in the file.

Any advice ?

Thanks,
Lionel

Reply via email to