summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def175
1 files changed, 175 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
new file mode 100644
index 00000000000..3d5c1484ee6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
@@ -0,0 +1,175 @@
+%%
+%% This is file `crop-xetex-bidi.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bidi.dtx (with options: `crop-xetex-bidi.def')
+%%
+%% ______________________________________
+%% Copyright © 2009–2012 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{crop-xetex-bidi.def}[2011/11/05 v0.1 bidi adaptations for crop package for XeTeX engine]
+\renewcommand*\CROP@@laxis{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(2,0){\line(1,0){11}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(-2,0){\line(-1,0){11}}
+ \end{picture}%
+ \fi%
+}
+\renewcommand*\CROP@@raxis{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(-2,0){\line(-1,0){11}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(2,0){\line(1,0){11}}
+ \end{picture}%
+ \fi%
+}
+\renewcommand*\CROP@@ulc{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(30,0){\circle{10}}
+ \put(30,-5){\line(0,1){10}}
+ \put(35,0){\line(-1,0){30}}
+ \put(0,30){\circle{10}}
+ \put(5,30){\line(-1,0){10}}
+ \put(0,35){\line(0,-1){30}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(-30,0){\circle{10}}
+ \put(-30,-5){\line(0,1){10}}
+ \put(-35,0){\line(1,0){30}}
+ \put(0,30){\circle{10}}
+ \put(-5,30){\line(1,0){10}}
+ \put(0,35){\line(0,-1){30}}
+ \end{picture}%
+ \fi%
+}
+\renewcommand*\CROP@@urc{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(-30,0){\circle{10}}
+ \put(-30,-5){\line(0,1){10}}
+ \put(-35,0){\line(1,0){30}}
+ \put(0,30){\circle{10}}
+ \put(5,30){\line(-1,0){10}}
+ \put(0,35){\line(0,-1){30}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(30,0){\circle{10}}
+ \put(30,-5){\line(0,1){10}}
+ \put(35,0){\line(-1,0){30}}
+ \put(0,30){\circle{10}}
+ \put(-5,30){\line(1,0){10}}
+ \put(0,35){\line(0,-1){30}}
+ \end{picture}%
+ \fi%
+}
+\renewcommand*\CROP@@llc{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(30,0){\circle{10}}
+ \put(30,-5){\line(0,1){10}}
+ \put(35,0){\line(-1,0){30}}
+ \put(0,-30){\circle{10}}
+ \put(5,-30){\line(-1,0){10}}
+ \put(0,-35){\line(0,1){30}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(-30,0){\circle{10}}
+ \put(-30,-5){\line(0,1){10}}
+ \put(-35,0){\line(1,0){30}}
+ \put(0,-30){\circle{10}}
+ \put(-5,-30){\line(1,0){10}}
+ \put(0,-35){\line(0,1){30}}
+ \end{picture}%
+ \fi%
+}
+\renewcommand*\CROP@@lrc{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(-30,0){\circle{10}}
+ \put(-30,-5){\line(0,1){10}}
+ \put(-35,0){\line(1,0){30}}
+ \put(0,-30){\circle{10}}
+ \put(5,-30){\line(-1,0){10}}
+ \put(0,-35){\line(0,1){30}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(30,0){\circle{10}}
+ \put(30,-5){\line(0,1){10}}
+ \put(35,0){\line(-1,0){30}}
+ \put(0,-30){\circle{10}}
+ \put(-5,-30){\line(1,0){10}}
+ \put(0,-35){\line(0,1){30}}
+ \end{picture}%
+ \fi%
+}
+\renewcommand*\CROP@@frame{%
+ \if@RTLmain%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(0,0){\line(-1,0){\strip@pt\paperwidth}}
+ \put(0,0){\line(0,-1){\strip@pt\paperheight}}
+ \put(-\strip@pt\paperwidth,0){\line(0,-1){\strip@pt\paperheight}}
+ \put(0,-\strip@pt\paperheight){\line(-1,0){\strip@pt\paperwidth}}
+ \end{picture}%
+ \else%
+ \begin{picture}(0,0)
+ \unitlength\p@\thinlines
+ \put(0,0){\line(1,0){\strip@pt\paperwidth}}
+ \put(0,0){\line(0,-1){\strip@pt\paperheight}}
+ \put(\strip@pt\paperwidth,0){\line(0,-1){\strip@pt\paperheight}}
+ \put(0,-\strip@pt\paperheight){\line(1,0){\strip@pt\paperwidth}}
+ \end{picture}%
+ \fi%
+}
+\@ifpackagewith{crop}{axes}{%
+\CROP@execopt{axes}%
+}{}
+\@ifpackagewith{crop}{cam}{%
+\CROP@execopt{cam}%
+}{}
+\@ifpackagewith{crop}{frame}{%
+\CROP@execopt{frame}%
+}{}
+%%
+%% 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 `crop-xetex-bidi.def'.