ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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

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

Dear all,

Sometime ago, I asked about the splitting the long formula.

Since it is seldom to have a long formula, I manually break the formula using

	\startformula\startalign
	… formula
	\stopalign\stopformula
	\startformula\startalign
	… formula
	\stopalign\stopformula

at the final stage of editing. 
It is more economical than to make some functions for this purpose, I think.

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

end of thread, other threads:[~2018-08-29  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.2553.1535298896.2042.ntg-context@ntg.nl>
2018-08-27  1:47 ` split long formula in two pages Jeong Dal
2018-08-29  1:33 ` Jeong Dal

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