Difference between revisions of "Command/labeling"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>labeling</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 16: Line 19:
  
 
== Description ==  
 
== Description ==  
 +
Place a numbered label that was defined with {{cmd|definelabel}}. This command is not actually called <code>\labeling</code>; the ''labeling'' part is merely a placeholder. The example should make things clear.
 +
 +
== Example ==
 +
<context source=yes>
 +
\definelabel[map][text=Map, location=inmargin]
  
 +
\map[smallmap] The first map.
  
 +
\map[bigmap] The second map.
  
== Example ==
+
See \in{Map}[smallmap].
<!-- Please fill in an example if you can -->
+
</context>
  
 
== See also ==
 
== See also ==
<!-- something like {{cmd|goto}} -->
+
* {{cmd|definelabel}}
 +
* {{cmd|enumeration}} for a newer mechanism that can replace many uses of {{cmd|labeling}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 29: Line 40:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Command/Labels|labeling]]
+
[[Category:Command/Numbered objects|labeling]]

Latest revision as of 13:45, 18 November 2019

\labeling

Syntax (autogenerated)


Syntax

\labeling[ref]
[ref]


Description

Place a numbered label that was defined with \definelabel. This command is not actually called \labeling; the labeling part is merely a placeholder. The example should make things clear.

Example

\definelabel[map][text=Map, location=inmargin]

\map[smallmap] The first map.

\map[bigmap] The second map.

See \in{Map}[smallmap].

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: