[XeTeX] Problem with the bidi package: chapter titles flushed right

Vafa Khalighi vafa at users.berlios.de
Thu Aug 20 01:08:13 CEST 2009

Hi Ross,

Yes, you are right. Thanks for saying it. sorry for that, I just copied and
pasted from somewhere and I made a mistake. So that should be:

\newcommand\bidiraggedleft{\if at RTL\raggedright\else\raggedleft\fi}
\newcommand\bidiraggedright{\if at RTL\raggedleft\else\raggedright\fi}
  {\parindent \z@ \bidiraggedright \normalfont
    \ifnum \c at secnumdepth >\m at ne
        \huge\bfseries \@chapapp\space \thechapter
        \vskip 20\p@
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  {\parindent \z@\bidiraggedright
    \Huge \bfseries  #1\par\nobreak
    \vskip 40\p@

Best wishes,
Vafa Khalighi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090820/004f8971/attachment.html>

More information about the XeTeX mailing list