| 1 |
\cals@maxWidth{10pt}\relax |
| 2 |
\PackageInfo{test}{10pt vs relax: \cals@width} |
| 3 |
|
| 4 |
\cals@maxWidth\relax{20pt} |
| 5 |
\PackageInfo{test}{relax vs 20pt: \cals@width} |
| 6 |
|
| 7 |
\cals@maxWidth\relax\relax |
| 8 |
\PackageInfo{test}{relax vs relax: \cals@width} |
| 9 |
|
| 10 |
\cals@maxWidth{30pt}{40pt} |
| 11 |
\PackageInfo{test}{30pt vs 40pt: \cals@width} |
| 12 |
|
| 13 |
\cals@maxWidth{60pt}{50pt} |
| 14 |
\PackageInfo{test}{60pt vs 50pt: \cals@width} |
| 15 |
|
| 16 |
\cals@maxWidth{70pt}{70pt} |
| 17 |
\PackageInfo{test}{70pt vs 70pt: \cals@width} |
| 18 |
|
| 19 |
% |
| 20 |
% Regression test: avoid recursion |
| 21 |
% |
| 22 |
\def\cals@width{50pt} |
| 23 |
\cals@maxWidth{10pt}\cals@width |
| 24 |
\PackageInfo{test}{regression, recursion avoid: \cals@width} |
| 25 |
\cals@maxWidth\cals@width{10pt} |
| 26 |
\PackageInfo{test}{regression, recursion avoid: \cals@width} |
| 27 |
\cals@maxWidth\cals@width\cals@width |
| 28 |
\PackageInfo{test}{regression, recursion avoid: \cals@width} |