[comp.text.tex] Nested descriptions - help!

duncan@convex.csd.uwm.edu (Shan D Duncan) (04/24/91)

How can the description environment be made to indent when
nested?


  Label: Here is the main item in a description envrionment

          Label: Here is one nested and indented.  The lines are
                very long to make a paragraph.

          Label: Yep one more.

                   Label:  and even one more level down in the
                           description environment.

  Label: Back to the top.        



This would be the the report style using LateX 2.09.


Thank you for your attention!

anita@brahms.udel.edu (Anita Marie Hoover) (04/25/91)

In article <11329@uwm.edu> duncan@convex.csd.uwm.edu (Shan D Duncan) writes:
=>
=>
=>How can the description environment be made to indent when
=>nested?
=>
=>
=>  Label: Here is the main item in a description envrionment
=>
=>          Label: Here is one nested and indented.  The lines are
=>                very long to make a paragraph.
=>
=>          Label: Yep one more.
=>
=>                   Label:  and even one more level down in the
=>                           description environment.
=>
=>  Label: Back to the top.        
=>
=>
=>
=>This would be the the report style using LateX 2.09.
=>
=>
=>Thank you for your attention!

This should automatically happen.  Here is an example that does
exactly what you want.

\documentstyle [12pt] {report}
\begin{document}

\begin{description}
\item[Label:]Here is the main item in a description envrionment

\begin{description}
        \item[Label:]Here is one nested and indented.  The lines are
              very long to make a paragraph.

        \item[Label:]Yep one more.
\begin{description}
                 \item[Label:] and even one more level down in the
                         description environment.
\end{description}
\end{description}
\item[Label:]Back to the top.
\end{description}

\end{document}