a******5 发帖数: 313 | 1 如何输入max下面的选择变量?
如何正确输入 s.t.? 我只输入公式,没有使用\intertext{s.t.},公式是有的,虽然很不齐。然后输入\intertext,生成的pdf文件中公式就都没了,再删掉\intertext,pdf文件还是没有公式。
像这样的多个公式,如何对齐?\begin{align} 貌似没效果
谢谢。 |
d*****y 发帖数: 140 | 2 用\text{s.t.} or \mathrm{s.t.}
intertext
【在 a******5 的大作中提到】 : 如何输入max下面的选择变量? : 如何正确输入 s.t.? 我只输入公式,没有使用\intertext{s.t.},公式是有的,虽然很不齐。然后输入\intertext,生成的pdf文件中公式就都没了,再删掉\intertext,pdf文件还是没有公式。 : 像这样的多个公式,如何对齐?\begin{align} 貌似没效果 : 谢谢。
|
d*****y 发帖数: 140 | 3 probably i didn't catch your point, do you mean like this?
\begin{align*}
V & =\max_x J(x)\\
\intertext{s.t. we can add very long text content and equations such
as $\int_{a}^{b}f(x)dx$ here}
0 & =f(x)\\
0 & =g(x)
\end{align*}
these code works fine in my latex files
intertext
【在 a******5 的大作中提到】 : 如何输入max下面的选择变量? : 如何正确输入 s.t.? 我只输入公式,没有使用\intertext{s.t.},公式是有的,虽然很不齐。然后输入\intertext,生成的pdf文件中公式就都没了,再删掉\intertext,pdf文件还是没有公式。 : 像这样的多个公式,如何对齐?\begin{align} 貌似没效果 : 谢谢。
|
a******5 发帖数: 313 | 4 我用的是texlive 2008+ winedt,好像很不稳定。
使用了您的code,公式还是不齐,请问\begin{align}要用什么宏包?
谢谢。
【在 d*****y 的大作中提到】 : probably i didn't catch your point, do you mean like this? : \begin{align*} : V & =\max_x J(x)\\ : \intertext{s.t. we can add very long text content and equations such : as $\int_{a}^{b}f(x)dx$ here} : 0 & =f(x)\\ : 0 & =g(x) : \end{align*} : these code works fine in my latex files :
|
d*****y 发帖数: 140 | 5 \usepackage{amssymb,amsmath}
see http://www.ams.org/tex/short-math-guide.html
【在 a******5 的大作中提到】 : 我用的是texlive 2008+ winedt,好像很不稳定。 : 使用了您的code,公式还是不齐,请问\begin{align}要用什么宏包? : 谢谢。
|
a******5 发帖数: 313 | 6 已经用了package,还是不行
【在 d*****y 的大作中提到】 : \usepackage{amssymb,amsmath} : see http://www.ams.org/tex/short-math-guide.html
|
d*****y 发帖数: 140 | 7 好吧,话说我还正想试试tex live呢-,-b
【在 a******5 的大作中提到】 : 已经用了package,还是不行
|