-
Notifications
You must be signed in to change notification settings - Fork 9
/
macros.tex
54 lines (42 loc) · 1.67 KB
/
macros.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
% Copyright (C) 2012 - EDF R&D - Michael Baudin
% To highlight source code
\usepackage{listings}
\definecolor{darkgreen}{rgb}{0,0.5,0}
\definecolor{violet}{rgb}{0.5,0,1}
\usepackage{algorithm,algorithmic}
\usepackage{bbm}
\usepackage{lmodern}% http:https://ctan.org/pkg/lm
\usetheme{Montpellier}
\setbeamertemplate{navigation symbols}{} % Remove navigation
\useoutertheme{infolines}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage[french]{babel}
%\uselanguage{French}
%\languagepath{French}
\def\bx{{\bf x}}
\def\RR{\mathbb{R}}
\newcommand{\pyvar}[1]{\texttt{#1}}
\def \ot {OpenTURNS}
\hypersetup{colorlinks=true}
\lstset{
% general command to set parameter(s)
%basicstyle=\footnotesize\ttfamily, %
%basicstyle=\normalsize \ttfamily, %
basicstyle=\scriptsize\ttfamily, %
keywordstyle=\color{violet}\bfseries,%
commentstyle=\color{darkgreen}\bfseries,%
showspaces=false,%
stringstyle=\color{red}\bfseries,
otherkeywords={NumericalMathFunction, Gumbel, Normal, TruncatedDistribution, %
CompositeRandomVector, Uniform, PythonFunction, ComposedDistribution, RandomVector, %
Event, MonteCarlo, NumericalSample, IntervalMesher, Field, HistogramFactory, %
Graph, BoxCoxFactory, CompositeProcess, Indices, WhittleFactory, ARMAFactory, %
Basis, TrendFactory, BoxCoxTransform, SpatialFunction, TimeSeries, %
WelchFactory, GreaterOrEqual, SymbolicFunction, IndependentCopula, %
FORM, Cobyla, getResult, getEventProbability, run, drawImportanceFactors},
}
\newcommand{\fcar}[2] {{\mathbbm{1}}_{#1}\left(#2\right)}
\newcommand{\vect}[1]{{\underline{#1}}}
\newcommand{\idx}{\vect{\alpha}}
\newcommand{\argmin}{\operatornamewithlimits{argmin}}