[XeTeX] Using pkgs bidi and enumitem together
Thomas Thackery
tthackery at gmail.com
Wed May 23 18:51:33 CEST 2007
François,
Thank you. Unfortunately, \setlength\labelwidth{-2em} and
addtolength\itemindent{-2em} seem to cancel each other. I removed
\setlength\labelwidth{-2em} and just used addtolength\itemindent
{-2em} , but the text still wraps back to the margin instead of
aligning with the beginning of the other items. The data is in tact,
yes, but aesthetically it leaves something to be desired.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 2.png
Type: image/png
Size: 13466 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20070523/9967b517/attachment-0001.png
-------------- next part --------------
Thomas
On May 23, 2007, at 6:23 AM, François Charette wrote:
Thomas Thackery a écrit :
> François,
>
> Thank you, adding the \setlength\labelwidth{-2em} adds the spacing I
> needed. Now, if the item's text is more than one line in length, it
> does not indent, but rather returns to underneath the label.
See below.
>
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage{bidi}
> \setromanfont{Charis SIL}
> \newfontfamily\hebfont[Script=Hebrew]{Ezra SIL} %I used Lucida Grande
> due to the way vowels come out in other type faces.
> \begin{document}
>
> \setlength\labelwidth{-2em}
>
> \setRL
> \begin{enumerate}
\addtolength\itemindent{-2em} % <<<<<< TRY THIS ;-)
> \setcounter{enumi}{0}
> \renewcommand\labelenumi{\LR{KAI 6:\theenumi}}
> \item {\hebfont ?? · ? ??? · ????? · ??? · ???
> · ???[??? · ??? · ???]}
> \item {\hebfont [??]??? · ??? · ???? · ???? ·
> [???? · ???]}
> \item {\hebfont [??? · ?]???? · ????? · ?? [???]
> [??? · ?]???? · ?????
> · ?? [???][??? · ?]???? · ????? · ?? [???]
> [??? · ?]???? · ????? · ??
> [???}
> \end{enumerate}
>
> \end{document}
Hope it helps.
FC
_______________________________________________
XeTeX mailing list
postmaster at tug.org
http://tug.org/mailman/listinfo/xetex
More information about the XeTeX
mailing list