On 8/20/2026 3:21 AM, Mekeor Melire wrote:
On 2026-08-20 at 00:58, <[email protected]> wrote:

--8<---------------cut here---------------start------------->8---
\definefontfamily[mainface][rm][TeX Gyre Schola]
\definefontfamily[mainface][mm][TeX Gyre Schola Math]

\setupbodyfont[mainface]

\definemathconstant[type][type]
\definemathconstant[theory][theory]

\starttext
\startformula
   \type\quad\theory
\stopformula
\stoptext
--8<---------------cut here---------------end--------------->8---

results “type theory” to look like “t y pe theor y”.

I now found this workaround:

\definemathconstant[type][\text{\it type}]
\definemathconstant[theory][\text{\it thry}]

It might be sufficient for me right now.


redefining \type is a bad idea .. here is quits a run as i have overload protection enables

I'm sure Mikael will give you the answer that suits proper (abstract) mathematics but basicaly you want just text not a symbol

\starttext
\startformula
  \mathtextit{theory} +
  \mathtextit{type} =
  \mtext{\it theory} +
  \mtext{\it type}
\stopformula
\stoptext

math fonts are not text fonts and some even behave very bad as text ... math italics are not text italics

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to