this is for holding javascript data
Deyan Ginev edited section_Code_Listings_We_will__.tex
almost 9 years ago
Commit id: 0e641407fbc704953890709ff74f58db1095754e
deletions | additions
diff --git a/section_Code_Listings_We_will__.tex b/section_Code_Listings_We_will__.tex
index c530277..bc50817 100644
--- a/section_Code_Listings_We_will__.tex
+++ b/section_Code_Listings_We_will__.tex
...
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}