Jose Luis Arellano <mailto:jose.4rell...@gmail.com>
29. August 2016 um 07:06
Hello list,
I have another question for you, it is about diacritic's replacement
in math mode.
\definefontfamily[mainface][serif][Minion Pro]
\definefallbackfamily[mainface][math][Minion
Pro][tf=style:italic,preset=math:lowercaseitalic]
\definefallbackfamily[mainface][math][Minion
Pro][tf=style:italic,preset=math:uppercaseitalic]
\definefontfamily[mainface][math][Latin Modern Math]
\setupbodyfont[mainface]
\starttext
{\it Piña}\par
\m{Pi\tilde{n}a}\par
{\it Canción}\par
\m{Canci\acute{o}n}
\stoptext
As you can see, the accents are replaced with Latin Modern Math font.
So, how can i use accents from Minion Pro?
Use the \mathtext (ot \mathtextit, \mathtextbf etc.) command.
\definefontfamily [mainface] [rm] [Minion Pro]
\definefontfamily [mainface] [mm] [Latin Modern Math]
\setupbodyfont[mainface]
\starttext
{\it Piña}
\m{\mathtextit{Piña}}
{\it Canción}
\m{\mathtextit{Canción}}
\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
___________________________________________________________________________________