ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Andres Conrado Montoya <andresconrado@gmail.com>
Subject: Re: basic issues with formulas
Date: Thu, 3 Dec 2020 22:40:46 +0100	[thread overview]
Message-ID: <1c3a1263-c7b8-37e0-63a8-06719f55a5b6@gmail.com> (raw)
In-Reply-To: <CAGhDZhABeXrRR9T0f6z-ndCRqpJqvwjufb=tv1O9pXdbaKA_gQ@mail.gmail.com>

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2020-12-03 21:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1514.1607024916.1206.ntg-context@ntg.nl>
2020-12-03 20:58 ` Andres Conrado Montoya
2020-12-03 21:40   ` Wolfgang Schuster [this message]
2020-12-03 19:48 Pablo Rodriguez
2020-12-03 19:55 ` Otared Kavian
2020-12-03 20:46   ` Pablo Rodriguez
2020-12-03 20:23 ` Hans Åberg
2020-12-03 20:49   ` Pablo Rodriguez
2020-12-03 20:52 ` Pablo Rodriguez
2020-12-03 21:00   ` Wolfgang Schuster
2020-12-03 21:27     ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c3a1263-c7b8-37e0-63a8-06719f55a5b6@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=andresconrado@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).