Post 2022-04
LaTex Lecture
Latex itemize enumerate
Thanks for the contribution of csdn blog post by "TransientYear" in 2019.
LaTeX provides the {itemize} environment and for ordered lists there is the enumerate environment.
The elements within both environments have to be declared beginning with the \item command.
The following code examples show how to use the most common types of lists you’re going to use in your document.
- To change the effect of the index of enumerate, we need to add: \usepackage{enumerate}
- We can see the effect A,a,I,i,1 by adding \Alph,\alph,\Roman,\roman,\arabic。
1. The 1st method:
\begin{itemize}
\item Apple
\item Google
\item Microsoft
\end{itemize}
2. The 2nd method:
\begin{itemize}
\item[-] Apple
\item[-] Google
\item[-] Microsoft
\end{itemize}
3. The 3rd method:
\begin{enumerate}[]
\item Apple
\item Google
\item Microsoft
\end{enumerate}
4. The 4th method:
\begin{enumerate}
\item Apple
\item Google
\item Microsoft
\end{enumerate}
5. The 5th method:
\begin{enumerate}[A.]
\item Apple
\item Google
\item Microsoft
\end{enumerate}
6. The 6th method:
\begin{enumerate}[(1)]
\item Apple
\item Google
\item Microsoft
\end{enumerate}
For more information, please refer to codeleading.com or the original post at csdn.net.
View More Blogs