# Note that the first argument of \def must not uses braces, and the second
# must use braces.
#
-# syntax: Either
+# syntax: (note that there should be no space character in the definition)
# \def\macroname{definition}
# or
# \def\macroname{definition} requires
# ("" for empty strings is not supported. One would have to use x for fields
# that are not set.)
#
+# It is also possible to use parameters for the macros
+# \def\macroname#1{definition using #1}
+#
+# TODO: Devise a mechanism to represent these in DocBook/XHTML
+#
# If you put any symbol with a requirement inside an iffont clause, you
# must put an alternative definition with the same requirement in the
# corresponding else clause. Otherwise the LaTeX output would depend on the
overline decoration none
overrightarrow decoration none
tilde decoration none
-underbar decoration none
+uline decoration none ulem
+underbar decoration everymode
underbrace decoration none
underleftarrow decoration none amsmath
underleftrightarrow decoration none amsmath
#undertilde decoration none accents
undertilde decoration none hiddensymbol
utilde decoration none undertilde
+uuline decoration none ulem
+uwave decoration none ulem
vec decoration none
widehat decoration none
widetilde decoration none
rm oldfont none hiddensymbol
tt oldfont none hiddensymbol
+# textsize commands
+tiny textsize none hiddensymbol
+scriptsize textsize none hiddensymbol
+footnotesize textsize none hiddensymbol
+small textsize none hiddensymbol
+normalsize textsize none hiddensymbol
+large textsize none hiddensymbol
+Large textsize none hiddensymbol
+LARGE textsize none hiddensymbol
+huge textsize none hiddensymbol
+Huge textsize none hiddensymbol
+
# matrix environments
Bmatrix matrix none
Vmatrix matrix none
\def\oiint{\oiintop\nolimits} mathop ∯ esint
\def\sqint{\sqintop\nolimits} mathop ⨖ esint
\def\sqiint{\sqiintop\nolimits} mathop esint
-\def\dotsint{\dotsintop\nolimits} mathop ∫⋯∫
+\def\dotsint{\dotsintop\nolimits} mathop ∫⋯∫ esint
\def\ointctrclockwise{\ointctrclockwiseop\nolimits} mathop ∲ esint
\def\ointclockwise{\ointclockwiseop\nolimits} mathop ∲ esint
Pr lyxblacktext 0 0 funclim x
gcd lyxblacktext 0 0 funclim x
deg lyxblacktext 0 0 func x
-mod lyxblacktext 0 0 func x amsmath
-bmod lyxblacktext 0 0 func x
-pmod lyxblacktext 0 0 func x
-pod lyxblacktext 0 0 func x amsmath
+#
+# Modulo notation
+#
+
+# the original definitions have spacing differences between display/inline/script,
+# but we cannot reproduce that here
+\def\bmod{\mkern1mu\mathbin{\textrm{mod}}\mkern1mu}
+\def\pmod#1{\mkern18mu(\textrm{mod}\mkern6mu#1)}
+\def\pod#1{\mkern18mu(#1)} amsmath
+\def\mod#1{\mkern12mu\textrm{mod}\mkern6mu#1} amsmath
+
# mathtools.sty
vcentcolon cmr 58 58 mathrel : mathtools
ordinarycolon cmr 58 58 mathrel : mathtools