texlive[56597] Master/texmf-dist: babel-russian (8oct20)

commits+karl at tug.org commits+karl at tug.org
Thu Oct 8 23:20:21 CEST 2020


Revision: 56597
          http://tug.org/svn/texlive?view=revision&revision=56597
Author:   karl
Date:     2020-10-08 23:20:21 +0200 (Thu, 08 Oct 2020)
Log Message:
-----------
babel-russian (8oct20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/babel-russian/README
    trunk/Master/texmf-dist/doc/generic/babel-russian/russianb.pdf
    trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx
    trunk/Master/texmf-dist/source/generic/babel-russian/russianb.ins
    trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf

Modified: trunk/Master/texmf-dist/doc/generic/babel-russian/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-russian/README	2020-10-08 21:19:58 UTC (rev 56596)
+++ trunk/Master/texmf-dist/doc/generic/babel-russian/README	2020-10-08 21:20:21 UTC (rev 56597)
@@ -1,6 +1,6 @@
 ----------------------------------------------------------------
 
-Russian language module for Babel, v1.3j
+Russian language module for Babel, v1.3k
 
 Released under the LaTeX Project Public License v1.3c or later.
 See http://www.latex-project.org/lppl.txt
@@ -13,14 +13,14 @@
 
 1. INSTALLATION
 
-- unpack babel-russian.zip
-- run "xelatex.exe russianb.dtx" (recommended)
+- Unpack babel-russian.zip.
+- Run "xelatex.exe russianb.dtx" (recommended)
   or "pdflatex.exe russianb.dtx";
-  run "tex.exe russianb.dtx"
+  alternatively run "tex.exe russianb.dtx"
   or "tex.exe russianb.ins", if you don't need documentation
-- move "russianb.ldf" to <textmf>/tex/generic/babel/contrib/
-- move "russianb.pdf" and README to <textmf>/doc/latex/russian-babel/
-- update filename base (see documentation for your TeX system)
+- Move "russianb.ldf" to <textmf>/tex/latex/babel-russian
+- Move "russianb.pdf" and README to <textmf>/doc/latex/russian-babel/
+- Update filename base (see documentation for your TeX system)
 
 2. USAGE
 
@@ -32,7 +32,8 @@
 to keep recommended order of the packages loaded, especially when running
 Unicode engines in a compatibility 8-bit mode.
 
-In the examples below, it is assumed that a source file has utf8 input encoding.
+In the examples below, it is assumed that a source file to be compile
+has utf8 input encoding.
 
 2.1. 8-bit mode
 
@@ -65,8 +66,8 @@
     \usepackage[english,russian]{babel}
 
 Instead of the Computer Modern Unicode (CMU) fonts loaded in this example,
-you may try any True Type or Open Type font installed on your computer provided
-that that font came with Russian letters.
+you may try any True Type or Open Type fonts installed on your computer provided
+that those fonts came with Russian letters.
 
 2.3 Typesetting ancient book
 
@@ -107,11 +108,15 @@
 
 5. CHANGES
 
+2020-09-06 version 1.3k
+
+    * Bug fixed in definition of \Russian command (thanks to Javier Bezos).
+
 2017-08-08 version 1.3j
 
     * TU encoding is set as default for X∃TeX and LuaTeX.
 
-    * \cyrdash now always prints dash 20% shorter than emdash.
+    * \cyrdash now always prints dash 20 percents shorter than emdash.
 
 2017-01-12 version 1.3i
 
@@ -180,7 +185,6 @@
     2008/03/21 v1.1r Russian support from the babel system.
 
 ----------------------------------------------------------------
-
 %%
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z

Modified: trunk/Master/texmf-dist/doc/generic/babel-russian/russianb.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx	2020-10-08 21:19:58 UTC (rev 56596)
+++ trunk/Master/texmf-dist/source/generic/babel-russian/russianb.dtx	2020-10-08 21:20:21 UTC (rev 56597)
@@ -7,7 +7,7 @@
 %<*readme>
 ----------------------------------------------------------------
 
-Russian language module for Babel, v1.3j
+Russian language module for Babel, v1.3k
 
 Released under the LaTeX Project Public License v1.3c or later.
 See http://www.latex-project.org/lppl.txt
@@ -21,16 +21,15 @@
 
 1. INSTALLATION
 
-- unpack babel-russian.zip
-- run "xelatex.exe russianb.dtx" (recommended)
+- Unpack babel-russian.zip.
+- Run "xelatex.exe russianb.dtx" (recommended)
   or "pdflatex.exe russianb.dtx";
-  run "tex.exe russianb.dtx"
+  alternatively run "tex.exe russianb.dtx"
   or "tex.exe russianb.ins", if you don't need documentation
-- move "russianb.ldf" to <textmf>/tex/generic/babel/contrib/
-- move "russianb.pdf" and README to <textmf>/doc/latex/russian-babel/
-- update filename base (see documentation for your TeX system)
+- Move "russianb.ldf" to <textmf>/tex/latex/babel-russian
+- Move "russianb.pdf" and README to <textmf>/doc/latex/russian-babel/
+- Update filename base (see documentation for your TeX system)
 
-
 2. USAGE
 
 Russian language definition file can be used both with legacy 8-bit engines
@@ -41,7 +40,8 @@
 to keep recommended order of the packages loaded, especially when running
 Unicode engines in a compatibility 8-bit mode.
 
-In the examples below, it is assumed that a source file has utf8 input encoding.
+In the examples below, it is assumed that a source file to be compile
+has utf8 input encoding.
 
 2.1. 8-bit mode
 
@@ -74,8 +74,8 @@
     \usepackage[english,russian]{babel}
 
 Instead of the Computer Modern Unicode (CMU) fonts loaded in this example,
-you may try any True Type or Open Type font installed on your computer provided
-that that font came with Russian letters.
+you may try any True Type or Open Type fonts installed on your computer provided
+that those fonts came with Russian letters.
 
 2.3 Typesetting ancient book
 
@@ -119,11 +119,16 @@
 
 5. CHANGES
 
+2020-09-06 version 1.3k
+
+    * Bug fixed in definition of \Russian command (thanks to Javier Bezos).
+
+
 2017-08-08 version 1.3j
 
     * TU encoding is set as default for X∃TeX and LuaTeX.
 
-    * \cyrdash now always prints dash 20% shorter than emdash.
+    * \cyrdash now always prints dash 20 percents shorter than emdash.
 
 
 2017-01-12 version 1.3i
@@ -215,7 +220,7 @@
 \endpreamble
 \postamble
 ----------------------------------------------------------------
-Copyright 2011-2017 Igor A. Kotelnikov.
+Copyright 2011-2020 Igor A. Kotelnikov.
 Copyright 1995-2008 Olga Lapko.
 Copyright 1989-2012 Johannes L. Braams.
 
@@ -262,7 +267,7 @@
 %</internal>
 %<*code>
 \NeedsTeXFormat{LaTeX2e}
-%\ProvidesFile{russianb.ldf}[2017/08/08 1.3j Russian support for the Babel system]
+\ProvidesFile{russianb.ldf}[2020/09/09 1.3k Russian support for the Babel system]
 %</code>
 %<*driver>
 \documentclass[a4paper]{ltxdoc}
@@ -277,11 +282,18 @@
     \usepackage{fontspec}
     \defaultfontfeatures{Ligatures={TeX}}
     \setmainfont{CMU Serif}
-    \setsansfont{CMU Sans Serif}
-    \setmonofont{CMU Typewriter Text}
-    %\setmonofont[Scale=MatchLowercase]{Courier New}
-    %\setmonofont[Scale=MatchUppercase]{Courier New}
-    %\setmonofont{Courier New}
+    %\setmainfont{STIX Two}[
+    %    UprightFont={* Math},
+    %    %UprightFont={* Text},
+    %    ItalicFont={* Text Italic},
+    %    BoldFont={* Text Bold},
+    %    BoldItalicFont={* Text Bold Italic},
+    %]
+    %\setsansfont{CMU Sans Serif}
+    %\setmonofont{CMU Typewriter Text}
+    %%\setmonofont[Scale=MatchLowercase]{Courier New}
+    %%\setmonofont[Scale=MatchUppercase]{Courier New}
+    %%\setmonofont{Courier New}
 \else
     \usepackage[X2,T2A]{fontenc}
     \usepackage[utf8]{inputenc}
@@ -416,11 +428,22 @@
 % \DoNotIndex{\cyrp,\cyrs,\cyrshch,\cyru,\CYRV,\cyrya}
 % \DoNotIndex{\CYRA,\CYRB,\cyrch,\CYRE,\CYREREV,\CYRF,\cyrf,\CYRI,\cyrishrt}
 % \DoNotIndex{\CYRO,\CYRR,\cyrsftsn,\CYRYA,\cyryu,\cyrzh}
-% \DoNotIndex{\CYRCH, \CYRG, \CYRL, \CYRZH}
+% \DoNotIndex{\CYRSH,\cyrsh,\CYRSHCH,\CYRYU,\CYRZ,\CYRZH,\CYRG,\CYRH}
 % \DoNotIndex{\z at skip,\z@}
-% \DoNotIndex{\|,\~,\ ,\,}
+% \DoNotIndex{\|,\~,\ }
+% \DoNotIndex{\\&,\',\(,\),\`,\\,\/,\.}
+% \DoNotIndex{\begin,\DeclareUTFcharacter}
+% \DoNotIndex{\csname,\def}
+% \DoNotIndex{\else,\endcsname,\end}
+% \DoNotIndex{\expandafter,\fi}
+% \DoNotIndex{\hbox,\hss}
+% \DoNotIndex{\iffalse,\ifx,\ignorespaces,\iflanguage}
+% \DoNotIndex{\language,\lastskip,\ldots,\let,\natexlab,\newblock,\nobreak}
+% \DoNotIndex{\providecommand,\ProvideTextCommandDefault,\relax,\renewcommand}
+% \DoNotIndex{\selectlanguage,\selectlanguageifdefined,\small,\textemdash}
+% \DoNotIndex{\or,\if,\fi,\unskip,\url,\UTFencname}
+% \DoNotIndex{\,,\catcode,\cite,\citeauthor,\citet,\citeyear,\href,\hskip,\ifdim}
 %
-
 %\GetFileInfo{russianb.dtx}
 %\GetFileInfo{russianb.ldf}
 %
@@ -472,7 +495,7 @@
 % (\file{.tex}) file. Output encoding is also known as the font encoding. It is
 % implemented within the font files.
 %
-% Generally, the user may choose between different Cyrillic
+% Generally, the user may choose between different available Cyrillic
 % encodings. The current support for Cyrillic uses LH family of MetaFont fonts
 % and theirs Postscript versions such as CM-super. Lua\LaTeX\ and Xe\LaTeX,
 % being the Unicode-based succeeders of \LaTeX, allow also for any Open Type
@@ -719,11 +742,11 @@
 %   |\glqq| & |"`| &
 %       German opening double quote (looks like ,\kern-0.08em,).     \\
 %   |\grqq| & |"'| &
-%       German closing double quote (looks like ``).                \\
+%       German closing double quote (looks like ``).                 \\
 %   |\guillemotleft| & |"<| &
 %       French opening double quote (looks like $<\!\!<$).           \\
 %   |\guillemotright| & |">| &
-%       French closing double quote (looks like $>\!\!>$).          \\
+%       French closing double quote (looks like $>\!\!>$).           \\
 %   |\dq|   &  &
 %       Original quotes character (|"|).                       \\[0.5em]
 %   |\babelhyphen{soft}|
@@ -744,9 +767,9 @@
 %            equivalent to |\babelhyphen{hard}| in \pkg{babel} 3.9. \\
 %   |\babelhyphen{nobreak}|
 %   & \verb="|= & Disables ligature at this position;
-%            equivalent to |\babelhyphen{nobreak}| (??) in \pkg{babel} 3.9.
+%            equivalent to |\babelhyphen{nobreak}| in \pkg{babel} 3.9.
 %                                                                  \\[0.5em]
-%   |\cyrdash|  &        & Row Cyrillic emdash (does not care
+%   |\cyrdash|  &        & Raw Cyrillic emdash (does not care
 %       spaces around).                                            \\
 %   |\cdash---| & |"---| &
 %       Cyrillic emdash in plain text.                              \\
@@ -886,6 +909,7 @@
 %
 %    \section{Implementation}
 %
+% \changes{1.3k}{2020/09/06}{bug in definition of \cs{Russian} fixed}
 % \changes{1.3h}{2016/02/18}{\cs{cyrdash} is redefined}
 % \changes{1.3h}{2016/02/18}{Bugs fixed in captions for revtex4 and revtex4-1}
 % \changes{1.3g}{2015/05/01}{Added support for revtex4 and revtex4-1 classes}
@@ -922,7 +946,7 @@
 %    argument of \cs{LdfInit}}
 %    \begin{macrocode}
 \ProvidesLanguage{russian}
-    [2017/08/12 1.3j Russian support for the Babel system]
+    [2020/09/09 1.3k Russian support for the Babel system]
 \LdfInit{russian}{captionsrussian}
 %    \end{macrocode}
 %
@@ -1125,7 +1149,7 @@
 %    but redefine its meaning; now  |\Russian| is simply an alias for
 %    |\selectlanguage{russian}|.
 %    \begin{macrocode}
-\DeclareRobustCommand{\Russian}{\selectlanguage{\russian}}
+\DeclareRobustCommand{\Russian}{\selectlanguage{russian}}
 %    \end{macrocode}
 %
 %  \Describe\cyrillictext{}
@@ -2032,7 +2056,7 @@
 %
 %
 %    As of version 1.2 the macros |\cyrmath..| are not supported any more. They
-%    requires package \pkg{textmath} which is not available now. Instead of
+%    require package \pkg{textmath} which is not available now. Instead of
 %    |\cyrmath..| it is advised to use corresponding |\text..| commands; they
 %    do work in math mode.
 %    \begin{macrocode}
@@ -2076,23 +2100,41 @@
 %    macro |\th| that conflicts with the text symbol |\th|
 %    defined in Latin~1 encoding:
 %
-% \changes{1.2}{2004/05/21}{Change definition of \cs{th}
-%    only for this language}
+% \changes{1.2}{2004/05/21}{Change definition of \cs{th}}
+% \changes{1.3j}{2017/08/11}{Log-like functions made robust}
 %    \begin{macrocode}
-\def\sh{\mathop{\operator at font sh}\nolimits}
-\def\ch{\mathop{\operator at font ch}\nolimits}
-\def\tg{\mathop{\operator at font tg}\nolimits}
-\def\ctg{\mathop{\operator at font ctg}\nolimits}
-\def\arctg{\mathop{\operator at font arctg}\nolimits}
-\def\arcctg{\mathop{\operator at font arcctg}\nolimits}
-\addto\extrasrussian{%
-  \babel at save{\th}%
-  \let\ltx at th\th
-  \def\th{\textormath{\ltx at th}%
-                     {\mathop{\operator at font th}\nolimits}}%
-  }
-\def\cth{\mathop{\operator at font cth}\nolimits}
-\def\cosec{\mathop{\operator at font cosec}\nolimits}
+\AtBeginDocument{%
+  \@ifpackageloaded{amsopn}
+  {%
+    \DeclareMathOperator{\sh}{sh}%\MakeRobust\sh
+    \DeclareMathOperator{\ch}{ch}%\MakeRobust\ch
+    \DeclareMathOperator{\tg}{tg}%\MakeRobust\tg
+    \DeclareMathOperator{\ctg}{ctg}%\MakeRobust\ctg
+    \DeclareMathOperator{\arctg}{arctg}%\MakeRobust\arctg%
+    \DeclareMathOperator{\arcctg}{arcctg}%\MakeRobust\arcctg%
+    \DeclareMathOperator{\cth}{cth}%\MakeRobust\cth%
+    \DeclareMathOperator{\cosec}{cosec}%\MakeRobust\cosec%
+    \DeclareMathOperator{\math at th}{th}%
+  }{%
+    \DeclareRobustCommand\sh{\mathop{\operator at font sh}\nolimits}%\MakeRobust\sh%
+    \DeclareRobustCommand\ch{\mathop{\operator at font ch}\nolimits}%\MakeRobust\ch%
+    \DeclareRobustCommand\tg{\mathop{\operator at font tg}\nolimits}%\MakeRobust\tg%
+    \DeclareRobustCommand\ctg{\mathop{\operator at font ctg}\nolimits}%\MakeRobust\ctg%
+    \DeclareRobustCommand{\arctg}{\mathop{\operator at font arctg}\nolimits}%
+    \DeclareRobustCommand\arcctg{\mathop{\operator at font arcctg}\nolimits}%\MakeRobust\arcctg%
+    \DeclareRobustCommand\cth{\mathop{\operator at font cth}\nolimits}%\MakeRobust\cth%
+    \DeclareRobustCommand\cosec{\mathop{\operator at font cosec}\nolimits}%\MakeRobust\cosec%
+    \DeclareRobustCommand{\math at th}{\mathop{\operator at font arctg}\nolimits}%
+  }%
+%  \addto\extrasrussian{%
+%    \babel at save{\th}%
+%    \let\text at th\th
+%    %\def\th{\TextOrMath{\text at th}{\math at th}}%
+%    \DeclareRobustCommand{\th}{\TextOrMath{\text at th}{\math at th}}
+%  }%
+  \let\text at th\th
+  \DeclareRobustCommand{\th}{\TextOrMath{\text at th}{\math at th}}
+}
 %    \end{macrocode}
 %
 %    \Describe\Prob{}%
@@ -2114,11 +2156,6 @@
   \def\NOK{\mathop{\mathrm{НОК}}\nolimits}
   \def\Proj{\mathop{\mathrm{Пр}}\nolimits}
 \else
-%  \def\nod{\mathop{\cyrmathrm{\cyrn.\cyro.\cyrd.}}\nolimits}
-%  \def\nok{\mathop{\cyrmathrm{\cyrn.\cyro.\cyrk.}}\nolimits}
-%  \def\NOD{\mathop{\cyrmathrm{\CYRN\CYRO\CYRD}}\nolimits}
-%  \def\NOK{\mathop{\cyrmathrm{\CYRN\CYRO\CYRK}}\nolimits}
-%  \def\Proj{\mathop{\cyrmathrm{\CYRP\cyrr}}\nolimits}
   \def\nod{\mathop{\textnormal{\cyrn.\cyro.\cyrd.}}\nolimits}
   \def\nok{\mathop{\textnormal{\cyrn.\cyro.\cyrk.}}\nolimits}
   \def\NOD{\mathop{\textnormal{\CYRN\CYRO\CYRD}}\nolimits}
@@ -2135,8 +2172,7 @@
 %    loading a local configuration file, and preparing the language
 %    to be activated at |\begin{document}| time.
 %
-% \changes{1.1d}{1996/11/03}{Now use \cs{ldf at finish} to wrap
-%    up}
+% \changes{1.1d}{1996/11/03}{Now use \cs{ldf at finish} to wrap up}
 %    \begin{macrocode}
 \ldf at finish{russian}
 %    \end{macrocode}
@@ -2143,7 +2179,7 @@
 %\iffalse
 %</code>
 %\fi
-%\CheckSum{2327}
+%\CheckSum{2353}
 %\Finale
 %
 %%

Modified: trunk/Master/texmf-dist/source/generic/babel-russian/russianb.ins
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-russian/russianb.ins	2020-10-08 21:19:58 UTC (rev 56596)
+++ trunk/Master/texmf-dist/source/generic/babel-russian/russianb.ins	2020-10-08 21:20:21 UTC (rev 56597)
@@ -24,7 +24,7 @@
 \endpreamble
 \postamble
 ----------------------------------------------------------------
-Copyright 2011-2017 Igor A. Kotelnikov.
+Copyright 2011-2020 Igor A. Kotelnikov.
 Copyright 1995-2008 Olga Lapko.
 Copyright 1989-2012 Johannes L. Braams.
 
@@ -52,7 +52,6 @@
   \file{\jobname.ldf}{\from{\jobname.dtx}{code}}
 }
 \endbatchfile
-
 %%
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -140,7 +139,7 @@
 %% \cyrya=я
 %% \cyrsftsn=ь
 %% ----------------------------------------------------------------
-%% Copyright 2011-2017 Igor A. Kotelnikov.
+%% Copyright 2011-2020 Igor A. Kotelnikov.
 %% Copyright 1995-2008 Olga Lapko.
 %% Copyright 1989-2012 Johannes L. Braams.
 %% 

Modified: trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf	2020-10-08 21:19:58 UTC (rev 56596)
+++ trunk/Master/texmf-dist/tex/generic/babel-russian/russianb.ldf	2020-10-08 21:20:21 UTC (rev 56597)
@@ -12,9 +12,9 @@
 %% See http://www.latex-project.org/lppl.txt
 %% ----------------------------------------------------------------
 \NeedsTeXFormat{LaTeX2e}
-
+\ProvidesFile{russianb.ldf}[2020/09/09 1.3k Russian support for the Babel system]
 \ProvidesLanguage{russian}
-    [2017/08/12 1.3j Russian support for the Babel system]
+    [2020/09/09 1.3k Russian support for the Babel system]
 \LdfInit{russian}{captionsrussian}
 \ifdefined\if at uni@ode
   \PackageError{babel}{if at uni@ode already defined.\MessageBreak
@@ -75,7 +75,7 @@
   \lowercase\expandafter{\expandafter\input\cyrillicencoding enc.def\relax}%
   \AtBeginDocument{\@setcyrillicencoding}
 \fi
-\DeclareRobustCommand{\Russian}{\selectlanguage{\russian}}
+\DeclareRobustCommand{\Russian}{\selectlanguage{russian}}
 \DeclareRobustCommand{\cyrillictext}{%
   \fontencoding\cyrillicencoding\selectfont
   \let\encodingdefault\cyrillicencoding
@@ -541,20 +541,32 @@
 }
 \@onlypreamble\captionsrussian at ancient
 \@onlypreamble\daterussian at ancient
-\def\sh{\mathop{\operator at font sh}\nolimits}
-\def\ch{\mathop{\operator at font ch}\nolimits}
-\def\tg{\mathop{\operator at font tg}\nolimits}
-\def\ctg{\mathop{\operator at font ctg}\nolimits}
-\def\arctg{\mathop{\operator at font arctg}\nolimits}
-\def\arcctg{\mathop{\operator at font arcctg}\nolimits}
-\addto\extrasrussian{%
-  \babel at save{\th}%
-  \let\ltx at th\th
-  \def\th{\textormath{\ltx at th}%
-                     {\mathop{\operator at font th}\nolimits}}%
-  }
-\def\cth{\mathop{\operator at font cth}\nolimits}
-\def\cosec{\mathop{\operator at font cosec}\nolimits}
+\AtBeginDocument{%
+  \@ifpackageloaded{amsopn}
+  {%
+    \DeclareMathOperator{\sh}{sh}%\MakeRobust\sh
+    \DeclareMathOperator{\ch}{ch}%\MakeRobust\ch
+    \DeclareMathOperator{\tg}{tg}%\MakeRobust\tg
+    \DeclareMathOperator{\ctg}{ctg}%\MakeRobust\ctg
+    \DeclareMathOperator{\arctg}{arctg}%\MakeRobust\arctg%
+    \DeclareMathOperator{\arcctg}{arcctg}%\MakeRobust\arcctg%
+    \DeclareMathOperator{\cth}{cth}%\MakeRobust\cth%
+    \DeclareMathOperator{\cosec}{cosec}%\MakeRobust\cosec%
+    \DeclareMathOperator{\math at th}{th}%
+  }{%
+    \DeclareRobustCommand\sh{\mathop{\operator at font sh}\nolimits}%\MakeRobust\sh%
+    \DeclareRobustCommand\ch{\mathop{\operator at font ch}\nolimits}%\MakeRobust\ch%
+    \DeclareRobustCommand\tg{\mathop{\operator at font tg}\nolimits}%\MakeRobust\tg%
+    \DeclareRobustCommand\ctg{\mathop{\operator at font ctg}\nolimits}%\MakeRobust\ctg%
+    \DeclareRobustCommand{\arctg}{\mathop{\operator at font arctg}\nolimits}%
+    \DeclareRobustCommand\arcctg{\mathop{\operator at font arcctg}\nolimits}%\MakeRobust\arcctg%
+    \DeclareRobustCommand\cth{\mathop{\operator at font cth}\nolimits}%\MakeRobust\cth%
+    \DeclareRobustCommand\cosec{\mathop{\operator at font cosec}\nolimits}%\MakeRobust\cosec%
+    \DeclareRobustCommand{\math at th}{\mathop{\operator at font arctg}\nolimits}%
+  }%
+  \let\text at th\th
+  \DeclareRobustCommand{\th}{\TextOrMath{\text at th}{\math at th}}
+}
 \def\Prob{\mathop{\kern\z@\mathsf{P}}\nolimits}
 \def\Variance{\mathop{\kern\z@\mathsf{D}}\nolimits}
 \if at uni@ode
@@ -658,7 +670,7 @@
 %% \cyrya=я
 %% \cyrsftsn=ь
 %% ----------------------------------------------------------------
-%% Copyright 2011-2017 Igor A. Kotelnikov.
+%% Copyright 2011-2020 Igor A. Kotelnikov.
 %% Copyright 1995-2008 Olga Lapko.
 %% Copyright 1989-2012 Johannes L. Braams.
 %% 



More information about the tex-live-commits mailing list.