[問題] enumerate內的\item $數學式$ 問題
我是個Tex新手
WIN7使用MikTex2.9+XeLaTex+xeCJK+Texmaker來編輯
在知道「原來可以自動編號啊…」很開心地加上去後
原來編譯可以的計算式子放在enumerate裡之後就出現錯誤
\renewcommand{\labelenumi}{\alpha{enumi})}
\paragraph{11.}%第11題
\begin{enumerate}
→第25列 \item $z_{1-\frac{0.05}{2}}\times sd=1.959964\times
\sqrt{\dfrac{p(1-p)}{1218}}=0.02749159 $
等等 ...之類的
\item
\begin{description}
\item[b.] $\;n=0.56*(1-0.56)*(\frac{z_{0.025}}{0.02})^{2}= 2366.339\leq2367$
\item[d.]$\;
E=z_{0.025}\sqrt{\frac{0.071(1-0.071)}{3458}}=0.0198355\leq0.02$
\end{description}
\end{enumerate}
錯誤訊息大約是
第25列
! Missing $ inserted.<inserted text>$ ^^I\item $
! Extra }, or forgotten $.\llap #1->\hb@xt@ \z@ {\hss #1} ^^I\item $
! Extra }, or forgotten $.\sbox ...hbox {\color@setgroup #2\color@endgroup }
^^I\item $
! Missing $ inserted.<inserted text>$ ^^I\item $z_
其他列或其他段落,若有
\item some words or not are here $ $
或是\item \[ \]
就會出錯,
若只有\item some words
或不使用enumerate,就沒有錯誤
請問版上的強者大大們要怎麼解決這種情形?
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.24.28.95
※ 編輯: gary8520 來自: 114.24.28.95 (03/28 02:32)
※ 編輯: gary8520 來自: 114.24.28.95 (03/28 02:33)
推
03/28 04:34, , 1F
03/28 04:34, 1F
→
03/28 04:37, , 2F
03/28 04:37, 2F
→
03/28 11:22, , 3F
03/28 11:22, 3F
→
03/28 11:27, , 4F
03/28 11:27, 4F
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):