答案1
不知道為什麼有人必須在這裡「掙扎」:所要做的就是使用嵌套enumerate
環境。不需要特殊的包。確保使用內聯數學模式而不是某些顯示數學環境來進行數學運算。
\documentclass{article}
\begin{document}
\noindent
\dots\ $\hat{\theta}$ is obtained as follows. % end of prior sentence
\begin{enumerate}
\item For each bootstrap replicate, indexed $b=1,\dots,B$:
\begin{enumerate}
\item Generate sample $x^{*(b)} = x^{*}_1, \dots, x^{*}_n$ by sampling \dots
\item Compute the $b$\textsuperscript{th} replicate \dots
\end{enumerate}
\item The bootstrap estimate of $F_{\hat{\theta}}(\cdot)$ is the \dots
\end{enumerate}
The bootstrap is applied to \dots % start of paragraph that follows the enumeration
\end{document}