2

This question already has an answer here:

I would like to write a short guidelines of LaTeX for my students. In the spirit of some LaTeX manuals, I'd like to present the code and the result as follows,

Example from <code>pgfplots</code> manual

This example illustrate more or less what I'd like to do.

QUESTION(S)

  • Is the two-columns style realize with minipage?

  • How could I insert the code in a way it shows highlighted?

Any help is welcome. Cheers.

marked as duplicate by Joseph Wright Aug 25 '13 at 8:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.