Debian Codegraph @

texmf-dist/doc/xelatex/unicode-bidi/README.md

raw
1 The `unicode-bidi` package
2 ========
3
4 The experimental `unicode-bidi` package allows you to mix non-RTL script with RTL script without any markup.
5
6 Usage
7 -----
8
9 To use the `unicode-bidi` package, you just need to load it
10
11 ````latex
12 \usepackage{unicode-bidi}
13 ````
14
15 Example
16 -------
17
18 Here is a sample `xepersian` document:
19
20 ````latex
21 \documentclass{article}
22 \usepackage{xepersian}
23 \usepackage{unicode-bidi}
24 \settextfont{Yas}
25 \begin{document}
26 این یک آزمایش است (یک آزمایش)
27 One, two, and three (numbers) or [numbers]
28 و آزمایش بعدی,
29 This is a [real test].
30 و این هم یک [آزمایش دیگر] است.
31
32 نام نخستین شرکت هواپیمایی ایران
33 Iran Air or \hbox{Homa airlines}
34 بوده است که به بسیاری از نقاط دنیا پرواز داشته است.
35
36
37 من نام
38 \hbox{من و you and we ما می‌شویم.}
39 را دوست می‌دارم.
40
41 Joanne 123 and you
42 نام من در زبان انگلیسی می‌باشد.
43
44 \begin{latin}
45 This is a test as you can see
46
47 \end{latin}
48
49 نام من به زبان انگلیسی
50 Joanne Patterson
51 هست.
52 \end{document}
53 ````
54
55
56
57
58 Reporting bugs
59 -------
60 Please use [the issue tracker][1] to report bugs.
61
62
63 [1]: https://github.com/vafa/unicode-bidi/issues