displaying lines of formulas one by one
Dear all, I'd like to show the following formula line by line in a presentation, For example, \startformula\startalign \NC T(4) \NC = T(3) + 4 \NR \NC \NC= T(2) + 3 + 4 \NR \NC \NC= T(1) + 2 + 3 + 4 \NR \NC \NC= 1 + 2 + 3 + 4 = 10 \NR \stopalign\stopformula I tried to use \StartSteps and \StopSteps but not succeed. \starttext \usemodule[pre-60] \StartSteps \startformula\startalign \NC T(4) \NC = T(3) + 4 \NR\FlushStep %(nor \FlushStep\NR) \NC \NC= T(2) + 3 + 4 \NR\FlushStep \NC \NC= T(1) + 2 + 3 + 4 \NR\FlushStep \NC \NC= 1 + 2 + 3 + 4 = 10 \NR\FlushStep \stopalign\stopformula \StopSteps \stoptext Is there a way to do so? Thank you. Best regards, Dalyoung
Am 13.05.2011 um 02:13 schrieb Jeong Dalyoung:
Dear all,
I'd like to show the following formula line by line in a presentation, For example, \startformula\startalign \NC T(4) \NC = T(3) + 4 \NR \NC \NC= T(2) + 3 + 4 \NR \NC \NC= T(1) + 2 + 3 + 4 \NR \NC \NC= 1 + 2 + 3 + 4 = 10 \NR \stopalign\stopformula
I tried to use \StartSteps and \StopSteps but not succeed.
\starttext \usemodule[pre-60]
\StartSteps \startformula\startalign \NC T(4) \NC = T(3) + 4 \NR\FlushStep %(nor \FlushStep\NR) \NC \NC= T(2) + 3 + 4 \NR\FlushStep \NC \NC= T(1) + 2 + 3 + 4 \NR\FlushStep \NC \NC= 1 + 2 + 3 + 4 = 10 \NR\FlushStep \stopalign\stopformula \StopSteps
\stoptext
Is there a way to do so?
Add \setupinteraction[state=start] to your document and open it with Adobe Reader. Wolfgang
Hi Jeong, If you are interested in using the commands defined in the old t-rsteps.tex for showing formulas or text step by step, below is an example I use (it works with mkii and mkiv). The input file I use can be found here http://dl.dropbox.com/u/4316076/t-rsteps-ok.tex but I attach it also to this message. The old « raw steps » is handy when one may need to go backward in the steps or when you want to show, say, the third line of your formula before the second line, but it has the disadvantage of creating one page per step. \starttext \setuppapersize[S6][S6] \setuppagenumbering[state=stop] \input t-rsteps-ok.tex \setupinteraction[state=start] % uncomment the following when not needing teps % \UseStepsfalse % when using \UseStepstrue, we redefine \placeformula... \ifx\UseStepstrue{\def\placeformula[#1]{\PlaceFormula[#1]}}\fi \StartSteps[Formula with steps] \startformula \startalign \Step{1}{\NC T(4) \NC = T(3) + 4 \NR} \Step{2}{\NC \NC= T(2) + 3 + 4 \NR} \Step{3}{\NC \NC= T(1) + 2 + 3 + 4 \NR} \Step{4}{\NC \NC= 1 + 2 + 3 + 4 = 10 \NR} \stopalign \stopformula \StopSteps \stoptext Best regards: OK On 13 mai 2011, at 02:13, Jeong Dalyoung wrote:
Dear all,
I'd like to show the following formula line by line in a presentation, For example, \startformula\startalign \NC T(4) \NC = T(3) + 4 \NR \NC \NC= T(2) + 3 + 4 \NR \NC \NC= T(1) + 2 + 3 + 4 \NR \NC \NC= 1 + 2 + 3 + 4 = 10 \NR \stopalign\stopformula
I tried to use \StartSteps and \StopSteps but not succeed.
\starttext \usemodule[pre-60]
\StartSteps \startformula\startalign \NC T(4) \NC = T(3) + 4 \NR\FlushStep %(nor \FlushStep\NR) \NC \NC= T(2) + 3 + 4 \NR\FlushStep \NC \NC= T(1) + 2 + 3 + 4 \NR\FlushStep \NC \NC= 1 + 2 + 3 + 4 = 10 \NR\FlushStep \stopalign\stopformula \StopSteps
\stoptext
Is there a way to do so?
Thank you.
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Jeong Dalyoung
-
Otared Kavian
-
Wolfgang Schuster