   LaTeX Help
  I''m typesetting a document at the moment using Latex. The document contains some source code as well. Up till now I''ve just used the verbatim environment but I would like some box arounde the code as well but it''s harder than one would think. Does anyone have any experience with typesetting source code with Latex?   Human beings, by changing the inner attitudes of their minds, can change the outer aspects of their lives.William James (1842 - 1910)
  Have you looked at using \fbox{ } or \framebox{ }? They'll produce a box with a border around their contents. The framebox is more flexible, but fragile; fbox is robust, but produces a box exactly wide enough for the text, where framebox allows you to specify dimensions.See here for documentation on framebox, and here for fbox.   [edited by - sbennett on February 20, 2004 4:00:35 PM]