1

The following document

\documentclass{article}
\usepackage{fancyvrb}
\begin{document}
\hsize=1cm
\begin{Verbatim}
foo bar foo bar foo bar foo bar foo bar
\end{Verbatim}
\end{document}

does not give a warning. But I do want to see when something is bigger than it is supposed to be. What can I do?

(The Verbatim environment is produced by pygmentize, so I'd prefer a solution that does not involve changing it.)

1

You can do

\RecustomVerbatimEnvironment{Verbatim}{BVerbatim}{}

at least during testing. However, some options for Verbatim do not apply to BVerbatim.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.