Mikael Sundqvist <mic...@gmail.com> writes: > Hi Leah, > > On Sat, Jul 22, 2023 at 12:19 AM Leah Neukirchen <l...@vuxu.org> wrote: >> >> Hi, >> >> I'm trying to use Fira Math (https://github.com/firamath/firamath). >> >> But this small example yields both limits on the same horizontal axis, >> i.e. the 0 is far away from the integral sign: >> >> >> \definefontfamily [mainface] [mm] [Fira Math] >> \setupbodyfont [mainface] >> >> \starttext >> \startformula >> \int_0^1 e^x >> \stopformula >> \stoptext >> >> >> Meanwhile, when I use LaTeX, the 0 is moved to the left and close to >> the integral sign: >> >> >> \documentclass{article} >> \usepackage{amsmath} >> \usepackage[mathrm=sym]{unicode-math} >> \setmathfont{Fira Math} >> >> \begin{document} >> \[ >> \int_0^1 e^x >> \] >> \end{document} >> >> >> In both cases >> /opt/texlive/2023/texmf-dist/fonts/opentype/public/firamath/FiraMath-Regular.otf >> is used... >> > > As far as I remember, we did not consider firamath usable last time we > tested. Is it OK?
It's not exactly great, but I like the font itself for slides; I guess it works for simple math. > Attached you find a very basic goodie file that 1) set the > primeshiftup parameter and 2) enables presets.moveintegrals. Also add > > \definefontfeature[default][default][goodies=fira-math.lfg] > > to use it. Thanks, that works! -- Leah Neukirchen <l...@vuxu.org> https://leahneukirchen.org/ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________