ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] split align in formulas
@ 2023-08-14 15:08 Xavier B.
  2023-08-14 18:10 ` [NTG-context] " Mikael Sundqvist
  0 siblings, 1 reply; 2+ messages in thread
From: Xavier B. @ 2023-08-14 15:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I have this text and the end of the paragraph:

Definitivament és el mètode més senzill. L'atribució més antiga que conec d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, james-tanton-web}.
\placeformula[eq:james-tanton-canvi-de-variables]
\startformula
\startalign
\NC ax^2 + bx + c = 0 \NC \NR
\NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR
\NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR
\NC x \left( x + \frac{b}{a} \right) = - \frac{c}{a} \NC \quad \text{factoritzam} \NR
\NC (k-D)(k+D) = - \frac{c}{a} \NC \quad \text{canvi de variable} \NR
\NC k^2 - D^2 = - \frac{c}{a} \NC \quad \text{suma per diferència} \NR
\NC k = \pm\sqrt{ D^2 - \frac{c}{a}} \NC \quad \text{resolem l'equació} \NR
\NC x = k - D = \NC \pm \sqrt{ D^2 - \frac{c}{a}} - D\quad \text{desfeim el canvi} \NR
\stopalign
\stopformula
on $D = (\frac{b}{2a})$ i $x = k-D$.


and then the formula goes to next page. Is there any way to split align environment? In wiki I could not find nothing.

Thanks in advance,
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [NTG-context] Re: split align in formulas
  2023-08-14 15:08 [NTG-context] split align in formulas Xavier B.
@ 2023-08-14 18:10 ` Mikael Sundqvist
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Sundqvist @ 2023-08-14 18:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

On Mon, Aug 14, 2023 at 5:13 PM Xavier B. <somenxavier@posteo.net> wrote:
>
> I have this text and the end of the paragraph:
>
> Definitivament és el mètode més senzill. L'atribució més antiga que conec d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, james-tanton-web}.
> \placeformula[eq:james-tanton-canvi-de-variables]
> \startformula
> \startalign
> \NC ax^2 + bx + c = 0 \NC \NR
> \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR
> \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR
> \NC x \left( x + \frac{b}{a} \right) = - \frac{c}{a} \NC \quad \text{factoritzam} \NR
> \NC (k-D)(k+D) = - \frac{c}{a} \NC \quad \text{canvi de variable} \NR
> \NC k^2 - D^2 = - \frac{c}{a} \NC \quad \text{suma per diferència} \NR
> \NC k = \pm\sqrt{ D^2 - \frac{c}{a}} \NC \quad \text{resolem l'equació} \NR
> \NC x = k - D = \NC \pm \sqrt{ D^2 - \frac{c}{a}} - D\quad \text{desfeim el canvi} \NR
> \stopalign
> \stopformula
> on $D = (\frac{b}{2a})$ i $x = k-D$.
>
>
> and then the formula goes to next page. Is there any way to split align environment? In wiki I could not find nothing.

No, align does not split over pages. But ordinary formulas do. You can
play with \alignhere and \breakhere, and add text with
\texthere[right]{some text} or \texthere[left]{some other text}.

/Mikael

(I think I would write sentences and a few formulas instead of
stacking them all like this)
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-14 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-14 15:08 [NTG-context] split align in formulas Xavier B.
2023-08-14 18:10 ` [NTG-context] " Mikael Sundqvist

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).