summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/maybemath/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/maybemath/README')
-rw-r--r--Master/texmf-dist/doc/latex/maybemath/README13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/maybemath/README b/Master/texmf-dist/doc/latex/maybemath/README
index cd3cb9857c1..7d3fdf8f3b6 100644
--- a/Master/texmf-dist/doc/latex/maybemath/README
+++ b/Master/texmf-dist/doc/latex/maybemath/README
@@ -1,8 +1,8 @@
maybemath LaTeX style, by Andy Buckley <andy@insectnation.org>
--------------------------------------------------------------
-maybemath provides LaTeX macros for making math bold or italic according to
-context.
+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
@@ -17,6 +17,15 @@ of contents usually replicate the title in normal width.
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.