latex escape chars
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?
There are only 10 special chars: \ { } _ ^ # & $ % ~
.
Use a verbatim
environment or the listings
package, then you can enter source code without escaping.
精彩评论