X-Git-Url: https://scm.cri.mines-paristech.fr/git/Faustine.git/blobdiff_plain/1059e1cc0c2ecfa237406949aa26155b6a5b9154..66f23d4fabf89ad09adbd4dfc15ac6b5b2b7da83:/interpreter/preprocessor/faust-0.9.47mr3/architecture/latexheader.tex

diff --git a/interpreter/preprocessor/faust-0.9.47mr3/architecture/latexheader.tex b/interpreter/preprocessor/faust-0.9.47mr3/architecture/latexheader.tex
new file mode 100644
index 0000000..47bb55e
--- /dev/null
+++ b/interpreter/preprocessor/faust-0.9.47mr3/architecture/latexheader.tex
@@ -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}
+}
+
