I am putting the finishing touches on my first package by writing a dtx file containing the documentation. The latter includes a simple example of a .tex file using the package.
I tried following the example of http://mirrors.med.harvard.edu/ctan/mac ... stpage.dtx. At line 731 it has two statements, then lots of LaTeX code, and ends around line 845 with two statements that seem to close what the first two statements opened. The following code shows what I'm talking about.
Code: Select all
% \begin{macrocode}
%<*example>
...
%</example>
% \end{macrocode}
So, how does one use the <*example> ... </example> tags? Where can I find documentation on them?
Thanks.