I am trying to write customizable tables to TeX files.
file open output using "$path/output.tex'",write
file write output "Try to escape \$"
file close output
However the resulting TeX file only says "Try to escape $" without the backslash. How can I include the backslash? "\\$" doesn't work either.
file open output using "$path/output.tex'",write
file write output "Try to escape \$"
file close output
However the resulting TeX file only says "Try to escape $" without the backslash. How can I include the backslash? "\\$" doesn't work either.
Comment