| \begin{figure} | |
| { \scriptsize | |
| \begin{verbbox} | |
| 1 /* | |
| 2 * Sample Code Snippet | |
| 3 */ | |
| 4 #include <stdio.h> | |
| 5 int main(void) | |
| 6 { | |
| 7 printf("Hello world!\n"); | |
| 8 return 0; | |
| 9 } | |
| \end{verbbox} | |
| } | |
| \centering | |
| \theverbbox | |
| \caption{Sample Code Snippet} | |
| \label{fig:app:styleguide:Sample Code Snippet} | |
| \end{figure} |