作者chia1985 (chia)
看板LaTeX
標題[問題] 寫 "\["(左括號)的問題
時間Mon Mar 2 00:04:52 2009
\begin{equation}
\[ $C(S_{T},T$) = \left\{\begin{array}{ll}
$S_{T}-E^{*}$, & \mbox{if $S \geq E$ } \nonumber \\
$0$, & \mbox{otherwise}\\
\end{array}
\right. \]
\end{equation}
結果顯示 !Latex error: Bad math environment delimiter.
查了一下書 寫了:
Tex has found either a math-mode-starting command such as \[ wher it
is already in math mode.
於是我把equation的指令拿掉
他又顯示
Display math should end with $$
以及missing $ insert (有嗎?!)
於是我又照他說的加了 $$
$$\[ $C(S_{T},T$) = \left\{\begin{array}{ll}
$S_{T}-E^{*}$, & \mbox{if $S \geq E$ } \nonumber \\
$0$, & \mbox{otherwise}\\
\end{array}
\right. \]$$
但竟然又顯示 !Latex error: Bad math environment delimiter.
唉..到底是哪裡出了問題呢?我只不過是想要有個左括弧 orz
請高手幫我看一下^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.146.242.249
推 jsb:方括弧是 \left[...\right]。你都知道 \left\{...\right\}了。 03/02 00:48
推 cgkm:\[ ... \] = \begin{displaymath} ... \end{displaymath} 03/02 05:00
推 lovinlover:\begin{equation} \[ $ 這三個不能一起用吧... 03/02 10:11
推 chy1010:重複太多了 在 equation 環境裡面不用再用 $ 03/04 17:35