Changes

Jump to navigation Jump to search
884 bytes removed ,  18:54, 3 June 2020
m
remove link to former font page
< [[Math]] | [[Bold Typewriter]] | [[Fonts]] >
see Hans has descibed how to work with bold math in [http://www.pragma-ade.com/general/magazines/mag-0005.pdf MyWay No.5 about "Mixed Normal and Bold Math"] by Pragma ---- David Munger wrote in [http://www.ntg.nl/pipermail/ntg-context/2004/005314.html this post] and [http://www.ntg.nl/pipermail/ntg-context/2004/005315.html its followup]: I've just found a little workaround for using boldsymbols. It works even with the [[Math with nath|nath]] module. It's probably not the best way of doing itHowever, but since it does the trick for me, I guess it might useful this method only seems to other ConTeXters. <texcode>\define[1]\boldsymbol{{\hbox{\formula{\bfm #1}}}}</texcode> When using [[Math with nath|nath]], it doesn't work with inline formulaelucida fonts. So in that caseFor other fonts (currently only for latin modern and euler), better use <texcode>\unprotect\define[1]\boldsymbol{{\hbox{\o@dollar \bfm #1 \o@dollar}}}\protect</texcode> I one can also have to: <texcode>\definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mrbf=cmbx10 sa 1, exbf=cmex10 sa 1, mibf=cmmib10 sa 1, sybf=cmbsy10 sa 1, mabf=msam10 sa 1] \setupformulae[method=bold]</texcode> Then, I may define very handy commands like <texcode>\define\grad{\boldsymbol{\nabla}}\define[1]\vec{\boldsymbol{#1}}\define[1]\unitvec{\hat{\vec{#1}}}</texcode> and formulas like this typeset perfectly:
<texcode>
\definetypeface [ \grad h = a \unitvec{n} \boldmath] [mm] [boldmath] [latin-modern] [default]
</texcode>
and then use <code>boldsymbol</code> around symbol that you want in bold.
== Mixing Math Fonts ==

Navigation menu