| \begin{listing} | |
| \begin{fcvlabel}[ln:base1] %lnlbl~beg:fcvlabel^ | |
| \begin{VerbatimL}[commandchars=\$\[\]] | |
| /* | |
| * Sample Code Snippet | |
| */ | |
| #include <stdio.h> | |
| int main(void) | |
| { | |
| printf("Hello world!\n"); $lnlbl[printf] | |
| return 0; $lnlbl[return] | |
| } | |
| \end{VerbatimL} | |
| \end{fcvlabel} %lnlbl~end:fcvlabel^ | |
| \caption{Sample Code Snippet} | |
| \label{lst:app:styleguide:Sample Code Snippet} | |
| \end{listing} |