\abovedisplayskip
我更改了和的值\belowdisplayskip
,但我想在特定方程后将它们恢复正常。标准值是什么?
答案1
答案2
您可以使用 TeX 的分组功能,而不是重置值:
\documentclass{article}
\begin{document}
Some text that wraps over two lines, let's hope
it's long enough, but, just in case, let's add some
more nonsense
\begingroup\abovedisplayskip=30pt \belowdisplayskip=30pt
\[
1+1=2
\]
\endgroup
Some text that wraps over two lines, let's hope
it's long enough, but, just in case, let's add some
more nonsense
\[
1+1=2
\]
Some text that wraps over two lines, let's hope
it's long enough, but, just in case, let's add some
more nonsense
\end{document}