[NTG-context] basic issues with formulas

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Thu Dec 3 22:40:46 CET 2020


Andres Conrado Montoya schrieb am 03.12.2020 um 21:58:
> Hi pablo, regaring 1) TeX assumes that each character is a variable on 
> math mode. You need to tell it that each "word" is, well, a "word":
> 
> \starttext
>    \startitemize[packed]
>    \item Valor actual neto: $\text{\em beneficios} - \text{\em costes}$. 
> % you can use typographical variations inside \text: \em, \bf, etc
>    \item Beneficio por euro: $\frac{\text{\em beneficios}}{\text{\em 
> costes}}$.
>    \item Beneficio obtenido el primer año.
>    \stopitemize
> \stoptext

There are additional commands for italic, bold etc. text

\starttext

\startlines
$\mathtexttf{upright text}$
$\mathtextit{italic text}$
$\mathtextsl{slanted text}$
$\mathtextbf{bold text}$
$\mathtextbi{bolditalic text}$
$\mathtextbs{boldslanted text}$
\stoplines

\startlines
$\mathwordtf{upright word}$
$\mathwordit{italic word}$
$\mathwordsl{slanted word}$
$\mathwordbf{bold word}$
$\mathwordbi{bolditalic word}$
$\mathwordbs{boldslanted word}$
\stoplines

\stoptext

Wolfgang


More information about the ntg-context mailing list