GeneralChange intedation on nested lists

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
hub
Posts: 12
Joined: Sun Oct 05, 2008 12:25 pm

Change intedation on nested lists

Post by hub »

Hi!

I have a list that looks like:

Code: Select all

\begin{description}
\item[\texttt{-h, -{}-help}]: Display the help message.
...
\begin{itemize}
\item \texttt{\_leo.tcl}: Commands for Leonardo Spectrum in command line mode.
...
\end{itemize}
...
\end{description}
What I want is that the "itemized list" have the same intendation as the "desctiption list" or atleast less intendation, how do I do that?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Change intedation on nested lists

Post by gmedina »

Hi,

you can use some of the features provided by the enumitem package; refer to the package documentation for further information:

Code: Select all

\documentclass{article}
\usepackage{enumitem}

\begin{document}

\begin{description}
\item[\texttt{-h, -{}-help}]: Display the help message.
...
\begin{itemize}[leftmargin=-7pt]
\item \texttt{\_leo.tcl}: Commands for Leonardo Spectrum in command line mode.
...
\end{itemize}
...
\end{description}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply