Changes

Jump to navigation Jump to search
no edit summary
=== Display math mode ===
Type
<texcode>\Type {{cmd|startformula }} to get display math mode... \stopformula</texcode>
to get display math mode<context source="yes">The famous result (once more) is given by\startformulac^2 = a^2 + b^2.\stopformula</context>
=== Inline math mode ===
There are four equivalent commands to get 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. <texcodecontext source="yes">\framed[align=normal,frame=off]{%The famous result (once more) is given by $ c^2 = a^2 + b^2 $ ... $ \par % TeX style.The famous result (once more) is given by \m{ c^2 = a^2 + b^2}... } \par The famous result (once more) is given by \math{ c^2 = a^2 + b^2}... } \par The famous result (once more) is given by \mathematics{ ..c^2 = a^2 + b^2}. }</texcodecontext>
=== 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 <texcodett>\startformula ... \stopformula</texcodett>.
See [[Math/Display]] for more details on how to use display math in ConTeXt.
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.
== The details == === Math symbols ===
* [[Math/basic | How to input math]] (binary relations, greek letters, subscripts and superscripts)
* Accents
* [[Product integral]]
=== Display Math ===
* [[Math/Display | Formula, formula number]]
* [[Multiline equations]] (see [http://dl.contextgarden.net/myway/mathalign.pdf Using \mathalign and friends])
* Use [[mathstackers]] in order to define new math commands in which some characters are stacked over another one
* [[\startcases]]
 
== Plotting==
 
* Data plotting with [[MPgraph|module graph]]
 
==Math Fonts==
1,047

edits

Navigation menu