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: ConTeXt <ntg-context@ntg.nl>
Subject: Math and bold font
Date: Fri, 03 Dec 2010 08:51:41 +0100	[thread overview]
Message-ID: <op.vm4n4frotpjj8f@lpr> (raw)

[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]

Hello all,

I'd to explain some effects in the .pdf from the code bellow. It was copied from co-font.pdf, pg. 19-20; just "Abc" was added to try something.

---
\enableregime[cp1250]

\starttext
   $Abc\sqrt{625}=5\alpha$
   $\bf Abc\sqrt{625}=5\alpha$
   $Abc\sqrt{625}=\bf5\alpha$
   $\bfmath Abc\sqrt{625}=5\alpha$

   \definetypeface[whow][mm][math,boldmath][modern][default]%[encoding=texnansi]
                                                            []

   $Abc\sqrt{625}=5\alpha$
   $\bf Abc\sqrt{625}=5\alpha$
   $Abc\sqrt{625}=\bf5\alpha$
   $\bfmath Abc\sqrt{625}=5\alpha$

   \usetypescriptfile[typeface]

   $Abc\sqrt{625}=5\alpha$
   $\bf Abc\sqrt{625}=5\alpha$
   $Abc\sqrt{625}=\bf5\alpha$
   $\bfmath Abc\sqrt{625}=5\alpha$
\stoptext
---

Things I cannot do or understand:

- The "alpha" symbol is not printed as soon as it's used in \bf or \bfmath mode (lines 2-4 in each paragraph). Why? How to make it appear?

- - The same effect may be observed in the co-fonts.pdf at the pg. 19 at the lowest line - there is bold font working, but "alpha" is missing as well.

- - - Unfortunately, there is no fully working example in the document with bold math and "alpha" together.

- In my example, normal (thin) "Abc" is shown a bit slanted (as should be in math mode). Once it is used in bold math mode, it's no more slanted but "vertical" as normal text. Is there a way how to keep the "slantedness" even in math bold mode? (This is e.g. often used to mark vectors.)

Kind regards,

Lukas


-- 
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

[-- Attachment #2: MathBold.mkiv --]
[-- Type: application/octet-stream, Size: 601 bytes --]

\enableregime[cp1250]

\starttext
  $Abc\sqrt{625}=5\alpha$
  $\bf Abc\sqrt{625}=5\alpha$
  $Abc\sqrt{625}=\bf5\alpha$
  $\bfmath Abc\sqrt{625}=5\alpha$

  \definetypeface[whow][mm][math,boldmath][modern][default]%[encoding=texnansi]
                                                           []

  $Abc\sqrt{625}=5\alpha$
  $\bf Abc\sqrt{625}=5\alpha$
  $Abc\sqrt{625}=\bf5\alpha$
  $\bfmath Abc\sqrt{625}=5\alpha$

  \usetypescriptfile[typeface]

  $Abc\sqrt{625}=5\alpha$
  $\bf Abc\sqrt{625}=5\alpha$
  $Abc\sqrt{625}=\bf5\alpha$
  $\bfmath Abc\sqrt{625}=5\alpha$
\stoptext

[-- Attachment #3: MathBold.pdf --]
[-- Type: application/pdf, Size: 14716 bytes --]

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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  7:51 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. [this message]
2010-12-03 15:30 ` Vladimir Lomov
2010-12-03 16:00   ` Procházka Lukáš Ing. - Pontex s. r. o.
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.vm4n4frotpjj8f@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).