[NTG-context] split long formula in two pages

Jeong Dal haksan at me.com
Mon Aug 27 03:47:49 CEST 2018


Dear all,

Sometimes, I wrote a long formula using
 \startformula\startalign … \stopalign\stopformula.

In that case, if the remaining space in the current page is not enough to contain the formula, then it adds ‘page break’ and write the whole formula int the new page.

I have read a discussion to split long table in two pages. Is there a similar way for long formula?

Here is a minimal example.

\showframe
\starttext
\dorecurse{3}{\input knuth}

\startformula\startalign
\NC S_1 \NC = 1 = 1 + 0 \bigg( \frac{1}{2}\bigg),				\NR
\NC S_2 \NC = 1 + \frac{1}{2} = 1 + 1\bigg( \frac{1}{2}\bigg), 	\NR
\NC S_4 \NC = 1 + \frac{1}{2} + \bigg( \frac{1}{3} + \frac{1}{4} \bigg) \NR
\NC     \NC >  1 + \frac{1}{2} + \bigg( \frac{1}{4} + \frac{1}{4} \bigg)  = 1+ 2\bigg( \frac{1}{2}\bigg),			 \NR
\NC S_8 \NC = 1 + \frac{1}{2} + \bigg( \frac{1}{3} + \frac{1}{4} \bigg) + \bigg( \frac{1}{5} + \frac{1}{6} + \frac{1}{7} + \frac{1}{8} \bigg) \NR
\NC    \NC >  1 + \frac{1}{2} + \bigg( \frac{1}{4} + \frac{1}{4} \bigg) + \bigg( \frac{1}{8} + \frac{1}{8} + \frac{1}{8} + \frac{1}{8} \bigg) = 1 + 3\bigg( \frac{1}{2}\bigg)			\NR
\stopalign\stopformula

\stoptext


Thank you for reading.

Best regards,

Dalyoung


More information about the ntg-context mailing list