Difference between revisions of "Command/startsubformulas"
< Command
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
<cd:description><!-- the long description of the command goes here --> | <cd:description><!-- the long description of the command goes here --> | ||
</cd:description> | </cd:description> | ||
− | <cd:examples><cd:example title=""><context source="yes"> | + | <cd:examples><cd:example title="Without and with"><context source="yes"> |
\setuplayout[scale=0.8,width=13cm] | \setuplayout[scale=0.8,width=13cm] | ||
+ | |||
\startplaceformula | \startplaceformula | ||
\startformula \startalign | \startformula \startalign | ||
Line 25: | Line 26: | ||
\stopalign \stopformula | \stopalign \stopformula | ||
\stopplaceformula | \stopplaceformula | ||
− | Equation~(\in[eq:v]) tells the final velocity after time~$t$ and equation~(\in[eq:h]) tells the distance travelled in time~$t$. | + | |
+ | |||
+ | Equation~(\in[eq:v]) tells the final velocity after time~$t$ and equation (\in[eq:h]) tells the distance travelled in time~$t$. | ||
+ | </context> | ||
+ | |||
+ | <context source="yes"> | ||
+ | \setuplayout[scale=0.8,width=13cm] | ||
+ | \startsubformulas[eq:total] | ||
+ | \startplaceformula | ||
+ | \startformula \startalign | ||
+ | \NC v \NC = u + at \NR[eq:v] | ||
+ | \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] | ||
+ | \stopalign \stopformula | ||
+ | \stopplaceformula | ||
+ | \stopsubformulas | ||
+ | |||
+ | Equation~(\in[eq:v]) tells the final velocity after time~$t$ and equation (\in[eq:h]) tells the distance travelled in time~$t$. | ||
</context></cd:example></cd:examples> | </context></cd:example></cd:examples> | ||
<cd:notes></cd:notes> | <cd:notes></cd:notes> |
Revision as of 08:57, 12 May 2024
Contents
\startsubformulas ... \stopsubformulas
Summary
The environment \startsubformulas ... \stopsubformulas is used for ...
Settings
Description
Examples
Without and with
\setuplayout[scale=0.8,width=13cm] \startplaceformula \startformula \startalign \NC v \NC = u + at \NR[eq:v] \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] \stopalign \stopformula \stopplaceformula Equation~(\in[eq:v]) tells the final velocity after time~$t$ and equation (\in[eq:h]) tells the distance travelled in time~$t$.
\setuplayout[scale=0.8,width=13cm] \startsubformulas[eq:total] \startplaceformula \startformula \startalign \NC v \NC = u + at \NR[eq:v] \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] \stopalign \stopformula \stopplaceformula \stopsubformulas Equation~(\in[eq:v]) tells the final velocity after time~$t$ and equation (\in[eq:h]) tells the distance travelled in time~$t$.