summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/maybemath/README
blob: cd3cb9857c1ba6bee1a9fbfcc55339e0079d5432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
maybemath LaTeX style, by Andy Buckley <andy@insectnation.org>
--------------------------------------------------------------

maybemath provides LaTeX macros for making 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.

\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.

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.