#

Search | Home | Alpha | Brief | Topical | Hierarchical

maybemath

Make math bold or italic according to context.

The `\maybebm` and `\maybeit` macros can be used in math 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 math expression will be italicised if the surrounding text is. `\maybeitsubscript` is provided to shift subscripts to the left if the expression is italicised.

The author is Andy Buckley.

License: lppl Version dated: 2005-02-22 Catalogued: 2006-11-09

- Visit
  - Visit a nearby CTAN:/macros/latex/contrib/maybemath. If this fails, try Cambridge.
  - Visit Cambridge:/macros/latex/contrib/maybemath
- Download
  - Download from a nearby CTAN (automatically identified).
  - Download from Cambridge.
- Documentation
  - Package README: README.
  - Package documentation: maybemath.pdf.
- Distributions
  - This package is included in MikTeX.