ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Enrico Schmitz <enrico@uni-trier.de>
Subject: Re: Bold math in section titles ??
Date: Sat, 21 May 2005 16:16:26 +0200	[thread overview]
Message-ID: <428F42BA.2060303@uni-trier.de> (raw)
In-Reply-To: <428C8B90.3090702@hiskp.uni-bonn.de>


>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

      reply	other threads:[~2005-05-21 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19 12:50 Michael Fuchs
2005-05-21 14:16 ` Enrico Schmitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428F42BA.2060303@uni-trier.de \
    --to=enrico@uni-trier.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).