Difference between revisions of "Command/definereferenceformat"

From Wiki
Jump to navigation Jump to search
m (cleanup)
(→‎Example: Added an example)
Line 37: Line 37:
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
 
 +
<context source="yes" text="results in">
 +
\definereferenceformat[ineq][left={Eq. (},right=)]
 +
 
 +
\placeformula[eq:pythagoras]
 +
\startformula
 +
  a^2+b^2=c^2
 +
\stopformula
 +
 
 +
This is explained in \ineq[eq:pythagoras].
 +
</context>
  
 
== See also ==
 
== See also ==

Revision as of 11:29, 17 June 2010

\definereferenceformat

Syntax

\definereferenceformat[...][...,...=...,...]
[...] name
left text
right text
text text
label name


Description

Example

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

\placeformula[eq:pythagoras]
\startformula
  a^2+b^2=c^2
\stopformula

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

results in

See also