Re: [NTG-context] Aligned numbered math formulas

2003-08-15 Thread Holger Schöner
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

2003-08-14 Thread Holger Schöner
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


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
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

2003-08-14 Thread Tobias Burnus
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

2003-08-14 Thread Tobias Burnus
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