Difference between revisions of "Command/alignhere"

From Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
\breakhere
 
\breakhere
 
= \abs{x} p \abs{x}^{-1} p \abs{x}
 
= \abs{x} p \abs{x}^{-1} p \abs{x}
 +
\stopformula
 +
 +
\stoptext
 +
</context>
 +
 +
<context source="yes">
 +
\setuppapersize[A6,landscape]
 +
\starttext
 +
 +
\startformula
 +
\tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 )
 
\stopformula
 
\stopformula
  

Revision as of 13:05, 8 May 2024


\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
\setuppapersize[A6,landscape]
\starttext

\startformula
\tfrac{1}{2}( p^2 \abs{x} + \abs{x} p^2 )
\stopformula

\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: