Difference between revisions of "Command/startformula"

From Wiki
Jump to navigation Jump to search
m (→‎comment: correct link to source browser)
m (Text replace - "Reference/en|" to "Commands|")
Line 58: Line 58:
<!-- something like [[cmd:goto|\goto]] -->
<!-- something like [[cmd:goto|\goto]] -->

Revision as of 01:04, 14 March 2012



\startformula ... \stopformula



Note: these are defined by the following lines in strc-mat.mkiv:

\setvalue{\e!stop \v!formula}{\dostopformula}



This is the first mathematical formula

  \sin^2(t)^2 + \cos^2(t) = 1.

This is another formula

  \cos^2(t) = \frac{1}{1+\tan^2(t)}.

As one may see from relation~(\in[eqn:tangent]), $\cos(t)$ and $\sin(t)$ can be determined by $\tan(t)$\dots

This is the third formula

   |a+b|^2 = |a|^2 + |b|^2

Clearly equality (\in[Pythagora]) holds for $a,b \in {\Bbb R}^n$ if and only if $(a|b) =0$, where the scalar product $(\cdot|\cdot)$ on ${\Bbb R}^n$ is defined to be

  (a|b) := a\cdot b =\sum_{j=1}^{n}a_jb_j, \qquad |a|^2 := (a|a).

(Note that the above equation is {\it not\/} numbered). \stoptext

See also