Difference between revisions of "Command/startalignment"

From ConTeXt wiki
Jump to navigationJump to search
(Create reference page)
 
m (cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=startalignment
 
|name=startalignment
Line 18: Line 16:
  
  
== Description ==  
+
== Description ==
 +
 
 +
 
 
== Comment ==
 
== Comment ==
  
 
If one wants to center a MetaPost graphics or table or similar, one should add \dontleavehmode as
 
If one wants to center a MetaPost graphics or table or similar, one should add \dontleavehmode as
  
<pre>
+
<texcode>
 
\startalignment[middle]% or center
 
\startalignment[middle]% or center
 
\dontleavehmode
 
\dontleavehmode
 
\useMPgraphic{mympgraphic}
 
\useMPgraphic{mympgraphic}
 
\stopalignment
 
\stopalignment
</pre>
+
</texcode >
  
  

Revision as of 21:44, 14 April 2010

\startalignment

Syntax

\startalignment[...] ... \stopalignment
[...] see \setupalign


Description

Comment

If one wants to center a MetaPost graphics or table or similar, one should add \dontleavehmode as

\startalignment[middle]% or center
\dontleavehmode
\useMPgraphic{mympgraphic}
\stopalignment


Example

See also