我正在努力解决公式前的空格问题。我希望公式能够像下一行一样连续,如下所示:
\documentclass[12pt]{article}
\usepackage{amsmath}
\showoutput
\begin{document}
\setlength{\abovedisplayskip}{1pt plus 1pt minus 1pt}
\setlength{\belowdisplayskip}{1pt plus 1pt minus 1pt}
\setlength{\parskip}{1ex}
My first(a) paragraph just uses the standard latex equation environment. My first(b) paragraph just uses the standard latex equation environment.
\[ C_{X} = \text{Cash Return at Time 1} = \$12 \;,\]
The first(c) paragraph should be very tightly knit indeed.
My second(a) paragraph just uses the standard latex equation environment with a fraction. My second(b) paragraph just uses
\[ C_{Y} = \frac{\text{Cash Return at Time 1}}{\$12} \;,\]
The second(c) paragraph should be very tightly knit indeed.
\end{document}
告诉\showoutput
我第一个方程有一个...\glue(\baselineskip) 2.488
,而第二个方程只有一个...\glue(\lineskip) 1.0
。因此,第一个方程具有我想要的间距(即,好像数学只是另一行文本 [尽管我可能会给它另一个或两个点]),而第二个方程与前面的文本太紧。
我将如何指示乳胶在两个段落(即两种类型的方程式)中始终使文本和方程式之间的间距相同?