[NTG-context] Nolimits not working with Unicode characters

Hans Åberg haberg-1 at telia.com
Fri May 20 10:52:59 CEST 2016


> On 13 May 2016, at 12:22, Hans Hagen <pragma at wxs.nl> wrote:

> in principle one can make ∫ and \int but that has other side effects

> \appendtoks
>    \catcode`∫=\activecatcode
> \to \everymathematics

One should add
  \def\∫{∫}
before the code above. This way one can use both. For example:

\setupbodyfont[xits,10pt]

\def\∫{∫}

\appendtoks
    \catcode`∫=\activecatcode
    \letcharcode `∫ \int
\to \everymathematics

\setupmathematics[integral=nolimits]

Nolimits $\int_0^∞ f ω$, and $∫_0^∞ f ω$, and $\∫_0^∞ f ω$.

\startformula\relax
   ∫_0^∞ f ω, \quad \∫_0^∞ f ω, \quad \int_0^∞ f ω
\stopformula





More information about the ntg-context mailing list