summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/GS1/rule-D.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/GS1/rule-D.sty')
-rw-r--r--Master/texmf-dist/tex/latex/GS1/rule-D.sty57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/GS1/rule-D.sty b/Master/texmf-dist/tex/latex/GS1/rule-D.sty
new file mode 100644
index 00000000000..73bc9c902a1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/GS1/rule-D.sty
@@ -0,0 +1,57 @@
+%%
+%% This is file `rule-D.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% rule-D.dtx (with options: `package')
+%%
+%% EXPERIMENTAL CODE
+%%
+%% This Work depends on the correct version of expl3 release. If
+%% you'll update expl3 you may need a update of this this Work too.
+%%
+%% Do not distribute this file without also distributing the
+%% source files specified above.
+%%
+%% Do not distribute modified version of this file.
+%%
+%% File: rule-D.dtx Copyright (C) 2012 Markus Kohm
+%%
+%% It may be distributed and/or modified under the conditions of the
+%% LaTeX Project Public License (LPPL), either version 1.3c of this
+%% license or (at your option) any later version. The latest version
+%% of this license is in the file
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This file is part of the "GS1 bundle" (The Work in LPPL)
+%% and all files in that bundle must be distributed together.
+%%
+%% The released version of this bundle is available from CTAN.
+%%
+%% -------------------------------------------------------------------------
+\RequirePackage{l3names}
+\GetIdInfo$Id: rule-D.dtx 3 2012-07-27 10:33:18Z mjk $
+ {rule functions for LaTeX3}
+\ProvidesExplPackage
+ {rule-D} {\ExplFileDate} {\ExplFileVersion}
+ {experimental~L3~rule~functions}
+\RequirePackage{expl3}
+\cs_new:Npn \rule:nn #1#2
+ {
+ \rule:nnn { \c_zero_dim } { #1 } { #2 }
+ }
+\cs_new:Npn \rule:nnn #1#2#3
+ {
+ \leavevmode
+ \hbox:n
+ {
+ \tex_vrule:D width \dim_eval:n { #2 }
+ height \dim_eval:n { #1 + #3 }
+ depth -\dim_eval:n { #1 }
+ }
+ }
+%%
+%%
+%% End of file `rule-D.sty'.