Add fft, 2d_fft and sinwave to examples.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / architecture / latexheader.tex
1 \documentclass{article}
2
3 \usepackage[utf8]{inputenc}
4 \usepackage{graphicx}
5 \usepackage[usenames]{color}
6 \usepackage{listings}
7 \usepackage{supertabular}
8 \usepackage{amsmath}
9 \usepackage{latexsym, amssymb}
10 \usepackage{breqn}
11
12 % No indent
13 \setlength{\parindent}{0pt}
14
15 % Make LaTeX output a dot when typing an asterisk
16 \DeclareMathSymbol{*}{\mathbin}{symbols}{"01}
17
18 % lstlistings setup
19 \definecolor{yobg}{rgb}{0.9,0.9,1}
20 \definecolor{yotxt}{rgb}{0.01,0.01,0.52} % a dark blue.
21 \definecolor{mylstbg}{rgb}{0.98,0.98,0.98} % a really pale grey.
22 \definecolor{mylstcmt}{rgb}{0.01,0.52,0.01} % a dark green.
23 \definecolor{mylstdoc}{rgb}{0.80,0.30,0.80} % a medium pink.
24
25 \lstset{%
26 language=C++,
27 numbers=left,%none,
28 tabsize=4,
29 frame=single,
30 breaklines=true,
31 numberstyle=\tiny\ttfamily,
32 backgroundcolor=\color{mylstbg},
33 basicstyle=\scriptsize\ttfamily,
34 commentstyle=\slshape\color{mylstcmt}, %\itshape,
35 frameround=tttt,
36 columns=flexible, %fixed,
37 showstringspaces=false,
38 emptylines=2,
39 inputencoding=utf8,
40 extendedchars=true,
41 literate= {á}{{\'a}}1
42 {à}{{\`a}}1
43 {ä}{{\"a}}1
44 {â}{{\^a}}1
45 {é}{{\'e}}1
46 {è}{{\`e}}1
47 {ë}{{\"e}}1
48 {ê}{{\^e}}1
49 {ï}{{\"i}}1
50 {î}{{\^i}}1
51 {ö}{{\"o}}1
52 {ô}{{\^o}}1
53 {è}{{\`e}}1
54 {ù}{{\`u}}1
55 {û}{{\^u}}1
56 {ç}{{\c{c}}}1
57 {Ç}{{\c{C}}}1,
58 emph={component, declare, environment, import, library, process},
59 emph={[2]ffunction, fconstant, fvariable},
60 emph={[3]button, checkbox, vslider, hslider, nentry, vgroup, hgroup, tgroup, vbargraph, hbargraph, attach},
61 emphstyle=\color{yotxt}, %\underline, %\bfseries,
62 morecomment=[s][\color{mylstdoc}]{<mdoc>}{</mdoc>},
63 rulecolor=\color{black}
64 }
65