summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def
blob: f90673cc896c651c605e3270d4d07cccddf21fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%%
%% This is file `amstext-xetex-bidi.def'.
%% 
%%   ______________________________________
%%   Copyright © 2009–2013  Vafa Khalighi
%% 
%%   License information appended.
%% 
%% 
\ProvidesFile{amstext-xetex-bidi.def}[2013/04/04 v0.1 bidi adaptations for amstext package for XeTeX engine]
\def\textdef@#1#2#3{\hbox{{%
                    \everymath{#1}%
                    \let\f@size#2\selectfont
                    \if@Latin\else\beginR\fi#3\if@Latin\else\endR\fi}}}
%% 
%% Copyright © 2009–2013  Vafa Khalighi <vafakh@me.com>
%% 
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%% 
%% This work is “maintained” (as per LPPL maintenance status)
%% by Vafa Khalighi.
%% 
%% 
%% 
%%
%% End of file `amstext-xetex-bidi.def'.