乳胶新手。无法打印以下列表
New to LaTeX. Unable to print following list
我正在尝试使用 LaTex 设置以下列表:
1. An arrival rate \lambda\
2. Upper bound of the server rate \& the waiting buffer, denoted by \mu u \& Nb \
3. Cost parameters (C0, C1, C2, C3, C4, C5, C6)\
4. A response time guarantee x. \
5. System parameters \{\theta i, \theta d, \theta s\} used by the ISN policy \
6. System parameter \{k\} used by the SN policy \
7. System parameters \{\theta, N=1\} used by the SI policy\
Output: \mu*, N* and Fc (\mu*, N*) \
这给出了以下错误消息:
Errors: Missing $ inserted // on point 1.
Too many }'s at end of list and Missing } inserted.
感谢帮助...
任何时候在 LaTeX 中使用特殊字符,例如 \lambda
,您需要确保将其置于数学环境中。您可以 "in line" 通过用美元符号包装它来做到这一点:
$\lambda$
或者,对于较大的数学文本块,您可以这样做:
\begin{math}
\lambda = \mu * \frac{2}{3}
\end{math}
此外,由于您是 LaTeX 的新手,我会指出 \text
的用法,如果您需要在方程中包含一些非数学字符,这会很方便:
$\lambda = \text{MyVariable} * x_{\text{a_long_description}}$
更新:正如 指出的那样,您需要使用 enumerate
环境而不是手动输入您的号码:
\begin{enumerate}
\item First item
\item Second item
\begin{enumerate}
\item First sub-item
\item Second sub-item
\end{enumerate}
\item Third Item
\end{enumerate}
与其手动输入枚举列表的数字,不如使用 enumerate
环境。如果在纯文本中使用数学命令和符号,请记住将它们包装在 $...$
.
中
\documentclass{article}
\usepackage[a4paper]{geometry}
\begin{document}
\begin{enumerate}
\item An arrival rate $\lambda$
\item Upper bound of the server rate \& the waiting buffer, denoted by $\mu$, $u$, \& $N_b$
\item Cost parameters $(C_0, C_1, C_2, C_3, C_4, C_5, C_6)$
\item A response time guarantee $x$
\item System parameters $\{\theta_i, \theta_d, \theta_s\}$ used by the ISN policy
\item System parameter $\{k\}$ used by the SN policy
\item System parameters $\{\theta, N=1\}$ used by the SI policy
\item Output: $\mu^*$, $N^*$ and $F_c(\mu^*, N^*)$
\end{enumerate}
\end{document}
产量
我正在尝试使用 LaTex 设置以下列表:
1. An arrival rate \lambda\
2. Upper bound of the server rate \& the waiting buffer, denoted by \mu u \& Nb \
3. Cost parameters (C0, C1, C2, C3, C4, C5, C6)\
4. A response time guarantee x. \
5. System parameters \{\theta i, \theta d, \theta s\} used by the ISN policy \
6. System parameter \{k\} used by the SN policy \
7. System parameters \{\theta, N=1\} used by the SI policy\
Output: \mu*, N* and Fc (\mu*, N*) \
这给出了以下错误消息:
Errors: Missing $ inserted // on point 1.
Too many }'s at end of list and Missing } inserted.
感谢帮助...
任何时候在 LaTeX 中使用特殊字符,例如 \lambda
,您需要确保将其置于数学环境中。您可以 "in line" 通过用美元符号包装它来做到这一点:
$\lambda$
或者,对于较大的数学文本块,您可以这样做:
\begin{math}
\lambda = \mu * \frac{2}{3}
\end{math}
此外,由于您是 LaTeX 的新手,我会指出 \text
的用法,如果您需要在方程中包含一些非数学字符,这会很方便:
$\lambda = \text{MyVariable} * x_{\text{a_long_description}}$
更新:正如 enumerate
环境而不是手动输入您的号码:
\begin{enumerate}
\item First item
\item Second item
\begin{enumerate}
\item First sub-item
\item Second sub-item
\end{enumerate}
\item Third Item
\end{enumerate}
与其手动输入枚举列表的数字,不如使用 enumerate
环境。如果在纯文本中使用数学命令和符号,请记住将它们包装在 $...$
.
\documentclass{article}
\usepackage[a4paper]{geometry}
\begin{document}
\begin{enumerate}
\item An arrival rate $\lambda$
\item Upper bound of the server rate \& the waiting buffer, denoted by $\mu$, $u$, \& $N_b$
\item Cost parameters $(C_0, C_1, C_2, C_3, C_4, C_5, C_6)$
\item A response time guarantee $x$
\item System parameters $\{\theta_i, \theta_d, \theta_s\}$ used by the ISN policy
\item System parameter $\{k\}$ used by the SN policy
\item System parameters $\{\theta, N=1\}$ used by the SI policy
\item Output: $\mu^*$, $N^*$ and $F_c(\mu^*, N^*)$
\end{enumerate}
\end{document}
产量