Changes

Jump to navigation Jump to search
3 bytes added ,  12:27, 24 July 2006
m
→‎Simple Math: spelling error
<context>
\setuplayout[scale=0.8,width=13cm]
Pythagoras formula, stating \mathematics{a^2 + b^2 = c^2} was one of the first trignometric trigonometric results
</context>
There are two ways of typing inline math. The TeX way is to surround what you want to type within <code>$</code>...<code>$</code>. Thus, the above will be typed as
<texcode>
Pythagoras formula, stating $a^2 + b^2 = c^2$ was one of the first trignometric trigonometric results
</texcode>
ConTeXt also provides an alternative way of typing the same result. Instead of dollars, you can write the material for maths inside <cmd>mathematics</cmd>. Thus, an alternate way to type the above is,
<texcode>
Pythagoras formula, stating \mathematics{a^2 + b^2 = c^2} was one of the first trignometric trigonometric results
</texcode>

Navigation menu