title: Latex: how to draw box around text that contains a verbatim block
body: <p>Typically, to box in some text, I use the following:</p>
  
  <pre><code>\fbox {
      \parbox{\linewidth}{
      This is some text! Blah blah blah...
      }
  }
  </code></pre>
  
  <p>However, say I have a verbatim block within that. It will never compile. Anyone know how I could draw a box around text which contains a verbatim block? Like this for example...</p>
  
  <pre><code>\fbox {
      \parbox{\linewidth}{
          \begin{verbatim}
          This is some text!
          \end{verbatim}
      }
  }
  </code></pre>
  
  <p>I should not that I re-posted this in tex.stackexchange after <a href="https://stackoverflow.com/users/210697/cfp">CPF</a> pointed out that there was such a thing. Let me know if people are opposed to doubled posting. If not, I'll keep it up here as well.</p>