ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Math and bold font
@ 2010-12-03  7:51 Procházka Lukáš Ing. - Pontex s. r. o.
  2010-12-03 15:30 ` Vladimir Lomov
  0 siblings, 1 reply; 14+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-12-03  7:51 UTC (permalink / raw)
  To: ConTeXt

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

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

end of thread, other threads:[~2010-12-10 13:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-03  7:51 Math and bold font 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.
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

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