summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/maybemath.tlpsrc
blob: fe22aa7ef021930fbe213ae5cbef13b72d49684e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name maybemath
category Package
shortdesc Make math bold or italic according to context.
longdesc The \maybebm and \maybeit macros can be used in math expressions
longdesc to make the arguments typeset as bold or italic respectively if
longdesc the surrounding context is appropriate. They are useful for
longdesc writing user macros for use in general contexts. \maybebm is
longdesc especially appropriate when section titles contain math
longdesc expressions, since the title will appear bold but the header and
longdesc table of contents usually replicate the title in normal width.  It
longdesc uses the bm package to make things bold \maybeit performs a
longdesc similar role to \mathrm{} but the math expression will be
longdesc italicised if the surrounding text is. \maybeitsubscript is
longdesc provided to shift subscripts to the left if the expression is
longdesc italicised. [description copied from TeX Catalogue]