Deyan Ginev edited section_Code_Listings_We_will__.tex  almost 9 years ago

Commit id: 0e641407fbc704953890709ff74f58db1095754e

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{figure}  \begin{lstlisting}  \usepackage{listings}  \lstset{ % 

xleftmargin=\fboxsep, %  xrightmargin=-\fboxsep, %  }  \end{lstlisting} \label{lst:setup}  \end{figure}