🛡️ LaTeX 特殊字符转义LaTeX Special Character Escaper
把普通文本中的 & % $ # _ { } ~ ^ \ 等 LaTeX 特殊字符一键转义成 \&、\%、\textasciitilde{} 等,也可反向还原;可选把弯引号、长破折号、°、µ 等 Unicode 符号转换成 LaTeX 写法,方便把网页或 Word 文字安全粘贴进 .tex。Escape LaTeX special characters — & % $ # _ { } ~ ^ \ — into \&, \%, \textasciitilde{} and so on, or unescape back; optionally convert curly quotes, dashes, °, µ and other Unicode to LaTeX, so text from the web or Word pastes safely into .tex.
LaTeX 需要转义的 10 个特殊字符The 10 special characters LaTeX needs escaped
& % $ # _ { } → \& \% \$ \# \_ \{ \};~ → \textasciitilde{};^ → \textasciicircum{};\ → \textbackslash{}。
使用说明与常见问题How-to & FAQ
「LaTeX 特殊字符转义」是什么?What is the LaTeX Special Character Escaper?
把普通文本中的 & % $ # _ { } ~ ^ \ 等 LaTeX 特殊字符一键转义成 \&、\%、\textasciitilde{} 等,也可反向还原;可选把弯引号、长破折号、°、µ 等 Unicode 符号转换成 LaTeX 写法,方便把网页或 Word 文字安全粘贴进 .tex。Escape LaTeX special characters — & % $ # _ { } ~ ^ \ — into \&, \%, \textasciitilde{} and so on, or unescape back; optionally convert curly quotes, dashes, °, µ and other Unicode to LaTeX, so text from the web or Word pastes safely into .tex.
如何使用「LaTeX 特殊字符转义」?How do I use the LaTeX Special Character Escaper?
粘贴文字,选择“转义”或“反转义”,结果实时显示。勾选“转换 Unicode 符号”会把 “ ” 变成 `` 、— 变成 ---,适合用 pdfLaTeX 编译的稿件;用 XeLaTeX 时可以不勾。Paste text and choose Escape or Unescape. Tick “Convert Unicode symbols” to turn “ ” into `` and — into --- for pdfLaTeX; leave it off for XeLaTeX.
URL 里的 % 和 _ 也要转义吗?Should % and _ in URLs be escaped?
如果放在 \url{} 或 \href{} 里,一般不需要转义;放在普通正文中则必须转义。可以先把 URL 单独放进 \url{}。Inside \url{} or \href{} usually not; in running text yes. Put URLs in \url{}.
「LaTeX 特殊字符转义」免费吗?文件会上传吗?Is the LaTeX Special Character Escaper free? Are my files uploaded?
「LaTeX 特殊字符转义」完全免费,无需注册。你输入的内容只在本机浏览器里处理(并保存在本机方便下次继续),不会上传到任何服务器,适合处理未发表的论文和数据。The LaTeX Special Character Escaper is free with no sign-up. Everything you enter is processed in this browser only (and kept locally so you can continue later); nothing is uploaded, so it is safe for unpublished papers and data.