* problem with \noalign
@ 2001-07-16 19:22 Tarik Kara
2001-07-20 11:09 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Tarik Kara @ 2001-07-16 19:22 UTC (permalink / raw)
The \noalign command does not work as expected (as I expect) inside
\eqaling{..}
When I type
\placeformula[-]
\startformula
\eqalign{
\forall s_{-i}\in S_{-i} \quad
& h(s^{\ast}_{i},s_{-i})\pref{R_{i}} h(s_{i}',s_{-i}),\cr
\noalign{\hbox{and}} %
\exists s_{-i}\in S_{-i}\quad
& h(s^{\ast}_{i},s_{-i})\pref{P_{i}}
h(s_{i}',s_{-i})\enspace.\cr}
\stopformula
the `and` is aligned with \forall. I was expecting to be in the left
margin of the page. Is there a bug (I am using ConTeXt ver: 2001.7.11) or
am I doing something wrong.
Thanks
Tar{\i}k
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem with \noalign
2001-07-16 19:22 problem with \noalign Tarik Kara
@ 2001-07-20 11:09 ` Hans Hagen
2001-07-20 18:03 ` Tarik Kara
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2001-07-20 11:09 UTC (permalink / raw)
Cc: ConTeXt mailing list
At 10:22 PM 7/16/2001 +0300, Tarik Kara wrote:
>The \noalign command does not work as expected (as I expect) inside
>\eqaling{..}
>
>When I type
>
>\placeformula[-]
>\startformula
>\eqalign{
> \forall s_{-i}\in S_{-i} \quad
> & h(s^{\ast}_{i},s_{-i})\pref{R_{i}} h(s_{i}',s_{-i}),\cr
> \noalign{\hbox{and}} %
> \exists s_{-i}\in S_{-i}\quad
> & h(s^{\ast}_{i},s_{-i})\pref{P_{i}}
> h(s_{i}',s_{-i})\enspace.\cr}
>\stopformula
>
>the `and` is aligned with \forall. I was expecting to be in the left
>margin of the page. Is there a bug (I am using ConTeXt ver: 2001.7.11) or
>am I doing something wrong.
The allignment is a box as a whole, so the 'and' will align to the side of
the alignment. Same for plain.
There are some extensions to the context formula handling that permit you
to align formulas left / right/ indented and so on, as well as to define
alignment classes. Yet undocumented.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: problem with \noalign
2001-07-20 11:09 ` Hans Hagen
@ 2001-07-20 18:03 ` Tarik Kara
0 siblings, 0 replies; 3+ messages in thread
From: Tarik Kara @ 2001-07-20 18:03 UTC (permalink / raw)
Cc: ConTeXt mailing list
Dear Hans,
I checked the TeXbook and I noticed that I have used
\eqalign when I should \eqalignno. Sorry about this.
I am looking forward for more documentation on math.
Tar{\i}k
On Fri, 20 Jul 2001, Hans Hagen wrote:
> At 10:22 PM 7/16/2001 +0300, Tarik Kara wrote:
> >The \noalign command does not work as expected (as I expect) inside
> >\eqaling{..}
> >
> >When I type
> >
> >\placeformula[-]
> >\startformula
> >\eqalign{
> > \forall s_{-i}\in S_{-i} \quad
> > & h(s^{\ast}_{i},s_{-i})\pref{R_{i}} h(s_{i}',s_{-i}),\cr
> > \noalign{\hbox{and}} %
> > \exists s_{-i}\in S_{-i}\quad
> > & h(s^{\ast}_{i},s_{-i})\pref{P_{i}}
> > h(s_{i}',s_{-i})\enspace.\cr}
> >\stopformula
> >
> >the `and` is aligned with \forall. I was expecting to be in the left
> >margin of the page. Is there a bug (I am using ConTeXt ver: 2001.7.11) or
> >am I doing something wrong.
>
> The allignment is a box as a whole, so the 'and' will align to the side of
> the alignment. Same for plain.
>
> There are some extensions to the context formula handling that permit you
> to align formulas left / right/ indented and so on, as well as to define
> alignment classes. Yet undocumented.
>
> Hans
> -------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE | pragma@wxs.nl
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-07-20 18:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-16 19:22 problem with \noalign Tarik Kara
2001-07-20 11:09 ` Hans Hagen
2001-07-20 18:03 ` Tarik Kara
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).