<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5">
<br>
</div></div>It is latex&#39;s tabular that is broken here, for an unknown idiotic reason<br>
they are typesetting tabular material in math mode, so the natural<br>
\textdir switch will not work.<br>
<div><div></div><div class="h5"><br>
<br clear="all"></div></div></blockquote><div><br>I do not think so. Look back at the patch that I sent you before and in fact, it works so. <br><br><pre><div class="line" id="LC113">\def\@array[#1]#2{%</div><div class="line" id="LC114">
  \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi</div><div class="line" id="LC115">  \bgroup</div><div class="line" id="LC116">  \setbox\@arstrutbox\hbox{%</div><div class="line" id="LC117">    \vrule \@height\arraystretch\ht\strutbox</div>
<div class="line" id="LC118">           \@depth\arraystretch \dp\strutbox</div><div class="line" id="LC119">           \@width\z@}%</div><div class="line" id="LC120">  \@mkpream{#2}%</div><div class="line" id="LC121">  \edef\@preamble{%</div>
<div class="line" id="LC122">    \ialign \noexpand\@halignto</div><div class="line" id="LC123">      \bgroup \@arstrut \@preamble \tabskip\z@skip \cr}%</div><div class="line" id="LC124">  \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox</div>
<div class="line" id="LC125">  \let\tabularnewline\\%</div><div class="line" id="LC126">    \let\par\@empty</div><div class="line" id="LC127">    \let\@sharp##%</div><div class="line" id="LC128">    \set@typeset@protect</div>
<div class="line" id="LC129">    \lineskip\z@skip\baselineskip\z@skip</div><div class="line" id="LC130">    \ifhmode \@preamerr\z@ \@@par\fi</div><div class="line" id="LC131">  \if@rl\@text@dir{TRT}\fi</div><div class="line" id="LC132">
    \@preamble}</div></pre>assuming of course, you have enabled \pagedir TRT \pardir TRT \bodydir TRT \textdir TRT .<br></div></div><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>