* How to reset numbers of formulas?
@ 2011-11-17 13:29 Otared Kavian
2011-11-17 13:48 ` Christian
0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2011-11-17 13:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Is it possible to reset the numbers which appear after invoking \placeformula?
To be more precise, I mean the following situation:
\starttext
Euler says
\placeformula
\startformula
{\rm e}^{{\rm i} \pi} + 1 = 0.
\stopformula
The above formula will have number (1). Euler's formula is the same as the following
\placeformula
\startformula
{\rm e}^{{\rm i} \pi} = - 1.
\stopformula
The above formula will have number (2), but for some reasons I wish to number it again as (1).
\stoptext
I would like to have a solution which works with ConTeXt mkiv.
Thanks for any advice, and best regards: OK
___________________________________________________________________________________
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: How to reset numbers of formulas?
2011-11-17 13:29 How to reset numbers of formulas? Otared Kavian
@ 2011-11-17 13:48 ` Christian
2011-11-17 15:20 ` Otared Kavian
0 siblings, 1 reply; 3+ messages in thread
From: Christian @ 2011-11-17 13:48 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
> Is it possible to reset the numbers which appear after invoking
> \placeformula?
>
> To be more precise, I mean the following situation:
>
> \starttext
>
> Euler says
> \placeformula
> \startformula
> {\rm e}^{{\rm i} \pi} + 1 = 0.
> \stopformula
> The above formula will have number (1). Euler's formula is the same as the
> following
> \placeformula
> \startformula
> {\rm e}^{{\rm i} \pi} = - 1.
> \stopformula
> The above formula will have number (2), but for some reasons I wish to
> number it again as (1).
> \stoptext
>
> I would like to have a solution which works with ConTeXt mkiv.
>
> Thanks for any advice, and best regards: OK
\resetnumber[formula]
or
\setnumber[formula]{<insert number>}
___________________________________________________________________________________
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: How to reset numbers of formulas?
2011-11-17 13:48 ` Christian
@ 2011-11-17 15:20 ` Otared Kavian
0 siblings, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2011-11-17 15:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1808 bytes --]
Many thanks, Christian: that's the way…
I added a note in the wiki:
http://wiki.contextgarden.net/Reference/en/placeformula
Best regards: OK
On 17 nov. 2011, at 14:48, Christian wrote:
>> Is it possible to reset the numbers which appear after invoking
>> \placeformula?
>>
>> To be more precise, I mean the following situation:
>>
>> \starttext
>>
>> Euler says
>> \placeformula
>> \startformula
>> {\rm e}^{{\rm i} \pi} + 1 = 0.
>> \stopformula
>> The above formula will have number (1). Euler's formula is the same as the
>> following
>> \placeformula
>> \startformula
>> {\rm e}^{{\rm i} \pi} = - 1.
>> \stopformula
>> The above formula will have number (2), but for some reasons I wish to
>> number it again as (1).
>> \stoptext
>>
>> I would like to have a solution which works with ConTeXt mkiv.
>>
>> Thanks for any advice, and best regards: OK
>
> \resetnumber[formula]
> or
> \setnumber[formula]{<insert number>}
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
%%%%%%%%%%%%%%%%%%
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: 5563 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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
end of thread, other threads:[~2011-11-17 15:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-17 13:29 How to reset numbers of formulas? Otared Kavian
2011-11-17 13:48 ` Christian
2011-11-17 15:20 ` 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).