1 % Document class for the PhD thesis of the SPIM doctoral school (UFC variante)
3 % Copyright (c) 2012-14 Stephane GALLAND <galland@arakhne.org>
5 % This program is free library; you can redistribute it and/or modify
6 % it under the terms of the GNU Lesser General Public License as
7 % published by the Free Software Foundation; either version 3 of the
8 % License, or any later version.
10 % This library is distributed in the hope that it will be useful, but
11 % WITHOUT ANY WARRANTY; without even the implied warranty of
12 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 % Lesser General Public License for more details.
15 % You should have received a copy of the GNU Lesser General Public
16 % License along with this library; see the file COPYING. If not,
17 % write to the Free Software Foundation, Inc., 59 Temple Place - Suite
18 % 330, Boston, MA 02111-1307, USA.
20 %%--------------------
21 %% Declare the LaTeX class
22 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
23 \ProvidesClass{spimufcphdthesis}[2015/07/07]
25 %%--------------------
27 \gdef\edspimphdthesisclasslanguage{french}
28 \gdef\edspim@phdthesis@class@options{book,nopubpage,nodocumentinfo,frontmatter}
30 \DeclareOption{english}{%
31 \gdef\edspimphdthesisclasslanguage{english}%
33 \DeclareOption{french}{%
34 \gdef\edspimphdthesisclasslanguage{french}%
38 \xdef\edspim@phdthesis@class@options{\edspim@phdthesis@class@options,\CurrentOption}%
40 \ProcessOptions*\relax
42 %%--------------------
43 %% Load the document style
44 \expandafter\LoadClass[\edspimphdthesisclasslanguage,\edspim@phdthesis@class@options]{upmethodology-document}
46 %%--------------------
47 %% Load the base package
48 \RequirePackage{spimbasephdthesis}
50 %%--------------------
51 %% Use the style dedicated to PhD thesis from SPIM-UFC
52 \UseExtension{spimufcphdthesis}