On 6/6/2016 8:20 PM, Freddy Omar López Quintero wrote:
Hello,
I'm trying to make a document that need fill the requirement to have all fonts sans serifed; but, with the following minimal code, just work for the normal text and doesn't for the math portion.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \starttext \usemodule[simplefonts]% [size=11pt] \setmainfont[Latin Modern Sans] \setmathfont[Latin Modern Sans] \startsection[title={Testing ConTeXt}]
This is my {\em first} ConTeXt document.
\startformula Y=X\beta+\varepsilon \stopformula
\stopsection \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Could you help me?
There is support for hvmath (a virtual unicode font is constructed then) but you need to get those files somewhere. An alternative is to roll out your own virtual math font (take a look at the *.lfg files that have math in their name). On the agenda for the tex gyre project is a serif math font (lato or so) but that will take a while (also awaits funding). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------