Deyan Ginev edited section_Code_Listings_We_will__.tex  almost 9 years ago

Commit id: 5150d09093d4a44a39885a57cbaff1b37c467f1b

deletions | additions      

       

We will be illustrating all of our examples with code listings in this tutorial, so it makes sense to first show how to use them.  An example setup that you should add to your Header file is:  \begin{lstlisting}[caption={Setting up the listings environment}] \begin{lstlisting}  \usepackage{listings}  \lstset{ %  backgroundcolor=\color{white}, % choose the background color