Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 18303097 authored by Adrien Leman's avatar Adrien Leman Committed by hhakim
Browse files

doc latex

parent c64d0c1a
No related branches found
No related tags found
No related merge requests found
......@@ -44,18 +44,24 @@
\definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
\definecolor{mylilas}{RGB}{170,55,241}
%\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.95,0.95,1}
\definecolor{mygrayMatlab}{rgb}{0.9,0.9,0.9}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\definecolor{myBlack}{rgb}{0.3,0.3,0.3}
% Set your language (you can change the language for each code-block optionally)
\lstdefinestyle{customBash}{
backgroundcolor=\color{mygray}, % choose the background color; you must add \usepackage{color}
basicstyle=\ttfamily, % the size of the fonts that are used for the code
breaklines=true, % sets automatic line breaking
commentstyle=\color{mygreen}, % comment style
language=bash,%
backgroundcolor=\color{myBlack}, % choose the background color; you must add
stringstyle=\color{mylilas},%
%identifierstyle=\bfseries\color{white},%
keywordstyle=\color{white},%
basicstyle=\ttfamily\color{white},
commentstyle=\color{mygreen},%
%showstringspaces=true,%without this there will be a symbol in the places where there is a space
%basicstyle=\ttfamily, % the size of the fonts that are used for the code
% breaklines=true, % sets automatic line breaking
% deletekeywords={...}, % if you want to delete keywords from the given language
frame=single, % adds a frame around the code
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
......@@ -63,7 +69,6 @@
numbersep=5pt, % how far the line-numbers are from the code
numberstyle=\tiny\color{gray}, % the style that is used for the line-numbers
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-
stringstyle=\color{mymauve}, % string literal style
}
......@@ -85,20 +90,24 @@
\lstdefinestyle{customMatlab}{
language=Matlab,%
backgroundcolor=\color{mygrayMatlab},%
frame=single, % adds a frame around the code
breaklines=true,%
backgroundcolor=\color{mygray},%
stringstyle=\color{mylilas},%
%identifierstyle=\bfseries\color{white},%
basicstyle=\ttfamily\color{black},
commentstyle=\color{mygreen},%
morekeywords={matlab2tikz},%
keywordstyle=\color{blue},%
keywordstyle=\color{black},%
morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},%
identifierstyle=\color{black},%
%identifierstyle=\color{black},%
stringstyle=\color{mylilas},%
commentstyle=\color{mygreen},%
frame=single, % adds a frame around the code
breaklines=true,%
showstringspaces=false,%without this there will be a symbol in the places where there is a space
numbers=left,%
numberstyle={\tiny \color{black}},% size of the numbers
numbersep=9pt, % this defines how far the numbers are from the text
emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
%emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
%emph=[2]{word1,word2}, emphstyle=[2]{style},
}
......
......@@ -83,6 +83,9 @@ Here is the steps to add an environment variable in Windows 7.
\item Click the Advanced System Settings link in the left column.
\item In the System Properties window, click on the Advanced tab, then click the Environment Variables button near the bottom of that tab.
\item In the Environment Variables window (pictured below), highlight the Path variable in the "System variables" section and click the Edit button. Add or modify the path lines with the paths you want the computer to access. Each different directory is separated with a semicolon as shown below.
\end{enumerate}
\lstset{style=customBash}
\begin{lstlisting}
C:\Program Files;C:\Winnt;C:\Winnt\System32
......@@ -95,7 +98,7 @@ C:\Program Files;C:\Winnt;C:\Winnt\System32
\label{fig:EnvironmentVariable}
\end{figure}
\end{enumerate}
\section{FAUST Install on MAC OS X platform, using Xcode IDE with terminal command}\label{sec:ANNEXEInstallMACXcodeTerminal}
You can generated the target using the terminal command \texttt{xcodebuild} :
......@@ -103,9 +106,12 @@ You can generated the target using the terminal command \texttt{xcodebuild} :
\begin{lstlisting}
> mkdir build
> cd build
> cmake .. -G "Xcode" %% list all target of the project
> xcodebuild -list -project FAUST.xcodeproj %% Build the targets
> xcodebuild -configuration "Release" -target "ALL_BUILD" build % performs the "make install"
> cmake .. -G "Xcode"
# list all target of the project
> xcodebuild -list -project FAUST.xcodeproj
# Build the targets
> xcodebuild -configuration "Release" -target "ALL_BUILD" build
# performs the "make install"
> xcodebuild -configuration "Release" -target "install" build
\end{lstlisting}
......
......@@ -11,13 +11,15 @@ In order to use matlab wrapper, follow the instructions :
\item \textbf{Launch} Matlab.
\item \textbf{Set the working directory} of the Matlab Command Window to your FA$\mu$ST install directory (default install directory is \texttt{/<HOMEDIR>/Documents/MATLAB/Faust})
\item \textbf{Configure} the Matlab path by typing the following commands :
\end{itemize}
\lstset{style=customMatlab}
\begin{lstlisting}
>> cd /<HOMEDIR>/Documents/MATLAB/Faust
>> setup_Faust
\end{lstlisting}
\end{itemize}
\section{Use a faust from a saved one}\label{sec:firstUseBuildFromSave}
\paragraph{} Now, you can run \texttt{quick\_start.m} script in the Matlab Command Window by typing :
......
......@@ -92,7 +92,7 @@ In the terminal opened in Section
> cd build
> cmake ..
> make
> sudo make install % run with administrator privilege
> sudo make install # run with administrator privilege
\end{lstlisting}
FA$\mu$ST Toolbox should be installed. Now, refer to Quick-Start Chapter \ref{sec:firstUse} to check the install and to try FA$\mu$ST toolbox.
......
......@@ -338,6 +338,8 @@ In the case of \textbf{Microsoft Visual Studio 2013 compiler using the command t
\item Open a command terminal
\item Set the current directory to your FA$\mu$ST directory (NOTE: don't use any special character in your FA$\mu$ST directory path, for example the character $\mu$)
\item Type the following commands :
\end{itemize}
\begin{lstlisting}
> mkdir build
> cd build
......@@ -346,7 +348,7 @@ In the case of \textbf{Microsoft Visual Studio 2013 compiler using the command t
> cmake --build . --config "Release"
> cmake --build . --config "Release" --target "install"
\end{lstlisting}
\end{itemize}
FA$\mu$ST Toolbox should be installed. Now, refer to Quick-Start Chapter \ref{sec:firstUse} to check the install and to try FA$\mu$ST toolbox.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment