summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-06-04 17:43:48 +0000
committerKarl Berry <karl@freefriends.org>2012-06-04 17:43:48 +0000
commitfe8e5b414083f7d38fa96ca5e882c6afa765e6db (patch)
tree70eae32bc1d106ea87af7d5ff4281ad30f2fffb3 /Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
parent20e119e2759443f3504f8d052fec7065e1921187 (diff)
xepersian (4jun12)
git-svn-id: svn://tug.org/texlive/trunk@26823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def40
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
new file mode 100644
index 00000000000..c579a716d4d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xepersian/framed-bidi-xepersian.def
@@ -0,0 +1,40 @@
+%%
+%% This is file `framed-bidi-xepersian.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xepersian.dtx (with options: `framed-bidi-xepersian.def')
+%%
+%% ______________________________________
+%% Copyright © 2008–2012 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{framed-bidi-xepersian.def}[2012/06/05 v0.1 xepersian adaptations for framed package for XeTeX engine]
+\renewenvironment{titled-frame}[1]{%
+ \def\FrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1}}}%
+ \def\FirstFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1}}}%
+ \def\MidFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame[$\if@RTL\blacktriangleleft\else\blacktriangleright\fi$]{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \def\LastFrameCommand{\fboxsep8pt\fboxrule2pt
+ \TitleBarFrame{\textbf{#1\ (\if@RTL ادامه\else cont\fi)}}}%
+ \MakeFramed{\advance\hsize-20pt \FrameRestore}}%
+ {\endMakeFramed}
+%%
+%% Copyright © 2008–2012 Vafa Khalighi <vkhalighi@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 “author-maintained” (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%%
+%%
+%%
+%%
+%% End of file `framed-bidi-xepersian.def'.