ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Aligned numbered math formulas
       [not found] <Pine.LNX.4.44.0308141619300.4463-100000@dunedain.cs.tu-ber lin.de>
@ 2003-08-14 18:22 ` David Arnold
  2003-08-14 18:49   ` Tobias Burnus
       [not found]   ` <Pine.LNX.4.44.0308142045430.29014-100000@g24.physik.fu-ber lin.de>
  0 siblings, 2 replies; 5+ messages in thread
From: David Arnold @ 2003-08-14 18:22 UTC (permalink / raw)


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 ...displ@y \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
>hfsch@cs.tu-berlin.de	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
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Aligned numbered math formulas
  2003-08-14 18:22 ` Aligned numbered math formulas David Arnold
@ 2003-08-14 18:49   ` Tobias Burnus
       [not found]   ` <Pine.LNX.4.44.0308142045430.29014-100000@g24.physik.fu-ber lin.de>
  1 sibling, 0 replies; 5+ messages in thread
From: Tobias Burnus @ 2003-08-14 18:49 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Aligned numbered math formulas
       [not found]   ` <Pine.LNX.4.44.0308142045430.29014-100000@g24.physik.fu-ber lin.de>
@ 2003-08-14 18:56     ` David Arnold
  2003-08-14 19:23       ` Tobias Burnus
  0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2003-08-14 18:56 UTC (permalink / raw)


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
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Aligned numbered math formulas
  2003-08-14 18:56     ` David Arnold
@ 2003-08-14 19:23       ` Tobias Burnus
  2003-08-14 22:22         ` Re[2]: " Giuseppe Bilotta
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Burnus @ 2003-08-14 19:23 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re[2]: Aligned numbered math formulas
  2003-08-14 19:23       ` Tobias Burnus
@ 2003-08-14 22:22         ` Giuseppe Bilotta
  0 siblings, 0 replies; 5+ messages in thread
From: Giuseppe Bilotta @ 2003-08-14 22:22 UTC (permalink / raw)


Thursday, August 14, 2003 Tobias Burnus wrote:

TB> Hi,

TB> On Thu, 14 Aug 2003, David Arnold wrote:
>> Is there a setup that will typeset the labels as (1.1) and (1.1a)?
TB> Not that I'm aware of, but I use \informula[foo] with

TB> \def\informula#1{(\in[#1])}

Look up definereferenceformat, it's intended to do that more
cleanly :)

-- 
Giuseppe "Oblomov" Bilotta

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-14 22:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0308141619300.4463-100000@dunedain.cs.tu-ber lin.de>
2003-08-14 18:22 ` Aligned numbered math formulas David Arnold
2003-08-14 18:49   ` Tobias Burnus
     [not found]   ` <Pine.LNX.4.44.0308142045430.29014-100000@g24.physik.fu-ber lin.de>
2003-08-14 18:56     ` David Arnold
2003-08-14 19:23       ` Tobias Burnus
2003-08-14 22:22         ` Re[2]: " Giuseppe Bilotta

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).