New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / architecture / latexheader.tex
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/architecture/latexheader.tex b/interpretor/preprocessor/faust-0.9.47mr3/architecture/latexheader.tex
new file mode 100644 (file)
index 0000000..47bb55e
--- /dev/null
@@ -0,0 +1,65 @@
+\documentclass{article}
+
+\usepackage[utf8]{inputenc}
+\usepackage{graphicx}
+\usepackage[usenames]{color}
+\usepackage{listings}
+\usepackage{supertabular}
+\usepackage{amsmath}
+\usepackage{latexsym, amssymb}
+\usepackage{breqn}
+
+% No indent
+\setlength{\parindent}{0pt}
+
+% Make LaTeX output a dot when typing an asterisk
+\DeclareMathSymbol{*}{\mathbin}{symbols}{"01}
+
+% lstlistings setup
+\definecolor{yobg}{rgb}{0.9,0.9,1}
+\definecolor{yotxt}{rgb}{0.01,0.01,0.52} % a dark blue.
+\definecolor{mylstbg}{rgb}{0.98,0.98,0.98} % a really pale grey.
+\definecolor{mylstcmt}{rgb}{0.01,0.52,0.01} % a dark green.
+\definecolor{mylstdoc}{rgb}{0.80,0.30,0.80} % a medium pink.
+
+\lstset{%
+  language=C++, 
+  numbers=left,%none,
+  tabsize=4, 
+  frame=single, 
+  breaklines=true, 
+  numberstyle=\tiny\ttfamily, 
+  backgroundcolor=\color{mylstbg}, 
+  basicstyle=\scriptsize\ttfamily, 
+  commentstyle=\slshape\color{mylstcmt}, %\itshape,
+  frameround=tttt, 
+  columns=flexible, %fixed, 
+  showstringspaces=false,
+  emptylines=2,
+  inputencoding=utf8,
+  extendedchars=true,
+  literate=    {á}{{\'a}}1 
+                       {à}{{\`a}}1 
+                       {ä}{{\"a}}1 
+                       {â}{{\^a}}1
+                       {é}{{\'e}}1 
+                       {è}{{\`e}}1 
+                       {ë}{{\"e}}1 
+                       {ê}{{\^e}}1
+                       {ï}{{\"i}}1 
+                       {î}{{\^i}}1
+                       {ö}{{\"o}}1 
+                       {ô}{{\^o}}1
+                       {è}{{\`e}}1 
+                       {ù}{{\`u}}1 
+                       {û}{{\^u}}1
+                       {ç}{{\c{c}}}1 
+                       {Ç}{{\c{C}}}1,
+  emph={component, declare, environment, import, library, process},
+  emph={[2]ffunction, fconstant, fvariable},
+  emph={[3]button, checkbox, vslider, hslider, nentry, vgroup, hgroup, tgroup, vbargraph, hbargraph, attach},
+  emphstyle=\color{yotxt}, %\underline, %\bfseries,
+  morecomment=[s][\color{mylstdoc}]{<mdoc>}{</mdoc>},
+  rulecolor=\color{black}
+}
+