]> AND Private Git Repository - these_kahina.git/blob - upmethodology-backpage.sty
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
suppression thesis.pdf
[these_kahina.git] / upmethodology-backpage.sty
1 % Back page for Unified Process Methodology
2 %
3 % Copyright (c) 2009-2013 Stephane GALLAND <galland@arakhne.org>
4
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.
9 %
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.
14 %
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.
19
20 \global\edef\upm@package@bp@ver{2013/12/14}
21
22 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
23 \ProvidesPackage{upmethodology-backpage}[\upm@package@bp@ver]
24
25 \RequirePackage{upmethodology-p-common}
26
27 %-----
28 % Locales
29 \def\upm@back@lang@english{
30   \gdef\upm@lang@@{\message{**** upmethodology-backpage is using English language ****}}%
31 }
32 \def\upm@back@lang@french{
33   \gdef\upm@lang@@{\message{**** upmethodology-backpage is using French language ****}}%
34 }
35 %----------------------------------------
36 % OPTIONS
37 %----------------------------------------
38 \DeclareOption{french}{%
39   \upm@back@lang@french
40 }
41 \DeclareOption{francais}{%
42   \upm@back@lang@french
43 }
44 \DeclareOption{english}{%
45   \upm@back@lang@english
46 }
47 \ExecuteOptions{english}
48 \ProcessOptions
49 \upm@lang@@
50
51 \RequirePackage{upmethodology-extension}
52
53 %----
54 % Set the back page layout as the classic layout theme
55 %\setbackcover{layout_name}
56 \newcommand{\setbackcover}[1]{%
57         \ifthenelse{\equal{#1}{none}}{%
58                 \global\let\makebackcover\relax%
59         }{%
60                 \errmessage{invalid back layout theme: #1}%
61         }%
62 }
63 \newcommand{\setbacklayout}[1]{\errmessage{\string\setbacklayout\ is deprecated. Use \string\setbackcover}}
64
65 \setbackcover{none}
66
67 \AtEndDocument{
68         \Ifdefined{backpage}{
69                 \gdef\makebackcover{
70                         \ifupmarticleformat\clearpage%
71                         \else
72                                 \cleardoublepage%
73                                 \if@twoside\thispagestyle{empty}\mbox{}%
74                                 \vfill{\Get{backcovermessage}}\clearpage\fi
75                         \fi
76                         \thispagestyle{empty}\Get{backpage}
77                 }
78         }
79 }
80
81 \endinput