ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mixing Body and Math Fonts
@ 2013-01-17 21:35 Troy Henderson
  2013-01-18  1:42 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Troy Henderson @ 2013-01-17 21:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 378 bytes --]

I normally use

\setupbodyfont[lucida]

to use Lucida as my body AND math font.  I also use

\usemodule[simplefonts]
\setmainfont[Myriad Pro]

to use Myriad Pro as my body font (when no math is used).  I would like to,
however, now mix these so that I can use Lucida for my math and Myriad Pro
everywhere else.  What is the best way to accomplish this?

Thanks,

Troy Henderson

[-- Attachment #1.2: Type: text/html, Size: 424 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-17 21:35 Mixing Body and Math Fonts Troy Henderson
@ 2013-01-18  1:42 ` Wolfgang Schuster
  2013-01-18  1:43   ` Troy Henderson
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2013-01-18  1:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 17.01.2013 um 22:35 schrieb Troy Henderson <thenders@gmail.com>:

> I normally use
> 
> \setupbodyfont[lucida]
> 
> to use Lucida as my body AND math font.  I also use
> 
> \usemodule[simplefonts]
> \setmainfont[Myriad Pro]
> 
> to use Myriad Pro as my body font (when no math is used).  I would like to, however, now mix these so that I can use Lucida for my math and Myriad Pro everywhere else.  What is the best way to accomplish this?

\usemodule[simplefonts]

\setmainfont[Myriad Pro]
\setmathfont[lucida] % use “lucidaot” for the opentype version of the font

Wolfgang
___________________________________________________________________________________
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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-18  1:42 ` Wolfgang Schuster
@ 2013-01-18  1:43   ` Troy Henderson
  2013-01-18  2:05     ` Troy Henderson
  0 siblings, 1 reply; 8+ messages in thread
From: Troy Henderson @ 2013-01-18  1:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 54 bytes --]

>
> \setmathfont[lucida]


Thank you very much.

Troy

[-- Attachment #1.2: Type: text/html, Size: 211 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-18  1:43   ` Troy Henderson
@ 2013-01-18  2:05     ` Troy Henderson
  2013-01-18  2:24       ` Troy Henderson
  0 siblings, 1 reply; 8+ messages in thread
From: Troy Henderson @ 2013-01-18  2:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

>
> \setmathfont[lucida]
>
>
This is probably asking too much, but is it possible to have the Lucida
math fonts with no serifs (or at least as many characters that are
available with sans serif)?

\setmathfont[lucida,sans]

does not work.

Troy

[-- Attachment #1.2: Type: text/html, Size: 568 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-18  2:05     ` Troy Henderson
@ 2013-01-18  2:24       ` Troy Henderson
  2013-01-18  4:08         ` Aditya Mahajan
  0 siblings, 1 reply; 8+ messages in thread
From: Troy Henderson @ 2013-01-18  2:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]

\startformula
   {\mathss F(x) = \int_a^x f(t)\,dt}
\stopformula

is about as good as I could expect since (to my knowledge) Lucida does not
contain a complete sans math set.  Is there a way to get the affect above
by default without having to enclose every formula in {\mathss ... }?

Troy

[-- Attachment #1.2: Type: text/html, Size: 316 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-18  2:24       ` Troy Henderson
@ 2013-01-18  4:08         ` Aditya Mahajan
  2013-01-18 11:58           ` Troy Henderson
  0 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2013-01-18  4:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 17 Jan 2013, Troy Henderson wrote:

> \startformula
>   {\mathss F(x) = \int_a^x f(t)\,dt}
> \stopformula
>
> is about as good as I could expect since (to my knowledge) Lucida does not
> contain a complete sans math set.  Is there a way to get the affect above
> by default without having to enclose every formula in {\mathss ... }?

(Untested)

\appendtoks \mathss \to \everymathematics

Aditya
___________________________________________________________________________________
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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-18  4:08         ` Aditya Mahajan
@ 2013-01-18 11:58           ` Troy Henderson
  2013-01-19 13:36             ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Troy Henderson @ 2013-01-18 11:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 349 bytes --]

>
> \appendtoks \mathss \to \everymathematics
>

That appears to work.  Thanks.  Perhaps I should, instead, try to use a
sans math font such as Computer Modern Bright.  I know it's not complete
(as far as sans math is concerned), but it's probably better than forcing
all math to be sans.

\setmathfont[Computer Modern Bright]

does not work.

Troy

[-- Attachment #1.2: Type: text/html, Size: 587 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 8+ messages in thread

* Re: Mixing Body and Math Fonts
  2013-01-18 11:58           ` Troy Henderson
@ 2013-01-19 13:36             ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2013-01-19 13:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 620 bytes --]


Am 18.01.2013 um 12:58 schrieb Troy Henderson <thenders@gmail.com>:

> \appendtoks \mathss \to \everymathematics
> 
> That appears to work.  Thanks.  Perhaps I should, instead, try to use a sans math font such as Computer Modern Bright.  I know it's not complete (as far as sans math is concerned), but it's probably better than forcing all math to be sans.
> 
> \setmathfont[Computer Modern Bright]
> 
> does not work.

The \setmathfont accepts only names of predefined math fonts (e.g. “lucida”, "modern” or “palatino"), it doesn’t create the necessary tables which are needed for math in mkiv.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1227 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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] 8+ messages in thread

end of thread, other threads:[~2013-01-19 13:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 21:35 Mixing Body and Math Fonts Troy Henderson
2013-01-18  1:42 ` Wolfgang Schuster
2013-01-18  1:43   ` Troy Henderson
2013-01-18  2:05     ` Troy Henderson
2013-01-18  2:24       ` Troy Henderson
2013-01-18  4:08         ` Aditya Mahajan
2013-01-18 11:58           ` Troy Henderson
2013-01-19 13:36             ` Wolfgang Schuster

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