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
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 -----------------------------------------------------------------
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
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
___________________________________________________________________________________
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
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
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
___________________________________________________________________________________
participants (3)
-
Alan Bowen
-
Hans Hagen
-
Wolfgang Schuster