Difference between revisions of "Math"
Jump to navigation
Jump to search
(Moved MathML to own page) |
(completely rewritten) |
||
Line 1: | Line 1: | ||
− | < [[Main Page]] | [[ | + | < [[Main Page]] | [[MathML]] > |
− | + | 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 [http://dante.ctan.org/tex-archive/macros/context/contrib/maths/ CTAN], [[Math with nath|nath]] and [[Math with amsl|amsl]]. | ||
+ | * It is also possible to use most [[LaTeX Math in ConTeXt|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. | * The "native" ConTeXt way of math is [[MathML]], an application of [[XML]] - rather verbose but mighty. | ||
+ | |||
+ | ==Simple Math== | ||
+ | |||
+ | <texcode> | ||
+ | \quotation{$c^2 = a^2 + b^2$}, says Pythagoras with inline math. | ||
+ | |||
+ | \startformula | ||
+ | c^2 = a^2 + b^2 | ||
+ | \stopformula | ||
+ | </texcode> | ||
+ | (Someone please add a sample that shows the most advanced possible math without modules.) | ||
+ | |||
+ | ==Math [[Fonts]]== | ||
* [http://homepage.mac.com/atl/tex/EulerContext.pdf Euler in ConTeXt (using Euler math font)] by Adam Lindsay | * [http://homepage.mac.com/atl/tex/EulerContext.pdf Euler in ConTeXt (using Euler math font)] by Adam Lindsay | ||
− | * Esp. for physics | + | |
− | * There's a module for chemical structure formulae: [[Chemistry|PPCHTeX]] (works also with LaTeX). It's based on | + | ==Science== |
− | [[Metapost]] and [[MetaFun]] | + | * Esp. for physics there’s the [[units]] module. |
− | + | * Additions to [[MathML]] are PhysML and ChemML. | |
+ | * [[Chemistry]] | ||
+ | * There's a module for chemical structure formulae: [[Chemistry|PPCHTeX]] (works also with LaTeX). It's based on [[Metapost]] and [[MetaFun]]. |
Revision as of 21:06, 12 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.)
Math Fonts
- Euler in ConTeXt (using Euler math font) by Adam Lindsay