Changes

Jump to navigation Jump to search
32 bytes removed ,  06:11, 23 March 2012
m
Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}"
by adding the parameter <tt>[split=yes]</tt> (see example).
However,
[[{{cmd:|startlinecorrection|line correction]]}}
can lead to unpredictable vertical spaces between rows [http://archive.contextgarden.net/message/20100912.112605.8a1aaf13.en.html].
For a different approach for round corners and colored background follow the text after this example.
It is possible to round the corners of the table if you turn off the main frame of the table and frame the table in [[{{cmd:framed|\framed]]}}. Compare two different approaches in the first and second example.
You can't color the background of the table with round corners unless the frame rulethickness is not big enough to cover the rectangular corners of the background (second example). Well, you can if you frame the table twice. Once in the thick white frame and then in the thin frame with negative offset and slightly smaller corner radius (third example). Be aware of other complications -- notice that the thick white frame is still visible in the text above it.
Some other useful options that were not covered above:
* <tt>align=yes</tt> will align the text both left and right justified
* <tt>loffset</tt>, <tt>roffset</tt>, <tt>toffset</tt>, <tt>boffset</tt> can be used in addition to <tt>offset</tt> to specify cell content offsets in each direction separately, see also [[{{cmd:framed|\framed]]}}
=TABLEs with old table syntax=

Navigation menu