Difference between revisions of "Command/definelabel"

From Wiki
Jump to navigation Jump to search
m (Fill in the page.)
m (Correct a wee problem)
Line 54: Line 54:
 
<context source=yes>
 
<context source=yes>
 
\definelabel[mapA][text=Map A, location=inmargin]
 
\definelabel[mapA][text=Map A, location=inmargin]
 
 
\definelabel[mapB][text=Map B, location=intext]
 
\definelabel[mapB][text=Map B, location=intext]
  
 
\mapA One map
 
\mapA One map
\mapB Another map
+
 
 +
\mapB\ Another map
 
</context>
 
</context>
  
 
== See also ==
 
== See also ==
* {{cmd|labeling}} to use a labeling defined with {{cmd|definelabel}}.
+
* ''{{cmd|labeling}}'' to use a labeling defined with {{cmd|definelabel}}.
 
* {{cmd|defineenumeration}} for the modern way of doing things.
 
* {{cmd|defineenumeration}} for the modern way of doing things.
  
Line 69: Line 69:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Command/Numbered Objects|definelabel]]
+
[[Category:Command/Numbered objects|definelabel]]
 
[[Category:Command/Mkii only|definelabel]]
 
[[Category:Command/Mkii only|definelabel]]

Revision as of 23:39, 14 May 2012

\definelabel

Syntax

\definelabel[...][...,...=...,...]
[...] name
text text
location inmargin intext
way bytext bysection
blockway yes no
headstyle normal bold slanted boldslanted type cap small ... command
headcolor name
before command
after command


Description

Define an autonumbered label type, including a command to place one. Mkii only.

Example

\definelabel[mapA][text=Map A, location=inmargin]
\definelabel[mapB][text=Map B, location=intext]

\mapA One map

\mapB\ Another map

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: