The first way is the verb macro and is meant for longer listings (whole files); as in:
verb(\ 
#include <stdio.h>

int main (int argc, char **argv)
{
    printf ("Hello World!\n");
    return (0);
})

The verb command in LaTeX leads to \begin{verbatim} and \end{verbatim}. That means that the verb macro has only one caveat: you cannot put \end{verbatim} in it.


Return to Yodl's home page.

Please send Yodl questions and comments to yodl@icce.rug.nl.

Please send comments on these web pages to (address unknown), send other FSF & GNU inquiries and questions to gnu@gnu.org.

Copyright (c) 1998 Karel Kubat and Jan Nieuwenhuizen

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from Yodl-1.31.17 by

<(address unknown)>, at Thu May 4 11:39:51 2000 CEST.