Open main menu

Changes

no edit summary
We now have references for \eqref[eq2:first] and \eqref[eq2:second].
</context>
 
 
= List of Formulae with {{cmd|placelist}} =
 
Since MKIV there are two types of formulas: numbered and named. Numbered formulas have the number as a reference and caption next to the formula and are listed only with the number and pagenumber in the list of formulas. Named formulas use the name as the caption instead of a number and are referenced with the name and pagenumber in the list of formulas.
 
<context source=yes>
2 examples:
 
% no reference ==> no entry in the list of formulas
\startplaceformula
\startformula e=mc^2 \stopformula
\stopplaceformula
 
% a reference ==> entry in the list of formulas
\startplaceformula
[reference=formula:mass1] % <====== here
\startformula e=mc^2 \stopformula
\stopplaceformula
 
This is the list:
 
\placelist[formula][criterium=all,alternative=c]
</context>
 
{{cmd|startplaceformula}} comes with the following key options: bookmark, list, reference, suffix, title. The title option changes the formula to a named formula (no number).
 
<context source=yes>
3 examples:
 
% a reference + list ==> entry with number + additional text in the list
\startplaceformula
[reference=formula:mass2,
list={Mass-energy equivalence from list option}]
\startformula e=mc^2 \stopformula
\stopplaceformula
 
% a reference + title ==> entry with title text, no number
\startplaceformula
[title={Mass-energy equivalence}, % <====== here
reference=formula:mass3]
\startformula e=mc^2 \stopformula
\stopplaceformula
 
% a reference + title + list ==> entry with list text, no number
\startplaceformula
[title={Mass-energy equivalence}, % <====== here
reference=formula:mass4,
list={Mass-energy equivalence from list option}]
\startformula e=mc^2 \stopformula
\stopplaceformula
 
This is the list:
 
\placelist[formula][criterium=all,alternative=c]
</context>
</context>
= List of Formulae with {{cmd|placelist}} = Since MKIV there are two types of formulas: numbered and named. Numbered formulas have the number as a reference and caption next to the formula and are listed only with the number and pagenumber in the list of formulas. Named formulas use the name as the caption instead of a number and are referenced with the name and pagenumber in the list of formulas. <context source=yes>2 examples: % no reference ==> no entry in the list of formulas\startplaceformula\startformula e=mc^2 \stopformula \stopplaceformula % a reference ==> entry in the list of formulas\startplaceformula [reference=formula:mass1] % <====== here\startformula e=mc^2 \stopformula \stopplaceformula This is the list: \placelist[formula][criterium=all,alternative=c]</context> {{cmd|startplaceformula}} comes with the following key options: bookmark, list, reference, suffix, title. The title option changes the formula to a named formula (no number). <context source=yes>3 examples: % a reference + list ==> entry with number + additional text in the list\startplaceformula [reference=formula:mass2, list={Mass-energy equivalence from list option}]\startformula e=mc^2 \stopformula\stopplaceformula % a reference + title ==> entry with title text, no number\startplaceformula [title={Mass-energy equivalence}, % <====== here reference=formula:mass3]\startformula e=mc^2 \stopformula\stopplaceformula % a reference + title + list ==> entry with list text, no number\startplaceformula [title={Mass-energy equivalence}, % <====== here reference=formula:mass4, list={Mass-energy equivalence from list option}]\startformula e=mc^2 \stopformula\stopplaceformula This is the list: \placelist[formula][criterium=all,alternative=c]</context> = Shaded background for part of a displayed equation ==
(see also [[Framed]])
1,005

edits