diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/maybemath/README |
Initial commit
Diffstat (limited to 'macros/latex/contrib/maybemath/README')
-rw-r--r-- | macros/latex/contrib/maybemath/README | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/macros/latex/contrib/maybemath/README b/macros/latex/contrib/maybemath/README new file mode 100644 index 0000000000..7d3fdf8f3b --- /dev/null +++ b/macros/latex/contrib/maybemath/README @@ -0,0 +1,34 @@ +maybemath LaTeX style, by Andy Buckley <andy@insectnation.org> +-------------------------------------------------------------- + +maybemath provides LaTeX macros for making math bold, upright, italic +or sans-serif 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. + +\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. + +\maybesf makes the argument typeset with \mathsf{} if the surrounding text +context is sans-serif. Note that there is no sans-serif italic math font, +so this command is not compatible with any italic-forcing commands. + +A convenience macro, \maybebmsf is available for handling boldness and +sans-serif issues at the same time, as these are probably the most frequent +problematic environments. Other combined handling is possible with nested +use of the above commands. + +Thanks to Viet-Trung Luu on comp.text.tex for providing the first steps +to solving this problem. + +This material is subject to the LaTeX Project Public License. +See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for +the details of that license.
\ No newline at end of file |