Open main menu

Changes

115 bytes removed ,  10:54, 23 July 2021
→‎Cases: Updated to use NC and TC instead of NC and MC
\NC h \NC = ut + \frac12 gt^2 \NR[eq:h]
\stopalign \stopformula
Equation ~(\in[eq:v]) tells the final velocity after time ~$t$ and equation ~(\in[eq:h]) tells the distance travelled in time ~$t$.
</context>
\NC h \NC = ut + \frac12 gt^2 \NR[+][eq:h]
\stopalign \stopformula
Equation ~(\in[eq:v]) tells the final velocity after time ~$t$ and equation (\in[eq:h]) tells the distance travelled in time ~$t$.
</context>
<context source=yes text="gives">
\startformula
\delta_{ij} = f(x) = \startmathcases \NC x, 1 \NC \text{if $0 \le x \le \frac12$ } i = j \NR \NC 1-x ,0 \NC if $\frac12 \le x \le 1$ text{otherwise} \NR \stopmathcases
\stopformula
</context>
The cases environment consists of two columns, separated by {{cmd|NC}}. The second column is by default in text math mode. An alternative way of getting the same result is to define To typeset the second column as a mathcolumn with in text mode, use {{cmd|MCTC}} like so:
<texcode>
\startformula
\delta_{ij} = f(x) = \startmathcases \NC x, 1 \MC TC if \textm{if i = j} 0 \le x \le \frac12 \NR \NC 1-x ,0 \MC \text{if } \frac12 \le x \le 1 TC otherwise \NR \stopmathcases
\stopformula
</texcode>
10

edits