| 1 |
% standard macros for CWEB listings (in addition to plain.tex) |
| 2 |
% Version 2.4 --- Don Knuth, June 1992 |
| 3 |
% Version 2.4 [p5] --- Hans-Hermann Bode, July 1992 |
| 4 |
% Version 2.7 --- Don Knuth, July 1992 |
| 5 |
% Version 2.7 [p6] --- Hans-Hermann Bode, September 1992 |
| 6 |
% Version 2.8 --- Don Knuth, September 1992 |
| 7 |
% Version 2.8 [p7] --- Andreas Scherer, October 1993 |
| 8 |
% Version 3.0 --- Don Knuth, June 1993 |
| 9 |
% Version 3.0 [p8c] --- Hans-Hermann Bode, June 1993 |
| 10 |
% Version 3.0 [p8d] --- Andreas Scherer, October 1993 |
| 11 |
% Version 3.0 [p8e] --- Andreas Scherer, November 1993 |
| 12 |
% Version 3.1 [p9b] --- Andreas Scherer, January 1994 |
| 13 |
% Version 3.1 [p9c] --- Andreas Scherer, June 1994 |
| 14 |
% Version 3.2 [p10] --- Andreas Scherer, September 1994 |
| 15 |
% Version 3.3 [p11] --- Andreas Scherer, December 1994 |
| 16 |
% Version 3.3 [p11a] --- Andreas Scherer, January 1995 |
| 17 |
% Version 3.3 [p11b] --- Andreas Scherer, March 1995 |
| 18 |
% Version 3.4 [p13] --- Andreas Scherer, May 1996 |
| 19 |
% Version 3.4 [p14] --- Andreas Scherer, March 1997 |
| 20 |
|
| 21 |
\ifx\undefined\documentclass\else\endinput\fi % LaTeX will use other macros |
| 22 |
|
| 23 |
\input pdfcwebmac.tex |
| 24 |
|
| 25 |
\xdef\fmtversion{\fmtversion+CWEB3.4[p14]} |
| 26 |
|
| 27 |
\def\Cpp{\CPLUSPLUS/} % for backward compatibility |
| 28 |
|
| 29 |
\font\tenss=cmss10 \let\cmntfont\tenss % comment font |
| 30 |
|
| 31 |
\def\C#1{\5\5\quad$\triangleright\,${\cmntfont#1}$\,\triangleleft$} |
| 32 |
\def\SHC#1{\5\5\quad$\diamond\,${\cmntfont#1}} |
| 33 |
|
| 34 |
\let\K=\leftarrow % "honest" alternative to standard assignment operator |
| 35 |
|
| 36 |
\def\afourshift{\pageshift=-0.5truecm} |
| 37 |
% shift righthand pages wrt lefthand pages |