1 \documentclass[a4paper,
10pt
]{book
}
3 %\usepackage{latexsym, amssymb}
6 %\usepackage{longtable}
7 \usepackage{supertabular
}
12 %\usepackage[rounded]{syntax}
17 \usepackage[cc
]{titlepic
}
20 \usepackage[T1]{fontenc}
21 \usepackage[urw-garamond
]{mathdesign
}
28 \fancyhead{} % clear all header fields
29 \fancyheadoffset[LE,RO
]{\marginparsep+
\marginparwidth}
30 \fancyhead[RO,LE
]{\thepage}
31 \fancyhead[LO
]{\rightmark}
32 \fancyhead[RE
]{\leftmark}
33 \renewcommand{\headrulewidth}{0.1pt
}
39 colorlinks = true,
%true, false
45 \newcommand{\myurl}[1]{\textcolor{blue
}{\underbar{\url{#1}}}}
48 %%%%%%%%%%%%%%%%%%%command imported from lac paper
49 \newcommand{\code}[1] {\lstinline'
#1'
}
50 \newcommand{\OSTab}[1] {\multicolumn{3}{|l|
}{\hspace{14mm
}\emph{#1}}}
51 \newcommand{\htab} {\hspace*
{3mm
}}
53 %%\newcommand{\faust} {\textsc{Faust}\xspace}
54 %\newcommand{\astree} {\textsc{Astree}\xspace}
55 \newcommand{\grame} {\textsc{Grame
}\xspace}
56 \newcommand{\cierec} {\textsc{Cierec
}\xspace}
57 %\newcommand{\ircam} {\textsc{Ircam}\xspace}
58 \newcommand{\ccrma} {\textsc{Ccrma
}\xspace}
59 \newcommand{\cnmat} {\textsc{Cnmat
}\xspace}
60 \newcommand{\create} {\textsc{Create
}\xspace}
61 \newcommand{\mines} {\textsc{Mines
} ParisTech
\xspace}
62 %\newcommand{\svg} {\textsc{Svg}\xspace}
63 \newcommand{\pdf} {\textsc{Pdf
}\xspace}
64 %%\newcommand{\latex} {\LaTeX\xspace}
65 \newcommand{\ie} {i.e.\
}
66 %%\newcommand{\myurl}[1] {\textcolor{blue}{\underbar{\url{#1}}}}
69 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
73 \definecolor{yoheader
}{rgb
}{0.71,
0.01,
0.0}
76 \definecolor{margincolor
}{rgb
}{0.52,
0.02,
0.02} % grey red.
77 \definecolor{yobg
}{rgb
}{0.9,
0.9,
1}
78 \definecolor{yotxt
}{rgb
}{0.01,
0.01,
0.52}
79 \definecolor{mylstcmt
}{rgb
}{0.01,
0.52,
0.01} % a dark green.
80 %\definecolor{mylstdoc}{rgb}{0.60,0.60,0.60} % a medium grey.
81 \definecolor{mylstdoc
}{rgb
}{0.80,
0.30,
0.80} % a medium pink.
82 %\definecolor{mylsteqn}{rgb}{0.80,0.80,0.30} % a medium pink.
83 \definecolor{mylstkey
}{rgb
}{0.52,
0.01,
0.01} % a dark red.
84 %%\newcommand{\farg}[1]{\textrm{\textit{#1}}}
86 \setlength{\marginparwidth}{1.2in
}
87 \let\oldmarginpar\marginpar
88 \renewcommand\marginpar[1]{\-
\oldmarginpar[\raggedleft\color{margincolor
}\footnotesize #1]%
89 {\raggedright\color{margincolor
}\footnotesize #1}}
97 % \ChNumVar{\raggedleft\fontsize{80}{82}\sffamily\bfseries\color{yoheader}}
98 \ChNumVar{\raggedleft\Huge\color{yoheader
}}
99 %\ChTitleVar{\raggedleft\fontsize{60}{62}\sffamily\it\color{yoheader}}
100 \ChTitleVar{\raggedleft\sffamily\fontsize{30}{32}\bf\color{yoheader
}}
102 %\chapterfont{\sffamily\color{yoheader}}
103 %\sectionfont{\sffamily\color{yoheader}}
104 %\subsectionfont{\sffamily\color{yoheader}}
105 %\subsubsectionfont{\sffamily\color{yoheader}}
107 \chapterfont{\color{yoheader
}}
108 \sectionfont{\color{yoheader
}}
109 \subsectionfont{\color{yoheader
}}
110 \subsubsectionfont{\color{yoheader
}}
113 % parameters for listings
117 showstringspaces=false,
119 basicstyle=
\ttfamily\color{yotxt
},
122 commentstyle=
\slshape\color{mylstcmt
},
124 emph=
{component, declare, environment, import, library, process
},
125 emph=
{[2]ffunction, fconstant, fvariable
},
126 emph=
{[3]button, checkbox, vslider, hslider, nentry, vgroup, hgroup, tgroup, vbargraph, hbargraph, attach
},
127 emphstyle=
\color{mylstkey
},
128 % morecomment=[s][\color{mylsteqn}]{<equation>}{</equation>},
129 morecomment=
[s
][\color{mylstdoc
}]{<mdoc>
}{</mdoc>
},
131 backgroundcolor=
\color{yobg
},
135 \lstloadlanguages{C++,
[LaTeX
]TeX
}
138 % \includegraphics[width=15cm]{images/bandeau-faust}
140 \title{\Huge\color{yoheader
}FAUST Quick Reference\\
\Large(version
0.9.46 with multirate extensions)
}
141 \author{\textsc{Grame
}\
\Centre National de Cr\'eation Musicale
}
145 \railalias{recur
}{$
\sim$
}
146 \railalias{lbrace
}{\
{}
147 \railalias{rbrace
}{\
}}
148 \railalias{dollar
}{\$
}
150 \railalias{arobase
}{@
}
151 \railalias{ampersand
}{\&
}
152 \railalias{hat
}{$
\land$
}
154 \railalias{pipe
}{$|$
}
156 \railalias{backslash
}{\char"
5C
}
157 \railterm{recur,lbrace,rbrace,dollar,mod,kot,arobase,ampersand,backslash,fdelay, pipe, hat
}
159 \newcommand{\farg}[1]{\textrm{\textit{#1}}}
160 \newcommand{\ldbrack}{[\!
[ \,
}
161 \newcommand{\rdbrack}{\,
]\!
] }
162 \newcommand{\rdbrackC}{\rdbrack_{\mathrm{C
}}\,
}
163 \newcommand{\dbrack}[1]{\ldbrack #1 \rdbrack}
164 \newcommand{\semantic}[1]{\ldbrack #1 \rdbrack}
165 \newcommand{\dbrackC}[1]{\ldbrack #1 \rdbrackC}
167 \newcommand{\faust}{\textsc{Faust
}\xspace}
168 \newcommand{\latex}{\LaTeX\xspace}
169 \newcommand{\ircam}{\textsc{Ircam
}\xspace}
170 \newcommand{\astree}{\textsc{Astree
}\xspace}
171 \newcommand{\svg}{\textsc{Svg
}\xspace}
174 \setlength{\parindent}{0pt
}
175 \setlength{\parskip}{1ex plus
0.5ex minus
0.2ex
}
184 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
185 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
187 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
188 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
190 \input{chapters/introduction
}
191 \input{chapters/installation
}
192 \input{chapters/syntax
}
193 \input{chapters/compiler
}
194 \input{chapters/architectures
}
195 \input{chapters/codegeneration
}
196 \input{chapters/mathdoc
}
197 \input{chapters/acknowledgments
}