[Haskell-cafe] Visible space with lhs2tex

Felipe Lessa felipe.lessa at gmail.com
Tue Dec 22 16:56:55 EST 2009


Hello!

Does anyone know if it is possible to turn spaces inside strings
to visible spaces.  That is, format

    " test"

as

    "\textvisiblespace{}test"

With the 'listings' package there's the option 'showspaces'.
However, unfortunately this and obvious variations don't work:

    %format " " = "\textvisiblespace"

Thanks in advance! :)

--
Felipe.


More information about the Haskell-Cafe mailing list