14

Is there an easy way to create an outline of this form?

I. Header
[tab]A. Subheader
[tab][tab]i. Item
[tab][tab][tab]a. Subitem

I found an outlines package that let me specify levels with \1, \2, etc. instead of \begin{enumerate}, and keeping that format would be really nice.

20

If you can deal with the four levels provided by the outlines package, then you can combine it with the enumitem package to format the levels:

\documentclass{article}
\usepackage{outlines}
\usepackage{enumitem}
\setenumerate[1]{label=\Roman*.}
\setenumerate[2]{label=\Alph*.}
\setenumerate[3]{label=\roman*.}
\setenumerate[4]{label=\alph*.}
\begin{document}
\begin{outline}[enumerate]
   \1 Level 1 
      \2 Level 2
         \3 Level 3
            \4 Level 4
\end{outline}
\end{document}
4
  • The sample code here does not compile for me. [Edit: It was just the missing \end{document} at the end. You might want to insert that.]
    – frabjous
    Jan 26 '15 at 2:03
  • Is there a way to get more than 4 levels? I tried adding another setenumerate line, but that didn't work.
    – sudo
    Feb 6 '15 at 1:53
  • @HuckleberryFebbo What exactly doesn't work? This sample code?
    – Alan Munn
    Oct 25 '18 at 21:55
  • sorry... it works... for some reason some of my packges in a larger example are not working Oct 25 '18 at 22:17
4

Nevermind, I figured it out:

\usepackage{outlines}

\renewcommand{\theenumi}{\Roman{enumi}. }
\renewcommand{\labelenumi}{\theenumi}

\renewcommand{\theenumii}{\Alph{enumii}. }
\renewcommand{\labelenumii}{\theenumii}

\renewcommand{\theenumiii}{\roman{enumiii}. }
\renewcommand{\labelenumiii}{\theenumiii}

\renewcommand{\theenumiv}{\alph{enumiv}) }
\renewcommand{\labelenumiv}{\theenumiv}

\begin{document}
2
  • 2
    Those definitions should work even without the outlines package. Feb 28 '11 at 6:26
  • They do; I just wanted outlines for the convenience of using the \1 shorthand.
    – AVB
    Feb 28 '11 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.