ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bold math in section titles ??
@ 2005-05-19 12:50 Michael Fuchs
  2005-05-21 14:16 ` Enrico Schmitz
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Fuchs @ 2005-05-19 12:50 UTC (permalink / raw)


Hi!

Is it possible to activate bold math printing in a
chapter/section/subsection title? In the example the
numbers withing math mode (and the greek symbols)
are set in regular style, while the rest of the title
is printed in bold.

Best regards

Michael


--------------
Example:

\setuphead[chapter][textstyle=bold]
\setuphead[section][textstyle=bold]
\setuphead[subsection][textstyle=bold]

\starttext

\chapter{Test}

\section{$1 2 3 \alpha \beta \gamma \delta - 1 2 3 A B C D  }

\stoptext

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bold math in section titles ??
  2005-05-19 12:50 Bold math in section titles ?? Michael Fuchs
@ 2005-05-21 14:16 ` Enrico Schmitz
  0 siblings, 0 replies; 2+ messages in thread
From: Enrico Schmitz @ 2005-05-21 14:16 UTC (permalink / raw)



>Is it possible to activate bold math printing in a
>chapter/section/subsection title? In the example the
>numbers withing math mode (and the greek symbols)
>are set in regular style, while the rest of the title
>is printed in bold.
>
This is an example using the euler math fonts:

\definetypeface[careless][mm][math][euler][euler][encoding=texnansi]
\definetypeface[careless][mm][bfmath][euler][euler]

\definetypeface[boldmath][mm][boldmath][euler][euler]
\definetypeface[boldmath][mm][bfmath][euler][euler]

\setupbodyfont[careless]

\starttext
\setuphead[section][style={\bfa}]
\section{Normal $a^2+b^2=c^2$}
\setuphead[section][style={\switchtobodyfont[boldmath]\bfa}]
\section{Bold $a^2+b^2=c^2$}
\stoptext

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-21 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-19 12:50 Bold math in section titles ?? Michael Fuchs
2005-05-21 14:16 ` Enrico Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).