[Tugindia] LaTeX question

Manjunatha G. manju at rri.res.in
Fri Oct 16 06:58:05 CEST 2009

Hello,
I use the \begin{verbatim} ... \end{verbatim} block when I want to
display computer output. It works fine, but I want to be able to
control the font size in the block - how do I do that? I find the
default font size a little too big and I want to reduce it. Here is an
example of a verbatim block:

\begin{verbatim}
gap> Sum(GSym2);
[ 2*x_1^2+2*x_2^2, 0, 2*x_1^2+2*x_2^2 ]
gap> Sum(GSym3);
[ 0, 0, 0, 0 ]
gap> Sum(GSym4);
[ 2*x_1^4+2*x_2^4, 2*x_1^3*x_2-2*x_1*x_2^3, 4*x_1^2*x_2^2,
-2*x_1^3*x_2+2*x_1*x_2^3, 0 ]
\end{verbatim}