summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls')
-rw-r--r--Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls70
1 files changed, 34 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls
index 15dd03051f2..1ed45717751 100644
--- a/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls
+++ b/Master/texmf-dist/tex/latex/droit-fr/droit-fr.cls
@@ -1,5 +1,19 @@
+%% Copyright 2010-2015 Yves de Saint-Pern
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% 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
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Yves de Saint-Pern.
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{droit-fr}[2014/01/30 v0.4 classe pour droit francais]
+\ProvidesClass{droit-fr}[2015/10/02 v1.1 classe pour droit francais]
\LoadClassWithOptions{memoir} % classe de référence: memoir
%%% OPTIONS %%%
@@ -27,8 +41,8 @@
\RequirePackage{footmisc} % gestion des notes de bas de page
\RequirePackage{engrec} % compteur à symbole grecs
\RequirePackage{filecontents} % génération des fichers de style makeindex
-\usepackage{babel} % support des langues
-\usepackage[babel]{csquotes} % support des guillemets babel
+\RequirePackage{babel} % support des langues
+\RequirePackage[babel]{csquotes} % support des guillemets babel
%%% PAGE DE TITRE %%%
@@ -81,14 +95,15 @@
\thispagestyle{empty}
\begin{center}
-{\LARGE Universit\'e \theuniversity \\[1\onelineskip]}
-{\large \'Ecole doctorale de \theschool \\[2\onelineskip]}
+%\includegraphics[height=3cm]{logo} \\[1\onelineskip]
+{\Large Université \theuniversity \\[1\onelineskip]}
+{École doctorale de \theschool \\[3\onelineskip]}
-{Th\`ese de doctorat en \thespeciality \\
-soutenue le \theapprovaldate \\[2\onelineskip]}
+{\LARGE\bfseries\scshape \thetitle\\[3\onelineskip]}
-{\LARGE\bfseries \thetitle \\[2\onelineskip]}
-{\Large \theauthor \\[2\onelineskip]}
+{Thèse pour le Doctorat en \thespeciality\ (Arrêté du 7 août 2006)\\
+présentée et soutenue publiquement le \theapprovaldate\ par\\}
+{\theauthor \\[2\onelineskip]}
\vfill
@@ -153,9 +168,6 @@ Membres du jury: & \themembera \\
\fi
#1}}
-\pagestyle{corpus}
-
-
%%% SECTIONS %%%
% [-2] parties ("Première partie")
@@ -304,7 +316,7 @@ Membres du jury: & \themembera \\
\else%
\versetcontent{{\versetsepstyle\versetsepifempty}}%
\fi%
- \addtocounter{indexv}{1}%
+ \refstepcounter{indexv}%
}
% numérotation visible
@@ -325,12 +337,6 @@ Membres du jury: & \themembera \\
}
-%%% GLOSSAIRE
-
-\renewcommand{\memgloterm}[1]{\textbf{#1}}
-\renewcommand{\memglodesc}[1]{\hspace{1ex}#1}
-\renewcommand{\memglonum}[1]{}
-
%%% INDEX %%%
\renewcommand*{\seename}{\textit{voir}}
@@ -339,7 +345,7 @@ Membres du jury: & \themembera \\
\ifdraft{\showindexmarks}{}
% index de base par versets
-\newcommand{\indexvfilename}{\jobname}
+\newcommand{\indexvfilename}{index}
\newcommand{\makeindexv}{\makeindex[\indexvfilename]}
\newcommand{\indexv}[1]{\specialindex{\indexvfilename}{indexv}{#1}}
\newcommand{\printindexv}{\printindex[\indexvfilename]}
@@ -353,11 +359,6 @@ Membres du jury: & \themembera \\
% entête de l'index
\newcommand{\idxmark}[1]{#1\markboth{#1}{#1}}
-% raccourcis de style pour entrées indexées
-\newcommand{\hyperbf}[1]{\textbf{\hyperpage{#1}}}
-\newcommand{\hyperit}[1]{\textit{\hyperpage{#1}}}
-
-
%%% SOMMAIRE & TABLE DES MATIERES %%%
% paramètres communs
@@ -493,7 +494,7 @@ Membres du jury: & \themembera \\
}%
% génération du fichier de style .ist
-\begin{filecontents}{\jobname.ist}
+\begin{filecontents}{\indexvfilename.ist}
% output main entry <entry> as: \item \idxmark{<entry>},
item_0 "\n\\item \\idxmark{"
delim_0 "}, "
@@ -505,19 +506,16 @@ heading_suffix "\\hfil}\\nopagebreak\n"
headings_flag 1
\end{filecontents}
-% génération du fichier de style .gst
-\begin{filecontents}{\jobname.gst}
-% Output style parameters
-preamble "\\begin{theglossary}"
-postamble "\n\\end{theglossary}\n"
-item_0 "\n\\glossitem"
-delim_0 "{\\memglonum{"
-encap_suffix "}}}"
+\begin{filecontents}{\indexafilename.ist}
+% output main entry <entry> as: \item \idxmark{<entry>},
+item_0 "\n\\item \\idxmark{"
+delim_0 "}, "
+% not forgetting the subitem case% added 2008
+item_x1 "} \n \\subitem "
+% Wrap and uppercase head letters
heading_prefix "{\\bfseries\\hfil "
heading_suffix "\\hfil}\\nopagebreak\n"
headings_flag 1
-% Input style parameters
-keyword "\\glossaryentry"
\end{filecontents}
\endinput