I have two XML outputs from a program that I would like to include in a LaTeX document. I would like them to appear side-by-side each in its own box. So that a reader can compare the two outputs while reading the document. Can't seem to find a way to do this, without making images for each output and adding both as images/graphics. Could there be a better option?
You need to use some verbatim environment or macro to display source code. The
You should place each code then into a
The exact code depends if you need it as a floating environment, need captions etc.