-
Notifications
You must be signed in to change notification settings - Fork 0
/
mycover.sty
executable file
·181 lines (149 loc) · 5.21 KB
/
mycover.sty
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Options :
% title
% subtitle
% author
% date
% director
% examinator
% reviewer
% ecoledoctorale
% formation
% specialite
% academiename
% universitename
% universitesubname
% laboratory
% laboratoryadresse
% resume
% abstract
% motsclefs
% keywords
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\if@submitted\@submittedfalse
\newif\if@defended\@defendedfalse
\newif\if@president\@presidentfalse
\newif\if@director\@directorfalse
\newif\if@codirector\@codirectorfalse
\newif\if@reviewer\@reviewerfalse
\newif\if@examinator\@examinatorfalse
\DeclareOption{submitted}{\@submittedtrue}
\DeclareOption{defended}{\@defendedtrue\@submittedtrue}
\ProcessOptions
\RequirePackage{xspace}
\newcommand*{\thesisname}{Thèse}
\newcommand*{\specialitename}{Spécialité}
\newcommand*{\formationname}{Formation Doctorale}
\newcommand*{\ecoledoctoralename}{École Doctorale}
\newcommand*{\presidentname}{Président du jury}
\newcommand*{\directorname}{Directeurs de thèse}
\newcommand*{\codirectorname}{Co-Directeur de thèse}
\newcommand*{\reviewername}{Rapporteurs}
\newcommand*{\examinatorname}{Examinateurs}
\newcommand*\resumename{Résumé}
\newcommand*\keywordsname{Keywords:}
\newcommand*\motsclefsname{Mots clefs :}
\def\presentedname{présentée}
\def\laboratoryprefix{à}
\def\@laboratory{Inria Bordeaux Sud-Ouest}
\def\laboratory#1{\def\@laboratory{#1}}
\def\obtentionname{pour\\ obtenir le grade}
\def\diplomeprefix{de}
\def\diplomename{Docteur de l'Université de Bordeaux}
\def\@specialite{Informatique}
\newcommand{\specialite}[1]{\def\@specialite{#1}}
\def\@formation{Informatique}
\newcommand{\formation}[1]{\def\@formation{#1}}
\def\@ecoledoctorale{Ecole doctorale de Mathématiques et Informatique de Bordeaux}
\newcommand{\ecoledoctorale}[1]{\def\@ecoledoctorale{#1}}
\def\@academiename{Académie de Bordeaux}
\def\academiename#1{\def\@academiename{#1}}
\def\@universitename{\textbf{U} n i v e r s i t é ~ D e ~ \textbf{B} o r d e a u x ~}
\def\universitename#1{\def\@universitename{#1}}
\def\@laboratoryadresse{Inria Bordeaux Sud-Ouest -- 200, Avenue de la Vieille Tour -- 33400 Talence -- France}
\def\laboratoryadresse#1{\def\@laboratoryadresse{#1}}
\def\@jury{%
\if@president\@president\fi
\if@director\@director\fi
\if@codirector\@codirector\fi
\if@reviewer\@reviewer\fi
\if@examinator\@examinator\fi
}
\newcommand{\@president}{}
\newcommand{\president}[1]{%
\if@defended
\@presidenttrue\def\@president{%
\textbf{\presidentname}\\%
{\def\and{\\}#1}\\[.5em]}\fi}
\newcommand{\@director}{}
\newcommand{\director}[2]{\@directortrue\def\@director{%
\textbf{\directorname}\\%
{\def\and{\\}#1{\\}#2}\\[.5em]}}
\newcommand{\@codirector}{}
\newcommand{\codirector}[1]{\@codirectortrue\def\@codirector{%
\textbf{\codirectorname}\\%
{\def\and{\\}#1}\\[.5em]}}
\newcommand{\@reviewer}{}
\newcommand{\reviewer}[2]{\@reviewertrue\def\@reviewer{%
\textbf{\reviewername}\\%
{\def\and{\\}#1{\\}#2}\\[.5em]}}
\newcommand{\@examinator}{}
\newcommand{\examinator}[3]{\@examinatortrue\def\@examinator{%
\textbf{\examinatorname}\\%
{\def\and{\\}#1{\\}#2{\\}#3}\\[.5em]}}
\newcommand{\@subtitle}{}
\newcommand{\subtitle}[1]{\def\@subtitle{#1}}
\renewcommand{\maketitle}{
\thispagestyle{empty}
\begin{center}
\null\vspace{-3cm}
\enlargethispage{2cm}
{\large\textsc{\@academiename}\par}
{\Large\textsc{\makebox[0.95\width][s]{\@universitename}}\par}
%\@universitesubname
\vfill
{\huge\textsc{\textbf{\thesisname}}}
\vspace{1cm}
\presentedname\xspace\laboratoryprefix\xspace\@laboratory\xspace\obtentionname\xspace\diplomeprefix\xspace\diplomename
\vspace{1cm}
\begin{tabular}{lcl}
\textit{\specialitename} & : & {\bf \@specialite}\\
\textit{\formationname} & : & {\bf \@formation}\\
\textit{\ecoledoctoralename} & : & {\bf \@ecoledoctorale}
\end{tabular}
\vfill
{\Large\bf\@title\par}
{\large\bf\@subtitle\par}
\vspace{0.7cm}
par\par
\vspace{0.7cm}
{\Large\bf\@author\par}
\vfill
{
\small
\if@defended
Soutenue le \@date, devant le jury composé de :
\else\if@submitted
Soutenance prévue pour le 22 décembre 2017, devant le jury composé de :
\else
Version du \@date
\fi\fi
\par
\vspace{0.3cm}
\vspace{.5cm}
\begin{tabular}{rll}
\textit{\presidentname} & & Professeur à Bordeaux INP\vspace{0.2cm}\\
\textit{\directorname} & Charles Consel, & Professeur à Bordeaux INP\vspace{0.2cm}\\
\textit{\codirectorname} & Nic Volanschi, & Advanced research position à Inria Bordeaux\vspace{0.2cm}\\
\textit{\reviewername} & Sylvain Giroux, & Professeur à l'Université de Sherbrooke\\
& Philippe Lalanda, & Professeur à l'Université Joseph Fourier de Grenoble\vspace{0.2cm}\\
\textit{\examinatorname} & Nikolaos Georgantas, & Research Scientist\\
%& Nic Volanschi, & Advanced research position à Inria Bordeaux\\
\end{tabular}
% \begin{minipage}{\linewidth}
% \noindent{\@jury}
% \end{minipage}
}
\end{center}
\clearpage
}