summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-14 00:23:51 +0000
committerKarl Berry <karl@freefriends.org>2008-03-14 00:23:51 +0000
commit2d0760c2d539075994a651bbcbddb1c1f97bee4d (patch)
treea367e76887552f7f6ea6ea63f63d5788310df6f6 /Master/texmf-dist/tex
parenteee3bf6935cba063c89cc6e2f3eadbac12fcf936 (diff)
new latex package show2e (13mar08)
git-svn-id: svn://tug.org/texlive/trunk@6959 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/show2e/show2e.sty55
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/show2e/show2e.sty b/Master/texmf-dist/tex/latex/show2e/show2e.sty
new file mode 100644
index 00000000000..20709b2b66d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/show2e/show2e.sty
@@ -0,0 +1,55 @@
+%%
+%% This is file `show2e.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% show2e.dtx (with options: `package')
+%%
+%% show2e package by Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>
+%% This is a generated file. See show2e.dtx for license information.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{show2e}
+ [2008/03/13 v1.0 \space \show variants for latex2e \space (mpg)]
+\newcommand* \showcmd [1] {%
+ \begingroup \escapechar92
+ \show#1%
+ \showe@if@meaning@prefix@NnT #1 {\x@protect}
+ {\showe@show@space@macro@N #1}%
+ \showe@if@meaning@prefix@NnT #1 {\protect}
+ {\showe@show@space@macro@N #1}%
+ \showe@if@meaning@prefix@NoT #1 {\string\@protected@testopt}
+ {\showe@show@backslash@macro@N #1}%
+ \endgroup}
+\newcommand* \showcs [1] {%
+ \expandafter \showcmd \csname#1\endcsname}
+\newcommand* \showenv [1] {%
+ \showcs{#1}%
+ \expandafter \show\csname end#1\endcsname}
+\newcommand* \showe@show@backslash@macro@N [1] {%
+ \expandafter \show \csname\string#1\endcsname}
+\newcommand* \showe@show@space@macro@N [1] {%
+ \begingroup \escapechar\m@ne \expandafter\endgroup
+ \expandafter \showcmd \csname\string#1 \endcsname}
+\newcommand* \showe@if@meaning@prefix@NnT [2] {%
+ \def \@tempa {#2}%
+ \showe@if@prefix@ooT {\meaning #1} {\meaning \@tempa}}
+\newcommand* \showe@if@meaning@prefix@NoT [2] {%
+ \expandafter \showe@if@meaning@prefix@NnT
+ \expandafter #1%
+ \expandafter {#2}}
+\newcommand* \showe@if@prefix@nnT [2] {%
+ \def \@tempa ##1#2##2\@nil {%
+ \ifx\empty##2\empty
+ \expandafter\@gobble
+ \else
+ \expandafter\@firstofone
+ \fi}%
+ \@tempa#1#2\@nil}
+\newcommand* \showe@if@prefix@ooT [2] {%
+ \edef \@tempa {{#1}{#2}}%
+ \expandafter \showe@if@prefix@nnT\@tempa}
+\endinput
+%%
+%% End of file `show2e.sty'.