我想做一个枚举,但第一行应该加粗,例如看这张图片:
我希望蓝色部分以粗体显示。此外,我不知道如何在枚举环境中为其他文本生成新行,我应该直接使用吗\\
?
答案1
\textbf{...}
在想要加粗和\\
换行的文本周围使用。
\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[\bfseries1.]
\item \textbf{Specify a mean equation for the returns}\\
by testing for serial dependence of $r_t$ an, if necessary, building an ARMA model
\item \textbf{Test for ARCH Effects}\\
using the residuals of the mean equation
\item \textbf{Specify a volatility model} (if necessary)
\item \textbf{Estimate the complete model}\\
via joint estimation of mean an volatility parameters
\item \textbf{Check the fitted model}\\
and refine if necessary.
\end{enumerate}
\end{document}
答案2
为了实现更多的自动化,您可能需要定义一个新命令\bitem
,如下所示:
\documentclass{article}
\newcommand\bitem[1]{\item{\bfseries #1}\\}
\begin{document}
\begin{enumerate}
\bitem {Specify a mean equation for the returns}
by testing for serial dependence of $r_t$ an, if necessary, building an ARMA model
\bitem {Test for ARCH Effects} using the residuals of the mean equation
\bitem {Specify a volatility model} (if necessary)
\bitem {Estimate the complete model}
via joint estimation of mean an volatility parameters
\bitem {Check the fitted model} and refine if necessary.
\end{enumerate}
\end{document}