Latex学习四enumerated lists with and without subitems.

来源:互联网 发布:赵薇为啥叫赵日天 知乎 编辑:程序博客网 时间:2024/06/07 17:30

程序:

\documentclass{article}\usepackage{amsmath}\usepackage{amssymb}\usepackage{graphicx}\begin{document}\title{My First \LaTeX{} Document}\author{he}\maketitle%this is a commentHello \textbf{word}, \textit{this} is my \texttt{second}.\begin{enumerate}\item this is an item\item this is another item\begin{enumerate}\item here is a subpart\item here is another subpart\end{enumerate}\item this is third item   \begin{enumerate}    \item[3.1.] here is a subpart\item[3.2.] here is another subpart\end{enumerate}\end{enumerate}\end{document}


运行结果如下:



0 0
原创粉丝点击