Changes

Jump to navigation Jump to search
m
Text replacement - "<cmd>" to "{{cmd|"
Be sure to also read the recent (2006-08-02) [http://dl.contextgarden.net/myway/mathalign.pdf Using \startalign and friends] written by Aditya Mahajan.
This set of math examples is taken from the comments in the [[source:core-mat.tex|core-mat.tex]] file, which contains most of the core ConTeXt math macros. The <tt>textwidth</tt> has been set to 8 cm in these examples so that the page isn't too wide (see [[Layout]] and <{{cmd>|setuplayout</cmd> }} for further information specific to layout).
----
</context>
In the next examples we explicitly align formulas to the left (<{{cmd>|raggedleft</cmd>}}), center and right (<{{cmd>|raggedright</cmd>}}):
<context source="yes" text="Or in print:">
</context>
When tracing is turned on (<{{cmd>|tracemathtrue</cmd>}}) you can visualize the bounding box of the formula,
<context>
\placeformula \startformula c^2 = a^2 + b^2 \stopformula
</context>
 
{{Columns navbox}}
[[Category:Math]]

Navigation menu