diff options
author | Karl Berry <karl@freefriends.org> | 2024-07-03 19:30:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-07-03 19:30:24 +0000 |
commit | f9a6336044ca51f7c367cbe265d8aaad9b5a6c93 (patch) | |
tree | ccce8a1ac0ddf39cdea6bdb6e851d92da9d6c860 /Master/texmf-dist/tex/latex/ulthese | |
parent | 664b19350c44955df9b9757fdcc9aafc10c96120 (diff) |
ulthese (3jul24)
git-svn-id: svn://tug.org/texlive/trunk@71697 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ulthese')
-rw-r--r-- | Master/texmf-dist/tex/latex/ulthese/ulthese.cls | 75 |
1 files changed, 28 insertions, 47 deletions
diff --git a/Master/texmf-dist/tex/latex/ulthese/ulthese.cls b/Master/texmf-dist/tex/latex/ulthese/ulthese.cls index 703a54d6c3a..eb32a214ace 100644 --- a/Master/texmf-dist/tex/latex/ulthese/ulthese.cls +++ b/Master/texmf-dist/tex/latex/ulthese/ulthese.cls @@ -8,46 +8,41 @@ %% %% This is a generated file. %% -%% Copyright (C) 2017 Universite Laval +%% Copyright (C) 2012-2024 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 %% license or (at your option) any later version. The latest version %% of this license is in: %% -%% http://www.latex-project.org/lppl.txt +%% https://www.latex-project.org/lppl.txt %% %% and version 1.3c or later is part of all distributions of LaTeX %% version 2006/05/20 or later. %% %% This work has the LPPL maintenance status `maintained'. %% -%% The Current Maintainer of this work is Universite Laval -%% <ulthese-dev@bibl.ulaval.ca>. +%% The Current Maintainer of this work is Vincent Goulet for +%% Universite Laval <ulthese-dev@bibl.ulaval.ca>. %% -%% This work consists of the files ulthese.dtx and ulthese.ins and the -%% derived files listed in the README.md file. +%% This work consists of the files ulthese.dtx, ulthese.ins, and the +%% derived files listed in the file README.md. %% -\NeedsTeXFormat{LaTeX2e}[2009/09/24] +\NeedsTeXFormat{LaTeX2e}[2021/06/01] \ProvidesClass{ulthese}% - [2021/08/09 v5.3a Universite Laval thesis and memoir class] -\RequirePackage{ifxetex} + [2024/07/02 v6.0 Thesis class for Universite Laval] \newif\ifUL@babel \UL@babeltrue % charger babel? \newif\ifUL@natbib \UL@natbibtrue % charger natbib? \newif\ifUL@hyperref \UL@hyperreftrue % charger hyperref? -\newif\ifUL@chapterbib \UL@chapterbibfalse % charger chapterbib? -\newif\ifUL@sectionbib \UL@sectionbibfalse % option sectionbib de chapterbib? -\newif\ifUL@isthesis % programme est une thèse? -\newif\ifUL@iscotutelle \UL@iscotutellefalse % thèse en cotutelle? +\newif\ifUL@isthesis % programme est une these? +\newif\ifUL@iscotutelle \UL@iscotutellefalse % these en cotutelle? \newif\ifUL@isexam \UL@isexamfalse % examen de doctorat? -\newif\ifUL@isessay \UL@isessayfalse % essai de maîtrise? +\newif\ifUL@isessay \UL@isessayfalse % essai de maitrise? \newif\ifUL@isresearch \UL@isresearchfalse % projet de recherche? \newif\ifUL@isworkterm \UL@isworktermfalse % rapport de stage? \newif\ifUL@hassubtitle \UL@hassubtitlefalse % document a un sous-titre? -\newif\ifUL@hastitlepage \UL@hastitlepagefalse % page titre utilisée? +\newif\ifUL@hastitlepage \UL@hastitlepagefalse % page titre utilisee? \DeclareOption{nonatbib}{\UL@natbibfalse} -\DeclareOption{bibchapitre}{\UL@chapterbibtrue} -\DeclareOption{bibsection}{\UL@chapterbibtrue\UL@sectionbibtrue} \DeclareOption{nobabel}{\UL@babelfalse} \DeclareOption{nohyperref}{\UL@hyperreffalse} \newcommand*{\UL@ptsize}{} @@ -90,10 +85,6 @@ \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} \newcommand*{\UL@degree}{Ma\^itre en architecture (M.~Arch.)}} -\DeclareOption{MA}{% - \UL@isthesisfalse - \renewcommand*{\UL@typenum}{0} - \newcommand*{\UL@degree}{Ma\^itre \`es arts (M.A.)}} \DeclareOption{LLM}{% \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} @@ -106,14 +97,10 @@ \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} \newcommand*{\UL@degree}{Ma\^itre en musique (M.~Mus.)}} -\DeclareOption{MPht}{% - \UL@isthesisfalse - \renewcommand*{\UL@typenum}{0} - \newcommand*{\UL@degree}{Ma\^itre en physioth\'erapie (M.~Pht.)}} -\DeclareOption{MSc}{% +\DeclareOption{MPsEd}{% \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} - \newcommand*{\UL@degree}{Ma\^itre \`es sciences (M.~Sc.)}} + \newcommand*{\UL@degree}{Ma\^itre en psycho\'education (M.~Ps.~\'ed.)}} \DeclareOption{MScGeogr}{% \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} @@ -122,10 +109,18 @@ \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} \newcommand*{\UL@degree}{Ma\^itre en service social (M.~Serv.~soc.)}} -\DeclareOption{MPsEd}{% +\DeclareOption{MTravSoc}{% \UL@isthesisfalse \renewcommand*{\UL@typenum}{0} - \newcommand*{\UL@degree}{Ma\^itre en psycho\'education (M.~Ps.~\'ed.)}} + \newcommand*{\UL@degree}{Ma\^itre en travail social (M.~Trav.~soc.)}} +\DeclareOption{MA}{% + \UL@isthesisfalse + \renewcommand*{\UL@typenum}{0} + \newcommand*{\UL@degree}{Ma\^itre \`es arts (M.A.)}} +\DeclareOption{MSc}{% + \UL@isthesisfalse + \renewcommand*{\UL@typenum}{0} + \newcommand*{\UL@degree}{Ma\^itre \`es sciences (M.~Sc.)}} \DeclareOption{multifacultaire}{% \ifUL@isthesis \renewcommand*{\UL@typenum}{1} @@ -221,32 +216,22 @@ \fi \fi \LoadClass[oneside]{memoir} -\ifxetex +\iftutex + \RequirePackage[babel=true]{microtype} \RequirePackage{fontspec} - \defaultfontfeatures{Ligatures=TeX} \else + \RequirePackage[babel=true]{microtype} + \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \fi \ifUL@natbib - \ifUL@sectionbib - \PassOptionsToPackage{sectionbib}{natbib} - \fi \RequirePackage[round,semicolon,authoryear]{natbib} \fi -\ifUL@chapterbib - \ifUL@sectionbib - \ifUL@natbib\else - \PassOptionsToPackage{sectionbib}{chapterbib} - \fi - \fi - \RequirePackage{chapterbib} -\fi \ifUL@babel \RequirePackage{babel} \RequirePackage[autolanguage]{numprint} \fi \ifUL@hyperref - \RequirePackage{etoolbox} \AtEndPreamble{\RequirePackage{hyperref}} \else \AtBeginDocument{% @@ -258,7 +243,6 @@ \PassOptionsToPackage{colorlinks,allcolors=ULlinkcolor}{hyperref} \RequirePackage{graphicx} \RequirePackage{xcolor} -\RequirePackage{textcomp} \AtBeginDocument{% \@ifpackageloaded{geometry}{% \ClassError{ulthese}{% @@ -522,6 +506,3 @@ \parsep 6\p@ \@plus\p@}% \item[]}{\endlist} \setsecnumdepth{subsection} -\endinput -%% -%% End of file `ulthese.cls'. |