Tabulation

This commit is contained in:
Bastien 2019-06-03 13:39:50 +01:00
parent 00e59edd4f
commit 6821abbcd0

View file

@ -232,38 +232,38 @@
} }
\lstset{language=Matlab, % Use MATLAB \lstset{language=Matlab, % Use MATLAB
frame=single, % Single frame around code frame=single, % Single frame around code
basicstyle=\small\ttfamily, % Use small true type font basicstyle=\small\ttfamily, % Use small true type font
keywordstyle=[1]\color{blue}\bfseries, % MATLAB functions bold and blue keywordstyle=[1]\color{blue}\bfseries, % MATLAB functions bold and blue
keywordstyle=[2]\color{matlabLilas}, % MATLAB function arguments purple keywordstyle=[2]\color{matlabLilas}, % MATLAB function arguments purple
keywordstyle=[3]\color{blue}\underbar, % User functions underlined and blue keywordstyle=[3]\color{blue}\underbar, % User functions underlined and blue
identifierstyle=, % Nothing special about identifiers identifierstyle=, % Nothing special about identifiers
% Comments small green courier % Comments small green courier
commentstyle=\usefont{T1}{pcr}{m}{sl}\color{matlabGreen}\small, commentstyle=\usefont{T1}{pcr}{m}{sl}\color{matlabGreen}\small,
stringstyle=\color{matlabLilas}, % Strings are purple stringstyle=\color{matlabLilas}, % Strings are purple
breaklines=true, breaklines=true,
showstringspaces=false, % Don't put marks in string spaces showstringspaces=false, % Don't put marks in string spaces
tabsize=5, % 5 spaces per tab tabsize=5, % 5 spaces per tab
title=\lstname, title=\lstname,
framextopmargin=2pt, framextopmargin=2pt,
framexbottommargin=2pt, framexbottommargin=2pt,
% %
%%% Put standard MATLAB functions not included in the default %%% Put standard MATLAB functions not included in the default
%%% language here %%% language here
morekeywords={xlim,ylim,var,alpha,factorial,poissrnd,normpdf,normcdf}, morekeywords={xlim,ylim,var,alpha,factorial,poissrnd,normpdf,normcdf},
% %
%%% Put MATLAB function parameters here %%% Put MATLAB function parameters here
morekeywords=[2]{on, off, interp}, morekeywords=[2]{on, off, interp},
% %
%%% Put user defined functions here %%% Put user defined functions here
morekeywords=[3]{FindESS, homework_example}, morekeywords=[3]{FindESS, homework_example},
% %
morecomment=[l][\color{blue}]{...}, % Line continuation (...) like blue comment morecomment=[l][\color{blue}]{...}, % Line continuation (...) like blue comment
numbers=left, % Line numbers on left numbers=left, % Line numbers on left
firstnumber=1, % Line numbers start with line 1 firstnumber=1, % Line numbers start with line 1
numberstyle=\tiny\color{CentraleRed}, % Line numbers are blue numberstyle=\tiny\color{CentraleRed}, % Line numbers are blue
stepnumber=5 % Line numbers go in steps of 5 stepnumber=5 % Line numbers go in steps of 5
} }