LaTeX:美元符号与 ( ) [英] LaTeX: dollar sign vs ( )
本文介绍了LaTeX:美元符号与 ( )的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么理由更喜欢语法 (myformula)
而不是 LaTeX 中通常的 $myformula$
?
Is there any reason to prefer the syntax (myformula)
to the usual $myformula$
in LaTeX?
编辑:在 上提出并回答了相同的问题tex.stackexchange.
推荐答案
LaTeX 可以使用 (
...)
捕捉嵌套错误,但实际上并没有真正的使用它们优于 $
...$
.如果你做使用(
...)
,那么一定要加载fixltx2e
包来制作它们很健壮(例如,可用于标题和章节标题).
LaTeX can catch nesting errors with (
...)
but in practise there's no real advantage to using them over $
...$
. If you do use (
...)
, then make sure to load the fixltx2e
package to make them robust (i.e., e.g., usable in captions and section headings).
正如其他人所说,另一方面,应该使用 [
...]
而不是 $$
...$$
.
As others have said, on the other hand, [
...]
should be used instead of $$
...$$
.
这篇关于LaTeX:美元符号与 ( )的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文