2019-01-31 11:29:13 +01:00
|
|
|
|
% !TEX encoding = UTF-8 Unicode
|
|
|
|
|
% -*- coding: UTF-8; -*-
|
|
|
|
|
% vim: set fenc=utf-8
|
2019-06-03 12:32:05 +02:00
|
|
|
|
%----- Informations générales
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\NeedsTeXFormat{LaTeX2e}[1999/01/01]
|
2019-04-26 11:16:44 +02:00
|
|
|
|
\ProvidesPackage{centrale}[2019/04/23 v1.0 centrale: standard scientific documents layout for Centrale Lyon - Copyright (C) Bastien Laville, 2019]
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-01-22 23:25:15 +01:00
|
|
|
|
%------------------------------------------ CHARGEMENT DES EXTENSIONS ------------------------------------------%
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-04-07 12:13:40 +02:00
|
|
|
|
% ------------- Langue et encodage utilisés -------------
|
|
|
|
|
\RequirePackage[T1]{fontenc}
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage[utf8]{inputenc} % Reconnaissance des lettres du clavier
|
2019-10-21 19:30:04 +02:00
|
|
|
|
\RequirePackage{babel}
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-01-22 23:25:15 +01:00
|
|
|
|
% ------------- Mise en page -------------
|
2019-02-13 10:02:53 +01:00
|
|
|
|
\RequirePackage[a4paper]{geometry} % Mise en page acceptable
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage[final]{microtype} % Pour améliorer la qualité de la lecture avec la microtypotypographie (protrusion et kerning)
|
|
|
|
|
\RequirePackage[pdfencoding=auto,psdextra]{hyperref} % Importer hypertexte avec possibilités de mettre des caractères utf8 dans les métadonnées
|
2019-04-27 18:29:13 +02:00
|
|
|
|
\hypersetup{pdftoolbar=true, % show Acrobat’s toolbar?
|
2019-01-22 23:25:15 +01:00
|
|
|
|
pdfmenubar=true, % show Acrobat’s menu?
|
|
|
|
|
pdffitwindow=false, % window fit to page when opened
|
|
|
|
|
pdfstartview={FitH}, % fits the width of the page to the window
|
|
|
|
|
pdfnewwindow=true, % links in new PDF window
|
2019-03-12 16:34:51 +01:00
|
|
|
|
pdfcreator={Paquet LaTeX Centrale Lyon (B. Laville) - 2019}}
|
2019-02-13 10:02:53 +01:00
|
|
|
|
\newcommand{\reff}[1]{\textbf{\textcolor{CentraleRed}{\textsc{\ref{#1}}}}} % Pour réaliser des citations potables
|
2019-01-22 23:25:15 +01:00
|
|
|
|
|
|
|
|
|
% ------------- Mise en page 2 -------------
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{graphicx} % Pour importer des images
|
|
|
|
|
\RequirePackage{booktabs} % Pour introduire des tableaux
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage[toc,page]{appendix} % Pour créer des appendices
|
2019-03-31 12:03:16 +02:00
|
|
|
|
%\RequirePackage[Bjornstrup]{fncychap} % Si on fait un report ou book
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\RequirePackage{lmodern}
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{fancyhdr} % Des titres fouqués
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage{lipsum} % Mettre du texte lipsum, pour faire une maquette de rapport
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{framed} % Des cadres pougnés
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage{bm} % Du texte en gras bien fait
|
2019-04-02 00:02:37 +02:00
|
|
|
|
\RequirePackage{nomencl} % Faire une nomenclature
|
|
|
|
|
\RequirePackage[footnote]{acronym} % Des acronymes accessibles et définissables
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-01-22 23:25:15 +01:00
|
|
|
|
% ------------- En-têtes -------------
|
2019-06-03 12:32:05 +02:00
|
|
|
|
% On définit ici des en-têtes de page avec titre de la section courante et numéro de page
|
|
|
|
|
\renewcommand{\baselinestretch}{1.05}
|
2019-01-22 23:25:15 +01:00
|
|
|
|
\setlength{\headheight}{27.06pt}
|
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
|
\pagestyle{fancy}
|
|
|
|
|
\fancyhf{}
|
|
|
|
|
\rhead{\nouppercase{\thepage}}
|
2019-02-12 11:49:07 +01:00
|
|
|
|
\lhead{\nouppercase{\rightmark}}
|
2019-01-22 23:25:15 +01:00
|
|
|
|
|
|
|
|
|
% ------------- Images, figures et tables -------------
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{epstopdf} % Utiliser le format .eps
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage[pages=some]{background} % Pour mettre un fond, pages=some permet de choisir les pages concernées
|
|
|
|
|
\RequirePackage{epsfig} % Convertisseur eps à pdf
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{float} % Pour avoir des tableaux qui restent dans leurs sections
|
|
|
|
|
\RequirePackage{graphicx} % Importer image
|
|
|
|
|
\RequirePackage{array} % Importer tableau
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage{colortbl} % Couleurs dans un tableau
|
2019-04-26 11:16:44 +02:00
|
|
|
|
\RequirePackage{array} % Pour des tableaux bien formatés
|
|
|
|
|
\RequirePackage{multirow} % Fusion des lignes dans les tableaux
|
2019-01-22 23:25:15 +01:00
|
|
|
|
|
|
|
|
|
% ------------- Des sections et des sous-titres -------------
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage{titlesec} % Macros pour changer le style des titres de section
|
|
|
|
|
\RequirePackage{sectsty} % Changer le style des sections
|
|
|
|
|
\RequirePackage{caption} % Macros pour changer le style des titres de figure
|
|
|
|
|
\RequirePackage{subcaption} % Macros pour changer le style des sous-titres de figure
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
%% Draft %%
|
|
|
|
|
%\RequirePackage{draftwatermark}
|
|
|
|
|
%\SetWatermarkScale{3}
|
|
|
|
|
|
2019-01-22 23:25:15 +01:00
|
|
|
|
% ------------- Du dessin et des couleurs -------------
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{xcolor} % Changer la couleur
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\RequirePackage[most]{tcolorbox}
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage{tikz} % Pour dessiner
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage{schemabloc} % Dessiner des schémas-blocs avec tikz
|
2019-03-31 12:03:16 +02:00
|
|
|
|
\RequirePackage[siunitx, american, smartlabels, cute inductors]{circuitikz} % Pour dessiner des circuits électroniques
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\usetikzlibrary{babel} % Pour éviter des conflits entre les paquets tikz et babel
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
|
2019-04-02 00:02:37 +02:00
|
|
|
|
% ------------- Des maths et de l'info -------------
|
2019-01-22 22:35:46 +01:00
|
|
|
|
\RequirePackage{listings} % Importer du code informatique et le travailler
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\RequirePackage{amsmath, amssymb, amsfonts, amsthm, mathtools} % mathtools for: Aboxed (put box on last equation in align envirenment)
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\RequirePackage{mathpazo} % La police d'écriture utilisée dans tout le document
|
|
|
|
|
\RequirePackage{siunitx} % Des unités bien écrites, par exemple pour les valeurs numériques
|
|
|
|
|
\sisetup{locale = FR} % Pour avoir les bonnes conventions typographiques des unités
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-01-22 23:25:15 +01:00
|
|
|
|
% ------------- Une biliographie -------------
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\bibliographystyle{plain-fr} % Biblio en français
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-04-02 00:02:37 +02:00
|
|
|
|
|
|
|
|
|
% ------------- Les options du paquet -------------
|
2019-06-04 15:46:16 +02:00
|
|
|
|
\DeclareOption{...}{...}
|
|
|
|
|
\DeclareOption*{\PackageWarning{examplepackage}{Unknown ‘\CurrentOption’}} % Créer un warning pour signaler que l'option n'existe pas
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\ProcessOptions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%------------------------------------------DÉFINITIONS DES COULEURS------------------------------------------%
|
|
|
|
|
|
2019-07-25 11:19:02 +02:00
|
|
|
|
\definecolor{CentraleRed}{rgb}{0.558, 0.09, 0.18}
|
|
|
|
|
\definecolor{CentraleGray}{rgb}{0.67, 0.67, 0.67}
|
|
|
|
|
\definecolor{CentraleGrayEq}{RGB}{66, 66, 66}
|
2019-06-20 16:53:05 +02:00
|
|
|
|
\definecolor{CentraleGrayLight}{gray}{0.92}
|
2019-07-25 11:19:02 +02:00
|
|
|
|
\definecolor{CentraleBlue}{RGB}{0, 67, 89}
|
|
|
|
|
\definecolor{matlabGreen}{RGB}{28, 172, 0} % Pour le listing des codes
|
|
|
|
|
\definecolor{matlabLilas}{RGB}{170, 55, 241}
|
2019-01-31 10:24:00 +01:00
|
|
|
|
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
%------------------------------------------SECTIONS, FIGURES ET TABLEAUX------------------------------------------%
|
|
|
|
|
|
2019-06-03 12:32:05 +02:00
|
|
|
|
\chapterfont{\color{CentraleRed}} % Choisir la couleur des chapitres
|
|
|
|
|
\sectionfont{\color{CentraleRed}\sffamily} % Choisir la couleur des sections
|
|
|
|
|
\subsectionfont{\color{CentraleGrayEq}\sffamily\itshape} % Choisir la couleur des sous-sections
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\DeclareCaptionFont{CaptionCentrale}{\color{CentraleRed}}
|
|
|
|
|
\captionsetup[table]{labelfont={CaptionCentrale,bf}}
|
|
|
|
|
\captionsetup[figure]{labelfont={CaptionCentrale,bf}}
|
|
|
|
|
\captionsetup[subfigure]{labelfont=bf,textfont=sf}
|
|
|
|
|
|
|
|
|
|
|
2019-06-20 16:53:05 +02:00
|
|
|
|
%------------------------------------------DES CADRES POUR METTRE DE L'EMPHASE------------------------------------------%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\newenvironment{cadregris}{
|
|
|
|
|
\def\FrameCommand{{\color{CentraleGray}\vrule width 3pt}\colorbox{CentraleGrayLight}}%
|
|
|
|
|
\MakeFramed {\advance\hsize-\width \FrameRestore}}%
|
|
|
|
|
{\endMakeFramed}
|
|
|
|
|
|
|
|
|
|
|
2018-11-14 18:41:54 +01:00
|
|
|
|
%------------------------------------------RACCOURCIS MATHEMATIQUES------------------------------------------%
|
|
|
|
|
|
2019-01-22 22:35:46 +01:00
|
|
|
|
%------- Dérivation et opérateurs
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
\newcommand{\ch}[1] {\mathrm{#1}}
|
2019-01-22 22:35:46 +01:00
|
|
|
|
\newcommand{\ud}{\ensuremath{\, \mathrm{d}}}
|
2019-04-02 00:08:39 +02:00
|
|
|
|
\newcommand{\eqdef}{\stackrel{\mathrm{def}}{=}}
|
|
|
|
|
|
2019-01-22 22:35:46 +01:00
|
|
|
|
\newcommand{\subt}[1] {\ensuremath{_{\text{#1}}}}
|
2019-01-22 22:46:49 +01:00
|
|
|
|
\newcommand{\supt}[1] {\ensuremath{^{\text{#1}}}}
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\newcommand{\citea}[1] {$^{\text{\cite{#1}}}$}
|
|
|
|
|
\newcommand{\grad}[1] {\vec{\ch{grad}}\left( #1 \right)}
|
|
|
|
|
\newcommand{\rot}[1] {\vec{\ch{rot}}\left( \vec{#1} \right)}
|
|
|
|
|
\newcommand{\rota}[1] {\vec{\ch{rot}}\left( #1 \right)}
|
|
|
|
|
\renewcommand{\div}[1] {\ch{div}\left( \vec{#1} \right)}
|
|
|
|
|
\newcommand{\diva}[1] {\ch{div}\left( #1 \right)}
|
|
|
|
|
\newcommand{\oper}[3] {\langle #1 \arrowvert #2 \arrowvert #3 \rangle}
|
|
|
|
|
\newcommand{\derp}[2] {\dfrac{\partial\, #1}{\partial\, #2}}
|
|
|
|
|
\newcommand{\derd}[2] {\dfrac{\ch{d}\, #1}{\ch{d}\, #2}}
|
|
|
|
|
\newcommand{\derD}[2] {\dfrac{\ch{D}\, #1}{\ch{D}\, #2}}
|
|
|
|
|
\newcommand{\derda}[2] {\dfrac{\ch{d}^2\, #1}{\ch{d} #2^2}}
|
|
|
|
|
\newcommand{\derdb}[2] {\dfrac{\ch{d}^2\, #1}{\ch{d} #2 ^2}}
|
|
|
|
|
\newcommand{\derpb}[2] {\dfrac{\partial^2\, #1}{\partial #2 ^2}}
|
|
|
|
|
\newcommand{\bra}[1] {\langle #1 |}
|
2019-01-22 22:35:46 +01:00
|
|
|
|
\newcommand{\ket}[1] {| #1 \rangle}
|
2018-11-14 18:41:54 +01:00
|
|
|
|
\newcommand{\bracket}[1] {\langle #1 \rangle}
|
|
|
|
|
\newcommand{\bracketb}[2] {\langle #1 \arrowvert #2 \rangle}
|
|
|
|
|
\newcommand{\bracketc}[1] {\langle #1 \arrowvert #1 \rangle}
|
|
|
|
|
|
2019-01-22 22:35:46 +01:00
|
|
|
|
%------- Lettres grecques disponibles dans le texte
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
\newcommand{\ttt} {\ensuremath{\forall}}
|
|
|
|
|
\newcommand{\alphat} {\ensuremath{\alpha}}
|
|
|
|
|
\newcommand{\betat} {\ensuremath{\beta}}
|
|
|
|
|
\newcommand{\taut} {\ensuremath{\tau}}
|
|
|
|
|
\newcommand{\nut} {\ensuremath{\nu}}
|
|
|
|
|
\newcommand{\varepsilont} {\ensuremath{\varepsilon}}
|
|
|
|
|
\newcommand{\epsilont} {\ensuremath{\varepsilon}}
|
|
|
|
|
\newcommand{\omegat} {\ensuremath{\omega}}
|
|
|
|
|
\newcommand{\phit} {\ensuremath{\varphi}}
|
|
|
|
|
\newcommand{\deltat} {\ensuremath{\delta}}
|
|
|
|
|
\newcommand{\Deltat} {\ensuremath{\Delta}}
|
|
|
|
|
\newcommand{\thetat} {\ensuremath{\theta}}
|
|
|
|
|
\newcommand{\sigmat} {\ensuremath{\sigma}}
|
|
|
|
|
\newcommand{\pit} {\ensuremath{\pi} }
|
|
|
|
|
\newcommand{\chit} {\ensuremath{\chi}}
|
|
|
|
|
\newcommand{\mut} {\ensuremath{\mu}}
|
|
|
|
|
\newcommand{\lambdat} {\ensuremath{\lambda}}
|
|
|
|
|
\newcommand{\rhot} {\ensuremath{\rho}}
|
|
|
|
|
\newcommand{\kappat} {\ensuremath{\kappa}}
|
|
|
|
|
\newcommand{\gammat} {\ensuremath{\gamma}}
|
|
|
|
|
\newcommand{\etat} {\ensuremath{\eta}}
|
|
|
|
|
|
|
|
|
|
|
2019-01-22 22:35:46 +01:00
|
|
|
|
|
|
|
|
|
%------- Raccourcis du turfu
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
\newcommand{\ds}{\displaystyle}
|
|
|
|
|
\newcommand{\vr}{\overrightarrow}
|
|
|
|
|
|
2019-01-22 22:35:46 +01:00
|
|
|
|
%------- Notation des ensembles
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-08-15 18:39:57 +02:00
|
|
|
|
\newcommand{\Lesp}[1] {\ensuremath{\mathrm{L}^{#1}}} % Pour composer les espace L^p
|
2019-07-25 11:19:02 +02:00
|
|
|
|
\newcommand{\A} {\ensuremath{\mathcal{A}}}
|
|
|
|
|
\newcommand{\R} {\ensuremath{\mathbb{R}}}
|
|
|
|
|
\newcommand{\CC} {\ensuremath{\mathbb{C}}}
|
|
|
|
|
\newcommand{\N} {\ensuremath{\mathbb{N}}}
|
|
|
|
|
\newcommand{\K} {\ensuremath{\mathbb{K}}}
|
|
|
|
|
\newcommand{\Lens} {\mathcal{L}} % Lens pour "l'ENSemble L"
|
|
|
|
|
\newcommand{\Pens} {\mathcal{P}} % Pareil pour P
|
|
|
|
|
\newcommand{\M} {\ensuremath{\mathcal{M}}}
|
|
|
|
|
\newcommand{\B} {\ensuremath{\mathcal{B}}}
|
|
|
|
|
\newcommand{\dom} {\ensuremath{\mathcal{D}}}
|
|
|
|
|
\newcommand{\surf} {\ensuremath{\mathcal{S}}}
|
|
|
|
|
\newcommand{\cont} {\ensuremath{\mathcal{C}}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%------- Abréviations, langages et programme utiles
|
|
|
|
|
|
|
|
|
|
\newcommand{\ecl}{l'École centrale de Lyon}
|
|
|
|
|
\newcommand{\matlab}{\textsc{Matlab}}
|
|
|
|
|
\newcommand{\python}{\emph{python}}
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
|
2019-04-02 00:08:39 +02:00
|
|
|
|
%------- Fonctions de traitement du signal
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-07-25 11:19:02 +02:00
|
|
|
|
\DeclareMathOperator{\sinc} {sinc}
|
|
|
|
|
\DeclareMathOperator{\sgn} {\text{sgn}}
|
|
|
|
|
\DeclareMathOperator*{\argmax} {argmax}
|
|
|
|
|
\DeclareMathOperator*{\argmin} {argmin}
|
|
|
|
|
\newcommand{\vect} {\text{Vect}}
|
|
|
|
|
\newcommand{\esp} {\ensuremath{\mathbb{E}}}
|
|
|
|
|
\newcommand{\hilbert} {\ensuremath{\mathcal{H}}}
|
|
|
|
|
\newcommand{\fourier} {\ensuremath{\mathcal{F}}}
|
2019-04-02 00:08:39 +02:00
|
|
|
|
|
2019-04-26 11:16:44 +02:00
|
|
|
|
% Ces 4 lignes définissent la lettre sha pour le peigne de Dirac (et pas le vieux "Pgn" comme "pougne")
|
2019-07-25 11:19:02 +02:00
|
|
|
|
\DeclareFontFamily{U} {wncy}{}
|
|
|
|
|
\DeclareFontShape{U} {wncy}{m}{n}{<->wncyr10}{}
|
|
|
|
|
\DeclareSymbolFont{mcy} {U}{wncy}{m}{n}
|
|
|
|
|
\DeclareMathSymbol{\Sh} {\mathord}{mcy}{"58}
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
2019-01-22 22:35:46 +01:00
|
|
|
|
%------- Autres
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%------------------------------------------METTRE DU CODE INFORMATIQUE------------------------------------------%
|
|
|
|
|
|
2019-01-31 10:55:00 +01:00
|
|
|
|
\lstset{language=python,%
|
2018-11-14 18:41:54 +01:00
|
|
|
|
basicstyle=\footnotesize,
|
|
|
|
|
breaklines=false,%,
|
|
|
|
|
keywordstyle=\color{blue},%
|
|
|
|
|
morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},
|
|
|
|
|
identifierstyle=\color{black},%
|
|
|
|
|
stringstyle=\color{CentraleRed},
|
|
|
|
|
commentstyle=\color{CentraleGray},%
|
|
|
|
|
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=[2]{word1,word2}, emphstyle=[2]{style},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
\lstset{language=Matlab, % Use MATLAB
|
2019-06-03 14:39:50 +02:00
|
|
|
|
frame=single, % Single frame around code
|
|
|
|
|
basicstyle=\small\ttfamily, % Use small true type font
|
|
|
|
|
keywordstyle=[1]\color{blue}\bfseries, % MATLAB functions bold and blue
|
|
|
|
|
keywordstyle=[2]\color{matlabLilas}, % MATLAB function arguments purple
|
|
|
|
|
keywordstyle=[3]\color{blue}\underbar, % User functions underlined and blue
|
|
|
|
|
identifierstyle=, % Nothing special about identifiers
|
|
|
|
|
% Comments small green courier
|
|
|
|
|
commentstyle=\usefont{T1}{pcr}{m}{sl}\color{matlabGreen}\small,
|
|
|
|
|
stringstyle=\color{matlabLilas}, % Strings are purple
|
|
|
|
|
breaklines=true,
|
|
|
|
|
showstringspaces=false, % Don't put marks in string spaces
|
|
|
|
|
tabsize=5, % 5 spaces per tab
|
|
|
|
|
title=\lstname,
|
|
|
|
|
framextopmargin=2pt,
|
|
|
|
|
framexbottommargin=2pt,
|
|
|
|
|
%
|
|
|
|
|
%%% Put standard MATLAB functions not included in the default
|
|
|
|
|
%%% language here
|
|
|
|
|
morekeywords={xlim,ylim,var,alpha,factorial,poissrnd,normpdf,normcdf},
|
|
|
|
|
%
|
|
|
|
|
%%% Put MATLAB function parameters here
|
|
|
|
|
morekeywords=[2]{on, off, interp},
|
|
|
|
|
%
|
|
|
|
|
%%% Put user defined functions here
|
|
|
|
|
morekeywords=[3]{FindESS, homework_example},
|
|
|
|
|
%
|
|
|
|
|
morecomment=[l][\color{blue}]{...}, % Line continuation (...) like blue comment
|
|
|
|
|
numbers=left, % Line numbers on left
|
|
|
|
|
firstnumber=1, % Line numbers start with line 1
|
|
|
|
|
numberstyle=\tiny\color{CentraleRed}, % Line numbers are blue
|
|
|
|
|
stepnumber=5 % Line numbers go in steps of 5
|
|
|
|
|
}
|
2018-11-14 18:41:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-03 12:32:05 +02:00
|
|
|
|
%----- Fin du paquet
|
2019-06-05 19:08:38 +02:00
|
|
|
|
\endinput
|