\subitem numbering and formating in enumerate environment

14,680 views
Skip to first unread message

jrothim

unread,
Nov 26, 2008, 12:06:03 PM11/26/08
to LaTeX Users Group
Hi - I was wondering if someone could tell me how to introduce (and
specify the format of) numbering in the below \subitem and \subsubitem
fields.

Thanks!
Jeff

\documentclass[11pt]{article}
\begin{document}

\begin{enumerate}
\item First Main Item
\subitem First sub-item
\subitem Second sub-item
\subsubitem first sub-sub-item
\subsubitem second sub-sub-item
\item Second Main Item
\end{enumerate}

\end{document}

jon

unread,
Nov 26, 2008, 7:40:53 PM11/26/08
to LaTeX Users Group
On Nov 26, 12:06 pm, jrothim <jrot...@yahoo.com> wrote:

> \documentclass[11pt]{article}
> \begin{document}
>
> \begin{enumerate}
> \item First Main Item
> \subitem First sub-item
> \subitem Second sub-item
> \subsubitem first sub-sub-item
> \subsubitem second sub-sub-item
> \item Second Main Item
> \end{enumerate}
>
> \end{document}

to get your 'subitem', you simply need to nest an enumerate
environment inside the main one. if you want more control over the
appearance of how these sorts of environments look, etc., try the
enumitem package or the memoir documentclass.

cheers,
jon.

jrothim

unread,
Dec 5, 2008, 4:33:29 PM12/5/08
to LaTeX Users Group
Great, thanks for the tip on enumitem and memoir. From a brief
glance, I did not see the ability to control the \subitem or
\subsubitem formatting in enumitem or memoir.

I was actually hoping to avoid additional nesting of the enumerate
environments since it gets cumbersome to keep track of all the begin/
ends.

Thanks! Jeff

Gildas Cotomale

unread,
Apr 29, 2013, 10:39:14 AM4/29/13
to latexus...@googlegroups.com
> I was actually hoping to avoid additional nesting of the enumerate
> environments since it gets cumbersome to keep track of all the begin/
> ends.

Source indentation won't hurt the result ;-)
And most editors that know (La/Con)TeX have ability to collapse
environments... Combined with source coloration is a great help for
long documents.
Reply all
Reply to author
Forward
0 new messages