[OS X TeX] label too wide

Ross Moore ross at ics.mq.edu.au
Fri Feb 5 00:11:41 CET 2010


Hi George,

On 05/02/2010, at 9:46 AM, George Gratzer wrote:

> I need this:
>
> \begin{enumerate}
> \item[(Refl)]%P1
> Reflexivity\index{Reflexivity}\index{Binary relation!reflexive}: 
> \hspace{21pt} $a
> \leq a$.\hfill
> \item[(Asym)]%P2
> \index{Asym}\index{Binary relation!antisymmetric} Antisymmetry:\q $a
> \leq b$ and $b \leq a$ imply that $a = b$.
> \item[(Trans)]%P3
> Transitivity\index{Transitivity}\index{Binary relation!transitive}: 
> \hspace{17pt}
> $a \leq b$ and $b \leq c$ imply that $a \leq c$.
> \item[(Lin)]%P4
> Linearity\index{Linearity}:\hspace{29pt} $a \leq b$ or $b \leq a$.
> \end{enumerate}
>
> The problem is that the labels are too wide, stick out to the  
> margin. Bow to fix it?

Adjust the appropriate left-margin for such lists.
It could be  \leftmargini \leftmarginii \leftmarginiii  etc.
according to the list-nesting depth.

For example:

\noindent
Text before.
{\addtolength{\leftmargini}{50pt}
\begin{enumerate}
\item[(Refl)]%P1
Reflexivity\index{Reflexivity}\index{Binary relation!reflexive}: 
\hspace{21pt} $a
\leq a$.\hfill
\item[(Asym)]%P2
\index{Asym}\index{Binary relation!antisymmetric} Antisymmetry:  $a
\leq b$ and $b \leq a$ imply that $a = b$.
\item[(Trans)]%P3
Transitivity\index{Transitivity}\index{Binary relation!transitive}: 
\hspace{17pt}
$a \leq b$ and $b \leq c$ imply that $a \leq c$.
\item[(Lin)]%P4
Linearity\index{Linearity}:\hspace{29pt} $a \leq b$ or $b \leq a$.
\end{enumerate}}
\noindent
Text after.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 42006 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20100205/20794844/attachment.jpeg>
-------------- next part --------------

>
> GG


Cheers,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross at maths.mq.edu.au
Mathematics Department                           office: E7A-419
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------





More information about the macostex-archives mailing list