diff options
author | Karl Berry <karl@freefriends.org> | 2007-10-24 23:29:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-10-24 23:29:14 +0000 |
commit | c5199a08bb8edc16006e6a5fc72cc704d7eae776 (patch) | |
tree | 729971967a99529b74598d27dd7cc585e0218e41 /Master/texmf-dist/doc/latex/cweb-latex/src/test/flat.w | |
parent | bfaf341636c39818969bd384bb1e5fda9195f3a5 (diff) |
new (to TL) cweb-latex package (4feb07)
git-svn-id: svn://tug.org/texlive/trunk@5271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cweb-latex/src/test/flat.w')
-rw-r--r-- | Master/texmf-dist/doc/latex/cweb-latex/src/test/flat.w | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cweb-latex/src/test/flat.w b/Master/texmf-dist/doc/latex/cweb-latex/src/test/flat.w new file mode 100644 index 00000000000..993193971f3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cweb-latex/src/test/flat.w @@ -0,0 +1,47 @@ +% $Id: flat.w,v 1.1 1995/08/25 19:12:40 schrod Exp $ +%---------------------------------------------------------------------- + +% tests section levels and references for flat structure documents. + +\documentclass[structure=flat]{cweb} + +\begin{document} + +\tableofcontents + +\newpage + +@** s title. +\label{main-sec} + +Some text. + +@* e title. + +Some text. +And some references: Part~\ref{main-sec} and section~\ref{normal-sec}. + +@*0 0 title. + +Some text. + +@*1 1 title. + +Some text. + +@*2 2 title. + +Some text. + +@ \label{normal-sec} +Doc. + +@d def foo +@f def int + +@c +for ( int i=1; i<10; i++ ) + @< do something @> + +@ +\end{document} |