(我没有立即看到这个问题已经被问到,但也许已经问到了,因为对我来说这似乎是一个显而易见的问题!)
这更像是一个印刷/风格/最佳实践问题,但我想知道当您有堆叠指数时何时使用内联与方程环境。
以下是一个例子:
By applying Theorem 1, we have that the graph $G$ has at most $n^{d\cdot k^{d+1}} = n^{d\cdot (2^{d-1})^{d+1}} = n ^{d\cdot 2^{d^2-1}}$
maximal cliques.
将其排版为行内格式还是作为单独的方程式更好?
答案1
将这样的表达式放在行内会导致垂直间距不一致,如下面第三行和第四行之间看到的:
尽可能避免这种情况。(当然,如果期刊编辑坚持要留出这个间距以节省文章的长度,那就无权干涉了。)最好将高深的数学公式放在展示位置:
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
By applying Theorem 1, we have that the graph $G$ has at most $n^{d\cdot k^{d+1}} = n^{d\cdot (2^{d-1})^{d+1}} = n ^{d\cdot 2^{d^2-1}}$ maximal cliques.
\lipsum[2]
By applying Theorem 1, we have that the graph $G$ has at most
\[n^{d\cdot k^{d+1}} = n^{d\cdot (2^{d-1})^{d+1}} = n ^{d\cdot 2^{d^2-1}}\]
maximal cliques.
\end{document}