Reputation: 295
I want to prepare a text for the use in a LaTeX document.
I wrote a SQL Function which does a lot of REPLACE
. For example _
-> \_
and so on.
But there are so many special chars and sometimes I get errors. Does anyone know a SQL-function or a Java package for escaping text to LaTeX?
Upvotes: 8
Views: 7833
Reputation: 49812
Use a verbatim
environment or the listings
package, then you can enter source code without escaping.
Upvotes: 3