summaryrefslogtreecommitdiffstats
path: root/config/macros.tex
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2013-02-28 23:18:55 +0100
committerDavid A. Madore <david+git@madore.org>2013-02-28 23:18:55 +0100
commit615b1e0f2f55353dd403ab2ab2af03336fa58eba (patch)
tree776d8292d22606cef4e8dc14e3213b32e292fabc /config/macros.tex
parent7a5203cdf7361c25654c28bba6ec1af2dc7300b6 (diff)
downloadgalois-615b1e0f2f55353dd403ab2ab2af03336fa58eba.tar.gz
galois-615b1e0f2f55353dd403ab2ab2af03336fa58eba.tar.bz2
galois-615b1e0f2f55353dd403ab2ab2af03336fa58eba.zip
Transformation en LuaTeX : correspondance-galois.tex
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}