Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
LaTeXドキュメントで使用するためのテキストを準備したいと思います。
私はたくさんのことをするSQL関数を書きましたREPLACE。たとえば、_->\_などです。
REPLACE
_
\_
しかし、特別な文字がたくさんあり、エラーが発生することがあります。テキストをLaTeXにエスケープするためのSQL関数またはJavaパッケージを知っている人はいますか?
特別な文字は10個だけです\ { } _ ^ # & $ % ~。
\ { } _ ^ # & $ % ~
verbatim環境またはパッケージを使用すると、listingsエスケープせずにソースコードを入力できます。
verbatim
listings