spimumlpphdthesis.cls
2.45 KB
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
% Document class for the PhD thesis of the SPIM doctoral school (UMLP variante)
%
% Copyright (c) 2012-25 Stephane GALLAND <galland@arakhne.org>
%
% This program is free library; you can redistribute it and/or modify
% it under the terms of the GNU Lesser General Public License as
% published by the Free Software Foundation; either version 3 of the
% License, or any later version.
%
% This library is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
% Lesser General Public License for more details.
%
% You should have received a copy of the GNU Lesser General Public
% License along with this library; see the file COPYING. If not,
% write to the Free Software Foundation, Inc., 59 Temple Place - Suite
% 330, Boston, MA 02111-1307, USA.
%%--------------------
%% Declare the LaTeX class
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{spimumlpphdthesis}[2025/06/01]
%%--------------------
%% Class options
\newif\ifspimphdthesisnatbib\spimphdthesisnatbibtrue
\gdef\edspimphdthesisclasslanguage{french}
\gdef\edspim@phdthesis@class@options{book,nopubpage,nodocumentinfo,frontmatter}
\DeclareOption{english}{%
\gdef\edspimphdthesisclasslanguage{english}%
}
\DeclareOption{french}{%
\gdef\edspimphdthesisclasslanguage{french}%
}
\DeclareOption{natbib}{%
\global\spimphdthesisnatbibtrue%
}
\DeclareOption{nonatbib}{%
\global\spimphdthesisnatbibfalse%
}
\DeclareOption*{%
\xdef\edspim@phdthesis@class@options{\edspim@phdthesis@class@options,\CurrentOption}%
}
\ProcessOptions*\relax
%%--------------------
%% Load the document style
\expandafter\LoadClass[\edspimphdthesisclasslanguage,\edspim@phdthesis@class@options]{upmethodology-document}
%%--------------------
%% Load the base package
\RequirePackage{spimbasephdthesis}
\ifspimphdthesisnatbib
\RequirePackage{natbib}
\fi
%%--------------------
%% Use the style dedicated to PhD thesis from SPIM-UMLP
\UseExtension{spimumlpphdthesis}
%%--------------------
%% Force the definition for the CIAD laboratory
\newcommand{\ciadlaboratory}{%
\resetlaboratories%
\addlaboratory{Laboratoire Connaissance et Intelligence Artificielle Distribu\'ees (CIAD)}%
\setlaboratorylogo{bigciadlogo}%
}
%%--------------------
%% Force the definition for the FEMTO-ST laboratory
\newcommand{\femtostlaboratory}{%
\resetlaboratories%
\addlaboratory{Institut FEMTO-ST}%
\setlaboratorylogo{femtost}%
}
\endinput