Possible Duplicate:
Definining commands/abbreviations that contain numbers
I'm having some difficulty with setting a command using \newcommand. The command I'm trying to create is as follows:
\newcommand{
checklist1Start
}
{
\begin{description}[style=multiline,
itemsep=\itemSeparationDistance,
leftmargin=\leftMarginDistance,
itemindent=\itemIndentDistance,
labelindent=\labelIndentDistance,
font=\normalfont]
}
The distances shown are defined using other other uses of \newcommand, in the following manner:
\newcommand{\leftMarginDistance}{9 cm}
The error returned on attempting to compile is as follows:
! Missing number, treated as zero
Could you point me in the right direction on using \newcommand properly here?
Many preemptive thanks for any assistance
\newlength\leftMarginDistanceand\setlength\leftMarginDistance{9cm}– JLDiaz Aug 14 '12 at 19:55enumitem? Why not create a new custom list type? A simple example is found in http://tex.stackexchange.com/questions/37740/enumerate-with-properties/37741#37741 – Torbjørn T. Aug 14 '12 at 19:56\too – JLDiaz Aug 14 '12 at 20:15