Difference between revisions of "Command/reference"

From Wiki
Jump to navigation Jump to search
 
Line 17: Line 17:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description>Creates a reference label to be used with {{cmd|at}}, {{cmd|about}} or {{cmd|ref}}.
+
<cd:description>Creates a reference label.
 
</cd:description>
 
</cd:description>
 
<cd:examples><cd:example title=""><context source="yes">
 
<cd:examples><cd:example title=""><context source="yes">

Latest revision as of 17:59, 5 September 2020


\reference

Summary

The command \reference is used for creating reference labels

Settings

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

Description

Creates a reference label.

Examples

Example 1

\setuppapersize[A8,landscape]
\starttext
  See reference \in[myref 1] on \at{page}[myref 1]

  \section{Section one}
  \reference[myref 1]{MyRef1} This is the first reference.

\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: