diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-16 22:13:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-16 22:13:44 +0000 |
commit | d33689322dcb335685d90e2ff7e609389c818d77 (patch) | |
tree | 3b730a7d85b82ba07ced8a56a6fb289d337e0108 /Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf | |
parent | 59ced15105a36e69070f8ce3889d85648be567a3 (diff) |
polyglossia (16mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58445 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf | 48 |
1 files changed, 27 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf index 417e258f2a8..e9f00844289 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf +++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-ukrainian.ldf @@ -44,8 +44,11 @@ }{\xpg@warning{Unknown Ukrainian numerals value `#1'}} +% Define some math functions +\define@boolkey{ukrainian}[ukrainian@]{mathfunctions}[true]{} + % Register default options -\xpg@initialize@gloss@options{ukrainian}{numerals=arabic} +\xpg@initialize@gloss@options{ukrainian}{numerals=arabic,mathfunctions=true} \define@boolkey{ukrainian}[ukrainian@]{babelshorthands}[true]{} @@ -253,25 +256,28 @@ } %%% stuff from Babel -% 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\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\nsd{\mathop{\mathrm{н.с.д.}}\nolimits} -\def\nsk{\mathop{\mathrm{н.с.к.}}\nolimits} -\def\NSD{\mathop{\mathrm{НСД}}\nolimits} -\def\NSK{\mathop{\mathrm{НСК}}\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} +\AtBeginDocument{% +\ifukrainian@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\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\nsd{\mathop{\mathrm{н.с.д.}}\nolimits} + \def\nsk{\mathop{\mathrm{н.с.к.}}\nolimits} + \def\NSD{\mathop{\mathrm{НСД}}\nolimits} + \def\NSK{\mathop{\mathrm{НСК}}\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} +\fi +} \endinput |