Command/placeformula

From Wiki
Jump to navigation Jump to search

\placeformula

Syntax (autogenerated)

\placeformula[...,...]{...}
[...,...]+ - reference
{...}text


Syntax

\placeformula[ref,ref,...]{...}$$...$$
[ref,ref,...]
{...} text
$$...$$ formula


Description

Example

\placeformula[formula:aformula]
\startformula
y=x^2
\stopformula
\placeformula
\startformula
\int_0^1 x^2 dx
\stopformula

If you wish to begin the numbering anew you can add \resetnumber before \placeformula:

\resetnumber[formula]
\placeformula[formula:aformula]
\startformula
(x+y)^2 = x^2 + 2xy + y^2
\stopformula
\placeformula
\startformula
\int_0^1 x^2 dx = {1 \over 3 }
\stopformula

If you wish to start the numbering at a certain number, say at 100, you can add \setnumber before \placeformula:

\setnumber[formula]{100}
\placeformula[formula:aformula]
\startformula
(x + y) ^3 = x^3 + 3x^2y + 3xy^2 + y^3
\stopformula
\placeformula
\startformula
\int_0^1 x dx = {1 \over 2}
\stopformula

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: