Changes

Jump to navigation Jump to search
908 bytes added ,  12:54, 8 June 2020
m
no edit summary
< [[Structurals]] | [[Structurals|Text formatting]] >
 
==Default==
You can find the conversions codes at [http://wiki.contextgarden.net/Conversions]
===Editing Bold Math in Section Titles===
 
When a section title is formatted in boldface text, this doesn't automatically typeset embedded math in bold. This is probably a good thing, as many math fonts do not include all characters in boldface, and often authors use boldface to distinguish between different meanings (for instance, scalar and vector variables). However, in some cases, it <i>is</i> desirable to format the math in the section titles in boldface.
 
Here a very simple example:
<texcode>
\definetypeface[boldmath][mm][boldmath][latin-modern][default]
\setuphead[section][style=\boldmath\rm\bfa]
\starttext
\section{Bold $a^2+b^2=c^2$ {\em bla}}
text: not bold $a^2+b^2=c^2$ {\em bla}
\stoptext
</texcode>
 
<context>
\definetypeface[boldmath][mm][boldmath][latin-modern][default]
\setuphead[section][style=\boldmath\rm\bfa]
\starttext
\section{Bold $a^2+b^2=c^2$ {\em bla}}
text: not bold $a^2+b^2=c^2$ {\em bla}
\stoptext
</context>
 
[[Category:Basics]]
[[Category:Fonts]]
[[Category:Graphics]]
[[Category:Text elementsMath]]

Navigation menu