1. Example of source file

\documentstyle{book} 
 
\input ProTex.sty 
\AlProTex{c,<<<>>>,title,list,`} 
 
\begin{document} 
 
\<body\><<< 
printf("\n ``hello everybody``"); 
>>> 
 
\<prog A\><<< 
`<include`> 
main() 
{ 
  `<body`> 
} 
>>> 
 
\<include\><<< 
#include <stdio.h> 
>>> 
 
\<body\><<< 
printf("\n"); 
>>> 
 
\OutputCode\<prog A\>      \end{document} 

2. Corresponding document

<..body.>

       printf("\n `hello everybody`");
       -_-_-

<..prog A.>

       <.include.>

       main()
       {
         <.body.>
       }
       -_-_-

<..include.>

       #include <stdio.h>
       -_-_-

<..body.>+

       printf("\n");
       -_-_-

3. Corresponding code

#include <stdio.h> 
 
main() 
{ 
  printf("\n `hello everybody`"); 
printf("\n"); 
 
}