this is for holding javascript data
Xavier Holt edited header.tex
over 8 years ago
Commit id: f9b092cdefc94ac6fef01a0b0cf9baab7e6278e6
deletions | additions
diff --git a/header.tex b/header.tex
index 0e52da4..d2a08f6 100644
--- a/header.tex
+++ b/header.tex
...
\usepackage{amsmath}
\usepackage{listings}
\lstset{ %
backgroundcolor=\color{white}, % choose the background color
basicstyle=\footnotesize, % size of fonts used for the code
breaklines=true, % automatic line breaking only at whitespace
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{OliveGreen}, % comment style
keywordstyle=\color{BlueViolet}, % keyword style
stringstyle=\color{black}, % string literal style
language=Python, % Set your language (you can change the language for each code-block optionally)
frame=lrtb, %
xleftmargin=\fboxsep, %
xrightmargin=-\fboxsep, %
moretexcs={lstset,color,colorlet, cellcolor, newcolumntype, columncolor, rowcolor, multirow, xspace, LaTeX, TeX},
}
\newcommand{\truncateit}[1]{\truncate{0.8\textwidth}{#1}}
\newcommand{\scititle}[1]{\title[\truncateit{#1}]{#1}}