summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/texinputs/Xcwebmac.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/texinputs/Xcwebmac.tex')
-rw-r--r--Build/source/texk/web2c/cwebdir/texinputs/Xcwebmac.tex41
1 files changed, 41 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/texinputs/Xcwebmac.tex b/Build/source/texk/web2c/cwebdir/texinputs/Xcwebmac.tex
new file mode 100644
index 00000000000..056bf230010
--- /dev/null
+++ b/Build/source/texk/web2c/cwebdir/texinputs/Xcwebmac.tex
@@ -0,0 +1,41 @@
+% standard macros for CWEB listings (in addition to plain.tex)
+% Version 2.4 --- Don Knuth, June 1992
+% Version 2.4 [p5] --- Hans-Hermann Bode, July 1992
+% Version 2.7 --- Don Knuth, July 1992
+% Version 2.7 [p6] --- Hans-Hermann Bode, September 1992
+% Version 2.8 --- Don Knuth, September 1992
+% Version 2.8 [p7] --- Andreas Scherer, October 1993
+% Version 3.0 --- Don Knuth, June 1993
+% Version 3.0 [p8c] --- Hans-Hermann Bode, June 1993
+% Version 3.0 [p8d] --- Andreas Scherer, October 1993
+% Version 3.0 [p8e] --- Andreas Scherer, November 1993
+% Version 3.1 [p9b] --- Andreas Scherer, January 1994
+% Version 3.1 [p9c] --- Andreas Scherer, June 1994
+% Version 3.2 [p10] --- Andreas Scherer, September 1994
+% Version 3.3 [p11] --- Andreas Scherer, December 1994
+% Version 3.3 [p11a] --- Andreas Scherer, January 1995
+% Version 3.3 [p11b] --- Andreas Scherer, March 1995
+% Version 3.4 [p13] --- Andreas Scherer, May 1996
+% Version 3.4 [p14] --- Andreas Scherer, March 1997
+% Version 3.42 [p15] --- Andreas Scherer, August 1998
+% Version 3.43 [p16] --- Andreas Scherer, October 1998
+% Version 3.5 [p17] --- Andreas Scherer, December 1999
+% Version 3.61 [p18] --- Andreas Scherer, July 2000
+% Version 3.63 [p19] --- Andreas Scherer, January 2001
+% Version 3.64 [p20] --- Andreas Scherer, March 2002
+% Version 3.64 [p21] --- Andreas Scherer, Octobre 2005
+% Version 3.64 [2018] --- Andreas Scherer, Octobre 2018
+
+\ifx\undefined\documentclass\input cwebmac.tex
+\else\endinput\fi % LaTeX will use other macros
+
+\xdef\fmtversion{\fmtversion[2018]}
+
+\def\Cpp{\CPLUSPLUS/} % for backward compatibility
+
+\font\tenss=cmss10 \let\cmntfont\tenss % comment font
+
+\def\C#1{\5\5\quad$\triangleright\,${\cmntfont#1}$\,\triangleleft$}
+\def\SHC#1{\5\5\quad$\diamond\,${\cmntfont#1}}
+
+%\let\K=\leftarrow % "honest" alternative to standard assignment operator