Open main menu

Changes

</context>
When tracing is turned on ({{cmd|tracemathtrueshowboxes}}) you can visualize the bounding box of the formula,
<contextsource="yes" text="This, when typeset, produces the following:">\setuppapersize[A5]\setuplayout[textwidth=8cm]The famous result (once more) is given by\tracemathtrueshowboxes\startplaceformula\startformula c^2 = a^2 + b^2 \stopformula
\stopplaceformula
</context>
 
 
As you can see, the dimensions are the natural ones, but if needed you can force a normalized line:
<context source="yes" text="This time we get a more spacy result. [Ed. Note: For this example equation, there appears to be no visible change.]">\setuppapersize[A5]The famous result (once more) is given by\setuplayout[textwidth=8cm]showboxes
\setupformulas[align=middle,strut=yes]
\tracemathtruestartplaceformula \placeformula \startformula c^2 = a^2 + b^2 \stopformula\stopplaceformula
</context>
 
We will now show a couple of more settings and combinations of settings. In centered formulas, the number takes no space
1,005

edits