Difference between revisions of "Multiline equations"

From Wiki
Jump to navigation Jump to search
(→‎Basic Alignment: Equations not working, perhaps the garden version of context is not updated)
Line 5: Line 5:
  
 
* Latex style
 
* Latex style
 
+
<texcode>
 
\startformula \startalign
 
\startformula \startalign
 
  v &= u + at \\
 
  v &= u + at \\
 
  h &= ut + \frac12 gt^2 \\
 
  h &= ut + \frac12 gt^2 \\
 
\stopalign \stopformula
 
\stopalign \stopformula
 +
</texcode>
  
 
Note the \\ in the last line
 
Note the \\ in the last line
Line 15: Line 16:
 
* Context Stlye
 
* Context Stlye
  
 +
<texcode>
 
\startformula \startalign
 
\startformula \startalign
 
  \NC v \NC = u + at \NR
 
  \NC v \NC = u + at \NR
 
  \NC h \NC= ut + \frac12 gt^2 \NR
 
  \NC h \NC= ut + \frac12 gt^2 \NR
 
\stopalign \stopformula
 
\stopalign \stopformula
 +
</texcode>
  
 
== Working with equation numbering ==
 
== Working with equation numbering ==

Revision as of 19:48, 31 January 2006

Basic Alignment

Two modes of input

  • Latex style
\startformula \startalign
 v &= u + at \\
 h &= ut + \frac12 gt^2 \\
\stopalign \stopformula

Note the \\ in the last line

  • Context Stlye
\startformula \startalign
 \NC v \NC = u + at \NR
 \NC h \NC= ut + \frac12 gt^2 \NR
\stopalign \stopformula

Working with equation numbering

Changing the number of columns

Cases

Numbered Cases