Command/in

From ConTeXt wiki
< Command
Revision as of 17:34, 10 November 2019 by Usonianhorizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

\in

Syntax (autogenerated)

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


Syntax (autogenerated)

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


Syntax

\in{...}{...}[ref]
{...} text before
{...} text after
[ref]


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: