Difference between revisions of "Command/definelabel"

From Wiki
Jump to navigation Jump to search
m (Correct a wee problem)
m (Changed suggestion that enumerations can replace labels completely, removed MkII only category)
(One intermediate revision by one other user not shown)
Line 49: Line 49:
  
 
== Description ==  
 
== Description ==  
Define an autonumbered label type, including a command to place one. Mkii only.
+
Define an autonumbered label type, including a command to place one.
  
 
== Example ==
 
== Example ==
Line 63: Line 63:
 
== 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 a newer mechanism that can replace many uses of {{cmd|definelabel}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 70: Line 70:
  
 
[[Category:Command/Numbered objects|definelabel]]
 
[[Category:Command/Numbered objects|definelabel]]
[[Category:Command/Mkii only|definelabel]]
 

Revision as of 22:53, 18 January 2018

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

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: