ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alexandre Christe via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Alexandre Christe <aleks.christe@gmail.com>
Subject: Re: Building fomula
Date: Sat, 25 Mar 2023 18:28:52 +0100	[thread overview]
Message-ID: <CALC5-UJgqndSfX3a_P159NNMhG87+WrqW5YcTM7U2Z8cPmVe4g@mail.gmail.com> (raw)
In-Reply-To: <45FB305C-9519-4FB8-A664-4C4ECFB09A66@boede.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1806 bytes --]

Hi Willi,

A dead simple solution would be

\starttext
\startformula
    {\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad
{{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
\stopformula

\stoptext


Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <
ntg-context@ntg.nl> a écrit :

> Good afternoon everybody,
>
> I should place two faily simple formulae next to each other, they should
> be coupled by ‘or’. What I have now is, that the formulae indeed are next
> to each other and separated by ‘or’, but the result of the second formula
> is moved und this formula to the next line.
> In the setup of  book there would be enough place, if I coud decrease the
> space left and right of the ‘or’.
>
> How can I achieve this?
>
> Cheers
>
> Willi
>
> \starttext
>   \startformulas
>     \startformula[align=right]
>       {\frac{47 \times 62}{44 \times 56}} \times {12}
>     \stopformula
>     \startformula[align=right,width=0.2\textwidth]
>       or
>     \stopformula
>     \startformula[align=right]
>       {{\frac{47 \times 62 \times 12}{44 \times 56}}=14.2 \rm kilo}
>     \stopformula
>
>   \stopformulas
>   \blank[small]
>   rounded 14 kilo.
> \stoptext
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2775 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2023-03-25 17:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25 17:08 Willi Egger via ntg-context
2023-03-25 17:28 ` Alexandre Christe via ntg-context [this message]
2023-03-25 20:34   ` Willi Egger via ntg-context

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=CALC5-UJgqndSfX3a_P159NNMhG87+WrqW5YcTM7U2Z8cPmVe4g@mail.gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=aleks.christe@gmail.com \
    /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).