Difference between revisions of "Command/at"

From ConTeXt wiki
Line 6: Line 6:
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==

Latest revision as of 17:31, 10 November 2019


Syntax (autogenerated)



{...} text
{...} text
[ref] name of the reference


Inserts the page number of a location in the document which has been marked with a label (e.g. an equation, figure, section, enumerated item). The curly braces are optional and contain prefix and suffix, the square brackets contain the logical label to which you are referring.

First (optional) parameter
Prefix of the referenced label.
Second (optional) parameter
Suffix of the referenced label.


The following example shows all three variants of the command \at.

Note: In the third sentence a whitespace after the referenced page number is forced with ~ (tilde).


a^2 + b^2 = c^2

Pythagoras' theorem is shown on \at[eq:pythagoras].

Pythagoras' theorem is shown on \at{page}[eq:pythagoras].

Pythagoras' theorem is shown on \at{page}{~and page 2}[eq:pythagoras].


See also

  • \about to insert the title of a referenced item.
  • \in to insert the number of a referenced item (e.g. figure number).
  • \setupinteraction to control the color and contrast color of links.

Help from ConTeXt-Mailinglist/Forum

All issues with: