Difference between revisions of "Command/alignhere"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \alignhere")
 
Line 8: Line 8:
 
<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="">\startformula
+
<cd:examples><cd:example title=""><context source="yes">
 +
\startformula
 
\tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 )
 
\tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 )
  
Line 19: Line 20:
 
\breakhere
 
\breakhere
 
= \abs{x} p \abs{x}^{-1} p \abs{x}
 
= \abs{x} p \abs{x}^{-1} p \abs{x}
\stopformula</cd:example></cd:examples>
+
\stopformula
 +
</context></cd:example></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>
 
<cd:seealso>
 
<cd:seealso>

Revision as of 13:04, 8 May 2024


\alignhere

Summary

The command \alignhere is used for math, to specify where to align consecutive equations.

Description

Examples

Example 1

\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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: