diff --git a/commun/commun.sty b/commun/commun.sty index 360dd2e..7789308 100644 --- a/commun/commun.sty +++ b/commun/commun.sty @@ -375,6 +375,7 @@ \newfontfamily\ChelseaMarket[Ligatures=TeX]{Chelsea Market} % \newfontfamily\Comic[Ligatures=TeX]{Comic Sans MS} \newfontfamily\DejaVuSans[Ligatures=TeX]{DejaVu Sans} +\newfontfamily\dominofont[Ligatures=TeX]{DejaVu Sans} \newfontfamily\Delius[Ligatures=TeX]{Delius} \newfontfamily\DeliusSC[Ligatures=TeX]{Delius Swash Caps} \newfontfamily\FingerPaint[Ligatures=TeX]{Finger Paint} @@ -399,6 +400,16 @@ % } %-------------------------------------------------------- +%--- +% Print dominos +\newcommand*\d@mino[3]{% + {\dominofont\char + \numexpr #1 + #2*7 + #3 + \relax + }} +\newcommand*\domino{\@ifstar{\d@mino{127075}}{\d@mino{127025}}} +%--- + %-- diff --git a/jl-cours/jl-cours.cls b/jl-cours/jl-cours.cls index 01b4996..948ac52 100644 --- a/jl-cours/jl-cours.cls +++ b/jl-cours/jl-cours.cls @@ -112,7 +112,7 @@ %% tkz %% -\usetkzobj{all} % on charge tous les objets +%\usetkzobj{all} % on charge tous les objets: useless since version 3.02 of tkz-euclide %% sizing of the page %% diff --git a/shortcuts/shortcuts.sty b/shortcuts/shortcuts.sty index 041b5ad..9769466 100644 --- a/shortcuts/shortcuts.sty +++ b/shortcuts/shortcuts.sty @@ -195,13 +195,13 @@ % {\ensuremath{ \mathbb{R} \setminus \{0\} }} % {\! \mathbb{R} \setminus \{0\} \!} % {\! \mathbb{R} \setminus \{0\} \!} - \!\!\!\!\ensuremath{\mathbb{R} \setminus \{0\}}\!\!\! + \ensuremath{\mathbb{R} \setminus \{0\}} }{ % \mathchoice{\! \mathbb{R} \setminus \{0, #2\} \!} % {\ensuremath{ \mathbb{R} \setminus \{0, #2\} }} % {\! \mathbb{R} \setminus \{0, #2\} \!} % {\! \mathbb{R} \setminus \{0, #2\} \!} - \!\!\!\!\ensuremath{\mathbb{R} \setminus \{0, #2\}}\!\!\! + \ensuremath{\mathbb{R} \setminus \{0, #2\}} } }{ \IfNoValueTF {#2} { @@ -209,13 +209,13 @@ % {\ensuremath{ \mathbb{R} }} % {\mathbb{R}} % {\mathbb{R}} - \!\!\!\!\ensuremath{ \mathbb{R} }\!\!\! + \ensuremath{ \mathbb{R} } }{ % \mathchoice{\mathbb{R} \setminus \{#2\}} % {\ensuremath{ \mathbb{R} \setminus \{#2\} }} % {\mathbb{R} \setminus \{#2\}} % {\mathbb{R} \setminus \{#2\}} - \!\!\!\!\ensuremath{\mathbb{R} \setminus \{#2\}}\!\!\! + \ensuremath{\mathbb{R} \setminus \{#2\}} } } } @@ -308,6 +308,12 @@ \NewDocumentCommand \point{ G{A} G{0} G{0} } { $ #1\big(#2\ ;\ #3\big) $ } + +%% print the acronym F.I. for "Forme indéterminée" in bold and sans-serif font. +%% +\NewDocumentCommand \FI{ } { + \textsf{\textbf{F.I.}} +} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%