@@ -641,6 +641,35 @@ compileToMathML(
641641 \def{projlim}{\mo[atom=op, movablelimits=true]{proj lim}}
642642 \def{injlim}{\mo[atom=op, movablelimits=true]{inj lim}}
643643
644+ % Other pre-defined operators from the TeXbook, p. 162:
645+ % TeX of course defines them with \mathop, so we use atom=op here.
646+ % MathML would use a <mi> here.
647+ % But we use a <mo> so the atom type is handled
648+ \def{arccos}{\mo[atom=op]{arccos}}
649+ \def{arcsin}{\mo[atom=op]{arcsin}}
650+ \def{arctan}{\mo[atom=op]{arctan}}
651+ \def{arg}{\mo[atom=op]{arg}}
652+ \def{cos}{\mo[atom=op]{cos}}
653+ \def{cosh}{\mo[atom=op]{cosh}}
654+ \def{cot}{\mo[atom=op]{cot}}
655+ \def{coth}{\mo[atom=op]{coth}}
656+ \def{csc}{\mo[atom=op]{csc}}
657+ \def{deg}{\mo[atom=op]{deg}}
658+ \def{det}{\mo[atom=op]{det}}
659+ \def{dim}{\mo[atom=op]{dim}}
660+ \def{exp}{\mo[atom=op]{exp}}
661+ \def{hom}{\mo[atom=op]{hom}}
662+ \def{ker}{\mo[atom=op]{ker}}
663+ \def{lg}{\mo[atom=op]{lg}}
664+ \def{ln}{\mo[atom=op]{ln}}
665+ \def{log}{\mo[atom=op]{log}}
666+ \def{Pr}{\mo[atom=op]{Pr}}
667+ \def{sec}{\mo[atom=op]{sec}}
668+ \def{sin}{\mo[atom=op]{sin}}
669+ \def{sinh}{\mo[atom=op]{sinh}}
670+ \def{tan}{\mo[atom=op]{tan}}
671+ \def{tanh}{\mo[atom=op]{tanh}}
672+
644673 % Standard spaces gleaned from plain TeX
645674 \def{thinspace}{\mspace[width=thin]}
646675 \def{negthinspace}{\mspace[width=-thin]}
0 commit comments