Difference between revisions of "Command/alignhere"
< Command
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
</cd:description> | </cd:description> | ||
<cd:examples><cd:example title=""><context source="yes"> | <cd:examples><cd:example title=""><context source="yes"> | ||
+ | \setuppapersize[A6,landscape] | ||
+ | \starttext | ||
+ | |||
\startformula | \startformula | ||
\tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 ) | \tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 ) | ||
Line 21: | Line 24: | ||
= \abs{x} p \abs{x}^{-1} p \abs{x} | = \abs{x} p \abs{x}^{-1} p \abs{x} | ||
\stopformula | \stopformula | ||
+ | |||
+ | \stoptext | ||
</context></cd:example></cd:examples> | </context></cd:example></cd:examples> | ||
<cd:notes></cd:notes> | <cd:notes></cd:notes> |
Revision as of 13:05, 8 May 2024
Contents
\alignhere
Summary
The command \alignhere is used for math, to specify where to align consecutive equations.
Description
Examples
Example 1
\setuppapersize[A6,landscape] \starttext \startformula \tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 ) \alignhere = \abs{x} p \abs{x}^{-1} p \abs{x} - \tfrac{1}{2} \abs{x} ( \laplace \abs{x}^{-1} ) \abs{x} \breakhere = \abs{x} p \abs{x}^{-1} p \abs{x} - \tfrac{1}{2} \abs{x} 4 \pi \delta(0) \abs{x} \breakhere = \abs{x} p \abs{x}^{-1} p \abs{x} \stopformula \stoptext