* Re: Multiline formula numbering problems
[not found] <mailman.2.1296471602.28801.ntg-context@ntg.nl>
@ 2011-01-31 11:19 ` Vyatcheslav Yatskovsky
0 siblings, 0 replies; 3+ messages in thread
From: Vyatcheslav Yatskovsky @ 2011-01-31 11:19 UTC (permalink / raw)
To: ntg-context
> In fact you should say \NR[+] at the end of each line in \startalign in
> order to get numbers.
> This works for me:
> \starttext
>
> \placeformula
> \startformula
> \startalign
> \NC \dot{x}(t) \NC=f(x(t), u(t)) \NR[+]
> \NC y(t) \NC=h(x(t), u(t)), \NR[+]
> \stopalign
> \stopformula
>
> \stoptext
Wow, that's pure magic! Thanks! )
--
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Multiline formula numbering problems
2011-01-31 10:38 ` Vyatcheslav Yatskovsky
@ 2011-01-31 10:43 ` Otared Kavian
0 siblings, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2011-01-31 10:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1243 bytes --]
Hi Vyatcheslav,
In fact you should say \NR[+] at the end of each line in \startalign in order to get numbers.
This works for me:
\starttext
\placeformula
\startformula
\startalign
\NC \dot{x}(t) \NC=f(x(t), u(t)) \NR[+]
\NC y(t) \NC=h(x(t), u(t)), \NR[+]
\stopalign
\stopformula
\stoptext
Best regards: OK
On 31 janv. 2011, at 11:38, Vyatcheslav Yatskovsky wrote:
> \starttext
>
> % has number
> \placeformula \startformula
> f(x_0, u_0)=0.
> \stopformula
>
> % has no number
> \placeformula \startformula \startalign
> \NC \dot{x}(t) \NC=f(x(t), u(t)) \NR
> \NC y(t) \NC=h(x(t), u(t)), \NR
> \stopalign \stopformula
>
>
> % no numbers even here
> \startsubformulas
> \placeformula \startformula
> \dot{x}(t)=f(x(t), u(t))
> \stopformula
> \placeformula \startformula
> y(t) =h(x(t), u(t)),
> \stopformula
> \stopsubformulas
>
> \stoptext
>
> Regards,
> Vyatcheslav
%%%%%%%%%%%%%%%%%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex
Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44
Secrétariat: +33 1 39 25 46 46
e-mail: Otared.Kavian@math.uvsq.fr
[-- Attachment #1.2: Type: text/html, Size: 3146 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Multiline formula numbering problems
[not found] <mailman.661.1296466041.4223.ntg-context@ntg.nl>
@ 2011-01-31 10:38 ` Vyatcheslav Yatskovsky
2011-01-31 10:43 ` Otared Kavian
0 siblings, 1 reply; 3+ messages in thread
From: Vyatcheslav Yatskovsky @ 2011-01-31 10:38 UTC (permalink / raw)
To: ntg-context
Hi,
I cannot understand why, but multiline formulas are not numbered.
\starttext
% has number
\placeformula \startformula
f(x_0, u_0)=0.
\stopformula
% has no number
\placeformula \startformula \startalign
\NC \dot{x}(t) \NC=f(x(t), u(t)) \NR
\NC y(t) \NC=h(x(t), u(t)), \NR
\stopalign \stopformula
% no numbers even here
\startsubformulas
\placeformula \startformula
\dot{x}(t)=f(x(t), u(t))
\stopformula
\placeformula \startformula
y(t) =h(x(t), u(t)),
\stopformula
\stopsubformulas
\stoptext
Regards,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-31 11:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.2.1296471602.28801.ntg-context@ntg.nl>
2011-01-31 11:19 ` Multiline formula numbering problems Vyatcheslav Yatskovsky
[not found] <mailman.661.1296466041.4223.ntg-context@ntg.nl>
2011-01-31 10:38 ` Vyatcheslav Yatskovsky
2011-01-31 10:43 ` Otared Kavian
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).