* split long formula in two pages
[not found] <mailman.2553.1535298896.2042.ntg-context@ntg.nl>
@ 2018-08-27 1:47 ` Jeong Dal
2018-08-29 1:33 ` Jeong Dal
1 sibling, 0 replies; 2+ messages in thread
From: Jeong Dal @ 2018-08-27 1:47 UTC (permalink / raw)
To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
ntg-context@ntg.nl
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread