The opt Command (Advanced) |
Top Previous Next |
There is an opt command that can be included in a table/grid definition, to override default settings. The opt(ions) command should be the first entry in the table/grid definition.
eg. tablec(opt(w=25;m=4)1&&2&&3\\4&&5&&6)
The opt command can contain the following options (separated by semicolons).
Minimum size options w=40 Sets the minimum width of columns, in millimetres. h=25 Sets the minimum height of rows, in millimetres.
Margin options l=5 Sets the left margin for cells, in millimetres. r=7 Sets the right margin for cells, in millimetres. t=10 Sets the top margin for cells, in millimetres. b=3 Sets the bottom margin for cells, in millimetres.
Special margin option m=7 This special command sets ALL margins of cells in the table, in millimetres.
opt(m=7) is equivalent to opt(l=7;r=7;t=7;b=7)
Line options (grid command only) hl Draws the horizontal lines of the grid vl Draws the vertical inner lines of the grid hi Draws the horizontal inner lines of the grid vi Draws the vertical lines of the grid oa Draws all of the outer lines of the grid (outer box) ol Draws the left outer line of the grid or Draws the right outer line of the grid ot Draws the top outer line of the grid ob Draws the bottom outer line of the grid tl Draws the top row line of the grid ll Draws the left column line of the grid rl Draws the right column line of the grid bl Draws the bottom row line of the grid |