Command/in

From Wiki
< Command
Revision as of 18:37, 5 February 2020 by Flying sheep (talk | contribs) (Autogenerated is enough, the example clearly shows what the texts do)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\in

Syntax (autogenerated)

\in{...}{...}[...]
{...}text
{...}text
[...]reference


Description

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

Example

\setuppapersize[A5]

\placeformula[eq:pythagoras]
\startformula
  a^2+b^2=c^2
\stopformula

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.
  • \setupinteraction to control the color and contrast color of links.

Help from ConTeXt-Mailinglist/Forum

All issues with: