| 1 |
%% |
| 2 |
%% This is file `exp-testopt.test', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% exp-testopt.dtx (with options: `test') |
| 8 |
%% |
| 9 |
%% IMPORTANT NOTICE: |
| 10 |
%% |
| 11 |
%% For the copyright see the source file. |
| 12 |
%% |
| 13 |
%% Any modified versions of this file must be renamed |
| 14 |
%% with new filenames distinct from exp-testopt.test. |
| 15 |
%% |
| 16 |
%% For distribution of the original source see the terms |
| 17 |
%% for copying and modification in the file exp-testopt.dtx. |
| 18 |
%% |
| 19 |
%% This generated file may be distributed as long as the |
| 20 |
%% original source files, as listed above, are part of the |
| 21 |
%% same distribution. (The sources need not necessarily be |
| 22 |
%% in the same archive or directory.) |
| 23 |
%% (C) 2008 Paul Ebermann |
| 24 |
%% |
| 25 |
%% Package exp-testopt - expandible testopt-Variante. |
| 26 |
%% |
| 27 |
%% Die Datei exp-testopt.dtx sowie die dazugehörige |
| 28 |
%% exp-testopt.ins sowie die damit generierte |
| 29 |
%% exp-testopt.sty stehen unter der |
| 30 |
%% "LaTeX Project Public License" (LPPL, zu finden |
| 31 |
%% unter http://www.latex-project.org/lppl/, sowie |
| 32 |
%% auch in den meisten TeX-Distributionen in |
| 33 |
%% texmf/docs/latex/base/lppl*.txt), Version 1.3b oder |
| 34 |
%% später (nach Wahl des Verwenders). |
| 35 |
%% |
| 36 |
%% Der 'maintenance-status' ist (zur Zeit) 'author-maintained'. |
| 37 |
%% |
| 38 |
%% Das heißt u.a., die Dateien dürfen frei vertrieben werden, |
| 39 |
%% bei Änderungen (durch andere Personen als Paul Ebermann) |
| 40 |
%% ist aber der Name der Datei zu ändern. |
| 41 |
\makeatletter |
| 42 |
\errorcontextlines = 20 |
| 43 |
|
| 44 |
\def\beispiel{% |
| 45 |
\@expandable@testopt\beispielImpl{Default}% |
| 46 |
} |
| 47 |
\def\beispielImpl[#1]{% |
| 48 |
\fbox{#1}% |
| 49 |
} |
| 50 |
\makeatother |
| 51 |
|
| 52 |
\expnewcommand*{\ekzemplo}[1][Defa\u ulto]{% |
| 53 |
\textbf{(#1)}% |
| 54 |
} |
| 55 |
|
| 56 |
\expnewcommand*{\ekzemploDu}[2][defa\u ulto]{% |
| 57 |
\ensuremath{\frac{\mbox{#1}}{\mbox{#2}}}% |
| 58 |
} |
| 59 |
|
| 60 |
\beispiel{egal} \beispiel[bla] |
| 61 |
\beispiel$ e=m c^2$ \beispiel[$ e=m c^2$] |
| 62 |
|
| 63 |
\ekzemplo\ekzemplo[Bla] |
| 64 |
\expandafter\ekzemplo\space[bla] |
| 65 |
\expandafter\expandafter\expandafter\ekzemplo\expandafter\space\space[dua bla] |
| 66 |
\ekzemplo |
| 67 |
[nova linio] |
| 68 |
\ekzemplo |
| 69 |
|
| 70 |
[du novaj linioj] |
| 71 |
\ekzemplo[blub] |
| 72 |
|
| 73 |
\ekzemploDu{testo} |
| 74 |
\ekzemploDu[bla]{testo} |
| 75 |
|
| 76 |
\endinput |
| 77 |
%% |
| 78 |
%% End of file `exp-testopt.test'. |