作者s489780011 (PeterYang)
看板LaTeX
标题Re: [问题] enumerate定义
时间Fri Jul 20 10:48:36 2007
这是我的定义
\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