blob: ea1a66bf8a5e227601c9caeeec79f566bd1bffd7 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
%%
%% This is file `letter-xetex-bidi.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% bidi.dtx (with options: `letter-xetex-bidi.def')
%%
%% ______________________________________
%% Copyright © 2009–2012 Vafa Khalighi
%%
%% License information appended.
%%
%%
\ProvidesFile{letter-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for standard letter class for XeTeX engine]
\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress
\thispagestyle{firstpage}%
{\if@RTL\raggedright\else\raggedleft\fi\@date\par}%
\else % home address
\thispagestyle{empty}%
{\if@RTL\raggedright\else\raggedleft\fi\if@RTL\begin{tabular}{r@{}}\else\begin{tabular}{l@{}}\fi\ignorespaces
\fromaddress \\*[2\parskip]%
\@date \end{tabular}\par}%
\fi
\vspace{2\parskip}%
{\if@RTL\raggedleft\else\raggedright\fi \toname \\ \toaddress \par}%
\vspace{2\parskip}%
#1\par\nobreak}
\renewcommand\left@footnote{%
\kern-\p@
\hrule \@width .4\columnwidth
\kern .6\p@}
\renewcommand\right@footnote{%
\hbox to \columnwidth
{\beginR \vbox{%
\kern-\p@
\hrule \@width .4\columnwidth
\kern .6\p@}\hfil\endR}}
%%
%% Copyright © 2009–2012 Vafa Khalighi <vafaklg@gmail.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 “author-maintained” (as per LPPL maintenance status)
%% by Vafa Khalighi.
%%
%%
%%
%%
%% End of file `letter-xetex-bidi.def'.
|