diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/cweb-latex/src/test/token.w')
-rw-r--r-- | Master/texmf-dist/doc/latex/cweb-latex/src/test/token.w | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cweb-latex/src/test/token.w b/Master/texmf-dist/doc/latex/cweb-latex/src/test/token.w new file mode 100644 index 00000000000..7765f1b9b37 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cweb-latex/src/test/token.w @@ -0,0 +1,29 @@ +% $Id: token.w,v 1.3 1995/08/29 15:21:08 schrod Exp $ +%---------------------------------------------------------------------- + +% tests: rendering of tokens + +\documentclass{cweb} + +\begin{document} + +@ +@c +a = 100L; +a = 100UL; + +@ shift operators: +@c +cout << "hello, world" << endl; +cin >> var; + +@ formatting that depend on font sizes in Plain \texttt{CWEB}: +@f foo_bar int +@c +foo++; bar--; +foo_bar obj; +obj->method(); + + +@ +\end{document} |