Given a verbatim as on below,
\begin{verbatim}
This is an awesome verbatim
\end{verbatim}
which is displayed with no background on the compiled pdf page :
This is an awesome verbatim
I would like to have a soft grey background on this verbatim instead. The result on the compiled pdf page would be :
This is an awesome verbatim
Is there a simple way doing it, still using the verbatim (ie. not using listings)? Thank you in advance.
ADDITIONAL QUESTION :
Is this possible to do the same with \texttt{not usual verbatim but still code quote} and getting also a grey background for all \texttt{*} elements ?
It would also display :
not verbatim but still code quote



fancyvrbcould help you. – Sigur Oct 28 '13 at 11:24texdoc fancyvrbfrom the command line. Maybe thelistingspackage is also worth to be checked out – cgnieder Oct 28 '13 at 11:37