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 lines of the grid

ol                Draws the outer lines of the grid (outer box)

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