Changes

Jump to navigation Jump to search
1,212 bytes added ,  16:57, 2 December 2015
Added section on Row Offset/Gap
\stoptext
</texcode>
 
== Row Offset/Gap ==
 
Rows, just like columns, can be drawn with a gap.
As above, this can be achieved using:
<texcode>
\bTABLE[spaceinbetween=2cm]
...
\eTABLE
</texcode>
 
A gap differs from an offset as can be seen when drawing
cells using a background and/or a frame.
 
Note that offsets can be uniform <tt>[offset=dimension]</tt>,
or asymmetric
<tt>[toffset=dimension,boffset=dimension,loffset=dimension,roffset=dimension]</tt>
 
=== Gaps for individual cells ===
 
One might want to produce gaps between specific rows and/or specific columns.
This can be achieved using a white frame, for example,
as shown in the following (incomplete) fragment:
 
<texcode>
\bTABLE[frame=off,columndistance=.5em]
...
\bTR[topframe=on,framecolor=white,rulethickness=.5em]
...
\eTR
...
\eTABLE
</texcode>
 
Note that the <tt>rulethickness</tt> was set for the particular row
and not for the entire table; otherwise, it would enter into the
calculation of the cell dimensions (and interplay with other parameters
such as <tt>columndistance</tt>).
 
More complicated situations, for example, mixing frames, colored cell backgrounds, special gaps, ..., can be achieved using MetaPost graphics as a <tt>background</tt>.
== Make a cell bold ==
148

edits

Navigation menu