开发者

latex escape chars

开发者 https://www.devze.com 2022-12-09 23:55 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消