diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-16 22:13:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-16 22:13:21 +0000 |
commit | 088a57c5213aca8ed76ad76ea90682b696cf1828 (patch) | |
tree | 63b81f0e98c84c3c41be064a28c28632618a0e52 /Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf | |
parent | ef690e66d4d7e1695597de0a8b802d651d6858be (diff) |
polyglossia (16mar21)
git-svn-id: svn://tug.org/texlive/trunk@58444 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf index 12fe3f24c96..5579317a125 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf +++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-russian.ldf @@ -72,13 +72,16 @@ % Force punctuation after heading number \define@boolkey{russian}[russian@]{forceheadingpunctuation}[true]{} +% Define some math functions +\define@boolkey{russian}[russian@]{mathfunctions}[true]{} % Register default options \xpg@initialize@gloss@options{russian}{babelshorthands=false, spelling=modern, numerals=arabic, indentfirst=true, - forceheadingpunctuation=true} + forceheadingpunctuation=true, + mathfunctions=true} \ifsystem@babelshorthands @@ -354,24 +357,27 @@ } %%% These lines taken from russianb.ldf, part of babel package. -% make it optional? -\def\sh {\mathop{\operator@font sh}\nolimits} -\def\ch {\mathop{\operator@font ch}\nolimits} -\def\tg {\mathop{\operator@font tg}\nolimits} -\def\arctg {\mathop{\operator@font arctg}\nolimits} -\def\arcctg{\mathop{\operator@font arcctg}\nolimits} -\def\th {\mathop{\operator@font th}\nolimits} -\def\ctg {\mathop{\operator@font ctg}\nolimits} -\def\cth {\mathop{\operator@font cth}\nolimits} -\def\cosec {\mathop{\operator@font cosec}\nolimits} -\def\Prob {\mathop{\kern\z@\mathsf{P}}\nolimits} -\def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits} -\def\nod {\mathop{\mathrm{н.о.д.}}\nolimits} -\def\nok {\mathop{\mathrm{н.о.к.}}\nolimits} -\def\NOD {\mathop{\mathrm{НОД}}\nolimits} -\def\NOK {\mathop{\mathrm{НОК}}\nolimits} -\def\Proj {\mathop{\mathrm{Пр}}\nolimits} -%\DeclareRobustCommand{\No}{№} +\AtBeginDocument{% +\ifrussian@mathfunctions% + \def\sh {\mathop{\operator@font sh}\nolimits} + \def\ch {\mathop{\operator@font ch}\nolimits} + \def\tg {\mathop{\operator@font tg}\nolimits} + \def\arctg {\mathop{\operator@font arctg}\nolimits} + \def\arcctg{\mathop{\operator@font arcctg}\nolimits} + \def\th {\mathop{\operator@font th}\nolimits} + \def\ctg {\mathop{\operator@font ctg}\nolimits} + \def\cth {\mathop{\operator@font cth}\nolimits} + \def\cosec {\mathop{\operator@font cosec}\nolimits} + \def\Prob {\mathop{\kern\z@\mathsf{P}}\nolimits} + \def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits} + \def\nod {\mathop{\mathrm{н.о.д.}}\nolimits} + \def\nok {\mathop{\mathrm{н.о.к.}}\nolimits} + \def\NOD {\mathop{\mathrm{НОД}}\nolimits} + \def\NOK {\mathop{\mathrm{НОК}}\nolimits} + \def\Proj {\mathop{\mathrm{Пр}}\nolimits} + %\DeclareRobustCommand{\No}{№} +\fi +} \endinput |