I want to apply small fonts inside the Verbatim environment e.g.
{\small
\begin{Verbatim}
1 double x, y;
2 double z, w;
3 main();
4 return 0;
\end{Verbatim}}
Before the command \small and after the closing braket } text has normal size, which is obvious but the font size should be small inside the brakets.
Why is this command not applied to the environment's contents?





Verbatimresets the font size to\normalsize. – strpeter Apr 16 '14 at 11:10