Re: [NTG-context] Aligned numbered math formulas
Hi, On Thu, 14 Aug 2003, Tobias Burnus wrote: > On Thu, 14 Aug 2003, Holger Schöner wrote: > > Thanks, Tobias! This works for me, if I place a "\placeformula" before > > formulas enclosed by "$$". Funny, though, that I get an error if I instead > > enclose the formula with "\startformula ... \endformula": > Here it works with \startformula \stopformula [stop not end]. All right, I used \stopformula ... And I just found out the reason, it seems: I used \setupformulae[align=right] Then, if I use $$ instead of \startformula, I get centered formulas anyway. If I remove the \setupformulae, then I can also use \startformula ... So in the moment I have resolved to using centered formulae. Best regards, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hello, On Thu, 14 Aug 2003, Holger Schöner wrote: > Thanks, Tobias! This works for me, if I place a "\placeformula" before > formulas enclosed by "$$". Funny, though, that I get an error if I instead > enclose the formula with "\startformula ... \endformula": Here it works with \startformula \stopformula [stop not end]. Tobias ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hi, On Thu, 14 Aug 2003, David Arnold wrote: > Is there a setup that will typeset the labels as (1.1) and (1.1a)? Not that I'm aware of, but I use \informula[foo] with \def\informula#1{(\in[#1])} Tobias ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hallo Holger, hi all Holger Schöner schrieb: > 1) Some of the formulas should be numbered, some not; and at the same time > I would like to align several of them. > For alignment I seem to be able to use \eqalign (or \startalign ... > \stopalign from the t-amsl.tex sent around here lately). But if I place a > \placeformula in front of this, the whole aligned block only gets one > number; I would need a number for every line (or even better: a possibility > to state, which lines should be numbered, and which not). I use \eqalignno{ left & right & \formulanumber \cr left & right & \formulanumber \cr } or \eqalignno{ left & right & \formulanumber{a}\cr left & right & \subformulanumber{b} \cr } If I have a longer formula which should only get one number, I use \eqalignno{ left & right1 & \cr & right2 & \formulanumber{} \cr } With warm regards also from Berlin, Tobias -- This above all: To thine own self be true / And it must follow as the night the day / Thou canst not then be false to any man. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Tobias, Very nice. Is there a setup that will typeset the labels as (1.1) and (1.1a)? At 08:49 PM 8/14/03 +0200, you wrote: >Hi all, > >On Thu, 14 Aug 2003, David Arnold wrote: >> May I ask how I can reference each of these equations separately in the >> text? That is, how can I give a different label to each equation in the >> alignment, then reference each one independent of the other? > >\placeformula[david] >\startformula\eqalignno{ > left & right & \formulanumber[david:a]{a} \cr > left & right & \formulanumber[david:b]{b} \cr >}\stopformula > >Well, \in[david] should give "1.1" while \in[david:a] should give "1.1a". > >Tobias > >___ >ntg-context mailing list >[EMAIL PROTECTED] >http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hi all, On Thu, 14 Aug 2003, David Arnold wrote: > May I ask how I can reference each of these equations separately in the > text? That is, how can I give a different label to each equation in the > alignment, then reference each one independent of the other? \placeformula[david] \startformula\eqalignno{ left & right & \formulanumber[david:a]{a} \cr left & right & \formulanumber[david:b]{b} \cr }\stopformula Well, \in[david] should give "1.1" while \in[david:a] should give "1.1a". Tobias ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
All, I am following this thread and I can report the same result as Holger. \setupformulae[align=right] \starttext \placeformula[david] \startformula \eqalignno{% left & right & \formulanumber \cr left & right & \formulanumber \cr } \stopformula \stoptext Gives this result. ! You can't use `\halign' in math mode. \eqalignno [EMAIL PROTECTED] \tabskip \centering \halign to \displaywidth {\hfil $\... l.10 } May I ask how I can reference each of these equations separately in the text? That is, how can I give a different label to each equation in the alignment, then reference each one independent of the other? Thanks. At 04:20 PM 8/14/03 +0200, you wrote: >Hi, > >On Thu, 14 Aug 2003, Tobias Burnus wrote: >> On Thu, 14 Aug 2003, Holger Schöner wrote: >> > Thanks, Tobias! This works for me, if I place a "\placeformula" before >> > formulas enclosed by "$$". Funny, though, that I get an error if I instead >> > enclose the formula with "\startformula ... \endformula": >> Here it works with \startformula \stopformula [stop not end]. > >All right, I used \stopformula ... And I just found out the reason, it >seems: I used > > \setupformulae[align=right] > >Then, if I use $$ instead of \startformula, I get centered formulas anyway. >If I remove the \setupformulae, then I can also use \startformula ... > >So in the moment I have resolved to using centered formulae. > >Best regards, > >-- >Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science >[EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ >Rooms FR2525 Tel: +49-30-314-73115, Fax: -73121 >Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany > > >___ >ntg-context mailing list >[EMAIL PROTECTED] >http://www.ntg.nl/mailman/listinfo/ntg-context > > ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hi, On Thu, 14 Aug 2003, Tobias Burnus wrote: > On Thu, 14 Aug 2003, Holger Schöner wrote: > > Thanks, Tobias! This works for me, if I place a "\placeformula" before > > formulas enclosed by "$$". Funny, though, that I get an error if I instead > > enclose the formula with "\startformula ... \endformula": > Here it works with \startformula \stopformula [stop not end]. All right, I used \stopformula ... And I just found out the reason, it seems: I used \setupformulae[align=right] Then, if I use $$ instead of \startformula, I get centered formulas anyway. If I remove the \setupformulae, then I can also use \startformula ... So in the moment I have resolved to using centered formulae. Best regards, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aligned numbered math formulas
Hello, On Thu, 14 Aug 2003, Tobias Burnus wrote: > Holger Schöner schrieb: > > 1) Some of the formulas should be numbered, some not; and at the same time > > I would like to align several of them. [...] > I use > \eqalignno{ > left & right & \formulanumber \cr > left & right & \formulanumber \cr > } Thanks, Tobias! This works for me, if I place a "\placeformula" before formulas enclosed by "$$". Funny, though, that I get an error if I instead enclose the formula with "\startformula ... \endformula": -- ! You can't use `\halign' in math mode. \eqalignno [EMAIL PROTECTED] \tabskip \centering \halign to \displaywidth {\hfil $\... l.42 } -- Thanks a lot, -- Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science [EMAIL PROTECTED] http://www.cs.tu-berlin.de/~hfsch/ Rooms FR2525Tel: +49-30-314-73115, Fax: -73121 Office FR 2-1 Franklinstr. 28/29, D-10587 Berlin, Germany ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context