# [plt-scheme] String escape sequences hurt!

At Tue, 14 Mar 2006 14:03:24 +0000, "Paulo J. Matos" wrote:
>* So I've
*>* been typing something like:
*>* (latex-formula "\\sum_{i = 1}^10 \\varphi i^\\theta")
*>* all the time, which is error prone and very ugly...
*
Here strings or a reader extension is probably the right approach. But
also consider the simple hack of abusing symbols, just because
backslash doesn't escape inside symbol-quoting vertical bars:
(latex-formula '|\sum_{i = 1}^10 \varphi i^\theta|)
Of course, that doesn't help if you frequently typeset vertical bars.
Matthew