Changes

Jump to navigation Jump to search
no edit summary
< [[Main Page]] | [[Math with newmat]] | [[MathML]] | [[Multiline equations]]> == Introduction ==
TeX was designed for ease of typesetting books that contained mathematics. As ConTeXt is built on top of TeX, it inherits all those features. In addition to these, ConTeXt adds lot of macros to make the typesetting of mathematics easier.
The basics of typesetting math in ConTeXt is explained here.
=== Display math mode ===
Type {{cmd|startformula}} to get display math mode.
* Discussion: [[User_talk:Zenlima | summary of formula numbering problems]] (comment: unverified)
=== Inline math mode ===
There are four equivalent commands to get inline math mode: {{cmd|$}}, {{cmd|m}}, {{cmd|math}}, {{cmd|mathematics}} to get display inline math mode.
</context>
=Math symbols == Note to Plain TeX Users ===ConTeXt is plain TeX compatible. So, if you have any old document written in plain TeX, it will work with ConTeXt. This does not mean that you will get pixel by pixel identical output with ConTeXt. For inline math, everything that you learnt for plain TeX is also true for ConTeXt. However, display math is significantly different. '''Do not use <code>$$ .... $$</code>''' to write display math formulas in ConTeXt, since you will not get the correct spacing around the formulas. Instead use {{cmd|startformula}} and <tt>\stopformula</tt>.
=== Note to AMSTeX/LaTeX Users ===
ConTeXt offers almost all the features that are present in AMSTeX and LaTeX. However, ConTeXt syntax is different. See this [http://dl.contextgarden.net/myway/context-latex-math.pdf My Way] for how to 'translate' from amsmath syntax to ConTeXt syntax. [[LaTeX_Math_in_ConTeXt]] gives some brief ideas on how to get the LaTeX syntax to run in ConTeXt.
 
== Math symbols ==
* [[Math/basic | How to input math]] (binary relations, greek letters, subscripts and superscripts)
* Accents
* [[Product integral]]
== Plotting==
* Data plotting with [[MPgraph|module graph]]
 ==Math Fonts==
* ''See [[Math fonts]]'' for the main article about this subject.
** [https://tug.org/TUGboat/tb43-2/tb134hagen-math.pdf the article (TUGboat, Volume 43 (2022), No. 2)]
** [https://tug.org/TUGboat/tb43-3/tb135hagen-mathchange.pdf a second article (TUGboat, Volume 43 (2022), No. 2)] about New directions in math fonts.
 
= Notes =
== Note to Plain TeX Users ==
ConTeXt is plain TeX compatible. So, if you have any old document written in plain TeX, it will work with ConTeXt. This does not mean that you will get pixel by pixel identical output with ConTeXt. For inline math, everything that you learnt for plain TeX is also true for ConTeXt. However, display math is significantly different. '''Do not use <code>$$ .... $$</code>''' to write display math formulas in ConTeXt, since you will not get the correct spacing around the formulas. Instead use {{cmd|startformula}} and <tt>\stopformula</tt>.
 
== Note to AMSTeX/LaTeX Users ==
ConTeXt offers almost all the features that are present in AMSTeX and LaTeX. However, ConTeXt syntax is different. See this [http://dl.contextgarden.net/myway/context-latex-math.pdf My Way] for how to 'translate' from amsmath syntax to ConTeXt syntax. [[LaTeX_Math_in_ConTeXt]] gives some brief ideas on how to get the LaTeX syntax to run in ConTeXt.
[[Category:Math]]
1,047

edits

Navigation menu