Difference between revisions of "Math"
Jump to navigation
Jump to search
(added MyWay#3 link (number formatting)) |
(→Simple Math: added "live" link) |
||
Line 19: | Line 19: | ||
</texcode> | </texcode> | ||
(Someone please add a sample that shows the most advanced possible math without modules.) | (Someone please add a sample that shows the most advanced possible math without modules.) | ||
+ | |||
+ | [http://www.ntg.nl:8061/texmath.pdf Here] you can try it "live" (PDF interface!). | ||
==Number Formatting== | ==Number Formatting== |
Revision as of 13:55, 14 September 2004
Many people start with TeX because they want to set formulae. Simple math typesetting exists since PlainTeX and these commands work in ConTeXt as in LaTeX. Advanced math was introduced to TeX by AMS (American Mathematical Society); nowadays AMSTeX and LaTeX are united. But how can one use advanced math with ConTeXt?
- There are two different math modules on CTAN, nath and amsl.
- It is also possible to use most LaTeX equations in ConTeXt with a relatively small set of supporting definitions.
- The "native" ConTeXt way of math is MathML, an application of XML - rather verbose but mighty.
Simple Math
\quotation{$c^2 = a^2 + b^2$}, says Pythagoras with inline math. \startformula c^2 = a^2 + b^2 \stopformula
(Someone please add a sample that shows the most advanced possible math without modules.)
Here you can try it "live" (PDF interface!).
Number Formatting
There's a special command, \digits, and a own manual about formatting numbers, see Pasting digits together
Math Fonts
- Bold Math
- Euler in ConTeXt (using Euler math font) by Adam Lindsay