Difference between revisions of "Command/in"

From ConTeXt wiki
Jump to navigationJump to search
(Add note about definereferenceformat; narrower example)
Line 29: Line 29:
== Example ==
== Example ==
<context source="yes">
<context source="yes" mode=mkiv>

Revision as of 14:55, 31 October 2012



{...} text before
{...} text after


Inserts a reference to a location in the document which has been marked with a label (e.g. an equation, figure, section, enumerated item). The curly-brace arguments contain prefix and suffix, the square brackets contain the label of the point/object/section to which you are referring.




This is explained in \in{Equation}{.}[eq:pythagoras]

See also

  • \at to refer to a page containing a label.
  • \about to insert the title of a referenced item.
  • \definereferenceformat for setting up your own references (e.g. for figures). If you tried to parenthesize the equation number with \in{Equation (}{)}[eq:somelabel] and were frustrated by the space after the opening parenthesis, this is the place to look.

Help from ConTeXt-Mailinglist/Forum

All issues with: