Re: [問題] enumerate定義
這是我的定義
\def\labelenumi {\textbf {Example} \(\theenumi\)}
這是我按照大大們改的方式
\begin{enumerate*}
\item \textbf{(Maximum Likelifood Function)} Let $x_1\ldots x_n \sim f(x_i;\theta)$
\begin{equation}\label{1}
\displaystyle\max_{\theta}L=\displaystyle\max_{\theta}\prod\limits^n_{i=1} f(x_i;\theta)
\end{equation}\\
\mbox{}{\hspace{-2.4cm} {In other usages, we can also recall how we solve the minimum for least \\\mbox{}\hspace{-2.3cm}square.The problems can be seen as follows:}}
\item \textbf{(Least Square Error)}
\begin{equation}\label{2}
\displaystyle\min_{\beta_0,\beta_1}{\sum\limits^N_{i=1} (Y_{i}-\beta_0-\beta_1 x_{i})^2}
\end{equation}
\end{enumerate*}
但還是跑不出來
錯誤訊息
loading : Context Support Macros / PDF (2004.03.26)
) [1{psfonts.map}]
Chapter 1.
! LaTeX Error: Environment enumerate* undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.24 \begin{enumerate*}
※ 引述《s489780011 (PeterYang)》之銘言:
: \def\labelenumi {\textbf {Example} \(\theenumi\)}
: %%%%%%%%%%%%%%%%%%%%%%定義enumerate
: 因為一開始就定義enumerate,所以之後就都會多了"Example",
: 我有辦法控制隨時要不要用這個指令嗎
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.109.74.189
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章