summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/wright/wright.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex209/contrib/wright/wright.tex
Initial commit
Diffstat (limited to 'macros/latex209/contrib/wright/wright.tex')
-rw-r--r--macros/latex209/contrib/wright/wright.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/macros/latex209/contrib/wright/wright.tex b/macros/latex209/contrib/wright/wright.tex
new file mode 100644
index 0000000000..777f82237e
--- /dev/null
+++ b/macros/latex209/contrib/wright/wright.tex
@@ -0,0 +1,14 @@
+%%%%%%%%%%%%%%%%%%%%%%%cut here%%%%%%%%%%%%%%%%%%%%%%%
+%% wright.tex--example of how to use extended meanings for \newcommand
+\documentstyle{wright}%
+
+%\tracingall
+\newcommand\testwright[2]{\foo#1\bar}%
+\show\testwright
+
+\renewcommand\testwright[1][\baz]{\foo#1\bar#2\blech}%
+\show\testwright
+\expandafter\show\csname\string\testwright\endcsname
+
+\stop
+