diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty b/Master/texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty index 7ac1db279c3..0f09a0111df 100644 --- a/Master/texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty +++ b/Master/texmf-dist/tex/latex/tdsfrmath/tdsfrmath.sty @@ -21,8 +21,8 @@ %% 1999/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] \def\PackageName{tdsfrmath} -\def\fileversion{v1.1} -\def\filedate{2008/08/11} +\def\fileversion{v1.2} +\def\filedate{2008/09/17} \def\fileinfo{macros pour les maths par Le TeXnicien de surface} \ProvidesPackage{tdsfrmath} @@ -68,7 +68,9 @@ \define@boolkey[TdSM]{tdsfrmath.sty}[TdSM@]{suite}[]{} \define@boolkey[TdSM]{tdsfrmath.sty}[TdSM@]{suitedeco}[]{} \define@boolkey[TdSM]{tdsfrmath.sty}[TdSM@]{SepDefEnsExt}[]{} +\define@boolkey[TdSM]{tdsfrmath.sty}[TdSM@]{avecmathdesign}[]{} \ExecuteOptionsX[TdSM]{% + avecmathdesign=false,% taupe=false,% ArgArcMaj=false,% suite=false,% @@ -81,7 +83,8 @@ CharPoGdT=false,gdtpack=***,gdtcomd=***,gdtoptn=***} \ProcessOptionsX[TdSM]\relax \let\nr\relax -\RequirePackage{amsmath, amssymb} +\RequirePackage{amsmath} +\ifTdSM@avecmathdesign\else\RequirePackage{amssymb}\fi \RequirePackage{xspace} \RequirePackage{xargs} \RequirePackage{suffix} @@ -98,6 +101,11 @@ \PackageInfo{tdsfrmath}{fichier suite.sto inclus\@gobble}}{% \PackageWarningNoLine{tdsfrmath}{fichier suite.sto introuvable}}} \fi +\ifTdSM@avecmathdesign +\def\TdSM@MathCalPol{\mathscr} +\PackageInfo{tdsfrmath}{On compte sur mathdesign !\MessageBreak + La police calligraphique est << mathscr >> \@gobble} +\else \ifTdSM@CharPoCal \PackageInfo{tdsfrmath}{La clef CharPoCal est vraie \@gobble} \IfFileExists{\TdSM@calpack.sty}{% @@ -122,6 +130,7 @@ La police calligraphique est << mathcal >> \@gobble} \def\TdSM@MathCalPol{\mathcal} \fi +\fi \newcommand\TdSM@DefinirGrasDefaut{% \def\TdSM@MathGdTPol{\mathbb}% \PackageInfo{tdsfrmath}{Gras de tableau obtenu par mathbb\@gobble}} @@ -358,15 +367,15 @@ \newcommand{\plusinf}{\ensuremath{+\infty}\xspace} \newcommand{\moinsinf}{\ensuremath{-\infty}\xspace} \newcommand{\TdSM@dedans}[3]{\mspace{#1mu}\TdSMnuplet{#2}\mspace{#3mu}} -\newcommandx{\interff}[4][1=0,2=1,4=0]% +\newcommandx{\interff}[4][1=1,2=1,4=0]% {\crochet[#1]{\TdSM@dedans{#2}{#3}{#4}}} -\newcommandx{\interoo}[4][1=0,2=1,4=0]{% +\newcommandx{\interoo}[4][1=1,2=1,4=0]{% \EncloreExtensible[#1]{]}{[}{\TdSM@dedans{#2}{#3}{#4}}} -\newcommandx{\interof}[4][1=0,2=1,4=0]{% +\newcommandx{\interof}[4][1=1,2=1,4=0]{% \EncloreExtensible[#1]{]}{]}{\TdSM@dedans{#2}{#3}{#4}}} -\newcommandx{\interfo}[4][1=0,2=1,4=0]{% +\newcommandx{\interfo}[4][1=1,2=1,4=0]{% \EncloreExtensible[#1]{[}{[}{\TdSM@dedans{#2}{#3}{#4}}} -\newcommandx{\intferab}[2][1=0,2=0]{\interff[#1]{a b}[#2]} +\newcommandx{\intferab}[2][1=1,2=0]{\interff[#1]{a b}[#2]} \newcommand{\mdfrac}[2]{\ensuremath{\dfrac{#1}{#2}}} \newcommand{\mfrac}[2]{\ensuremath{\frac{#1}{#2}}} \newcommand*{\manus}[1]{% |