<div dir="ltr">use primitive-macro \hboxR<br><br><div class="gmail_quote">On Tue, Mar 8, 2011 at 3:09 AM, Anas Ghrab <span dir="ltr"><<a href="mailto:anas.ghrab@saramusik.org">anas.ghrab@saramusik.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Hi,<div><br></div><div>In this old example, is there is a way to get RTL inside the node too ?</div>
<div><br></div><div>Thanks,</div><div><br></div><div>--</div><div>Anas Ghrab</div><div><br></div><div><div>\documentclass[12pt, a4paper]{article}</div><div>\usepackage{tikz}</div><div>\usetikzlibrary{shapes,arrows}</div><div>
\usepackage[no-math]{fontspec}</div><div>\usepackage[quiet]{polyglossia}</div><div>\setdefaultlanguage{arabic}</div><div>\setotherlanguage{english}</div><div>\setromanfont[Scale=1.1]{Times New Roman}</div><div>\defaultfontfeatures{Scale=MatchLowercase}</div>
<div>\setmonofont{Arial}</div><div>\setsansfont{Courier New}</div><div>\newfontfamily\arabicfont[Script=Arabic]{Times New Roman}</div><div><br></div><div>\begin{document}</div><div>a first TikZ image that always compiles</div>
<div><br></div><div>\begin{tikzpicture}</div><div><br></div><div> \draw (0,0) -- (1,1) -- (2,-2) -- (0,0);</div><div><br></div><div>\end{tikzpicture}</div><div><br></div><div>another TikZ image that always compiles sometimes</div>
<div><br></div><div>\tikzstyle{block} = [rectangle, draw, fill=blue!20, text centered, rounded corners, minimum height=4em]</div><div><br></div><div>\tikzstyle{line} = [draw, -latex']</div><div><br></div><div>\begin{tikzpicture}[node distance = 2cm, auto]</div>
<div><br></div><div> % Place nodes</div><div><br></div><div> \node [block] (init) {initialize model};</div><div><br></div><div> \node [block, below of=init] (identify) {a b c d e f g h};</div><div><br></div><div>
% Draw edges</div><div><br></div><div> \path [line] (init) -- (identify);</div><div><br></div><div>\end{tikzpicture}</div><div>\end{document}</div><div><br></div><div><div>Le 7 mai 10 à 16:20, Vafa Khalighi a écrit :</div>
<br><blockquote type="cite"><div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
These few lines must be used to patch bidi or pgf/tikz? I mean next version of which package should correct the problem?<br> <br> <br></div></blockquote><div><br>It would not matter actually but because bidi should be loaded as the last package, these could be done inside bidi package and I have already done that. So if you are interested, you can download it from <a href="http://bitbucket.org/vafa/bidi" target="_blank">http://bitbucket.org/vafa/bidi</a> and try it. <br>
</div></div><br>Have a lovely weekend<br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br> </div> <br><br>--------------------------------------------------<br>Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br></blockquote></div><br></div></div><br><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">If some one say: "You divide ten into two parts: multiply the one by
itself; it will be equal to the other taken eighty-one times."
Computation: You say, ten less thing, multiplied by itself, is a hundred
plus a square less twenty things, and this is equal to eighty-one
things. Separate the twenty things from a hundred and a square, and add
them to eighty-one. It will then be a hundred plus a square, which is
equal to a hundred and one roots. Halve the roots; the moiety is fifty
and a half. Multiply this by itself, it is two thousand five hundred and
fifty and a quarter. Subtract from this one hundred; the remainder is
two thousand four hundred and fifty and a quarter. Extract the root from
this; it is forty-nine and a half. Subtract this from the moiety of the
roots, which is fifty and a half. There remains one, and this is one of
the two parts.<br><br><b>Muḥammad ibn Mūsā al-Khwārizmī</b></div><br>
</div>