summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ulthese
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-12 21:25:36 +0000
committerKarl Berry <karl@freefriends.org>2015-09-12 21:25:36 +0000
commitd781d0582597ef87f9f80e71415f65e3c624f33b (patch)
tree310661fdc577830f6339ede106d043c6df786d28 /Master/texmf-dist/tex/latex/ulthese
parentcf9a1b30d0817d49c7ae25fb6b0d71d53b22d661 (diff)
ulthese (12sep15)
git-svn-id: svn://tug.org/texlive/trunk@38363 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ulthese')
-rw-r--r--Master/texmf-dist/tex/latex/ulthese/ulthese.cls51
1 files changed, 36 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/ulthese/ulthese.cls b/Master/texmf-dist/tex/latex/ulthese/ulthese.cls
index b17a5625a4a..fac696b405a 100644
--- a/Master/texmf-dist/tex/latex/ulthese/ulthese.cls
+++ b/Master/texmf-dist/tex/latex/ulthese/ulthese.cls
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2012 Universite Laval
+%% Copyright (C) 2015 Universite Laval
%%
%% This file may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c of this
@@ -30,7 +30,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
\ProvidesClass{ulthese}%
- [2014/05/23 v3.1 Classe pour les theses et memoires de l'Universite Laval]
+ [2015/09/10 v4.0 Classe pour les theses et memoires de l'Universite Laval]
\RequirePackage{ifthen}
\RequirePackage{ifxetex}
\newboolean{UL@natbib}
@@ -134,7 +134,7 @@
No thesis type specified.}
{Declare the thesis type as a class option.}
\fi
-\LoadClass[twoside,openright]{memoir}
+\LoadClass[oneside]{memoir}
\ifxetex
\RequirePackage{fontspec}
\RequirePackage{unicode-math}
@@ -150,7 +150,7 @@
\RequirePackage{xcolor}
\RequirePackage{textcomp}
\definecolor{ULlinkcolor}{rgb}{0,0,0.3}
-\setlrmarginsandblock{35mm}{25mm}{*}
+\setlrmarginsandblock{30mm}{30mm}{*}
\setulmarginsandblock{25mm}{25mm}{*}
\checkandfixthelayout[nearest]
\setlength{\footskip}{\lowermargin}
@@ -163,11 +163,7 @@
\renewcommand{\tocheadstart}{\SingleSpacing\chapterheadstart}
\renewcommand{\lotheadstart}{\SingleSpacing\chapterheadstart}
\renewcommand{\lofheadstart}{\SingleSpacing\chapterheadstart}
-\makepagestyle{ul}
- \makeevenfoot{ul}{\thepage}{}{}
- \makeoddfoot{ul}{}{}{\thepage}
-\aliaspagestyle{plain}{ul}
-\pagestyle{ul}
+\pagestyle{plain}
\newcommand*{\UL@phvfamily}{\fontencoding{T1}\fontfamily{phv}\selectfont}
\ifnum\UL@ptsize=10\relax
\newcommand*{\UL@fonttitle}{\normalfont\huge\bfseries\UL@phvfamily}
@@ -193,8 +189,10 @@
\newcommand{\UL@maintitle}{}
\newcommand{\UL@subtitle}{}
\newcommand*{\UL@author}{}
-\newcommand*{\UL@program}{}
\newcommand*{\UL@year}{}
+\newcommand*{\UL@program}{}
+\newcommand*{\UL@director}{}
+\newcommand*{\UL@codirector}{}
\newcommand*{\UL@nameother}{}
\newcommand*{\UL@degreeother}{}
\newcommand*{\UL@facUL}{}
@@ -207,6 +205,8 @@
\newcommand*{\auteur}[1]{\renewcommand*{\UL@author}{#1}}
\newcommand*{\annee}[1]{\renewcommand*{\UL@year}{#1}}
\newcommand*{\programme}[1]{\renewcommand*{\UL@program}{#1}}
+\newcommand*{\direction}[1]{\renewcommand*{\UL@director}{#1}}
+\newcommand*{\codirection}[1]{\renewcommand*{\UL@codirector}{#1}}
\newcommand*{\univcotutelle}[1]{\renewcommand*{\UL@nameother}{#1}}
\newcommand*{\gradecotutelle}[1]{\renewcommand*{\UL@degreeother}{#1}}
\newcommand*{\univbidiplomation}[1]{\renewcommand*{\UL@nameother}{#1}}
@@ -293,9 +293,9 @@
\setlength{\UL@docidspacing}{82pt}
\newlength{\UL@authorspacing}
\setlength{\UL@authorspacing}{72pt}
-\newcommand{\pagetitre}{{%
+\newcommand{\pagestitre}{{%
\clearpage
- \thispagestyle{empty}
+ \pagestyle{empty}
\SingleSpacing\setlength{\parskip}{0pt}
\centering
\UL@fontbase
@@ -312,8 +312,8 @@
\includegraphics[height=15mm,keepaspectratio=true]{ul_p}\par
\fi
\vspace{82pt}
- \box\UL@titlebox
- \box\UL@subtitlebox
+ \copy\UL@titlebox
+ \copy\UL@subtitlebox
\vspace{\UL@docidspacing}
\UL@docid
\vspace{\UL@authorspacing}
@@ -321,7 +321,28 @@
\UL@details
\vfill
{\textcopyright} \UL@author, \UL@year\par
- \cleardoublepage}}
+ \clearpage
+ \ifnum\UL@typenum>1\relax
+ \vspace*{0pt}\par
+ \else
+ \rule{0mm}{15mm}\par % strut
+ \fi
+ \vspace{82pt}
+ \box\UL@titlebox
+ \box\UL@subtitlebox
+ \vspace{\UL@docidspacing}
+ \UL@docid
+ \vspace{\UL@authorspacing}
+ {\UL@fontauthor\UL@author}\par
+ \vspace{72pt}
+ Sous la direction de:\par
+ \vspace{\baselineskip}
+ \UL@director\par
+ \UL@codirector
+ \clearpage}}
+\newcommand{\pagetitre}{
+ \ClassWarning{ulthese}{Command \protect\pagetitre\space is obsolete.\MessageBreak
+ Using \protect\pagestitre\space instead}\pagestitre}
\ifthenelse{\boolean{UL@babel}}{%
\addto\captionsfrench{\renewcommand{\listfigurename}{Liste des figures}}}{}
\newcommand{\dedicace}[1]{{%