From 277946b9dea336c373d95806e4993a27e1766661 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 2 May 2019 22:27:19 +0000 Subject: frenchmath (28apr19) git-svn-id: svn://tug.org/texlive/trunk@50928 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/frenchmath/README.md | 32 ++- .../texmf-dist/doc/latex/frenchmath/frenchmath.pdf | Bin 431937 -> 464445 bytes .../source/latex/frenchmath/frenchmath.dtx | 277 ++++++++++++--------- .../source/latex/frenchmath/frenchmath.ins | 4 +- .../texmf-dist/tex/latex/frenchmath/frenchmath.sty | 87 ++++--- 5 files changed, 240 insertions(+), 160 deletions(-) diff --git a/Master/texmf-dist/doc/latex/frenchmath/README.md b/Master/texmf-dist/doc/latex/frenchmath/README.md index 27020c04276..0f413752509 100644 --- a/Master/texmf-dist/doc/latex/frenchmath/README.md +++ b/Master/texmf-dist/doc/latex/frenchmath/README.md @@ -1,19 +1,35 @@ -The frenchmath package - Typesetting mathematics according to French rules. +# The frenchmath package - Typesetting mathematics according to French rules -LICENSE -Released under the LaTeX Project Public License v1.3 or later. See http://www.latex-project.org/lppl.txt -PURPOSE +## Purpose + The package provides: -- capital letters in roman style for mathematical mode (package option), +- capital letters in upright shape for mathematical mode (package option), - 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,... -- correct spacing before a semicolon in mathematical mode (according to french rule). +- correct spacing before a semicolon in mathematical mode (according to French rule). + + +## Documentation -DOCUMENTATION The documentation is in French. -INSTALLATION + +## Installation + - run LaTeX on frenchmath.ins, you obtain the file frenchmath.sty, - if then you run pdfLaTeX on frenchmath.dtx you get the file frenchmath.pdf which is also in the archive, - put the files frenchmath.sty and frenchmath.pdf in your TeX Directory Structure. + + +## Author + +Antoine Missier + +Email: antoine.missier@ac-toulouse.fr + + +## License + +Released under the LaTeX Project Public License v1.3 or later. +See http://www.latex-project.org/lppl.txt diff --git a/Master/texmf-dist/doc/latex/frenchmath/frenchmath.pdf b/Master/texmf-dist/doc/latex/frenchmath/frenchmath.pdf index a5d2c8d5625..36889c1825d 100644 Binary files a/Master/texmf-dist/doc/latex/frenchmath/frenchmath.pdf and b/Master/texmf-dist/doc/latex/frenchmath/frenchmath.pdf differ diff --git a/Master/texmf-dist/source/latex/frenchmath/frenchmath.dtx b/Master/texmf-dist/source/latex/frenchmath/frenchmath.dtx index b0c6b80914d..deb45e7b39a 100644 --- a/Master/texmf-dist/source/latex/frenchmath/frenchmath.dtx +++ b/Master/texmf-dist/source/latex/frenchmath/frenchmath.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2018 by Antoine Missier +% Copyright (C) 2019 by Antoine Missier % % Version 0.1 : 27/12/2011 % Version 1.0 : création fichiers dtx et ins @@ -22,25 +22,25 @@ %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{frenchmath} - [15/01/2019 v1.0 .dtx frenchmath file] + [27/04/2019 v1.2 .dtx frenchmath file] % %<*driver> \documentclass{ltxdoc} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} -%\frenchbsetup{ItemLabels=\textendash} \usepackage{lmodern} \usepackage{frenchmath} -% pour les besoins de la doc on substitue T à ; -\DeclareMathSymbol{T}\mathpunct{Roman}{059} +% pour l'exemple de la doc on utilise \PV pour simuler le ; d'origine +\DeclareMathSymbol{\PV}\mathpunct{up}{059} % 059 = code du ; \DisableCrossrefs %\CodelineIndex %\RecordChanges \usepackage{hyperref} \hypersetup{% - colorlinks, - linkcolor=blue, + colorlinks, + linkcolor=blue, + citecolor=blue, pdftitle={frenchmath}, pdfsubject={LaTeX package}, pdfauthor={Antoine Missier} @@ -53,7 +53,7 @@ % % \fi % -% \CheckSum{584} +% \CheckSum{679} % % \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 @@ -73,111 +73,122 @@ % % % \changes{v1.0}{15/01/2019}{Initial version} +% \changes{v1.1}{15/04/2019}{Nouvelles macros pour les repères, +% changements mineurs dans la documentation} +% \changes{v1.2}{25/04/2019}{L'option capsrm fonctionne à présent avec beamer, +% modifications du fichier README.md} +% \changes{v1.2}{27/04/2019}{capsrm -> capsup} % % \GetFileInfo{frenchmath.sty} % % \title{L'extension \textsf{frenchmath}\thanks{Ce document -% correspond à \textsf{frenchmath}~\fileversion, version initiale du \filedate.}} -% \author{Antoine Missier \\ \texttt{prenom.nom@ac-toulouse.fr}} -% \date{15 janvier 2019} +% correspond à \textsf{frenchmath}~\fileversion, dernière modification le \filedate.}} +% \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}} +% \date{27 avril 2019} % \maketitle % % \section{Introduction} -% Cette extension, inspirée de |mafr| de Christian Obrecht \cite{MAFR}, +% Cette extension, inspirée de \textsf{mafr} de Christian Obrecht~\cite{MAFR}, % permet le respect des règles typographiques mathématiques françaises, % en particulier la possibilité d'obtenir automatiquement les majuscules % mathématiques en romain (lettres droites) plutôt qu'en italique, -% comme préconisé dans \cite{RTIN} et \cite{IGEN}. +% comme préconisé dans~\cite{RTIN} et~\cite{IGEN}. % % D'autres solutions pour composer les majuscules mathématiques en romain -% sont proposées dans l'extension \texttt{isomath} \cite{ISOM} -% (avec les polices \texttt{fourier}, \texttt{kpfonts}, \emph{etc}.) -% ou encore \texttt{mathdesign} \cite{DESIGN} (avec les polices commerciales \texttt{utopia}, -% \texttt{garamond} ou \texttt{charter}). Mais \texttt{frenchmath} -% fournit une méthode générique s'adaptant à n'importe quelle police, -% en particulier \texttt{lmodern} avec laquelle ce document a été composé. -% -% D'autres préconisations peu respectées, telles que composer en romain -% et non en italique le symbole différentiel, les nombres i et e \cite{IGEN}, -% sont en fait des règles internationales \cite{TYPMA}, \cite{LSHORT}. -% Elles ne sont donc pas implémentées dans |frenchmath| -% \footnote{Nous proposons pour cela l'extension \texttt{mismath} \cite{MIS}, -% en cours de finalisation (\filedate). Celle-ci fournit également diverses macros +% sont proposées dans l'extension \textsf{fourier}~\cite{FOUR} +% (avec la famille des polices Adobe Utopia) +% ou encore \textsf{mathdesign}~\cite{DESIGN} (avec les polices Adobe Utopia, +% URW Garamond ou Bitstream Charter). Mais \textsf{frenchmath} +% fournit une méthode générique s'adaptant à n'importe quelle police, en particulier +% Latin Modern (extension \textsf{lmodern}) avec laquelle ce document a été composé. +% +% D'autres préconisations peu respectées, telles que composer en lettre droite +% et non en italique le symbole différentiel, les nombres i et e~\cite{IGEN}, +% sont en fait des règles internationales~\cite{TYPMA}~\cite{ICTNS}~\cite{LSHORT}. +% Elles ne sont donc pas implémentées dans \textsf{frenchmath} +% \footnote{Nous proposons pour cela l'extension \textsf{mismath}~\cite{MIS}. +% Celle-ci fournit également diverses macros % pour les mathématiques internationales.}. % % L'extension fournit en outre diverses macros francisées. -% Quelques différences sont à signaler avec |mafr| : +% Quelques différences sont à signaler avec \textsf{mafr} : % \begin{itemize} % \item nous avons choisi de ne pas substituer les symboles français aux symboles anglo-saxons % avec le même nom de commande mais de créer de nouvelles commandes ; -% \item les macros présentées dans la section 2 correspondant à des macros de |mafr| +% \item les macros présentées dans la section 2 correspondant à des macros de \textsf{mafr} % sont signalées par un astérisque en fin d'item, les autres sont nouvelles ; -% \item enfin quelques commandes de |mafr| ne sont pas spécifiques +% \item enfin quelques commandes de \textsf{mafr} ne sont pas spécifiques % aux mathématiques françaises et ne sont donc pas abordées ici : % c'est le cas de |\vect| -% \footnote{Pour de jolis vecteurs on dispose de l'extension \texttt{esvect} -% de Eddie Saudrais \cite{VECT}.}, +% \footnote{Pour de jolis vecteurs on dispose de l'extension \textsf{esvect} +% d'Eddie Saudrais~\cite{VECT}.}, % des ensembles de nombres |\R|, |\N|, \ldots (pour $\mathbf{R}, \mathbf{N}, \ldots$) % ainsi que celles relatives à la réalisation de feuilles d'exercices. % \end{itemize} % -% Mentionnons aussi l'extension |tdsfrmath| \cite{FRM} de Yvon Henel +% Mentionnons aussi l'extension \textsf{tdsfrmath}~\cite{FRM} de Yvon Henel % qui fournit beaucoup de commandes francisées. % % \section{Utilisation} % -% Contrairement à |mafr|, |frenchmath| ne charge pas les extensions -% |fontenc| avec l'option |T1|, -% ni |babel| avec l'option |french| +% Contrairement à \textsf{mafr}, \textsf{frenchmath} ne charge pas les extensions +% \textsf{fontenc} avec l'option |T1|, +% ni \textsf{babel} avec l'option |french| % \footnote{L'ancienne option \texttt{frenchb} est devenue obsolète -% et doit être remplacée par \texttt{french} \cite{BABEL}.} +% et doit être remplacée par \texttt{french}~\cite{BABEL}.} % afin de laisser à l'utilisateur plus de souplesse sur le choix de ces options. % % \medskip % 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}). +% (\cite{RTIN} p.107, voir aussi~\cite{IGEN}). % Il faut dire que cette convention n'est pas commode à mettre en œuvre, % ni avec \LaTeX, ni avec les éditeurs de formule des traitements de textes usuels, % et peu d'auteurs la respectent. % La mise en œuvre automatique de cette recommandation est le principal bénéfice -% de |frenchmath| (comme de |mafr|).* +% de \textsf{frenchmath} (comme de \textsf{mafr}).* % -% \DescribeEnv{capsrm, capsit} -% L'extension |frenchmath| possède deux options : |capsrm| (par défaut) et |capsit|. -% Avec |capsrm|, les majuscules sont composées automatiquement en romain -% \footnote{Ne fonctionne pas avec \texttt{beamer}.} +% \medskip +% \DescribeEnv{capsup, capsit} +% L'extension \textsf{frenchmath} possède deux options : |capsup| (par défaut) et |capsit|. +% Avec |capsup|, les majuscules du mode mathématique sont composées automatiquement +% en forme droite (dans la famille par défaut, généralement romain) % et avec |capsit| en italique. % Quelque soit l'option choisie, on peut toujours changer l'aspect % d'une lettre particulière, avec les macros \LaTeX\ |\mathrm| et |\mathit|. % % \medskip -% Nous présentons d'abors quelques commandes de \texttt{frenchmath} -% qui sont essentiellement des alias. +% Nous présentons d'abord quelques commandes de \textsf{frenchmath} +% qui sont pour certaines de simples alias. % +% \medskip % \DescribeMacro{\curs} % Les lettres cursives ($\curs{A}, \curs{B}, \curs{C}, \curs{D}, \ldots$) sont composées -% (en mode mathématique) avec la macro |\curs| et sont différentes de celles obtenues +% avec la macro |\curs| et sont différentes de celles obtenues % avec |\mathcal| -% \footnote{L'extension \texttt{calrsfs} fournit les mêmes cursives en redéfinissant +% \footnote{L'extension \textsf{calrsfs} fournit les mêmes cursives en redéfinissant % la commande \texttt{\bslash mathcal}.} % ($\mathcal{A}, \mathcal{B}, \mathcal{C}, \mathcal{D}, \ldots$).* +% L'activation du mode mathématique n'est pas nécessaire. % +% \medskip % \DescribeMacro{\infeg} \DescribeMacro{\supeg} % Les relations $\infeg$ et $\supeg$ s'obtiennent avec les commandes |\infeg| et |\supeg| % et diffèrent des versions anglaises de |\leq| ($\leq$) et |\geq| ($\geq$). -% Ce sont des alias des commandes |\leqslant| et |\geqslant| de l'extension \texttt{amssymb} -% automatiquement chargée par \texttt{frenchmath}.* +% Ce sont des alias des commandes |\leqslant| et |\geqslant| de l'extension \textsf{amssymb} +% automatiquement chargée par \textsf{frenchmath}.* % +% \medskip % \DescribeMacro{\vide} % Le symbole $\vide$ % \footnote{\LaTeX\ fournit la commande \texttt{\bslash o} qui compose % également un O barré, mais trop décalé vers le bas (pour l'ensemble vide) : $S=\o$, % alors qu'avec \texttt{\bslash vide} on obtient $S=\vide$.} -% s'obtient avec |\vide| (alias de |\varnothing| de l'extension \texttt{amssymb}) ; +% s'obtient avec |\vide| (alias de |\varnothing| de l'extension \textsf{amssymb}) ; % il diffère de la version anglaise % obtenue avec |\emptyset| : $\emptyset$.* % +% \medskip % \DescribeMacro{\paral} % La commande |\paral| fournit la \emph{relation} % \footnote{Pour noter que deux objets sont perpendiculaires, on utilise @@ -186,76 +197,94 @@ % du parallélisme : $\paral$, % plutôt que sa version anglaise |\parallel| : $\parallel$.* % +% \medskip % \DescribeMacro{\ssi} % La commande |\ssi| produit \og \ssi \fg. % +% \medskip % \DescribeMacro{\cmod} % Bien que \LaTeX\ propose par défaut le modulo entre parenthèses, avec |\pmod|, % qui est d'usage en français, on peut vouloir composer un modulo entre crochets, % ce que permet la commande |\cmod| en respectant le bon espacement % propre au modulo : $ 5 \equiv 53 \cmod{12}$. % +% \medskip +% \DescribeMacro{\Oij} \DescribeMacro{\Oijk} +% Les repères classiques du plan ou de l'espace seront composés automatiquement, +% avec des hauteurs de flèches homogénéisées : +% |\Oij| compose \Oij, |\Oijk| compose \Oijk et |\Ouv| compose \Ouv +% (utilisé dans le plan complexe). \DescribeMacro{\Ouv} +% On peut écrire ces commandes en mode texte, sans les délimiteurs du mode mathématique. +% % \medskip % Les commandes suivantes sont déclarées comme identifiants de fonctions. % +% \medskip % \DescribeMacro{\pgcd} \DescribeMacro{\ppcm} % En arithmétique, nous avons les classiques |\pgcd| et |\ppcm|, % qui diffèrent de leur version anglo-saxonne |\gcd| et |\lcm| % \footnote{Cette dernière n'est pas implémentée en standard dans \LaTeX\ -% (mais dans \texttt{mismath}).}. +% (mais dans \textsf{mismath}).}. % +% \medskip % \DescribeMacro{\Card} \DescribeMacro{\card} -% Pour le cardinal d'un ensemble, nous proposons |\Card|, cité dans \cite{RTIN}, -% ou |\card|, cité dans \cite{AA}. +% Pour le cardinal d'un ensemble, nous proposons |\Card|, cité dans~\cite{RTIN}, +% ou |\card|, cité dans~\cite{AA}. % -% \pagebreak +% \medskip % \DescribeMacro{\Ker} \DescribeMacro{\Hom} % \LaTeX\ fournit les macros % |\ker| et |\hom| alors que l'usage français est souvent % de commencer ces noms par une majuscule pour obtenir $\Ker$ % \footnote{La commande \texttt{\bslash Im} existe déjà pour la % partie imaginaire des nombres complexes et produit $\Im$ ; -% elle est redéfinie en Im par l'extension \texttt{mismath} +% elle est redéfinie en Im par l'extension \textsf{mismath} % et peut aussi être utilisée pour l'image.} % et $\Hom$. % +% \medskip % \DescribeMacro{\rg} \DescribeMacro{\Vect} % Le rang d'une application linéaire ou d'une matrice ($\rg$) s'obtient avec la commande |\rg| % et l'espace vectoriel engendré par une famille de vecteurs avec |\Vect|. % +% \medskip % \DescribeMacro{\ch} \DescribeMacro{\sh} \DescribeMacro{\tgh} % En principe, les fonctions hyperboliques s'écrivent en français avec les macros \LaTeX\ standard % |\cosh, \sinh, \tanh| ; les écritures $\ch x$, $\sh x$ et $\tgh x$ ne sont la norme -% qu'avec les langues d'Europe de l'Est \cite{COMP}, mais celles-ci -% sont néanmoins utilisées en France \cite{RTIN}. +% qu'avec les langues d'Europe de l'Est~\cite{COMP}, mais celles-ci +% sont néanmoins utilisées en France~\cite{RTIN}. % On les obtient avec les commandes |\ch|, |\sh| et |\tgh| % \footnote{La commande \texttt{\bslash th} existe déjà et produit $\th$.}. % % \medskip +% Traitons pour finir de questions de ponctuation. +% +% \medskip % \DescribeMacro{\virgdec} \DescribeMacro{\virgstd} % Par défaut la virgule est un symbole de ponctuation et, en mode mathématique, % une espace sera ajoutée après la virgule, ce qui est légitime dans un intervalle : % |$[a,b]$| donne $[a,b]$, mais pas pour un nombre en français : |$12,5$| donne $12,5$ % avec une espace trop grande après la virgule. -% L'extension |babel|, avec l'option |french|, fournit deux bascules : -% |\DecimalMathComma| et |\StandardMathComma| \cite{BABEL}, qui permettent de modifier +% L'extension \textsf{babel}, avec l'option |french|, fournit deux bascules : +% |\DecimalMathComma| et |\StandardMathComma|~\cite{BABEL}, qui permettent de modifier % le comportement de la virgule en mode mathématique. % Nous proposons ici les alias |\virgdec| et |\virgstd| pour ces deux commandes -% \footnote{Une autre solution très commode est l'utilisation de l'extension \texttt{icomma} -% (intelligent comma) de Walter Schmidt \cite{COMMA}, -% mais, contrairement à \texttt{\bslash virgdec}, \texttt{icomma} ne rétablit +% \footnote{Une autre solution très commode est l'utilisation de l'extension \textsf{icomma} +% (intelligent comma) de Walter Schmidt~\cite{COMMA}, +% mais, contrairement à \texttt{\bslash virgdec}, \textsf{icomma} ne rétablit % pas l'espace après la virgule quand % on tape \texttt{\$[a,b]\$}.}. % +% \medskip % \DescribeMacro{;} \virgdec % Le symbole \og;\fg\ a été redéfini pour le mode mathématique % car l'espace précédant le double-point est incorrecte en français % |$x \in [0,25 ; 3,75]$| donne -% $x\in [0,25 T 3,75 ]$ sans |frenchmath| et $x\in [0,25; 3,75]$ avec |frenchmath| ; +% $x\in [0,25 \PV 3,75 ]$ sans \textsf{frenchmath} et $x\in [0,25; 3,75]$ avec \textsf{frenchmath} ; % le comportement de \og ;\fg devient identique à celui de \og:\fg % \footnote{Un autre problème d'espacement se pose avec les délimiteurs $[$ et $]$, % par exemple $x \in ]0, \pi[$. Une solution est proposée -% dans l'extension \texttt{mismath}.}. +% dans l'extension \textsf{mismath}.}.\virgstd % % \section{Le code} % @@ -263,21 +292,40 @@ \RequirePackage{ifthen} \newboolean{capsit} \DeclareOption{capsit}{\setboolean{capsit}{true}} -\DeclareOption{capsrm}{\setboolean{capsit}{false}} % valeur par défaut +\DeclareOption{capsup}{\setboolean{capsit}{false}} % valeur par défaut \ProcessOptions \relax \RequirePackage{mathrsfs} % fournit les majuscules cursives \RequirePackage{amssymb} % fournit \leqslant, \geqslant et \varnothing \RequirePackage{amsopn} % fournit \DeclareMathOperator -\RequirePackage{xspace} % utile pour la commande \ssi +\RequirePackage{xspace} % utile pour les commandes \curs, \ssi, \Oij -\newcommand\curs{\mathscr} +\newcommand*\curs[1]{\ensuremath{\mathscr{#1}}\xspace} +% \end{macrocode} +% \changes{v1.1}{07/04/2019}{ajouté |\ensuremath| dans |\curs|} +% \begin{macrocode} \newcommand\infeg{\leqslant} \newcommand\supeg{\geqslant} \newcommand\vide{\varnothing} \newcommand{\paral}{\mathrel{/\!\!/}} % \parallel existe déjà : || \newcommand\ssi{si, et seulement si,\xspace} \newcommand*{\cmod}[1]{\quad[#1]} +\newcommand{\Oij}{\ensuremath{ + \left(O, \vec{\imath}, \vec{\jmath}\,\right) + }\xspace +} +\newcommand{\Oijk}{\ensuremath{ + \left(O, \vec{\vphantom{t}\imath}, \vec{\vphantom{t}\jmath}, + \vec{\vphantom{t}\smash{k}}\,\right) + }\xspace +} +\newcommand{\Ouv}{\ensuremath{ + \left(O, \vec{u}, \vec{v}\,\right)}\xspace +} +% \end{macrocode} +% \changes{v1.1}{07/04/2019}{ajouté |\Oij| et |Oijk|} +% \changes{v1.2}{25/04/2019}{ajouté |\Ouv|} +% \begin{macrocode} \DeclareMathOperator{\pgcd}{pgcd} \DeclareMathOperator{\ppcm}{ppcm} @@ -291,40 +339,45 @@ \DeclareMathOperator{\sh}{sh} \DeclareMathOperator{\tgh}{th} -\newcommand\virgdec{\DecimalMathComma} % pas d'espace -\newcommand\virgstd{\StandardMathComma} % espace après la virgule - -\DeclareSymbolFont{Roman}{\encodingdefault}{\familydefault}{m}{n} -\DeclareMathSymbol{;}\mathbin{Roman}{059} % \mathpunct à l'origine +\newcommand\virgdec{\DecimalMathComma} +\newcommand\virgstd{\StandardMathComma} -\ifthenelse{\boolean{capsit}}{}{% - \DeclareMathSymbol{A}\mathalpha{Roman}{`A} %'A codage octal du A dans Roman - \DeclareMathSymbol{B}\mathalpha{Roman}{`B} - \DeclareMathSymbol{C}\mathalpha{Roman}{`C} - \DeclareMathSymbol{D}\mathalpha{Roman}{`D} - \DeclareMathSymbol{E}\mathalpha{Roman}{`E} - \DeclareMathSymbol{F}\mathalpha{Roman}{`F} - \DeclareMathSymbol{G}\mathalpha{Roman}{`G} - \DeclareMathSymbol{H}\mathalpha{Roman}{`H} - \DeclareMathSymbol{I}\mathalpha{Roman}{`I} - \DeclareMathSymbol{J}\mathalpha{Roman}{`J} - \DeclareMathSymbol{K}\mathalpha{Roman}{`K} - \DeclareMathSymbol{L}\mathalpha{Roman}{`L} - \DeclareMathSymbol{M}\mathalpha{Roman}{`M} - \DeclareMathSymbol{N}\mathalpha{Roman}{`N} - \DeclareMathSymbol{O}\mathalpha{Roman}{`O} - \DeclareMathSymbol{P}\mathalpha{Roman}{`P} - \DeclareMathSymbol{Q}\mathalpha{Roman}{`Q} - \DeclareMathSymbol{R}\mathalpha{Roman}{`R} - \DeclareMathSymbol{S}\mathalpha{Roman}{`S} - \DeclareMathSymbol{T}\mathalpha{Roman}{`T} - \DeclareMathSymbol{U}\mathalpha{Roman}{`U} - \DeclareMathSymbol{V}\mathalpha{Roman}{`V} - \DeclareMathSymbol{W}\mathalpha{Roman}{`W} - \DeclareMathSymbol{X}\mathalpha{Roman}{`X} - \DeclareMathSymbol{Y}\mathalpha{Roman}{`Y} - \DeclareMathSymbol{Z}\mathalpha{Roman}{`Z} - } +\DeclareSymbolFont{up}{\encodingdefault}{\familydefault}{m}{n} +\DeclareMathSymbol{;}\mathbin{up}{059} % \mathpunct à l'origine +% \end{macrocode} +% L'option \texttt{capsup} redéfinit toutes les lettres majuscules +% du mode mathématique ; |\AtBeginDocument| est nécessaire pour que +% ces définitions soient prises en compte avec l'extension \textsf{beamer}. +% \smallskip +% \begin{macrocode} +\ifthenelse{\boolean{capsit}}{}{\AtBeginDocument{ + \DeclareMathSymbol{A}\mathalpha{up}{`A} %'A codage octal du A + \DeclareMathSymbol{B}\mathalpha{up}{`B} + \DeclareMathSymbol{C}\mathalpha{up}{`C} + \DeclareMathSymbol{D}\mathalpha{up}{`D} + \DeclareMathSymbol{E}\mathalpha{up}{`E} + \DeclareMathSymbol{F}\mathalpha{up}{`F} + \DeclareMathSymbol{G}\mathalpha{up}{`G} + \DeclareMathSymbol{H}\mathalpha{up}{`H} + \DeclareMathSymbol{I}\mathalpha{up}{`I} + \DeclareMathSymbol{J}\mathalpha{up}{`J} + \DeclareMathSymbol{K}\mathalpha{up}{`K} + \DeclareMathSymbol{L}\mathalpha{up}{`L} + \DeclareMathSymbol{M}\mathalpha{up}{`M} + \DeclareMathSymbol{N}\mathalpha{up}{`N} + \DeclareMathSymbol{O}\mathalpha{up}{`O} + \DeclareMathSymbol{P}\mathalpha{up}{`P} + \DeclareMathSymbol{Q}\mathalpha{up}{`Q} + \DeclareMathSymbol{R}\mathalpha{up}{`R} + \DeclareMathSymbol{S}\mathalpha{up}{`S} + \DeclareMathSymbol{T}\mathalpha{up}{`T} + \DeclareMathSymbol{U}\mathalpha{up}{`U} + \DeclareMathSymbol{V}\mathalpha{up}{`V} + \DeclareMathSymbol{W}\mathalpha{up}{`W} + \DeclareMathSymbol{X}\mathalpha{up}{`X} + \DeclareMathSymbol{Y}\mathalpha{up}{`Y} + \DeclareMathSymbol{Z}\mathalpha{up}{`Z} +}} % \end{macrocode} % % \begin{thebibliography}{16} @@ -338,31 +391,31 @@ % http://aalem.free.fr/maths/mathematiques.pdf. % \bibitem{TYPMA} \emph{Typesetting mathematics for science and technology according % to ISO 31/XI}, Claudio Beccari, TUGboat Volume 18 (1997), \No1. +% \bibitem{ICTNS} \emph{On the Use of Italic and up Fonts for Symbols in Scientific Text}, +% I.M.~Mills and W.V.~Metanomski, ICTNS (Interdivisional Committee on Nomenclature and Symbols), +% dec 1999. % \bibitem{COMP} \emph{\LaTeX\ Companion}. Frank Mittelbach, Michel Goossens, % 2\ieme édition, Pearson Education France, 2005. % \bibitem{LSHORT} \emph{The Not So Short Introduction to \LaTeXe}. Manuel \LaTeX\ % de Tobias Oetiker, Hubert Partl, Irene Hyna et Elisabeth Schlegl, CTAN, v6.2 28/02/2018. -% \bibitem{MAFR} \emph{La distribution \texttt{mafr}}. Extension \LaTeX\ de Christian Obrecht, +% \bibitem{MAFR} \emph{La distribution \textsf{mafr}}. Extension \LaTeX\ de Christian Obrecht, % CTAN, v1.0 17/09/2006. -% \bibitem{FRM} \emph{L'extension \texttt{tdsfrmath}}. Extension \LaTeX\ de Yvon Henel, +% \bibitem{FRM} \emph{L'extension \textsf{tdsfrmath}}. Extension \LaTeX\ de Yvon Henel, % CTAN, v1.3 22/06/2009. -% \bibitem{ISOM} \emph{\texttt{isomath}, Mathematical style for science and technology}. -% Extension \LaTeX\ de Günter Milde, CTAN, v0.6.1 04/06/2012. -% \bibitem{DESIGN} \emph{The \texttt{mathdesign} package}. Extension \LaTeX\ de +% \bibitem{FOUR} \textsf{Fourier}-GUT\hspace{-0.1em}\emph{enberg}. +% Extension \LaTeX\ de Michel Bovani, CTAN, v1.3 30/01/2005. +% \bibitem{DESIGN} \emph{The \textsf{mathdesign} package}. Extension \LaTeX\ de % Paul Pichaureau, CTAN, 29/08/2013. % \bibitem{BABEL} \emph{A Babel language definition file for French}. Extension \LaTeX\ -% \texttt{babel-french} de Daniel Flipo, CTAN, v3.5c 14/09/2018. -% \bibitem{COMMA} \emph{The \texttt{icomma} package for \LaTeXe}. +% \textsf{babel-french} de Daniel Flipo, CTAN, v3.5c 14/09/2018. +% \bibitem{COMMA} \emph{The \textsf{icomma} package for \LaTeXe}. % Extension \LaTeX\ de Walter Schmidt, % CTAN, v2.0 10/03/2002. % \bibitem{VECT} \emph{Typesetting vectors with beautiful arrow with \LaTeXe}. -% Extension \LaTeX\ \texttt{esvect} de Eddie Saudrais, CTAN, v1.3 11/07/2013. -% \bibitem{MIS} \emph{Miscellaneus mathematical macros}. Extension \LaTeX\ \texttt{mismath} -% d'Antoine Missier, en cours de finalisation (\filedate). +% Extension \LaTeX\ \textsf{esvect} d'Eddie Saudrais, CTAN, v1.3 11/07/2013. +% \bibitem{MIS} \emph{\textsf{mismath} -- Miscellaneus mathematical macros}. Extension \LaTeX\ +% d'Antoine Missier, CTAN, v1.2 27/04/2019. % \end{thebibliography} % \Finale \endinput - -% \footnote{On peut voir aussi \texttt{\bslash varparallel} -% de l'extension \texttt{txfonts/pxfonts}.} diff --git a/Master/texmf-dist/source/latex/frenchmath/frenchmath.ins b/Master/texmf-dist/source/latex/frenchmath/frenchmath.ins index 209c098cfda..5df632c9fba 100644 --- a/Master/texmf-dist/source/latex/frenchmath/frenchmath.ins +++ b/Master/texmf-dist/source/latex/frenchmath/frenchmath.ins @@ -1,5 +1,5 @@ %% -%% Copyright (C) 2018 by Antoine Missier +%% Copyright (C) 2019 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 by Antoine Missier +Copyright (C) 2019 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/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty index a5620099980..eb8f9d24a9c 100644 --- a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty +++ b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2019 by Antoine Missier +%% Copyright (C) 2019 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 @@ -22,25 +22,37 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{frenchmath} - [15/01/2019 v1.0 .dtx frenchmath file] + [27/04/2019 v1.2 .dtx frenchmath file] \RequirePackage{ifthen} \newboolean{capsit} \DeclareOption{capsit}{\setboolean{capsit}{true}} -\DeclareOption{capsrm}{\setboolean{capsit}{false}} % valeur par défaut +\DeclareOption{capsup}{\setboolean{capsit}{false}} % valeur par défaut \ProcessOptions \relax \RequirePackage{mathrsfs} % fournit les majuscules cursives \RequirePackage{amssymb} % fournit \leqslant, \geqslant et \varnothing \RequirePackage{amsopn} % fournit \DeclareMathOperator -\RequirePackage{xspace} % utile pour la commande \ssi +\RequirePackage{xspace} % utile pour les commandes \curs, \ssi, \Oij -\newcommand\curs{\mathscr} +\newcommand*\curs[1]{\ensuremath{\mathscr{#1}}\xspace} \newcommand\infeg{\leqslant} \newcommand\supeg{\geqslant} \newcommand\vide{\varnothing} \newcommand{\paral}{\mathrel{/\!\!/}} % \parallel existe déjà : || \newcommand\ssi{si, et seulement si,\xspace} \newcommand*{\cmod}[1]{\quad[#1]} +\newcommand{\Oij}{\ensuremath{ + \left(O, \vec{\imath}, \vec{\jmath}\,\right) + }\xspace +} +\newcommand{\Oijk}{\ensuremath{ + \left(O, \vec{\vphantom{t}\imath}, \vec{\vphantom{t}\jmath}, + \vec{\vphantom{t}\smash{k}}\,\right) + }\xspace +} +\newcommand{\Ouv}{\ensuremath{ + \left(O, \vec{u}, \vec{v}\,\right)}\xspace +} \DeclareMathOperator{\pgcd}{pgcd} \DeclareMathOperator{\ppcm}{ppcm} @@ -54,40 +66,39 @@ \DeclareMathOperator{\sh}{sh} \DeclareMathOperator{\tgh}{th} -\newcommand\virgdec{\DecimalMathComma} % pas d'espace -\newcommand\virgstd{\StandardMathComma} % espace après la virgule +\newcommand\virgdec{\DecimalMathComma} +\newcommand\virgstd{\StandardMathComma} -\DeclareSymbolFont{Roman}{\encodingdefault}{\familydefault}{m}{n} -\DeclareMathSymbol{;}\mathbin{Roman}{059} % \mathpunct à l'origine - -\ifthenelse{\boolean{capsit}}{}{% -\DeclareMathSymbol{A}\mathalpha{Roman}{`A} %'A codage octal du A dans Roman -\DeclareMathSymbol{B}\mathalpha{Roman}{`B} -\DeclareMathSymbol{C}\mathalpha{Roman}{`C} -\DeclareMathSymbol{D}\mathalpha{Roman}{`D} -\DeclareMathSymbol{E}\mathalpha{Roman}{`E} -\DeclareMathSymbol{F}\mathalpha{Roman}{`F} -\DeclareMathSymbol{G}\mathalpha{Roman}{`G} -\DeclareMathSymbol{H}\mathalpha{Roman}{`H} -\DeclareMathSymbol{I}\mathalpha{Roman}{`I} -\DeclareMathSymbol{J}\mathalpha{Roman}{`J} -\DeclareMathSymbol{K}\mathalpha{Roman}{`K} -\DeclareMathSymbol{L}\mathalpha{Roman}{`L} -\DeclareMathSymbol{M}\mathalpha{Roman}{`M} -\DeclareMathSymbol{N}\mathalpha{Roman}{`N} -\DeclareMathSymbol{O}\mathalpha{Roman}{`O} -\DeclareMathSymbol{P}\mathalpha{Roman}{`P} -\DeclareMathSymbol{Q}\mathalpha{Roman}{`Q} -\DeclareMathSymbol{R}\mathalpha{Roman}{`R} -\DeclareMathSymbol{S}\mathalpha{Roman}{`S} -\DeclareMathSymbol{T}\mathalpha{Roman}{`T} -\DeclareMathSymbol{U}\mathalpha{Roman}{`U} -\DeclareMathSymbol{V}\mathalpha{Roman}{`V} -\DeclareMathSymbol{W}\mathalpha{Roman}{`W} -\DeclareMathSymbol{X}\mathalpha{Roman}{`X} -\DeclareMathSymbol{Y}\mathalpha{Roman}{`Y} -\DeclareMathSymbol{Z}\mathalpha{Roman}{`Z} -} +\DeclareSymbolFont{up}{\encodingdefault}{\familydefault}{m}{n} +\DeclareMathSymbol{;}\mathbin{up}{059} % \mathpunct à l'origine +\ifthenelse{\boolean{capsit}}{}{\AtBeginDocument{ + \DeclareMathSymbol{A}\mathalpha{up}{`A} %'A codage octal du A + \DeclareMathSymbol{B}\mathalpha{up}{`B} + \DeclareMathSymbol{C}\mathalpha{up}{`C} + \DeclareMathSymbol{D}\mathalpha{up}{`D} + \DeclareMathSymbol{E}\mathalpha{up}{`E} + \DeclareMathSymbol{F}\mathalpha{up}{`F} + \DeclareMathSymbol{G}\mathalpha{up}{`G} + \DeclareMathSymbol{H}\mathalpha{up}{`H} + \DeclareMathSymbol{I}\mathalpha{up}{`I} + \DeclareMathSymbol{J}\mathalpha{up}{`J} + \DeclareMathSymbol{K}\mathalpha{up}{`K} + \DeclareMathSymbol{L}\mathalpha{up}{`L} + \DeclareMathSymbol{M}\mathalpha{up}{`M} + \DeclareMathSymbol{N}\mathalpha{up}{`N} + \DeclareMathSymbol{O}\mathalpha{up}{`O} + \DeclareMathSymbol{P}\mathalpha{up}{`P} + \DeclareMathSymbol{Q}\mathalpha{up}{`Q} + \DeclareMathSymbol{R}\mathalpha{up}{`R} + \DeclareMathSymbol{S}\mathalpha{up}{`S} + \DeclareMathSymbol{T}\mathalpha{up}{`T} + \DeclareMathSymbol{U}\mathalpha{up}{`U} + \DeclareMathSymbol{V}\mathalpha{up}{`V} + \DeclareMathSymbol{W}\mathalpha{up}{`W} + \DeclareMathSymbol{X}\mathalpha{up}{`X} + \DeclareMathSymbol{Y}\mathalpha{up}{`Y} + \DeclareMathSymbol{Z}\mathalpha{up}{`Z} +}} \endinput %% -- cgit v1.2.3