From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setlayer on \startalign row
Date: Wed, 6 Feb 2013 16:51:32 -0500 (EST) [thread overview]
Message-ID: <alpine.LNX.2.02.1302061649440.25867@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <CAFP+xFLJTQsOYQfZHcmS2tJTEeHE9T7eKnHu42q5Tzv4XyyjqA@mail.gmail.com>
On Wed, 6 Feb 2013, Troy Henderson wrote:
> Aditya,
>
> Thanks for your steps.tex. The following example does not work as
> expected. In particular, the first equation moves from page 1 to page 2,
> and the "12 x" moves from page 2 to page 3.
>
> Troy
>
> \StartStepping{10}
> \startformula
> \startalign[n=4,align={right,right,middle,left}]
> \STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC
> \frac{1}{6}x+\frac{21}{4} \NR}
> \STEP{2}{\NC 12\times\NC \NC \NC \NR}
> \STEP{3}{\NC \NC \left(12\cdot\frac{2}{3}x\right) -
> \left(12\cdot\frac{3}{4}\right) \NC = \NC \left(12\cdot\frac{1}{6}x\right)
> + \left(12\cdot\frac{21}{4}\right) \NR}
> \STEP{4}{\NC \NC 8x - 9 \NC = \NC 2x + 63 \NR}
> \STEP{5}{\NC \NC 8x - 9 - 2x \NC = \NC 2x - 2x + 63 \NR}
> \STEP{6}{\NC \NC 6x - 9 \NC = \NC 63 \NR}
> \STEP{7}{\NC \NC 6x - 9 + 9 \NC = \NC 63 + 9 \NR}
> \STEP{8}{\NC \NC 6x \NC = \NC 72 \NR}
> \STEP{9}{\NC \NC \frac{6x}{6} \NC = \NC \frac{72}{6} \NR}
> \STEP{10}{\NC \NC x \NC = \NC 12}
> \stopalign
> \stopformula
> \StopStepping
You need to ensure that the width of the columns does not change from each
step. There is no easy way to do this with \startmathalign, but you can
try \startTABLE, with explicit values of widths. (Some day, I will check
how beamer does this with aligned equations).
Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2013-02-06 21:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 17:14 Troy Henderson
2013-02-06 17:21 ` Aditya Mahajan
2013-02-06 17:41 ` Troy Henderson
2013-02-06 20:41 ` Troy Henderson
2013-02-06 21:51 ` Aditya Mahajan [this message]
2013-02-06 23:14 ` Aditya Mahajan
2013-02-06 23:33 ` Troy Henderson
2013-02-06 23:34 ` Troy Henderson
2013-02-06 23:52 ` Aditya Mahajan
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=alpine.LNX.2.02.1302061649440.25867@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).