[texhax] Inserting "rubber space" of enumerate label

Lars Madsen daleif at imf.au.dk
Tue Jul 1 13:14:50 CEST 2008


Victor Ivrii :

> Normally in enumerate labels are right-aligned. However assume that
> (with enumitem package) my label is
>
> [label=Part  \Roman*.]
>
> Since roman numbers (and in the lesser degree Arabic) have variable
> length there is no left justification of Part.
>
> Is it possible to insert a rubber space between Part and \Roman* so
> that the result would be
>
> Part    I. blah-blah
> Part   II. blah-and-blah
> Part  III. blah-and-blah-and-blah
> Part IV. blah-and-blah
>
> etc
>
>
> Thank you very much in advance. Victor


how about

\parbox{some length}{Part\hfill\Roman*}

??

untested



> -- 
> ========================
> Victor Ivrii, Professor, Department of Mathematics, University of Toronto
> http://www.math.toronto.edu/ivrii
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>


/daleif


More information about the texhax mailing list