Difference between revisions of "Command/at"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \at")
 
Line 47: Line 47:
 
<cd:commandref name="about">to insert the title of a referenced item.</cd:commandref>
 
<cd:commandref name="about">to insert the title of a referenced item.</cd:commandref>
 
<cd:commandref name="in">to insert the number of a referenced item.</cd:commandref>
 
<cd:commandref name="in">to insert the number of a referenced item.</cd:commandref>
<cd:commandref name="setupinteraction">to control the color and contrast color of links</cd:commandref></cd:seealso>
+
<cd:commandref name="setupinteraction">to control the color and contrast color of links</cd:commandref>
 +
<cd:commandref name="ref"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Revision as of 18:00, 5 September 2020


\at

Summary

The command \at is used for referencing using a page number.

Settings

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

OptionExplanation
Prefix of the referenced label
Suffix of the referenced label

Description

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.


Examples

Example 1

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).

\setuppapersize[A5]

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

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].

produces

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: