[texhax] Varying indentation of lists while keeping wrap alignment
Dr A K Hannaby
keith_hannaby at mathshelp.com
Mon Feb 24 18:06:09 CET 2014
Dear Tug
Tug
The following code is based on an extract from a 1993 pdf document by
Goossens, Mittelback and Samarin
I am using
\documentclass[11pt,a4paper]{amsbook} - with the \enumerate and \enumitem
packages.
In the preample, I have
\makeatletter
\renewcommand{\theenumi}{\roman{enumi}}
\renewcommand{\labelenumi}{(\hspace{0.4pt}\theenumi\hspace{0.6pt})\hspace{2.
8pt}} % I've made adjustments here
\renewcommand{\theenumii}{\alph{enumi}}
\renewcommand{\labelenumii}{\theenumii\hspace{0.6pt})\hspace{2.8pt}} % and
here
\renewcommand{\p at enumii}{\theenumi.}
\makeatother
And in the body (I'm only interested in enumerated lists)
\begin{enumerate}
\item \textbf{Introduction}
\begin{enumerate}
\item \textit{Applications} \newline
a line, short enough not to need to wrap\hspace{0.6pt};
\item \textit{Organisation} \newline
a line which, for very good reasons, is so long that it has no
alternative but to wrap.
\end{enumerate}
\item \textbf{Literature Survey}
\item {\textbf{Proposed Research}
\end{enumerate}
The code works perfectly well, but there appears to be no method of varying
the indents to the labels (which at 10mm and 17mm are far too large for my
work) while keeping the wrap alignment.
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20140224/82149523/attachment.html>
More information about the texhax
mailing list