[XeTeX] bidi: LTR header in RTL document

Talal Al-Azem talazem at fastmail.fm
Tue Sep 28 01:02:18 CEST 2010


Hello Vafa. Yes, my main direction of the section (chapter) is RTL. But like I've described, the rest of the book is LTR. As such, I need the headers to be uniform, and all be LTR (since the book is written in English, with the exception of the chapters containing the edited texts which are in Arabic).

Juan: Thank you for the advice. Unfortunately, it still gives me the same issue I described in my first email, which is that while the name of the chapter is correctly LTR using \protect, the chapter number comes on the far right ("header title 2.1", instead of "2.1 header title").

Many thanks,
Talal

On 27 Sep 2010, at 23:53, Vafa Khalighi wrote:

> 
> 
> On Tue, Sep 28, 2010 at 6:13 AM, Talal Al-Azem <talazem at fastmail.fm> wrote:
> Hello. I have a section of a chapter, the text of which is RTL. However, to keep the headers uniform with the rest of the chapter, I want its header to be LTR. How do I do this in Bidi?
> 
> I tried doing \section{\LTR{header title}}, but the result I got had the section numbering still RTL:
> header title 2.1
> 
> instead of:
> 2.1 header title
> 
> Any help would be appreciated.
> 
> Kind regards,
> Talal
> 
> 
> What is the main direction of your document? If the main direction is RTL, headers appear RTL and if the main direction is LTR, hears appear LTR. 
> 
> 
> -- 
> به نام خداوند جان و خرد          کزین برتر اندیشه برنگذرد
> 
> 
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100928/53e35b9d/attachment.html>


More information about the XeTeX mailing list