AZ logo

Package maybemath:
Make math bold or italic according to context.

The \maybebm and \maybeit macros can be used in maths expressions to make the arguments typeset as bold or italic respectively if the surrounding context is appropriate. They are useful for writing user macros for use in general contexts.

\maybebm is especially appropriate when section titles contain math expressions, since the title will appear bold but the header and table of contents usually replicate the title in normal width. It uses the bm package to make things bold

\maybeit performs a similar role to \mathrm{} but the maths expression will be italicised if the surrounding text is. \maybeitsubscript is provided to shift subscripts to the left if the expression is italicised.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX maybemath
TeX Live maybemath

You can also visit maybemath's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Package README
Package documentation
Documentation off CTAN -none known-
Maintainers
Andy Buckley
Version -not known-
License LaTeX Project Public License
Related packages -none recorded-
Keywords
symbols, mathematical
Characterizations
primary:
Subject-specific typesetting > Mathematics > Mathematical symbols

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.