summaryrefslogtreecommitdiffstats
path: root/config/macros.tex
diff options
context:
space:
mode:
Diffstat (limited to 'config/macros.tex')
-rw-r--r--config/macros.tex14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/macros.tex b/config/macros.tex
index 6e0c971..9fb7c14 100644
--- a/config/macros.tex
+++ b/config/macros.tex
@@ -41,6 +41,7 @@
\DeclareMathOperatorWithFont{\Ann}{\mathrm}{Ann}
\DeclareMathOperatorWithFont{\dec}{\mathrm}{déc}
+\DeclareMathOperatorWithFont{\Gal}{\mathrm}{Gal}
\DeclareMathOperatorWithFont{\Tr}{\mathrm}{Tr}
\DeclareMathOperatorWithFont{\N}{\mathrm}{N}
@@ -49,6 +50,13 @@
\DeclareMathOperatorWithFont{\ob}{\mathsf}{Ob}
+\DeclareMathOperatorWithFont{\GL}{\mathrm}{GL}
+\DeclareMathOperatorWithFont{\PGL}{\mathrm}{PGL}
+\DeclareMathOperatorWithFont{\AGL}{\mathrm}{AGL}
+\DeclareMathOperatorWithFont{\PSL}{\mathrm}{PSL}
+\DeclareMathOperatorWithFont{\Orth}{\mathrm}{O}
+\DeclareMathOperatorWithFont{\SOrth}{\mathrm}{SO}
+
% Exposants
\newcommand{\op}{^{\mathsf{op}}}
\newcommand{\sep}{^{\mathrm{sép}}}
@@ -101,7 +109,9 @@
\DeclareUnicodeMathSymbol{\boxempty}{\mathord}{operators}{"25A1}
%% Caractères japonais
-% On définit la police IPA Mincho. L'argument range semble ne pas fonctionner !
+% On définit la police IPA Mincho. En mode texte :
+\newfontfamily\IPAMincho[Script=CJK]{IPAMincho}
+% Et en mode maths (l'argument range semble ne pas fonctionner !) :
\setmathfont[range={"4E00-"9FFF},Script=CJK]{IPAMincho}
% On sauve le nom LaTeX de famille de cette police
\ExplSyntaxOn
@@ -112,6 +122,8 @@
\DeclareUnicodeMathSymbol{\yone}{\mathord}{\saveIPAMinchoFamily}{"7C73}
\Umathcode`田="0"\the\csname sym\saveIPAMinchoFamily\endcsname"7530
\DeclareUnicodeMathSymbol{\yoneDA}{\mathord}{\saveIPAMinchoFamily}{"7530}
+\Umathcode`別="0"\the\csname sym\saveIPAMinchoFamily\endcsname"5225
+\DeclareUnicodeMathSymbol{\betsu}{\mathord}{\saveIPAMinchoFamily}{"5225}
% Voir <URL: http://tex.stackexchange.com/questions/95304/spacing-changes-when-using-unicode-math-range-feature-why >
\setmathfont[range={}]{XITS Math}