[texhax] Inserting "rubber space" of enumerate label

Lars Madsen daleif at imf.au.dk
Tue Jul 1 14:24:25 CEST 2008


Victor Ivrii :

> On Tue, Jul 1, 2008 at 7:14 AM, Lars Madsen <daleif at imf.au.dk> wrote:
>> Victor Ivrii :
>>
>
>>
>> \parbox{some length}{Part\hfill\Roman*}
>>
>> ??
>>
>> untested
>
>
> Unfortunately does not work: \parbox, \makebox or \framebox returns an error:
>
> Use of \\enumerate does not match its definition
>
> \mbox, \hbox, \fbox are accepted
>
>
> Also \labelwidth={128pt} (or any other value) does not have an observable effect
>


This helped a little better


\begin{enumerate}[label=\hbox to 2cm{Part~\hfill\Roman*}, 
leftmargin=*,align=left,widest=Part~XVII]
\item dsf
\item sdfsdf
\end{enumerate}

adjust widest to your own liking



> Victor
> -- 
> ========================
> Victor Ivrii, Professor, Department of Mathematics, University of Toronto
> http://www.math.toronto.edu/ivrii
>


/daleif


More information about the texhax mailing list