ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* oldstyle numerals in mathmode
@ 2016-03-03 22:11 Alan Bowen
  2016-03-03 23:18 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2016-03-03 22:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

I am am using for my mainface, a font that has only oldstyle numerals. For
math, I am using Latin Modern for math. How do I get output in oldstyle
numbers starting with
\definefontfamily[mainface][math][Latin Modern Math]?


Alan

[-- Attachment #1.2: Type: text/html, Size: 888 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] 5+ messages in thread

* Re: oldstyle numerals in mathmode
  2016-03-03 22:11 oldstyle numerals in mathmode Alan Bowen
@ 2016-03-03 23:18 ` Hans Hagen
  2016-03-04 13:49   ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2016-03-03 23:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/3/2016 11:11 PM, Alan Bowen wrote:
> I am am using for my mainface, a font that has only oldstyle numerals.
> For math, I am using Latin Modern for math. How do I get output in
> oldstyle numbers starting with
> \definefontfamily[mainface][math][Latin Modern Math]?

there is no oldstyle in math

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 5+ messages in thread

* Re: oldstyle numerals in mathmode
  2016-03-03 23:18 ` Hans Hagen
@ 2016-03-04 13:49   ` Alan Bowen
  2016-03-04 14:02     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2016-03-04 13:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

As I feared, Hans. But thanks. I must re-code the math for the publisher,
then.

Alan

On Thu, Mar 3, 2016 at 6:18 PM, Hans Hagen <pragma@wxs.nl> wrote:

> On 3/3/2016 11:11 PM, Alan Bowen wrote:
>
>> I am am using for my mainface, a font that has only oldstyle numerals.
>> For math, I am using Latin Modern for math. How do I get output in
>> oldstyle numbers starting with
>> \definefontfamily[mainface][math][Latin Modern Math]?
>>
>
> there is no oldstyle in math
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 2663 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] 5+ messages in thread

* Re: oldstyle numerals in mathmode
  2016-03-04 13:49   ` Alan Bowen
@ 2016-03-04 14:02     ` Wolfgang Schuster
  2016-03-04 19:01       ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2016-03-04 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Alan Bowen <mailto:bowenalan03@gmail.com>
> 4. März 2016 um 14:49
> As I feared, Hans. But thanks. I must re-code the math for the 
> publisher, then.
You can use the font fallback mechanism:

\definefontfamily[mainface][rm][TeX Gyre 
Pagella][features={f:oldstyle,default}]

\definefallbackfamily[mainface][mm][TeX Gyre 
Pagella][preset=math:digitsnormal,features=f:oldstyle]
\definefontfamily    [mainface][mm][Latin Modern Math]

\setupbodyfont[mainface]

\starttext

0123456789

\m{0123456789}

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1708 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] 5+ messages in thread

* Re: oldstyle numerals in mathmode
  2016-03-04 14:02     ` Wolfgang Schuster
@ 2016-03-04 19:01       ` Alan Bowen
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Bowen @ 2016-03-04 19:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

This works perfectly, Wolfgang. Many thanks. You are a lifesaver!

Alan

On Fri, Mar 4, 2016 at 9:02 AM, Wolfgang Schuster <
schuster.wolfgang@gmail.com> wrote:

> Alan Bowen <bowenalan03@gmail.com>
> 4. März 2016 um 14:49
> As I feared, Hans. But thanks. I must re-code the math for the publisher,
> then.
>
> You can use the font fallback mechanism:
>
> \definefontfamily[mainface][rm][TeX Gyre
> Pagella][features={f:oldstyle,default}]
>
> \definefallbackfamily[mainface][mm][TeX Gyre
> Pagella][preset=math:digitsnormal,features=f:oldstyle]
> \definefontfamily    [mainface][mm][Latin Modern Math]
>
> \setupbodyfont[mainface]
>
> \starttext
>
> 0123456789
>
> \m{0123456789}
>
> \stoptext
>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3185 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] 5+ messages in thread

end of thread, other threads:[~2016-03-04 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-03 22:11 oldstyle numerals in mathmode Alan Bowen
2016-03-03 23:18 ` Hans Hagen
2016-03-04 13:49   ` Alan Bowen
2016-03-04 14:02     ` Wolfgang Schuster
2016-03-04 19:01       ` Alan Bowen

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