diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex3/template/tprestrict-test.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex3/template/tprestrict-test.tex | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/latex3/template/tprestrict-test.tex b/Master/texmf-dist/doc/latex3/template/tprestrict-test.tex deleted file mode 100644 index 042853b97df..00000000000 --- a/Master/texmf-dist/doc/latex3/template/tprestrict-test.tex +++ /dev/null @@ -1,43 +0,0 @@ - -\makeatletter -\RequirePackage{template} -\IgnoreWhiteSpace - -\newcount\ca -\newdimen\da - - -\DeclareTemplateType{type}{0} - -%\tracingall\tracingassigns=1 -\DeclareTemplate{type}{Ta}{0}{ - one =l [2in] \da, - two =c [5] \ca} - {\DoParameterAssignments\typeout{\da=\the\da,\@spaces \ca=\the\ca}} - -\ShowTemplate{type}{Ta} - -\typeout{1^^J==} -\UseTemplate{type}{Ta}{} - -\typeout{2^^J==} -\UseTemplate{type}{Ta}{one=44pt, two=7} - - -\DeclareRestrictedTemplate{type}{Tb}{Ta}{one=33pt} - -\ShowTemplate{type}{Tb} - -\typeout{RESTRICT^^J3^^J==} - -\DeclareInstance{type}{foo}{Tb}{two=9} - -\ShowInstance{type}{foo} - -\UseInstance{type}{foo} - -\typeout{4^^J==} -\UseTemplate{type}{Tb}{two=7} - -\stop - |