[問題] 寫 "\["(左括號)的問題

看板LaTeX (論文排版)作者 (chia)時間16年前 (2009/03/02 00:04), 編輯推噓4(400)
留言4則, 4人參與, 最新討論串1/1
\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

03/02 00:48, , 1F
方括弧是 \left[...\right]。你都知道 \left\{...\right\}了。
03/02 00:48, 1F

03/02 05:00, , 2F
\[ ... \] = \begin{displaymath} ... \end{displaymath}
03/02 05:00, 2F

03/02 10:11, , 3F
\begin{equation} \[ $ 這三個不能一起用吧...
03/02 10:11, 3F

03/04 17:35, , 4F
重複太多了 在 equation 環境裡面不用再用 $
03/04 17:35, 4F
文章代碼(AID): #19gh8bXM (LaTeX)
文章代碼(AID): #19gh8bXM (LaTeX)