ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: split long formula in two pages
Date: Mon, 27 Aug 2018 10:47:49 +0900	[thread overview]
Message-ID: <1A1B8529-CB20-4A69-96C3-FF079854E538@me.com> (raw)
In-Reply-To: <mailman.2553.1535298896.2042.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
___________________________________________________________________________________

       reply	other threads:[~2018-08-27  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2553.1535298896.2042.ntg-context@ntg.nl>
2018-08-27  1:47 ` Jeong Dal [this message]
2018-08-29  1:33 ` Jeong Dal

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=1A1B8529-CB20-4A69-96C3-FF079854E538@me.com \
    --to=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /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).