Difference between revisions of "Command/in"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \in") |
|||
(One intermediate revision by the same user not shown) | |||
Line 42: | Line 42: | ||
<cd:commandref name="at">to refer to a page containing a label</cd:commandref> | <cd:commandref name="at">to refer to a page containing a label</cd:commandref> | ||
<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="definereferenceformat">for setting up your own reference commands</cd:commandref></cd:seealso> | + | <cd:commandref name="definereferenceformat">for setting up your own reference commands</cd:commandref> |
+ | <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> |
Latest revision as of 18:00, 5 September 2020
Contents
\in
Summary
The command \in is used for referencing using a number.
Settings
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.
After the prefix an automatic space is inserted in the output. If this is problematic, for instance because you want parentheses around a referenced number, see \definereferenceformat. That command allows you to define your own in
-like commands.
Examples
Example 1
\setuppapersize[A5] \placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula This is explained in \in{Equation}{.}[eq:pythagoras]
Notes
See also
- strc-ref.mkvi
- \at to refer to a page containing a label
- \about to insert the title of a referenced item
- \definereferenceformat for setting up your own reference commands
- \setupinteraction to control the color and contrast color of links
- \ref