Am 08.04.10 11:10, schrieb Otared Kavian:
Hi all,

How is it possible to have a STEPchart be midaligned, or right-aligned, as one 
may do this with figures, tables, and FLOWcharts?
An example is here:

%%%%%%%%%%%%
\usemodule[steps,mathml]
\starttext
\startbuffer[test-chart]
\startSTEPtable
        \cell {$c=2a+3b$} \text {with $a=5$}
        \cell {$c=10+3b$} \text {and $b=6$}
        \cell {$c=10+18$} \text {we get}
        \cell {$c=28$}
\stopSTEPtable
\stopbuffer
How can one center the following \type{\STEPchart}?
\getbuffer[test-chart]
\stoptext
%%%%%%%%%%%%

I should add that \startalignment[middle], or \placefigure do not have any 
influence on the alignment of the above example.
You have to adjust it by hand, stepchart use the complete textwidth and alignments
is useless in this case, use \offset to shift the chart to the right side.

\offset[x=.3\textwidth]{\getbuffer[test-chart]}

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to