Open main menu

Changes

\stopitemize
</context>
 
By default, only the formula number appears as a reference. This can be changed by using {{cmd|definereferenceformat}}. For example, to create a command <code>\eqref</code> which shows the formula number in brackets, use
<texcode>
\definereferenceformat[eqref][left=(,right=)]
</texcode>
See [[References]] for more examples of {{cmd|definereferenceformat}}.
<context source="yes" text="This, when typeset, produces the following:">
\setupinteraction[state=start]
<context source="yes" text="This, when typeset, produces the following:">
\definereferenceformat[eqref][left=(,right=)]
 
The famous result (once more) is given by
\startplaceformula[eq:myref]
\stopplaceformula
And now we can refer to its number by several ways,\startitemize\item with \tex{in} : formula \in[eq:myref] or \in{formula}{}[eq:myref] \item with \tex{at} : formula \in[eq:myref] \at{page}[eq:myref]\item with \tex{ref} : formula \ref[number] [eq:myref] page \ref[number] [eq:myref]\item with \tex{eqref} : formula \eqref[number] [eq:myref] page \eqref[number] [eq:myref].\stopitemize
</context>
1,005

edits