From 81a9d839224eef4c2bd9bf68410b4049c61cdb14 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 25 Feb 2023 03:01:09 +0000 Subject: CTAN sync 202302250301 --- macros/latex/contrib/frenchmath/README.md | 2 +- macros/latex/contrib/frenchmath/frenchmath.dtx | 200 ++--- macros/latex/contrib/frenchmath/frenchmath.ins | 4 +- macros/latex/contrib/frenchmath/frenchmath.pdf | Bin 261467 -> 266258 bytes macros/latex/contrib/mismath/README.md | 1 + macros/latex/contrib/mismath/mismath.dtx | 291 ++++---- macros/latex/contrib/mismath/mismath.pdf | Bin 266957 -> 269571 bytes macros/latex/contrib/yathesis/README.md | 2 +- macros/latex/contrib/yathesis/doc/yathesis-fr.pdf | Bin 6474276 -> 6462456 bytes .../yathesis/exemples/specimen/bibliographie.bib | 54 -- .../contrib/yathesis/exemples/specimen/latexmkrc | 23 - .../contrib/yathesis/exemples/specimen/these.pdf | Bin 1261318 -> 1256548 bytes .../contrib/yathesis/exemples/specimen/these.tex | 820 --------------------- macros/latex/contrib/yathesis/source/yathesis.dtx | 40 +- 14 files changed, 299 insertions(+), 1138 deletions(-) delete mode 100644 macros/latex/contrib/yathesis/exemples/specimen/bibliographie.bib delete mode 100644 macros/latex/contrib/yathesis/exemples/specimen/latexmkrc delete mode 100644 macros/latex/contrib/yathesis/exemples/specimen/these.tex (limited to 'macros') diff --git a/macros/latex/contrib/frenchmath/README.md b/macros/latex/contrib/frenchmath/README.md index 47fa0fa721..0d0c9bcaa4 100644 --- a/macros/latex/contrib/frenchmath/README.md +++ b/macros/latex/contrib/frenchmath/README.md @@ -7,7 +7,7 @@ The package provides: - roman uppercase letters in mathematical mode according to French rule (can be optionnally disabled), - optionally lowercase Greek letters in upright shape, - correct spacing in math mode after commas, before a semicolon and around square brackets, -- some useful macros and aliases for symbols used in France : `\infeg`, `\supeg`, `\paral`,... +- some useful macros and aliases for symbols used in France: `\infeg`, `\supeg`, `\paral`,... - several macros for writing french operator names like pgcd, ppcm, Card, rg, Vect,... diff --git a/macros/latex/contrib/frenchmath/frenchmath.dtx b/macros/latex/contrib/frenchmath/frenchmath.dtx index 63c577e173..e2037917fb 100644 --- a/macros/latex/contrib/frenchmath/frenchmath.dtx +++ b/macros/latex/contrib/frenchmath/frenchmath.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2019-2022 by Antoine Missier +% Copyright (C) 2019-2023 by Antoine Missier % % This file may be distributed and/or modified under the conditions of % the LaTeX Project Public License, either version 1.3 of this license @@ -20,7 +20,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{frenchmath} - [2023/01/22 v2.4 .dtx frenchmath file] + [2023/02/24 v2.5 .dtx frenchmath file] % %<*driver> \documentclass{ltxdoc} @@ -34,8 +34,13 @@ \usepackage{metalogo} % pour les logos XeLaTeX et LuaLaTeX \usepackage{sectsty} \usepackage{xcolor} + \definecolor{darkbrown}{rgb}{0.5,0.1,0.1} \allsectionsfont{\color{darkbrown}} +\DeclareSymbolFont{ugrfm}{U}{psy}{m}{n} % pour les lettres de upgreek avec l'option Symbol +\DeclareMathSymbol{\upalphasym}{\mathord}{ugrfm}{`a} +\DeclareMathSymbol{\upbetasym}{\mathord}{ugrfm}{`b} +\DeclareMathSymbol{\uppisym}{\mathord}{ugrfm}{`p} \DeclareSymbolFont{cmsymbols}{OMS}{cmsy}{m}{n} % symbole \emptyset de computer modern \DeclareMathSymbol{\cmemptyset}{\mathord}{cmsymbols}{'73} % code octal dans cmsy \DeclareTextSymbol{\textmicro}{TS1}{181} % mu de micro @@ -60,7 +65,7 @@ % % \fi % -% \CheckSum{552} +% \CheckSum{537} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -142,12 +147,18 @@ % - Option noibrackets car incompatibilité avec DeclarePairedDelimiter, % - warning si compilation avec LuaLaTeX et babel-french non chargé.} % +% \changes{v2.5}{24/02/2023}{ +% - Mention des macros MathUp et MathIt de mismath dans la doc, +% - remplacement des ifthenelse par des if... fi, +% - simplification du code pour la mise en majuscule, +% - chargement conditionnel de dotlessj pour mathptmx} +% % \GetFileInfo{frenchmath.sty} % % \title{L'extension \textsf{frenchmath}\thanks{Ce document -% correspond à \textsf{frenchmath}~\fileversion, dernière modification le 22/01/2023.}} +% correspond à \textsf{frenchmath}~\fileversion, dernière modification le 24/02/2023.}} % \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}} -% \date{22 janvier 2023} +% \date{24 février 2023} % \maketitle % % \section{Introduction} @@ -200,15 +211,16 @@ % \section{Utilisation} % % \subsection{Majuscules mathématiques} -% En France, les lettres majuscules du mode mathématique doivent toujours -% être composées en romain ($A, B, C, \ldots$) et non en italique -% (\cite{RTIN} p.107, voir aussi~\cite{IGEN}). +% Dans les mathématiques françaises, pour l'alphabet latin, +% \og les lettres majuscules sont toujours +% composées en romain \fg ($A, B, C, \ldots$) et non en italique +% (cf. \cite{RTIN} p.107, voir aussi~\cite{IGEN}). % En utilisant \XeLaTeX\ ou \LuaLaTeX\ avec des polices mathématiques OpenType, % cette convention est assez commode à mettre en œuvre ; -% par contre, avec \LaTeX\ ou pdf\LaTeX, assez peu d'auteurs la respectent +% par contre, avec \LaTeX\ ou pdf\LaTeX, est peu respectée % et les extensions précitées ne fonctionnent qu'avec des polices particulières. -% Par défaut \textsf{frenchmath} compose automatiquement toutes les majuscules -% mathématiques en romain, +% Par défaut \textsf{frenchmath} compose automatiquement les majuscules +% mathématiques latines en romain, % quelle que soit la fonte utilisée. % Par exemple |\[ P(X)=\sum_{i=0}^{n} a_i X^i \]| donne avec \textsf{frenchmath} % \[ P(X)=\sum_{i=0}^{n}a_i X^i. \] @@ -217,9 +229,17 @@ % L'option \texttt{capsit} de \textsf{frenchmath} % permet de désactiver la composition des majuscules du mode mathématique % en romain pour conserver la composition par défaut (en italique) : -% |\usepackage[capsit]{frenchmath}| -% Que l'option soit activée ou pas, il est toujours possible de changer l'aspect -% d'une lettre particulière, avec les macros \LaTeX\ |\mathrm| et |\mathit|. +% |\usepackage[capsit]{frenchmath}|. +% +% \medskip +% Que l'option soit activée ou pas, il est toujours possible de changer ponctuellement +% l'aspect d'une lettre particulière, avec les macros \LaTeX\ |\mathrm| et |\mathit|. +% Sinon l'extension \textsf{mismath}~\cite{MIS} fournit deux bascules puissantes +% |\MathUp| et |\MathIt| qui agissent de manière générale (ou locale dans un environnement) +% et permettent à tout moment +% de changer la \og famille \fg d'une lettre particulière, +% ainsi qu'une commande générique |\apply| pour appliquer ces macros sur une liste. +% Ainsi |\apply\MathIt{F,G,X}| remettra en italique les lettres $\mathit{F,G,X}$. % % \subsection{Lettres grecques} % La norme concernant l'usage des lettres grecques en italique ou en forme droite @@ -296,10 +316,11 @@ % basée sur l'extension \textsf{upgreek} de Walter Schmidt~\cite{UPGREEK} qui donne % accès aux lettres grecques minuscules en forme droite : % |\upalpha|, |\upbeta|, etc. -% L'extension \textsf{upgreek} sera chargée avec l'option par défaut, \texttt{Euler}. +% L'extension \textsf{upgreek} sera chargée avec l'option par défaut \texttt{Euler}. % Si l'on veut, par contre, utiliser l'extension \textsf{upgreek} -% avec l'une de deux autres options disponibles, \texttt{Symbol} -% ou \texttt{Symbolsmallscale} (utilisant la police Adobe Symbol), +% avec l'une de deux autres options disponibles, \texttt{Symbol} +% (utilisant la police Adobe Symbol et qui donne des lettres grecques assez grasses : +% $\upalphasym$, $\upbetasym$, \ldots, $\uppisym$) ou \texttt{Symbolsmallscale}, % il faut charger l'extension \textsf{upgreek} avec l'option souhaitée % \emph{avant} \textsf{frenchmath} % \footnote{L'option \texttt{Symbol} de \textsf{upgreek} se marie mieux @@ -423,10 +444,12 @@ % Le code % |$x\in ]-\pi, 0[ \cup ]2\pi, 3\pi[$| % produira -% \[ x\in ]-\pi, 0[ \cup ]2\pi, 3\pi[ \mbox{\quad avec \textsf{ibrackets}}, \] -% au lieu de -% \[ x\in \mathclose{]}-\pi, 0 \mathopen{[} \cup \mathclose{]} 2\pi, 3\pi \mathopen{[} -% \mbox{\quad sans \textsf{ibrackets}}. \] +% \begin{eqnarray*} +% & x\in ]-\pi, 0[ \cup ]2\pi, 3\pi[ \mbox{\quad avec \textsf{ibrackets}},\\ +% \mbox{au lieu de} & x\in \mathclose{]}-\pi, 0 \mathopen{[} +% \cup \mathclose{]} 2\pi, 3\pi \mathopen{[} +% \mbox{\quad sans \textsf{ibrackets}}. +% \end{eqnarray*} % % Avec \textsf{ibrackets}, un crochet devient un caractère ordinaire, % sauf s'il est immédiatement suivi par un signe + ou - (sans espace), auquel cas @@ -484,7 +507,7 @@ % du parallélisme : $\curs{D}\paral\curs{D}'$, % plutôt que sa version anglaise |\parallel| : $\curs{D}\parallel\curs{D}'$.* % -% \medskip +% \pagebreak % \DescribeMacro{\ssi} % La commande |\ssi| produit \og \ssi \fg. % @@ -568,28 +591,26 @@ % et |\ijk| composent les bases du plan et de l'espace, \ij % et \ijk, en homogénéisant la hauteur des flèches. % -% Signalons que les macros de ce paragraphe peuvent ne pas fonctionner -% avec certaines fontes mathématiques qui ne connaissent pas \texttt{\string\jmath}, -% par exemple l'extension \textsf{mathptmx} (basée sur la fonte de texte Times). +% Signalons que, pour l'extension \textsf{mathptmx} (basée sur la police de texte Times), +% |\jmath| n'est pas disponible, mais \textsf{frenchmath} contourne ce problème +% en chargeant alors \textsf{dotlessj}~\cite{DLJ} de David Carlisle, +% ce qui permet aux macros ci-dessus de fonctionner normalement. % % \StopEventually{} % -% \pagebreak % \section{Le code} % % \begin{macrocode} -\RequirePackage{ifthen} -\newboolean{capsit} -\DeclareOption{capsit}{\setboolean{capsit}{true}} -\newboolean{lgrmath} -\DeclareOption{lgrmath}{\setboolean{lgrmath}{true}} -\newboolean{upgreek} -\DeclareOption{upgreek}{\setboolean{upgreek}{true}} -\newboolean{Upgreek} -\DeclareOption{Upgreek}{\setboolean{Upgreek}{true} - \setboolean{upgreek}{true}} -\newboolean{noibrackets} -\DeclareOption{noibrackets}{\setboolean{noibrackets}{true}} +\newif\ifcapsit +\DeclareOption{capsit}{\capsittrue} +\newif\iflgrmath +\DeclareOption{lgrmath}{\lgrmathtrue} +\newif\ifupgreek +\DeclareOption{upgreek}{\upgreektrue} +\newif\ifUpgreek +\DeclareOption{Upgreek}{\Upgreektrue\upgreektrue} +\newif\ifnoibrackets +\DeclareOption{noibrackets}{\noibracketstrue} \ProcessOptions \relax \AtBeginDocument{ @@ -603,17 +624,17 @@ } } \RequirePackage{amsopn} % fournit \DeclareMathOperator -\ifthenelse{\boolean{lgrmath}}{ +\@ifpackageloaded{mathptmx}{\RequirePackage{dotlessj}} +\iflgrmath \@ifpackageloaded{lgrmath}{}{ \RequirePackage[font=fcm,style=french]{lgrmath}} -}{} -\ifthenelse{\boolean{upgreek}}{ +\fi +\ifupgreek \@ifpackageloaded{upgreek}{}{\RequirePackage[Euler]{upgreek}} -}{} +\fi \RequirePackage{xspace} % utile pour les commandes \curs, \ssi, \Oij -\ifthenelse{\boolean{noibrackets}}{}{ - \RequirePackage{ibrackets}} % intelligent brackets -% \RequirePackage{icomma} % intelligent comma +\ifnoibrackets\else \RequirePackage{ibrackets} \fi % intelligent brackets + \RequirePackage{ncccomma} % depuis frenchmath 1.6 \@ifpackagewith{babel}{french}{}{ \RequirePackage{iftex} @@ -634,46 +655,46 @@ % L'extension \textsf{ncccomma} doit être chargée après \textsf{babel-french} % si on utilise \LuaLaTeX, sinon une erreur de compilation se produit. % -% Je dois également à Jean-François Burnol une amélioration -% du code ci-après, redéfinissant les majuscules mathématiques. -% % Sauf si l'option \texttt{capsit} est activée, on redéfinit toutes les lettres majuscules % du mode mathématique ; |\AtBeginDocument| est nécessaire pour que % ces définitions soient prises en compte avec la classe \textsf{beamer} % par exemple. % \smallskip % \begin{macrocode} - -\ifthenelse{\boolean{capsit}}{}{ +\newcommand*\@mathup[1]{ + \DeclareMathSymbol{#1}{\mathalpha}{operators}{`#1} +} +\ifcapsit\else \AtBeginDocument{ - \DeclareMathSymbol{A}\mathalpha{operators}{`A} - \DeclareMathSymbol{B}\mathalpha{operators}{`B} - \DeclareMathSymbol{C}\mathalpha{operators}{`C} - \DeclareMathSymbol{D}\mathalpha{operators}{`D} - \DeclareMathSymbol{E}\mathalpha{operators}{`E} - \DeclareMathSymbol{F}\mathalpha{operators}{`F} - \DeclareMathSymbol{G}\mathalpha{operators}{`G} - \DeclareMathSymbol{H}\mathalpha{operators}{`H} - \DeclareMathSymbol{I}\mathalpha{operators}{`I} - \DeclareMathSymbol{J}\mathalpha{operators}{`J} - \DeclareMathSymbol{K}\mathalpha{operators}{`K} - \DeclareMathSymbol{L}\mathalpha{operators}{`L} - \DeclareMathSymbol{M}\mathalpha{operators}{`M} - \DeclareMathSymbol{N}\mathalpha{operators}{`N} - \DeclareMathSymbol{O}\mathalpha{operators}{`O} - \DeclareMathSymbol{P}\mathalpha{operators}{`P} - \DeclareMathSymbol{Q}\mathalpha{operators}{`Q} - \DeclareMathSymbol{R}\mathalpha{operators}{`R} - \DeclareMathSymbol{S}\mathalpha{operators}{`S} - \DeclareMathSymbol{T}\mathalpha{operators}{`T} - \DeclareMathSymbol{U}\mathalpha{operators}{`U} - \DeclareMathSymbol{V}\mathalpha{operators}{`V} - \DeclareMathSymbol{W}\mathalpha{operators}{`W} - \DeclareMathSymbol{X}\mathalpha{operators}{`X} - \DeclareMathSymbol{Y}\mathalpha{operators}{`Y} - \DeclareMathSymbol{Z}\mathalpha{operators}{`Z} + \@mathup{A} + \@mathup{B} + \@mathup{C} + \@mathup{D} + \@mathup{E} + \@mathup{F} + \@mathup{G} + \@mathup{H} + \@mathup{I} + \@mathup{J} + \@mathup{K} + \@mathup{L} + \@mathup{M} + \@mathup{N} + \@mathup{O} + \@mathup{P} + \@mathup{Q} + \@mathup{R} + \@mathup{S} + \@mathup{T} + \@mathup{U} + \@mathup{V} + \@mathup{W} + \@mathup{X} + \@mathup{Y} + \@mathup{Z} } -} +\fi + % \end{macrocode} % Avec l'option \texttt{upgreek}, on charge l'extension \textsf{upgreek} % (sauf si elle est déjà chargée, ce qui évite les incompatibilités d'option) @@ -681,8 +702,7 @@ % \texttt{Upgreek} transforme en outre les majuscules grecques pour garder % le même style. % \begin{macrocode} - -\ifthenelse{\boolean{upgreek}}{ +\ifupgreek \@ifundefined{italpha}{\let\italpha\alpha}{ \PackageWarningNoLine{frenchmath}{Command \string\italpha\space already exist \MessageBreak @@ -721,9 +741,9 @@ \@ifundefined{itvarpi}{\let\itvarpi\varpi}{} \@ifundefined{itvarsigma}{\let\itvarsigma\varsigma}{} \@ifundefined{itvarphi}{\let\itvarphi\varphi}{} -}{} +\fi -\ifthenelse{\boolean{upgreek}}{ +\ifupgreek \renewcommand\alpha{\upalpha} \renewcommand\beta{\upbeta} \renewcommand\gamma{\upgamma} @@ -753,9 +773,9 @@ \renewcommand\varrho{\upvarrho} \renewcommand\varsigma{\upvarsigma} \renewcommand\varphi{\upvarphi} -}{} +\fi -\ifthenelse{\boolean{Upgreek}}{ +\ifUpgreek \renewcommand\Gamma{\Upgamma} \renewcommand\Delta{\Updelta} \renewcommand\Theta{\Uptheta} @@ -767,7 +787,7 @@ \renewcommand\Phi{\Upphi} \renewcommand\Psi{\Uppsi} \renewcommand\Omega{\Upomega} -}{} +\fi \AtBeginDocument{\@ifpackageloaded{pstricks-add}{\psset{comma=true}}{}} \DeclareMathSymbol{;}{\mathbin}{operators}{'73} % \mathpunct à l'origine @@ -839,13 +859,14 @@ % \end{macrocode} % % \medskip -% \begin{thebibliography}{25} +% \begin{thebibliography}{26} % \begin{raggedright} % \bibitem{RTIN} \emph{Lexique des règles typographiques en usage à l’Imprimerie Nationale}, % édition du 26/08/2002. % \bibitem{IGEN} \emph{Composition des textes scientifiques}, % Inspection Générale de mathématiques (IGEN-DESCO), 06/12/2001. -% \url{http://mslp.ac-dijon.fr/IMG/pdf/typo_txt_sci.pdf} +% \url{http://mslp.ac-dijon.fr/IMG/pdf/typo_txt_sci.pdf}\\ +% \url{https://euler.ac-versailles.fr/IMG/pdf/typo2.pdf} % \bibitem{AA} \emph{Règles françaises de typographie mathématique}, % Alexandre André, 02/09/2015. % \url{http://sgalex.free.fr/typo-maths_fr.pdf} @@ -867,6 +888,8 @@ % \url{http://tug.ctan.org/info/lshort/english/lshort.pdf} % \bibitem{MAFR} \emph{La distribution \textsf{mafr}}, Christian Obrecht, % CTAN, v1.0 17/09/2006. +% \bibitem{MIS} \emph{\textsf{mismath} -- Miscellaneus mathematical macros}, +% Antoine Missier, CTAN, v2.5 24/02/2023. % \bibitem{FRM} \emph{L'extension \textsf{tdsfrmath}}, Yvon Henel, % CTAN, v1.3 22/06/2009. % \bibitem{FOUR} \textsf{Fourier-GUT\hspace{-0.1em}\emph{enberg}}, @@ -895,9 +918,8 @@ % 2011, No.\@1. % \url{https://tug.org/pracjourn/2011-1/beccari/Intcomma.pdf} % \bibitem{BRACKETS} \emph{Intelligent brackets -- The \textsf{ibrackets} package}, -% Antoine Missier, v1.0 19/12/2022. -% \bibitem{MIS} \emph{\textsf{mismath} -- Miscellaneus mathematical macros}, -% Antoine Missier, CTAN, v2.1 26/12/2022. +% Antoine Missier, v1.1 26/12/2022. +% \bibitem{DLJ} \emph{\textsf{dotlessj}}, David Carlisle, CTAN, v0.03 09/12/1998. % \end{raggedright} % \end{thebibliography} diff --git a/macros/latex/contrib/frenchmath/frenchmath.ins b/macros/latex/contrib/frenchmath/frenchmath.ins index 65dbcdfa9c..8e0901845e 100644 --- a/macros/latex/contrib/frenchmath/frenchmath.ins +++ b/macros/latex/contrib/frenchmath/frenchmath.ins @@ -1,5 +1,5 @@ %% -%% Copyright (C) 2019-2022 by Antoine Missier +%% Copyright (C) 2019-2023 by Antoine Missier %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3 of this license @@ -21,7 +21,7 @@ This is a generated file. -Copyright (C) 2019-2022 by Antoine Missier +Copyright (C) 2019-2023 by Antoine Missier This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license diff --git a/macros/latex/contrib/frenchmath/frenchmath.pdf b/macros/latex/contrib/frenchmath/frenchmath.pdf index 0b65c68576..27acd9e84d 100644 Binary files a/macros/latex/contrib/frenchmath/frenchmath.pdf and b/macros/latex/contrib/frenchmath/frenchmath.pdf differ diff --git a/macros/latex/contrib/mismath/README.md b/macros/latex/contrib/mismath/README.md index 658433f1ba..449b929c51 100644 --- a/macros/latex/contrib/mismath/README.md +++ b/macros/latex/contrib/mismath/README.md @@ -6,6 +6,7 @@ The package provides some mathematical macros to typeset: - mathematical constants e, i, pi in upright shape (automatically) as recommended by ISO 80000-2, - vectors with beautiful arrow and adjusted norm, +- tensors, - some standard operator names, - improved spacings in mathematical formulas, - systems of equations and small matrices, diff --git a/macros/latex/contrib/mismath/mismath.dtx b/macros/latex/contrib/mismath/mismath.dtx index f056c12d29..6676472f1b 100644 --- a/macros/latex/contrib/mismath/mismath.dtx +++ b/macros/latex/contrib/mismath/mismath.dtx @@ -20,7 +20,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{mismath} - [2023/02/19 v2.4 .dtx mismath file] + [2023/02/24 v2.5 .dtx mismath file] % %<*driver> \documentclass{ltxdoc} @@ -32,7 +32,7 @@ \usepackage[ibrackets]{mismath} %\usepackage{amssymb} incompatible with mathdesign \usepackage{multicol} -\usepackage[Euler]{upgreek} +\usepackage[Symbol]{upgreek} \usepackage{sectsty} \usepackage{xcolor} \usepackage{spacingtricks} @@ -43,7 +43,7 @@ \definecolor{darkbrown}{rgb}{0.5,0.1,0.1} \allsectionsfont{\color{darkbrown}} \MathUp{i} \pinumber[piup] -% enumber=false because I need italicized e in vectors section +% I need italicized e in vectors section % For using in this doc only: \usepackage[LGR,T1]{fontenc} \DeclareSymbolFont{UpGr}{LGR}{lmr}{m}{n} @@ -71,7 +71,7 @@ % % \fi % -% \CheckSum{660} +% \CheckSum{634} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -92,89 +92,95 @@ % \changes{v0.1}{2011/12/27}{First personal version} % % \changes{v1.0}{2019/04/11}{ -% - Initial published version: creating dtx and ins files} +% - Initial published version: creating dtx and ins files} % % \changes{v1.1}{2019/04/20}{ -% - Some forgotten french 'et' -> 'and', citecolor=blue, -% - changing the default font for pinumber Euler -> Symbol} +% - Some forgotten french 'et' -> 'and', citecolor=blue, +% - changing the default font for pinumber Euler -> Symbol} % % \changes{v1.2}{2019/04/26}{ -% - Works fine with beamer now, -% - AtBeginDocument for enumber, inumber, jnumber, -% - creating general mm@operator macro, -% - using mathup instead of mathrm} +% - Works fine with beamer now, +% - AtBeginDocument for enumber, inumber, jnumber, +% - creating general mm@operator macro, +% - using mathup instead of mathrm} % \changes{v1.2}{2019/04/27}{ -% - Added mathtools package, -% - font definition Roman -> up, -% - changes in documentation, -% - replacing the PEroman macro by PEupright} +% - Added mathtools package, +% - font definition Roman -> up, +% - changes in documentation, +% - replacing the PEroman macro by PEupright} % % \changes{v1.3}{2019/05/05}{ -% - Using bslash in the internal mm@warning macro, -% - loading of mathfixs package} +% - Using bslash in the internal mm@warning macro, +% - loading of mathfixs package} % \changes{v1.3}{2019/05/08}{ -% - Many corrections in documentation} +% - Many corrections in documentation} % % \changes{v1.4}{2019/05/22}{ -% - Changing font definition up -> UpSh, due to incompatibility with unicode-math} +% - Changing font definition up -> UpSh, due to incompatibility with unicode-math} % % \changes{v1.5}{2019/05/30}{ -% - A solution for using mul with frac -> braces, -% - addition of paren macro} +% - A solution for using mul with frac -> braces, +% - addition of paren macro} % \changes{v1.5}{2019/06/22}{ -% - Small corrections in documentation} +% - Small corrections in documentation} % % \changes{v1.6}{2019/09/06}{ -% - Removing mathfixs package, problems with fractions} +% - Removing mathfixs package, problems with fractions} % % \changes{v1.7}{2019/12/27}{ -% - Adding a table of contents to the documentation} +% - Adding a table of contents to the documentation} % % \changes{v1.8}{2020/11/15}{ -% - Incompatibility mentioned when using `i' with accent in beamer titles -> use \^i, -% - small changes in documentation} +% - Incompatibility mentioned when using `i' with accent in beamer titles -> use \^i, +% - small changes in documentation} % % \changes{v1.9}{2020/10/17}{ -% - UpSh replaced by "operators" font in math mode, -% - PackageWarning `command exist' replaced by PackageWarningNoLine, -% - medspace replaced by thickspace in the lfrac command, -% - changing font in documentation, lmodern -> Palatino (mathpazo)} +% - UpSh replaced by "operators" font in math mode, +% - PackageWarning `command exist' replaced by PackageWarningNoLine, +% - medspace replaced by thickspace in the lfrac command, +% - changing font in documentation, lmodern -> Palatino (mathpazo)} % % \changes{v1.10}{2020/10/25}{\ -% - pinumber command code adapted to avoid incompatibility with the new frenchmath, -% - default option (in upgreek) changed from Symbol to Euler.} +% - pinumber command code adapted to avoid incompatibility with the new frenchmath, +% - default option (in upgreek) changed from Symbol to Euler.} % % \changes{v2.0}{2022/11/11}{ -% - pinumber command has been improved to use other Greek letter packages, -% (and LGR encoding pi by default), it is no longer compatible with the older, -% - paren command has been removed, -% - hvect and hlbar have been slighlty modified (phantom t instead of phantom h), -% - several changes in documentation, -% - now using the Charter font (with the package mathdesign)} +% - pinumber command has been improved to use other Greek letter packages, +% (and LGR encoding pi by default), it is no longer compatible with the older, +% - paren command has been removed, +% - hvect and hlbar have been slighlty modified (phantom t instead of phantom h), +% - several changes in documentation, +% - now using the Charter font (with the package mathdesign)} % % \changes{v2.1}{2022/12/26}{ -% - Improved management of square brackets with the ibrackets package, -% - new macros codim, sinc, var, eqdef*, -% - removing the systematic warning for paren command, -% - a small change in norm command -> bars in small size, -% - several changes in documentation} +% - Improved management of square brackets with the ibrackets package, +% - new macros codim, sinc, var, eqdef*, +% - removing the systematic warning for paren command, +% - a small change in norm command -> bars in small size, +% - several changes in documentation} % % \changes{v2.2}{2023/01/06}{ -% - Loading of ibrackets package is now optional, due to an error -% when using DeclarePairedDelimiter with square brackets.} +% - Loading of ibrackets package is now optional, due to an error +% when using DeclarePairedDelimiter with square brackets.} % % \changes{v2.3}{2023/02/06}{ -% - Introducing keyval options for enumber, inumber, jnumber, PEupright -% (corresponding old commands are maintained for now), -% - and also for ibrackets, boldvect and arrowvect} +% - Introducing keyval options for enumber, inumber, jnumber, PEupright +% (corresponding old commands are maintained for now), +% - and also for ibrackets, boldvect and arrowvect} % \changes{v2.3}{2023/02/09}{ -% - Documentation update} +% - Documentation update} % % \changes{v2.4}{2023/02/18}{ -% - New powerful macros MathUp, MathIt and also MathNumbers, MathProba, MathNormal, -% - keyval options are no longer useful and have been deleted, -% - loading package ifthen has been forgotten in v2.3 (causing possible errors), -% - no more incompatibility when using `i' with accent in beamer titles} +% - New powerful macros MathUp, MathIt and also MathNumbers, MathProba, MathNormal, +% - keyval options are no longer useful and have been deleted, +% - loading package ifthen has been forgotten in v2.3 (causing possible errors), +% - no more incompatibility when using `i' with accent in beamer titles} +% +% \changes{v2.5}{2023/02/23}{ +% - Unification of the code of MathUp and MathIt, +% - a powerful macro `apply' is used in MathNormal to act on a list, +% - a new `tensor' command, +% - small changes in the documentation} % % \GetFileInfo{mismath.sty} % @@ -182,7 +188,7 @@ % corresponds to \textsf{mismath}~\fileversion, dated \filedate. % Thanks to François Bastouil for help in English translation.}} % \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}} -% \date{February 19, 2023} +% \date{February 24, 2023} % % \maketitle % \tableofcontents @@ -210,6 +216,7 @@ % \smallskip % The package also provides other macros for: % \begin{itemize} +% \item tensors, % \item some standard operator names, % \item a few useful aliases, % \item improving some spacing in mathematical formulas, @@ -284,7 +291,7 @@ % using in LR mode, they produce `\extrafont{\i,\ \j}' without the point, % so you can place accents on them, and in mathematical mode they produce % ``\texttt{LaTeX Warning: Command \bslash i invalid in math mode on input line} \meta{line}''. -% The new definition of |\i| and |\j| concerns only the mathematical mode +% The new definition of |\i| and |\j| concerns only the mathematical mode. % % \medskip % \DescribeMacro{\MathUp} @@ -309,17 +316,19 @@ % you can still get italicized % $\mathit{e}$, $\mathit{i}$ or $\mathit{j}$ with \LaTeX\ commands % |\mathit| or |\mathnormal|, useful for a single use. -% But you can also use the inverse switch |\Mathit|\marg{char}, +% But you can also use the inverse switch |\MathIt|\marg{char}, % with a global effect, or a local one if used inside an environment or braces. % As |\MathUp|, it can be used for any single character. % % \medskip % \DescribeMacro{\MathNumbers} \DescribeMacro{\MathNormal} -% These macros allow to set upright or normal typesetting in a single command, \eg +% These macros allow to set upright or normal typesetting for several letters +% in a single command, \eg % |\MathNumbers{e,i}| is equivalent to |\MathUp{e}\MathUp{i}|. -% The comma separator can be changed or deleted. -% |\MathNumbers| has no effect on other letters than e, i or j -% and |\MathNormal| can be used for probability also (see section \ref{operators}). +% In |\MathNumbers| the comma separator can be changed or deleted. +% This macro has no effect on other letters than e, i or j. +% On the other hand |\MathNormal| can be used for probability also (see section \ref{operators}) +% and can take any comma separated list argument. % % \medskip % \DescribeMacro{\pinumber[\meta{command}]} @@ -365,7 +374,7 @@ % \footnote{This default $\mypi$ doesn't fit well with many text fonts, % more bold than Computer Modern; % the \textsf{upgreek} package~\cite{GREEK} provides often a better $\uppi$ -% and it has also a \texttt{Symbol} option (using Adobe Symbol font) +% (with the \texttt{Symbol} option using Adobe Symbol font) % that fits well with several text fonts, for instance Times.}. % % \medskip @@ -377,7 +386,7 @@ % In fact |\pinumber| acts as a switch and there is also an inverse switch, % |\pinormal|, that can be called anywhere. % -% \subsection{Vectors} +% \subsection{Vectors (and tensors)} % % \DescribeMacro{\vect} % By default, the |\vect| command @@ -422,15 +431,14 @@ % even if used in combination with \texttt{\bslash mathit}.} % from \textsf{amsbsy} package, loaded by \textsf{amsmath}. % But other packages producing bold italic can be preferred, \eg -% \texttt{\bslash bm} from \textsf{bm} package or |\mathbold| from \textsf{fixmath} -% package or |\mathbfit| from \textsf{isomath}. -% For that, redefine |\boldvectcommand|, for instance: +% |\mathbold| from \textsf{fixmath} +% package or |\mathbfit| from \textsf{isomath} +% or \texttt{\bslash bm} from \textsf{bm} package. +% For that, redefine |\boldvectcommand|, for instance, after loading \textsf{fixmath}: % \begin{center} |\renewcommand\boldvectcommand{\mathbold}|. \end{center} % -% By setting |\boldvectcommand| to |\mathbf|, |\vect| produces vectors -% in bold \emph{upright} shape, -% which tends to be used instead of bold \emph{italic}, -% but this is \emph{not} recommended. +% According to ISO rules, symbols for matrices are also in bold italic, +% so you can use the same |\boldvectcommand| or create another alias. % % \medskip % \DescribeMacro{\arrowvect} @@ -476,6 +484,16 @@ % but however to context: main text, subscripts or exponents, % \eg $\e^{\norm{\vec{h}}}$. % +% \medskip +% \DescribeMacro{\mathbfsfit}\DescribeMacro{\tensor} +% For tensors symbols, ISO rules recommend to use +% sans serif bold italic, but there +% is no such math alphabet in \TeX\ default mathematical style. +% \textsf{mismath} defines this alphabet +% (assuming the font encoding and package you use permits it), +% and provides the macro |\mathbfsfit| or its alias |\tensor|. +% So |\tensor{T}| produces $\tensor{T}$. +% % \subsection{Standard operator names}\label{operators} % % \DescribeMacro{\di} @@ -523,14 +541,12 @@ % Variance is generally denoted by $\var$ or $\Var$ (see table below), % but some authors prefer to use $\V$, produced by |\V|. % -% \pagebreak % \DescribeMacro{\MathProba}\DescribeMacro{\MathNormal} % In the same way as for $\e$, $\i$ or $\j$, you can use |\MathUp{P}|, |\MathUp{E}| % or |\MathUp{V}| to avoid typing many |\P|, |\E| or |\V|. % But you can also do that in a single command with |\MathProba|, % for example |\MathProba{P,E}| and we get the inverse switch with -% |\MathIt| for any individual letter or |\MathNormal| for a list -% (among `P, E, V' or `e, i, j' exclusively). +% |\MathIt| for any individual letter or |\MathNormal| for a list. % % \medskip % \DescribeMacro{\probastyle} @@ -597,7 +613,6 @@ % \end{tabular} % \end{center} % -% \pagebreak % \DescribeMacro{\bigO} \DescribeMacro{\bigo} \DescribeMacro{\lito} % Asymptotic comparison operators (in Landau notation) are obtained with % |\bigO| or |\bigo| and |\lito| commands: @@ -792,7 +807,7 @@ % square brackets, for example in French mathematics. % In that case the space around them is often unsuitable, % \eg $x \in \mathclose{]} 0, +\infty[$. -% We have redefine brackets in the \textsf{ibrackets} package~\cite{BRACKET} +% We have redefined brackets in the \textsf{ibrackets} package~\cite{BRACKET} % which can be optionally % \footnote{This functionality is optional because it causes % error when using a command defined by @@ -922,6 +937,10 @@ % Compare previous $\vec{u}\begin{spmatrix}-1\\2\end{spmatrix}$ % with $\vec{u}\begin{psmallmatrix}-1\\2\end{psmallmatrix}$. % +% \medskip +% For typesetting various kind of matrices, let's mention the awesome +% \textsf{nicematrix} package by François Pantigny~\cite{NMATX}. +% % \subsection{Displaymath in double columns} % % \DescribeEnv{mathcols} @@ -969,10 +988,6 @@ % Therefore they are replaced by the more powerful and more general % macro |\MathUp| which can be placed anywhere and has an inverse switch |\MathIt|. % -% \medskip -% In version 2.3 we tried a way to replace these deprecated commands -% by package options based on keyval. This less efficient method is abandoned. -% % \begin{center} % \setlength{\extrarowheight}{1pt} % \begin{tabular}{ll} @@ -990,10 +1005,13 @@ % \medskip % |\MathNumbers| may be used instead of |\MathUp| with an argument containing % all the constants you want to be typeset in roman (among `e, i, j'). -% And |\MathProba{PE}| may be used instead of |\MathUp{P}\MathUp{E}| +% And |\MathProba{P,E}| may be used instead of |\MathUp{P}\MathUp{E}| % and you can add also V in its argument to refer to variance. % % \medskip +% In version 2.3 we tried a way to replace these deprecated commands +% by package options based on keyval. This less efficient method is abandoned. +% And thus the command |\mismathset| is obsolete. % Another command, |\paren|, used before version 2.0, is no longer supported. % % \StopEventually{} @@ -1082,21 +1100,22 @@ % % When called in the preamble, |\AtBeginDocument| is necessary % for using with the \textsf{beamer} package. -% In the preamble, |\@MathUp{#1}| is equivalent to \\ -% |\DeclareMathSymbol{#1}\mathalpha{operators}{`#1}|. +% In the preamble, |\math@family{#1}{0}| is equivalent to \\ +% |\DeclareMathSymbol{#1}{\mathalpha}{operators}{`#1}|. % \medskip % \begin{macrocode} \newcount\mm@charcode \newcount\mm@charclass -%\newcount\mm@charfam +\newcount\mm@charfam \newcount\mm@charslot -\newcommand\@MathUp[1]{% +\newcommand*\math@family[2]{% + \mm@charfam=#2 \ifluatex \mm@charclass=\Umathcharclass`#1 %\mm@charfam=\Umathcharfam`#1 \mm@charslot=\Umathcharslot`#1 - \Umathcode`#1= \mm@charclass 0 \mm@charslot + \Umathcode`#1= \mm@charclass \mm@charfam \mm@charslot \else \mm@charcode=\mathcode`#1 % extract charclass @@ -1113,52 +1132,35 @@ \mm@charslot=\@tempcntb % construct charcode \mm@charcode=\mm@charclass - \advance\mm@charcode by \mm@charslot % charfam is now 0 + \multiply\mm@charfam by "100 + \advance\mm@charcode by \mm@charfam + \advance\mm@charcode by \mm@charslot \mathcode`#1=\mm@charcode \fi } -\newcommand\MathUp[1]{% +\newcommand*\MathFamily[2]{% \ifx\@onlypreamble\@notprerr - \@MathUp{#1} - \else % in the preamble - \AtBeginDocument{\@MathUp{#1}} + \math@family{#1}{#2} + \else % before \begin{document} + \AtBeginDocument{\math@family{#1}{#2}} \fi } -\newcommand\MathIt[1]{% - \ifluatex - \mm@charclass=\Umathcharclass`#1 - %\mm@charfam=\Umathcharfam`#1 - \mm@charslot=\Umathcharslot`#1 - \Umathcode`#1= \mm@charclass 1 \mm@charslot - \else - \mm@charcode=\mathcode`#1 - % extract charclass - \@tempcnta=\mm@charcode - \divide\@tempcnta by "1000 - \multiply\@tempcnta by "1000 % charclass - \mm@charclass=\@tempcnta - % extract charslot - \@tempcnta=\mm@charcode - \@tempcntb=\mm@charcode - \divide\@tempcnta by "100 - \multiply\@tempcnta by "100 % charclass + charfam - \advance\@tempcntb by -\@tempcnta % charslot - \mm@charslot=\@tempcntb - % construct charcode - \mm@charcode=\mm@charclass - \advance\mm@charcode by \mm@charslot - \advance\mm@charcode by "100 % sets charfam to 1 - \mathcode`#1=\mm@charcode - \fi -} +\newcommand*\MathUp[1]{\MathFamily{#1}{0}} +\newcommand*\MathIt[1]{\MathFamily{#1}{1}} % \end{macrocode} +% On the same model we could also create some other macros to set any letter +% in bold or sans serif, but unfortunately there is no family number associated by default +% to these typefaces. It depends on the font package that is loaded and +% it can also depend on which |\DeclareSymbolFont| is used. % -% In complement to |\MathUp| and |\MathIt|, we provide the three following commands -% to set in roman or italic a group of letters among `e, i, j' for mathematical constants +% \medskip +% In complement to |\MathUp| and |\MathIt|, we provide the two following commands +% to set in roman a group of letters among `e, i, j' for mathematical constants % or `P, E, V' for probability operators. +% % \medskip % \begin{macrocode} \newcommand*\MathNumbers[1]{% @@ -1173,13 +1175,30 @@ \in@{V}{#1} \ifin@ \MathUp{V} \fi } -\newcommand*\MathNormal[1]{ - \in@{e}{#1} \ifin@ \MathIt{e} \fi - \in@{i}{#1} \ifin@ \MathIt{i} \fi - \in@{j}{#1} \ifin@ \MathIt{j} \fi - \in@{P}{#1} \ifin@ \MathIt{P} \fi - \in@{E}{#1} \ifin@ \MathIt{E} \fi - \in@{V}{#1} \ifin@ \MathIt{V} \fi +% \end{macrocode} +% \DescribeMacro{\apply} +% The inverse global switch |\MathNormal| acts on any comma separated list +% thanks to the |\apply| macro which works as follows: +% |\apply\macro{comma,list}| expands to |\macro{comma}\macro{list}|. +% We could also use |\apply\MathUp{e,i,j}| instead of |\MathNumbers{e,i,j}|. +% I found this macro on Tex RSSing.com by searching +% ``TeX How to iterate over a comma separated list?'' +% The answer was given by ``wipet'' on 2021/02/26. +% I don't know who is wipet but I thank him for this powerful macro! +% Unfortunately usual loop instructions like |\@for| or |\foreach| do not work +% and produce the error message ``!~Improper alphabetic constant''. +% Indeed |\def\letter{A} \MathUp{\letter}| fails, +% the control sequence |\letter| is not considered as the single character `A'. +% +% \medskip +% \begin{macrocode} +\def\apply#1#2{\apply@#1#2,\apply@,} +\def\apply@#1#2,{\ifx\apply@#2\empty + \else #1{#2}\afterfi@{\apply@#1}\fi} +\def\afterfi@#1#2\fi{\fi#1} + +\newcommand*\MathNormal[1]{% list argument + \apply\MathIt{#1} } % \end{macrocode} @@ -1187,7 +1206,7 @@ % The following commands are deprecated but still work. % They were intended to set some letters in upright shape by default % in math mode, but worked only in the preamble. -% This is now managed by the more powerful|\MathUp| command. +% This is now managed by the more powerful |\MathUp| command. % The old commands are maintained for now for compatibility reasons. % \medskip % @@ -1221,6 +1240,9 @@ % % The Greek letter pi must be managed in a different way. The switches are called % |\pinumber| and |\pinormal|. +% When given without argument, |\pinumber| uses the LGR font encoding. +% A particularity of the \textsf{fontenc} package is that it can be loaded +% several times with different options without ``option clash'' error. % \medskip % \begin{macrocode} \newcommand*\pinumber[1][]{ @@ -1236,6 +1258,7 @@ \else % in the preamble \RequirePackage[LGR,T1]{fontenc} \DeclareSymbolFont{UpGr}{LGR}{lmr}{m}{n} + \let\pi\relax \DeclareMathSymbol{\pi}\mathalpha{UpGr}{"70} \let\savedpi\pi \fi @@ -1257,7 +1280,7 @@ % \end{macrocode} % -% And now all the other commands. +% And now the commands for vectors (and tensors). % \medskip % \begin{macrocode} \newboolean{arrowvect} @@ -1285,6 +1308,14 @@ } }{\mm@warning{norm} } % bad result with libertinust1math +\DeclareMathAlphabet{\mathbfsfit}{\encodingdefault}{\sfdefault}{bx}{it} +\newcommand{\tensor}{\mathbfsfit} % isomath uses \mathsfbfit + +% \end{macrocode} +% +% And now all the other commands. +% \medskip +% \begin{macrocode} \mm@macro{di}{\mathop{}\!\mathup{d}} \newcommand\probastyle{} \let\Par\P % end of paragraph symbol @@ -1409,7 +1440,7 @@ } % \end{macrocode} % \bigskip -% \begin{thebibliography}{23} +% \begin{thebibliography}{24} % \begin{raggedright} % \bibitem{TYPMA} \emph{Typesetting mathematics for science and technology according % to ISO 31/XI}, Claudio Beccari, TUGboat Volume 18 (1997), No.~1. @@ -1452,7 +1483,9 @@ % \bibitem{SYST} \emph{L'extension pour \TeX\ et \LaTeX\ \textsf{systeme}}, % Christian Tellechea, CTAN v0.32 2019/01/13. % \bibitem{SPAL} \emph{The \textsf{spalign} package}, Joseph Rabinoff, CTAN, 2016/10/05. -% \bibitem{FR} \emph{L'extension \textsf{frenchmath}}, Antoine Missier, CTAN, v2.4 2023/01/22. +% \bibitem{NMATX} \emph{The package \textsf{nicematrix}}, François Pantigny, CTAN, +% v6.14 2023/02/18. +% \bibitem{FR} \emph{L'extension \textsf{frenchmath}}, Antoine Missier, CTAN, v2.5 2023/02/24. % \bibitem{BRACKET} \emph{Intelligent brackets -- The \textsf{ibrackets} package} % Antoine Missier, CTAN, v1.1, 2022/12/26. % \bibitem{LSHORT} \emph{The Not So Short Introduction to \LaTeXe}, diff --git a/macros/latex/contrib/mismath/mismath.pdf b/macros/latex/contrib/mismath/mismath.pdf index d7f8025778..bf2b361d5b 100644 Binary files a/macros/latex/contrib/mismath/mismath.pdf and b/macros/latex/contrib/mismath/mismath.pdf differ diff --git a/macros/latex/contrib/yathesis/README.md b/macros/latex/contrib/yathesis/README.md index c799aa10d3..2e3268733d 100644 --- a/macros/latex/contrib/yathesis/README.md +++ b/macros/latex/contrib/yathesis/README.md @@ -1,6 +1,6 @@ ----------------------------------------------------------------------- -- `yathesis` --- Yet Another Thesis Class, version 1.0.9 +- `yathesis` --- Yet Another Thesis Class, version 1.0.11 - E-mail: `denis.bitouze@univ-littoral.fr` - Released under the LaTeX Project Public License v1.3c or later. See http://www.latex-project.org/lppl.txt diff --git a/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf b/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf index 1adc720f50..889dddfe2f 100644 Binary files a/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf and b/macros/latex/contrib/yathesis/doc/yathesis-fr.pdf differ diff --git a/macros/latex/contrib/yathesis/exemples/specimen/bibliographie.bib b/macros/latex/contrib/yathesis/exemples/specimen/bibliographie.bib deleted file mode 100644 index 7d709625ff..0000000000 --- a/macros/latex/contrib/yathesis/exemples/specimen/bibliographie.bib +++ /dev/null @@ -1,54 +0,0 @@ -@Article{ hp, - author = {Poincaré, Henri}, - title = {Démonstration nouvelle des propriétés de l'indicatrice - d'une surface}, - journal = {Annales de Mathématiques}, - volume = 13, - date = {1874}, - pages = {449-456} -} - -@Book{ relativite, - author = {Einstein, Albert and Lorentz, Hendrik Antoon and - Minkowski, Hermann and Weyl, Hermann}, - title = {The Principle of Relativity}, - publisher = {Methuen}, - address = {London}, - date = {1923} -} - -@InBook{ cond, - author = {de Condorcet, Nicolas}, - editor = {O'Connor, Arhur and Arago, François}, - title = {Discours prononcé à l'Assemblée Nationale au nom de - l'Académie des Sciences à la séance du - 12 juin 1790}, - booktitle = {Œuvres de Condorcet}, - publisher = {Firmin Didot Frères}, - address = {Paris}, - volume = {1}, - origdate = {1790-06-12}, - pages = {508-511}, - url = {http://gallica.bnf.fr/ark:/12148/bpt6k58105584}, - date = {1847} -} - -@TechReport{ unrapport, - author = {Nom, Prénom}, - title = {Titre du rapport technique}, - institution = {Institution où le rapport a vu le jour}, - date = {2012} -} - -@Manual{ amsmath, - title = {User's Guide for the \textsf{amsmath} Package}, - organization = {American Mathematical Society}, - date = {2002-02-25} -} - -@PhDThesis{ knuth63, - author = {Knuth, Donald Ervin}, - title = {Finite semifields and projective planes}, - school = {California Institute of Technology}, - date = {1963} -} diff --git a/macros/latex/contrib/yathesis/exemples/specimen/latexmkrc b/macros/latex/contrib/yathesis/exemples/specimen/latexmkrc deleted file mode 100644 index 6a0624c807..0000000000 --- a/macros/latex/contrib/yathesis/exemples/specimen/latexmkrc +++ /dev/null @@ -1,23 +0,0 @@ -$pdf_mode = 1; - -$bibtex_use = 1; -$bibtex = 'biber %O %B'; - -add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' ); -add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' ); -add_cus_dep('slo', 'sls', 0, 'makeglossaries'); -$clean_ext .= " acr acn alg glo gls glg slo sls slg"; -sub makeglossaries { - my ($base_name, $path) = fileparse( $_[0] ); - pushd $path; - my $return = system "makeglossaries", $base_name; - popd; - return $return; -} - -$makeindex = 'texindy -L french'; - -push @generated_exts, 'acn', 'acr', 'alg', 'bbl', 'bcf', 'fls', 'gl*', 'idx', -'ind', 'ist', 'sbl*', 'sl*', 'sym*' ; - -$clean_ext .= 'synctex.gz* run.xml tex.bak out bbl bcf fdb_latexmk run tdo listing *~ lo* unq mw xdy' ; diff --git a/macros/latex/contrib/yathesis/exemples/specimen/these.pdf b/macros/latex/contrib/yathesis/exemples/specimen/these.pdf index 7aa154a8a7..72d8c92210 100644 Binary files a/macros/latex/contrib/yathesis/exemples/specimen/these.pdf and b/macros/latex/contrib/yathesis/exemples/specimen/these.pdf differ diff --git a/macros/latex/contrib/yathesis/exemples/specimen/these.tex b/macros/latex/contrib/yathesis/exemples/specimen/these.tex deleted file mode 100644 index 83c23a3566..0000000000 --- a/macros/latex/contrib/yathesis/exemples/specimen/these.tex +++ /dev/null @@ -1,820 +0,0 @@ -% Document : -% - de classe yathesis ; -% - en 12 points ; -% - en version finale ; -% - dont la partie principale : -% - est en interligne un et demi ; -% - voit chaque chapitre : -% - débuter par sa table des matières locale ; -% - finir par sa bibliographie locale. -\documentclass[12pt,version=final,space=onehalf,localtocs,localbibs]{yathesis} -% -% Chargement manuel de packages (pas déjà chargés par la classe yathesis) -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{lipsum} % À proscrire dans un vrai mémoire de thèse ! -\usepackage{kpfonts} -\usepackage{booktabs} -\usepackage{siunitx} -\usepackage{pgfplots} -\usepackage{floatrow} -\usepackage{caption} -\usepackage{listings} -\usepackage{microtype} -\usepackage[nospace]{varioref} -\usepackage[xindy,quiet]{imakeidx} -\usepackage[autostyle]{csquotes} -\usepackage[safeinputenc]{biblatex} -\usepackage{hyperref} -\usepackage[xindy,acronyms,symbols]{glossaries} -% -% Génération de l'index -\makeindex -% -% Spécification de la ou des ressources bibliographiques -\addbibresource{bibliographie.bib} -\addbibresource{biblatex-examples.bib} % Fournie par biblatex. -% -% Génération du glossaire -\makeglossaries -% -% (Facultatif) Configuration des styles du glossaire et de la liste d'acronymes -% (à n'utiliser que si le package « glossaries » est chargé) -\setglossarystyle{indexhypergroup} -\setacronymstyle{long-sc-short} -% -% Entrées du glossaire, des acronymes et des symboles -% Glossaire -\newglossaryentry{latex}{% - name=\LaTeX,% - description=système de composition de beaux documents% -} -\newglossaryentry{vrnc}{% - name=langue vernaculaire,% - plural=langues vernaculaires,% - description=langue locale parlée au sein d'une communauté% -} -\newglossaryentry{af}{% - name=ancien français,% - description= état du français médiéval du \textsc{ix}\ieme{} au - \textsc{xiii}\ieme{} siècles inclus% -} -\newglossaryentry{mf}{% - name= moyen français,% - description= état du français médiéval du \textsc{xiv}\ieme{} au \textsc{xv}\ieme{} - siècles inclus% -} -% Acronymes -\newacronym{pres}{pres}{Pôle de Recherche et d'Enseignement - Supérieur} -\newacronym{comue}{comue}{Communauté d'universités et établissements} -\newacronym{ulco}{ulco}{Université du Littoral Côte d'Opale} -\newacronym{edspi}{edspi}{École Doctorale Sciences Pour - l'Ingénieur} -\newacronym{lmpa}{lmpa}{Laboratoire de Mathématiques Pures et - Appliquées Joseph Liouville} -\newacronym{laser}{laser}{Light Amplification by Stimulated Emission - of Radiation soit \enquote{amplification de la lumière par - émission stimulée de rayonnement}} -\newacronym{irm}{irm}{Imagerie par Résonance Magnétique} -\newacronym{rmn}{rmn}{Résonance Magnétique Nucléaire} -\newacronym{ascii}{ascii}{American Standard Code for Information Interchange} -\newacronym{bios}{bios}{Basic Input Output System} -\newacronym{ctan}{ctan}{Comprehensive \TeX{} Archive Network} -\newacronym{dvd}{dvd}{Digital Video Disc} -\newacronym{erp}{erp}{Enterprise Resource Planning} -\newacronym{faq}{faq}{Frequently Asked Questions, traduit en français par - \enquote{Foire Aux Questions}} -\newacronym{gnu}{gnu}{GNU's Not Unix (acronyme récursif)} -\newacronym{http}{http}{Hypertext Transfer Protocol} -\newacronym{ip}{ip}{Internet Protocol} -\newacronym{jpeg}{jpeg}{Joint Photographic Experts Group} -\newacronym{kdm}{kdm}{KDE Display Manager} -\newacronym{lug}{lug}{Linux Users Group} -\newacronym{mac}{mac}{Medium Access Control} -\newacronym{nfs}{nfs}{Network File System} -\newacronym{ocr}{ocr}{Optical Character Recognition} -\newacronym{p2p}{p2p}{Peer to Peer} -\newacronym{ram}{ram}{Random Access Memory} -\newacronym{radar}{radar}{RAdio Detection And Ranging} -\newacronym{svg}{svg}{Scalable Vector Graphics} -\newacronym{tft}{tft}{Thin-Film Transistor} -\newacronym{utf-8}{utf-8}{Unicode Transformation Format 8 bits} -\newacronym{vga}{vga}{Video Graphics Array} -\newacronym{wpa}{wpa}{Wi-Fi Protected Access} -\newacronym{xhtml}{xhtml}{Extensible HyperText Markup Language} -\newacronym{fsf}{fsf}{Free Software Foundation} -\newacronym{gui}{gui}{Graphical User Interface} -% Symboles -\newglssymbol{ohm}{\si{\ohm}}{ohm}{unité de résistance électrique} -\newglssymbol{exists}{\ensuremath{\exists}}{quantificateur existentiel}{} -\newglssymbol[constanteplanck]{planck}{\ensuremath{h}}{constante de - Planck}{\ensuremath{h=\SI{6.62607015e-34}{\joule\second}}} -% -% Configuration globale de l'apparence des listings informatiques -\lstset{% - language=C, - numbers=left, - frame=leftline, - framerule=0.8pt, - rulecolor=\color{red}, - basicstyle=\ttfamily, - keywordstyle=\color{blue}\bfseries, - stringstyle=\color{cyan}, - commentstyle=\color{gray}\itshape -} -% -% Les figures flottantes et leurs légendes sont dans un (même) cadre -\floatsetup[figure]{style=BOXED}% -% -% Numéro de version du package pgfplots -\pgfplotsset{compat=1.17} -% -% Ajustement pour éviter, dans la table des matières, des débordements de -% numéros de pages dans la marge de droite -\makeatletter -\renewcommand*\@pnumwidth{29pt} -\makeatother -% -% Macro pour mettre en forme les noms de fichiers -\newcommand{\fichier}[1]{\texttt{#1}} -% Macro pour mettre en forme les noms de packages LaTeX -\newcommand{\package}[1]{\textsf{#1}} -% Macro pour mettre en forme des locutions étrangères -\newcommand{\locution}[1]{\emph{#1}} -% -% Commande permettant de faire figurer d'un seul coup toutes les références des -% ressources bibliographiques ci-dessus, même si elles ne sont pas citées -% explicitement (à proscrire dans un vrai mémoire de thèse !) -\nocite{*} -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Début du document -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{document} -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Caractéristiques du document -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% Préparation des pages de couverture et de titre -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Auteur de la thèse : prénom (1er argument obligatoire), nom (2e argument -% obligatoire) et éventuel courriel (argument optionnel). Les éventuels accents -% devront figurer et le nom /ne/ doit /pas/ être saisi en capitales -\author[aa@zygo.fr]{Alphonse}{Allais} -% -% Titre de la thèse dans la langue principale (argument obligatoire) et dans la -% langue secondaire (argument optionnel) -\title[Laugh's Chaos]{Le chaos du rire} -% -% (Facultatif) Sous-titre de la thèse dans la langue principale (argument -% obligatoire) et dans la langue secondaire (argument optionnel) -\subtitle[Chaos' Laugh]{Le rire du chaos} -% -% Champ disciplinaire dans la langue principale (argument obligatoire) et dans -% la langue secondaire (argument optionnel) -\academicfield[Mathematics]{Mathématiques} -% -% (Facultatif) Spécialité dans la langue principale (argument obligatoire) et -% dans la langue secondaire (argument optionnel) -\speciality[Dynamical systems]{Systèmes dynamiques} -% -% Date de la soutenance, au format {jour}{mois}{année} donnés sous forme de -% nombres -\date{1}{1}{2022} -% -% (Facultatif) Date de la soumission, au format {jour}{mois}{année} donnés sous -% forme de nombres -\submissiondate{1}{10}{2021} -% -% (Facultatif) Sujet pour les méta-données du PDF -\subject[Chaotic Laugh]{Rire chaotique} -% -% (Facultatif) Nom (argument obligatoire) de la ComUE -\comue[logo=comue]{ComUE Lille Nord de France} -% -% Nom (argument obligatoire) de l'institut (principal en cas de cotutelle) -\institute[logo=ulco,url=http://www.univ-littoral.fr/]{ULCO} -% -% (Facultatif) En cas de cotutelle (normalement, seulement dans le cas de -% cotutelle internationale), nom (argument obligatoire) du second institut -\coinstitute[logo=paris13,url=http://www.univ-paris13.fr/]{Université de Paris~13} -% -% (Facultatif) Nom (argument obligatoire) de l'école doctorale -\doctoralschool[url=http://edspi.univ-lille1.fr/]{ED Régionale SPI 72} -% -% Nom (1er argument obligatoire) et adresse (2e argument obligatoire) du -% laboratoire (ou de l'unité) où la thèse a été préparée, à utiliser /autant de -% fois que nécessaire/ -\laboratory[ -logo=labo, -logoheight=1.25cm, -telephone=(33)(0)3 21 46 55 86, -fax=(33)(0)3 21 46 55 75, -email=secretariat@lmpa.univ-littoral.fr, -url=https://lmpa.univ-littoral.fr/ -]{LMPA Joseph Liouville}{% - Maison de la Recherche Blaise Pascal \\ - 50, rue Ferdinand Buisson \\ - CS 80699 \\ - 62228 Calais Cedex \\ - France} -% -% Directeur(s) de thèse et membres du jury, saisis au moyen des commandes -% \supervisor, \cosupervisor, \comonitor, \referee, \committeepresident, -% \examiner, \guest, à utiliser /autant de fois que nécessaire/ et /seulement -% si nécessaire/. Toutes basées sur le même modèle, ces commandes ont -% 2 arguments obligatoires, successivement les prénom et nom de chaque -% personne. Si besoin est, on peut apporter certaines précisions en argument -% optionnel, essentiellement au moyen des clés suivantes : -% - « professor », « seniorresearcher », « associateprofessor », -% « associateprofessor* », « juniorresearcher », « juniorresearcher* » (qui -% peuvent ne pas prendre de valeur) pour stipuler le corps auquel appartient -% la personne ; -% - « affiliation » pour stipuler l'institut auquel est affiliée la personne ; -% - « female » pour stipuler que la personne est une femme pour que certains -% mots clés soient accordés en genre. -% -\supervisor[professor,affiliation=ULCO]{Michel}{de Montaigne} -\cosupervisor[associateprofessor*,affiliation=ULCO]{Charles}{Baudelaire} -\comonitor[associateprofessor,affiliation=ULCO]{Étienne}{de la Boétie} -\referee[professor,affiliation=IHP]{René}{Descartes} -\referee[seniorresearcher,affiliation=CNRS]{Denis}{Diderot} -\committeepresident[professor,affiliation=ENS Lyon]{Victor}{Hugo} -\examiner[associateprofessor,affiliation=Université de Paris~13]{Sophie}{Germain} -\examiner[juniorresearcher,affiliation=INRIA]{Joseph}{Fourier} -\examiner[juniorresearcher*,affiliation=CNRS]{Paul}{Verlaine} -\guest{George}{Sand} -% -% (Facultatif) Mention du numéro d'ordre de la thèse (s'il est connu, ce numéro -% est à spécifier en argument optionnel) -\ordernumber[42] -% -% Préparation des mots clés dans la langue principale (1er argument) et dans la -% langue secondaire (2e argument) -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\keywords{chaos, rire}{chaos, laugh} -% -% Production des pages de couverture et de titre -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\maketitle -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Début de la partie liminaire de la thèse -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% (Facultatif) Production de la page de clause de non-responsabilité -\makedisclaimer -% -% (Facultatif) Production de la page de mots clés -\makekeywords -% -% (Facultatif) Production de la page affichant les logo, nom et coordonnées du -% ou des laboratoires (ou unités de recherche) où la thèse a été préparée -\makelaboratory -% -% (Facultatif) Dédicace(s) -\dedication{À mon directeur bien-aimé !} -\dedication{À mon co-directeur bien-co-aimé aussi !} -\dedication{Je dédie également ce travail\\à tous ceux qui le méritent} -% (Facultatif) Production de la page de dédicace(s) -\makededications -% -% (Facultatif) Épigraphe(s) -\frontepigraph{Science sans conscience n'est que ruine de l'âme.}{François Rabelais} -\frontepigraph[english]{I can resist everything, except temptation!}{Oscar Wilde} -\frontepigraph{Il est plus facile de désintégrer un atome qu'un préjugé.}{Albert Einstein} -% (Facultatif) Production de la page de d'épigraphe(s) -\makefrontepigraphs -% -% Résumés (de 1700 caractères maximum, espaces compris) dans la -% langue principale (1re occurrence de l'environnement « abstract ») -% et, facultativement, dans la langue secondaire (2e occurrence de -% l'environnement « abstract ») -\begin{abstract} - \lipsum[1-2] -\end{abstract} -\begin{abstract} - \lipsum[3-4] -\end{abstract} -% -% Production de la page de résumés -\makeabstract -% -% (Facultatif) Chapitre de remerciements -\chapter{Remerciements} -\section{Une section de remerciements} -\lipsum[1] -\section{Une autre section de remerciements} -\lipsum[2-9] -% -% (Facultatif) Chapitre d'avertissement -\chapter{Avertissement} -Thèse hilarante, comme le gaz du même nom ! -% -% (Facultatif) Liste des acronymes -\printacronyms -% -% (Facultatif) Liste des symboles -\printsymbols -% -% (Facultatif) Chapitre d'avant-propos -\chapter{Avant-propos} -\section{Une section d'avant-propos} -\lipsum[30-45] -\section{Une autre section d'avant-propos} -\lipsum[30-35] -% -% Sommaire -\tableofcontents[depth=chapter,name=Sommaire] -% -% (Facultatif) Liste des tableaux -\listoftables -% -% (Facultatif) Table des figures -\listoffigures -% -% % (Facultatif) Table des listings (nécessite que le package « listings » soit -% % chargé) -% \lstlistoflistings -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Début de la partie principale (du « corps ») de la thèse -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\mainmatter -% -% Chapitre d'introduction (générale) -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter*{Introduction générale} -\lipsum[26] -\section{Une section d'introduction} -\lipsum[28] -\subsection{Une sous-section d'introduction} -\lipsum[29] -\subsubsection{Une sous-sous-section d'introduction} -\lipsum[30] -\paragraph{Un paragraphe d'introduction} -\lipsum[31] -\subparagraph{Un sous-paragraphe d'introduction} -\lipsum[32] -\subparagraph{Un autre sous-paragraphe d'introduction} -\lipsum[33] -\paragraph{Un autre paragraphe d'introduction} -\lipsum[34] -\subsubsection{Une autre sous-sous-section d'introduction} -\lipsum[35] -\subsection{Une autre sous-section d'introduction} -\lipsum[36] -\section{Une autre section d'introduction} -\lipsum[37] -% -% Chapitres ordinaires (avec parties éventuelles) -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% Première partie éventuelle -\part{Le chaos du rire} -% -% Premier chapitre -\chapter{Contexte du chaos du rire} - -Je peux citer\index{citation}\index{citation!formelle} des extraits de -documents. J'ai par exemple reproduit ci-dessous, par extraits, le discours de -\citeauthor{cond}, prononcé à l'Assemblée Nationale au nom de l'Académie des -Sciences. - -Voici tout d'abord un extrait composé automatiquement\footnote{Car il dépasse - trois lignes.} \enquote{hors-texte}\index{citation!longue}. -% -\blockcquote[508-509]{cond}{% - Messieurs, - - Vous avez daigné nous associer en quelque sorte à vos nobles - travaux; et, en nous permettant de concourir au succès de vos vues - bienfaisantes, vous avez montré que les sages représentants d'une - nation éclairée ne pouvaient méconnaître ni le prix des sciences, ni - l'utilité des compagnies occupées d'en accélérer le progrès et d'en - multiplier l'application. - - Depuis son institution, l'Académie a toujours saisi et même - recherché les occasions d'employer pour le bien des hommes, les - connaissances acquises par la méditation, ou par l'étude de la - nature : c'est dans son sein qu'un étranger - illustre\footnote{Huygens}, à qui une théorie profonde avait révélé - le moyen d'obtenir une unité de longueur naturelle et invariable, - forma le premier le plan d'y rapporter toutes les mesures pour les - rendre par là uniformes et inaltérables. -} - -Ensuite, je peux citer un long extrait en étant certain qu'il ne -sera pas \enquote{hors-texte}\index{citation!courte} : -\textcquote[509]{cond}{L'Académie s'est toujours honorée dans ses - annales d'un préjugé détruit, d'un établissement public - perfectionné, d'un procédé économique ou salutaire introduit dans - les arts, que d'une découverte difficile ou brillante; et son - zèle, encouragé par votre confiance, va doubler d'activité et de - force.}. Il est bien entendu possible de citer de courts extraits -de manière informelle\index{citation!informelle} : \citeauthor{cond} -insiste sur \enquote{la loi de la nature\textins{, qui} a voulu que - l'homme fût éclairé pour qu'il pût être juste, et libre pour qu'il - pût être heureux} de façon à ce que les membres de l'assemblée -nationale n'oublient pas l'importance de l'instruction. - -Un petit aparté : il est possible de citer des -citations\index{citation!imbriquée}. Ainsi, le zygomaticien -s'exclama : \enquote{Pierre Dac ne disait-il pas : \enquote{Je suis - pour tout ce qui est contre et contre tout ce qui est pour!}? - Si, si, il le disait\ldots{}}, ce qui ne nous surprît guère. - -Et maintenant la suite (et fin) du discours, dans un extrait dont je -suis certain qu'il sera \enquote{hors-texte} : -% -\begin{displaycquote}[509-511]{cond} - Et comment pourrions nous oublier jamais que les premiers honneurs - publics, décernés par vous, l'ont été à la mémoire d'un de nos - confrères? Ne nous est-il permis de croire que les sciences ont eu - droit aussi quelque part à ces marques glorieuses de votre estime - pour un sage qui, célèbre dans les deux mondes par de grandes - découvertes, n'a jamais chéri dans l'éclat de sa renommée que le - moyen d'appeler ses concitoyens à l'indépendance d'une voix plus - imposante, et de rallier en Europe, à une si noble cause, tout ce - que son génie lui avait mérité de disciples et d'admirateurs? - - Chacun de nous, comme homme, comme citoyen, vous doit une éternelle - reconnaissance pour le bienfait d'une constitution égale et libre, - bienfait dont aucune grande nation de l'Europe n'avait encore joui; - et pour celui de cette déclaration des droits, qui, enchaînant les - législateurs eux-mêmes par les principes de la justesse universelle, - rend l'homme indépendant de l'homme, et ne soumet sa volonté qu'à - l'empire de sa raison. Mais des citoyens voués par état à la - recherche de la vérité, instruits par l'expérience, et ce que - peuvent les lumières pour la félicité générale, et de tout ce que - les préjugés y opposent d'obstacles, en égarant ou en dégradant les - esprits, doivent porter plus loin leurs regards, et, sans doute, ont - le droit de vous remercier au nom de l'humanité, comme au nom de la - patrie. - - Ils sentent combien, en ordonnant que les hommes ne seraient plus - rien par des qualités étrangères, et tout par leurs par leurs - qualités personnelles, vous avez assuré le progrès de l'espèce - humaine, puisque vous avez forcé l'ambition et la vanité même à ne - plus attendre les distinctions ou le pouvoir que du talent et des - lumières; puisque le soin de fortifier sa raison, de cultiver son - esprit, d'étendre ses connaissances, est devenu le seul moyen - d'obtenir une considération indépendante et une supériorité réelle. - - Ils savent que vous n'avez pas moins fait pour le bonheur des - générations futures, en rétablissant l'esprit humain dans son - indépendance naturelle, que pour celui de la génération présente, en - mettant les propriétés et la vie des hommes à l'abri des attentats - du despotisme. - - Ils voient, dans les commissions dont vous les avez chargé, avec - quelle profondeur de vues vous avez voulu simplifier toutes les - opérations nécessaires dans les conventions, dans les échanges, dans - les actions de la vie commune, de peur que l'ignorance ne rendit - esclave celui que vous aviez déclaré libre, et ne réduisit l'égalité - prononcée par vos lois à n'être jamais qu'un vain nom. - - Pourraient-ils enfin ne pas apercevoir qu'en établissant pour la - première fois, le système entier de la société sur des bases - immuables de la vérité et de la justice, en attachant ainsi par une - chaîne éternelle les progrès de l'art social au progrès de la - raison, vous avez étendu vos bienfaits à tous les pays, à tous les - siècles, et dévoué toutes les erreurs, comme toutes les tyrannies à - une destruction rapide? - - Ainsi, grâce à la générosité, à la pureté de vos principes, la - force, l'avarice, ou la séduction, cesseront bientôt de contrarier, - par des institutions arbitraires, la loi de la nature, qui a voulu - que l'homme fût éclairé pour qu'il pût être juste, et libre pour - qu'il pût être heureux. Ainsi, vous jouirez à la fois et du bien que - vous faites, et du bien que vous préparez, et vous achèverez votre - ouvrage au milieu des bénédictions de la foule des opprimés dont - vous avez brisé les fers, et des acclamations des hommes éclairés - dont vous avez surpassé les espérances. -\end{displaycquote} -% -% Deuxième chapitre -\chapter{Développement du chaos du rire} -\label{chap-developpement} - -\epigraphhead[30]{\selectlanguage{english}\epigraph{I have not failed. I've - just found \num{10000} ways that won't work.}{Thomas A. Edison}} - -Dans ce chapitre, nous développons notre travail. Nous citons une -référence\index{référence!bibliographique|see{bibliographie}} -bibliographique\index{bibliographie!référence} \autocite{relativite} -car, en effet, nous nous appuierons dans cette partie sur des -résultats fondamentaux qu'on y trouve -\autocite[chap.~3]{relativite}. - -Nous ne manquerons pas de causer de \glspl{vrnc}, d'\gls{af} et de \gls{mf}, -termes définis dans le glossaire\index{glossaire}. Nous recourrons également aux -symboles de l'\gls{ohm}, du \gls{exists} et de la \gls{planck} définis dans la -liste des symboles. Vous noterez que notre travail a été composé au moyen de -\gls{latex}\index{\gls{latex}}. - -Notre étude a porté sur l'\gls{irm} et la \gls{rmn}, définis dans la -liste des acronymes\index{acronyme}. Nous pouvons insérer d'autres -acronymes : -\begin{itemize} -\item \gls{ascii} ; -\item \gls{bios} ; -\item \gls{ctan} ; -\item \gls{dvd} ; -\item \gls{erp} ; -\item \gls{faq} ; -\item \gls{gnu} ; -\item \gls{http} ; -\item \gls{ip} ; -\item \gls{jpeg} ; -\item \gls{kdm} ; -\item \gls{lug} ; -\item \gls{mac} ; -\item \gls{nfs} ; -\item \gls{ocr} ; -\item \gls{p2p} ; -\item \gls{ram} ; -\item \gls{radar} ; -\item \gls{svg} ; -\item \gls{tft} ; -\item \gls{utf-8} ; -\item \gls{vga} ; -\item \gls{wpa} ; -\item \gls{xhtml}. -\end{itemize} -On notera que les acronymes précédents, dont ce sont les premières -occurrences dans le document, figurent sous leur forme complète, -c'est-à-dire sous leur forme développée suivie entre parenthèses de -leur forme abrégée. Ceci est assuré de façon automatique par -\gls{latex} et le package \textsf{glossaries} qui, en outre, vont -composer toutes les occurrences suivantes de ces acronymes -uniquement sous leur forme abrégée\footnote{Sauf contre-ordre.} : -\begin{itemize} -\item \gls{ascii} ; -\item \gls{bios} ; -\item \gls{ctan} ; -\item \gls{dvd} ; -\item \gls{erp} ; -\item \gls{faq} ; -\item \gls{gnu} ; -\item \gls{http} ; -\item \gls{ip} ; -\item \gls{jpeg} ; -\item \gls{kdm} ; -\item \gls{lug} ; -\item \gls{mac} ; -\item \gls{nfs} ; -\item \gls{ocr} ; -\item \gls{p2p} ; -\item \gls{ram} ; -\item \gls{radar} ; -\item \gls{svg} ; -\item \gls{tft} ; -\item \gls{utf-8} ; -\item \gls{vga} ; -\item \gls{wpa} ; -\item \gls{xhtml}. -\end{itemize} -% -\section{Cadre de travail}\label{sec-cadre} -% -Si on examine, dans le fichier\index{\gls{latex}!fichier} -\fichier{developpementI.tex} du répertoire \fichier{corps}, le code source -du tableau~\vref{tab-passionnant}\index{\gls{latex}!tableau}, on verra l'usage -de commandes permettant d'obtenir des tableaux d'allure -professionnelle\footnote{Pour obtenir de tels tableaux sous \LaTeX{}, on - \href{http://www.tug.org/pracjourn/2007-1/mori/mori.pdf}{trouvera sur - Internet} comment procéder.}. -% -\begin{table}[ht] - \centering - \begin{tabular}{ccc} - \toprule - \multicolumn{1}{c}{} & Word & \LaTeX{} \\ - \midrule - Libre & Non & Oui \\ - Gratuit & Non & Oui \\ - Élégant & Non & Oui \\ - Efficace & Non & Oui \\ - Puissant & Non & Oui \\ - \bottomrule - \end{tabular} - \caption{Un tableau passionnant} - \label{tab-passionnant} -\end{table} - -\lipsum[3-22] -% -\section{Méthode de travail} -\label{sec-methode} -% -Nous incluons la figure~\vref{fig-tigre}\index{\gls{latex}!figure} qui n'est -pas là pour faire joli, mais bien pour éclairer notre propos. -\begin{figure} - \centering - \capstart - \includegraphics[width=.35\linewidth]{tiger} - \caption[Un tigre]{Une figure avec une légende assez longue qui peut - même, au besoin, s'étaler sur plusieurs lignes.} - \label{fig-tigre} -\end{figure} -On note qu'on peut mettre, en argument optionnel de la commande -permettant de créer la légende, une légende \enquote{courte} qui sera -celle qui figurera, par exemple, dans la liste des figures. - -On pourra se convaincre, à la lecture de la section~7.6 \enquote{\emph{Plots and - Charts}} de la \href{https://ctan.org/pkg/pgf/doc}{documentation du package - \package{TikZ}}, de ce qu'une figure\index{\gls{latex}!figure} n'est pas -toujours préférable à un tableau\index{\gls{latex}!tableau}. Plus généralement, -on pourra lire toute la section~7 \enquote{\emph{Guidelines on Graphics}}. - -Avec \LaTeX{}\index{\gls{latex}|textbf}, il est extrêmement aisé de créer -un index\index{\gls{latex}!index}, comme dans les documents les mieux -composés. - -\lipsum[23-42] -% -\section[Discussion]{Discussion et interprétation des résultats} -\label{sec-discussion} -% -On constate que le titre de cette section est différent de ce qui -apparaît en entête et dans la table des matières : c'est l'argument -optionnel de la commande de sectionnement qui a permis cela. - -\lipsum[43-52] -% -% Troisième chapitre -\chapter{Conclusion du chaos du rire} -Dans ce chapitre, nous concluons l'étude du chaos du rire. - -\lipsum[26-27] -\section{Une section} -\lipsum[28-29] -\subsection{Une sous-section} -\lipsum[29-31] -\subsubsection{Une sous-sous-section} -\lipsum[31-35] -\paragraph{Un paragraphe} -\lipsum[36-38] -\paragraph{Un sous-paragraphe} -\lipsum[39-41] -\paragraph{Un autre sous-paragraphe} -\lipsum[39-41] -\paragraph{Un autre paragraphe} -\lipsum[36-38] -\subsubsection{Une autre sous-sous-section} -\lipsum[31-35] -\subsection{Une autre sous-section} -\lipsum[29-31] -\section{Une autre section} -\lipsum[28-29] -% -% -% Deuxième partie éventuelle -\part{Le rire du chaos} -% -% Quatrième chapitre -\chapter{Contexte du rire du chaos} -\epigraphhead[30]{\epigraph{La science a fait de nous des dieux avant même que - nous méritions d'être des hommes.}{Jean Rostand}} - -\lipsum[26-32] -% -% Cinquième chapitre -\chapter{Développement du rire du chaos} - -Nous pouvons faire référence à des graphiques (très jolis au demeurant), comme -celui de la figure~\vref{sin-x*sin-y}. -\lipsum[3-10] -\begin{figure}[ht] - \centering - \capstart - \begin{tikzpicture} - \begin{axis}[colorbar] - \addplot3[surf,domain=0:360] - {sin(x)*sin(y)}; - \end{axis} - \end{tikzpicture} - \caption{Représentation graphique de la fonction $f:(x,y)\mapsto - \sin x\times\sin y$} - \label{sin-x*sin-y} -\end{figure} -% -% Sixième chapitre -\chapter{Conclusion du rire du chaos} -Dans ce chapitre, nous concluons l'étude du rire du chaos. - -\lipsum[6-9] -% -% Chapitre de conclusion (générale) -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter*{Conclusion générale} -\lipsum[26-27] -\section{Une section de conclusion} -\lipsum[28-29] -\subsection{Une sous-section de conclusion} -\lipsum[29-31] -\subsubsection{Une sous-sous-section de conclusion} -\lipsum[31-35] -\paragraph{Un paragraphe de conclusion} -\lipsum[36-38] -\subparagraph{Un sous-paragraphe de conclusion} -\lipsum[39-41] -\subparagraph{Un autre sous-paragraphe de conclusion} -\lipsum[39-41] -\paragraph{Un autre paragraphe de conclusion} -\lipsum[36-38] -\subsubsection{Une autre sous-sous-section de conclusion} -\lipsum[31-37] -\subsection{Une autre sous-section de conclusion} -\lipsum[29-31] -\section{Une autre section de conclusion} -\lipsum[28-43] -% -% Liste des références bibliographiques -\printbibliography -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Début de la partie annexe éventuelle -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\appendix -% -% Premier chapitre annexe (éventuel) -\chapter{Documents juridiques} -\label{chap-juridique} - -Cette partie regroupe les documents juridiques officiels. - -\section{Licence sous laquelle est publié notre travail} -\label{sec-discours} - -\lipsum[11-30] - -\section{Transposition de la licence précédente en droit français} -\label{sec-autre-discours} - -\lipsum[31-50] -% -% Deuxième chapitre annexe (éventuel) -\chapter{Programmes informatiques} -\label{chap-listings} - -Les listings suivants sont au cœur de notre travail. - -\begin{lstlisting}[caption={Il est l'heure}] -#include -int heures, minutes, secondes; - -/****************************************************/ -/* */ -/* print_heure */ -/* */ -/* But: */ -/* Imprime l'heure */ -/* */ -/* Interface: */ -/* Utilise les variables globales */ -/* heures, minutes, secondes */ -/* */ -/****************************************************/ - -void print_heure(void) -{ - printf("Il est %d heure",heures); - if (heures > 1) printf("s"); - printf(" %d minute",minutes); - if (minutes > 1) printf("s"); - printf(" %d seconde",secondes); - if (secondes > 1) printf("s"); - printf("\n"); -} -\end{lstlisting} -\begin{lstlisting}[caption={Factorielle}] -int factorielle(int n) -{ - if (n > 2) return n * factorielle(n - 1); - return n; -} -\end{lstlisting} -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Début de la partie finale -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\backmatter -% -% (Facultatif) Glossaire (si souhaité distinct de la liste des acronymes) : -\printglossary -% -% (Facultatif) Index : -\printindex -% -% Table des matières -\tableofcontents -% -% (Facultatif) Production de la 4e de couverture : -\makebackcover -% -\end{document} diff --git a/macros/latex/contrib/yathesis/source/yathesis.dtx b/macros/latex/contrib/yathesis/source/yathesis.dtx index ea2c9e4ea6..867fc3f937 100644 --- a/macros/latex/contrib/yathesis/source/yathesis.dtx +++ b/macros/latex/contrib/yathesis/source/yathesis.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2012-2021 by Denis Bitouz'e +% Copyright (C) 2012-2023 by Denis Bitouz'e % ------------------------------------------------------------------------------- % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -23,7 +23,7 @@ %<*readme> ----------------------------------------------------------------------- -- `yathesis` --- Yet Another Thesis Class, version 1.0.9 +- `yathesis` --- Yet Another Thesis Class, version 1.0.11 - E-mail: `denis.bitouze@univ-littoral.fr` - Released under the LaTeX Project Public License v1.3c or later. See http://www.latex-project.org/lppl.txt @@ -85,7 +85,7 @@ Typesetting the documentation of the class requires: % This field contains the version of the package. % The value is optional. % The value is restricted to 32 characters. -\version{1.0.11 2021-12-01} +\version{1.0.11 2023-02-24} % ------------------------------------------------------------------------- % This field contains the name of the author(s). % The value is optional. @@ -199,6 +199,14 @@ Note: The “ya” in the package name stands for “yet another”. %<*changelog> # [Unreleased] +# [1.0.11] - 2023-02-24 + +## Changed +- Some internals for future releases of `etoc` (thanks to Jean-François Burnol). + +## Fixed +- Typos in the documentation (thanks to kitanokuma). + # [1.0.10] - 2022-06-13 ## Added @@ -480,8 +488,8 @@ Note: The “ya” in the package name stands for “yet another”. \fi % %<*class|install> -\def\yathesisversion{1.0.10} -\def\yathesisdate{2022-06-13} +\def\yathesisversion{1.0.11} +\def\yathesisdate{2023-02-24} % %<*install> \input l3docstrip.tex @@ -748,8 +756,8 @@ This work consists of the file yathesis.dtx % % \DoNotIndex{\addbibresource,\biolinumKeyGlyph,\DeclareRobustCommand,\ClassWarning,\DescribeOption,\DescribeShortCut,\ifcase,\ifnum,\ifthenelse,\option,\pagestyle} % -% \def\yathesisversion{1.0.10} -% \def\yathesisdate{2021-12-01} +% \def\yathesisversion{1.0.11} +% \def\yathesisdate{2023-02-24} % % \title{\textsf{yathesis} : classe \LaTeX{} pour la rédaction de thèses\\ % selon les (des) règles en vigueur en France\thanks{Ce fichier décrit la version @@ -815,11 +823,6 @@ This work consists of the file yathesis.dtx % \begin{macrocode} \RequirePackage{xpatch}[2012/10/02]% % \end{macrocode} -% Pour pouvoir patcher des commandes à argument(s) optionnel(s) -% \begin{macrocode} -\RequirePackage{filehook}[2011/10/12]% -\RequirePackage{hopatch}[2012/05/28]% -% \end{macrocode} % Assignation ×\let× pour macros à arguments optionnels améliorée % \begin{macrocode} \RequirePackage{letltxmacro}[2010/09/02]% @@ -1225,7 +1228,7 @@ This work consists of the file yathesis.dtx \def\YAD@localtocsdepth{#1}% }% \ifboolexpr{% - test {\@ifundefined {Etoc@\YAD@localtocsdepth @@}} + test {\etocifunknownlevelTF {\YAD@localtocsdepth}} or % test {\ifstrequal{#1}{part}} or % @@ -1567,6 +1570,7 @@ This work consists of the file yathesis.dtx % Pour pouvoir afficher un sommaire c-à-d une table des matières réduite % \begin{macrocode} \RequirePackage{etoc}[2016/09/29]% +\providecommand*\etocifunknownlevelTF[1]{\@ifundefined{Etoc@#1@@}}% % \end{macrocode} % La commande suivante est une solution de contournement fournie par le paquet % etoc afin de résoudre le problème @@ -3600,7 +3604,7 @@ This work consists of the file yathesis.dtx }% \newcommand\tableofcontents@YAD@with@argument[1][]{% \yadsetup{#1}% - \@ifundefined {Etoc@\cmdKV@YAD@depth @@} + \etocifunknownlevelTF {\cmdKV@YAD@depth} {% \YAD@ClassWarningNoLine{% La valeur (`\cmdKV@YAD@depth') passée à la clé `depth'\MessageBreak% @@ -5740,13 +5744,13 @@ This work consists of the file yathesis.dtx {% \bgroup \YAD@localstyle% - \@ifundefined {Etoc@\YAD@localtocsdepth @@} + \etocifunknownlevelTF {\YAD@localtocsdepth} {% }{% \etocsetnexttocdepth{\YAD@localtocsdepth}% } \YAD@computelocalnumwidths\relax% - \@ifundefined {Etoc@\YAD@localtocsdepth @@} + \etocifunknownlevelTF {\YAD@localtocsdepth} {% }{% \etocsetnexttocdepth{\YAD@localtocsdepth}% @@ -6682,7 +6686,7 @@ This work consists of the file yathesis.dtx % réglages s'il est chargé et notamment pour lui adjoindre une liste % de symboles. % \begin{macrocode} -\hopatch@AfterPackage{glossaries}{% +\AddToHook{package/glossaries/after}{% % \end{macrocode} % Si on est en sortie ×output=paper× (et pas en sortie ×output=paper*×), on % supprime la barre de navigation des glossaires qui ne sert que par ses liens @@ -7091,11 +7095,9 @@ This work consists of the file yathesis.dtx #include:epigraph #include:etoc #include:etoolbox -#include:filehook #include:fncychap #include:geometry #include:graphicx -#include:hopatch #include:hypcap #include:ifdraft #include:iflang -- cgit v1.2.3