ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Math and bold font
Date: Fri, 03 Dec 2010 17:00:59 +0100	[thread overview]
Message-ID: <op.vm5arxvytpjj8f@lpr> (raw)
In-Reply-To: <20101203153039.GA4262@smoon>

Hello,

thanks for the example. I can see that:

- In another font(s) (at least in cambria in your example) bold Greek chars are OK.

- \bf in math mode causes chars to become "vertical", i.e. when I want to get slanted chars, I have to call \it or \sl or \bi explicitly. OK, I thought that the "slantedness" is kept by default when switching to bold in math mode, but no problem to switch to slanted/italics font manually.

- But I still have no idea how to "restore" Greek chars when using the *default* bold math font (i.e. when not using \setupbodyfont[<another-font>]. Or do I have to \setup???font[???] explicitly when I want to use Greek bold chars as well?

> IMHO (I'm not expert in context) this depends on used fonts. See for
> example follwoing:
> <example file="ex1.tex">
> \setupbodyfont[cambria]
>
> \starttext
> This is a test.
> $a=\alpha$
> $\bf a=\alpha$
> $\bi a=\alpha$
> \stoptext
> </example>
>
> BTW, I not sure if I use "correct" way to switch fonts in math mode (in
> LaTeX commands to switch fonts are different in text and math mode, and
> I have big LaTex background, so for me this way is unusual :).

NB: I used to work with LaTeX as well - I'm still time-to-time solving "basic things" (like that above) in ConTeXt.

Best regards,

Lukas

>
> P.S. My example works with mkiv but not with mkii. The last uses
> "default" fonts that don't have bold variant for greek letters (I could
> be wrong here, for LaTeX I have to redefine commands for greek letters
> because there is appropriate font but greek letters are defined in a
> way so nobody could use bold variant by default).
>
>
> ---
> WBR, Vladimir Lomov


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-12-03 16:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03  7:51 Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-03 15:30 ` Vladimir Lomov
2010-12-03 16:00   ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2010-12-04  8:55     ` Hans Hagen
2010-12-05 13:58       ` Procházka Lukáš
2010-12-05 17:34         ` Florian Wobbe
2010-12-05 19:27           ` Math and bold font: \definetypeface Procházka Lukáš
2010-12-05 21:48             ` Florian Wobbe
2010-12-06 14:37               ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-08 10:24                 ` Florian Wobbe
2010-12-10 13:25                   ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-06 10:11       ` Math and bold font Vladimir Lomov
2010-12-06 16:55         ` Procházka Lukáš Ing. - Pontex s. r. o.
     [not found]       ` <op.vm8ptgm00g5ws1@lk-2008-nbk>
2010-12-06 14:27         ` Hans Hagen

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=op.vm5arxvytpjj8f@lpr \
    --to=lpr@pontex.cz \
    --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).