Difference between revisions of "Command/definereferenceformat"

From Wiki
Jump to navigation Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ")
Line 62: Line 62:
<!-- something like [[cmd:goto|\goto]] -->
<!-- something like [[cmd:goto|\goto]] -->
== ConTeXt-Forum ==
== Help from ConTeXt-Forum ==

Revision as of 00:42, 15 March 2012



[...] name
left text
right text
text text
label name


Example 1

\definereferenceformat[ineq][left={Eq. (},right=)]


This is explained in \ineq[eq:pythagoras].

results in

Example 2

\setupexternalfigures[location={local,default}] % only needed for this online example to work
\definereferenceformat[infig][left={(Fig. },right=)]

The animal in the picture \infig[fig:cow] is black and white and produces milk.\\
\placefigure[][fig:cow]{A beautiful cow}{\externalfigure[cow][width=2cm]}

results in

See also

Help from ConTeXt-Forum