Difference between revisions of "Multiline equations"

From Wiki
Jump to navigation Jump to search
m (Mathalign moved to Math structures)
(→‎Basic Alignment: Align is working on live :-))
Line 13: Line 13:
  
 
Note the \\ in the last line
 
Note the \\ in the last line
 +
 +
This appears as follows
 +
<context>
 +
\startformula \startalign
 +
v &= u + at \\
 +
h &= ut + \frac12 gt^2 \\
 +
\stopalign \stopformula
 +
</context>
  
 
* Context Stlye
 
* Context Stlye
Line 22: Line 30:
 
\stopalign \stopformula
 
\stopalign \stopformula
 
</texcode>
 
</texcode>
 +
 +
<context>
 +
\startformula \startalign
 +
\NC v \NC = u + at \NR
 +
\NC h \NC= ut + \frac12 gt^2 \NR
 +
\stopalign \stopformula
 +
</context>
 +
 +
( The examples here will focus on the context style, having two styles can be confusing --[[User:Adityam| Aditya ]] )
  
 
== Working with equation numbering ==
 
== Working with equation numbering ==

Revision as of 01:49, 3 February 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

This appears as follows

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

( The examples here will focus on the context style, having two styles can be confusing -- Aditya )

Working with equation numbering

Changing the number of columns

Cases

Numbered Cases