\basegrid
Summary
The command \basegrid displays an empty grid.
Settings
Option | Explanation |
nx |
number of columns |
number |
10 = default |
|
ny |
number of rows |
number |
10 = default |
|
dx |
width of cells (uses unit).
|
number |
0.5 = default
|
|
dy |
heigth of cells (uses unit)
|
number |
0.5 = default
|
|
factor |
scale factor |
number |
1 = natural size (default) |
|
scale |
scale factor |
number |
1 = natural size (default) |
|
xstep |
put labels on the bottom every xstep column line marker |
number |
default = empty (no labels) |
|
ystep |
put labels on the left every ystep row marker (starts at bottom) |
number |
default = empty (no labels) |
|
offset |
label offset, positive values move toward grid center |
dimension |
0.25\exheight = default |
|
xoffset |
label offset for row markers ("moves in x direction") |
|
yoffset |
label offset for column markers ("moves in y direction") |
|
align |
centers on middle of cell (effectively moves the grid up and left by half a cell).
|
|
unit |
dimension to use for dx and dy |
|
style |
|
color |
|
rulecolor |
|
rulethickness |
|
Description
The command \basegrid displays an empty grid with optional labelling of grid lines.
Examples
Example 1
\basegrid[nx=4,ny=3]
Example 2
\basegrid[dy=1,dx=1,unit=in,
xstep=3,ystep=1,scale=.25,
style=bold,color=blue,offset=-.5\exheight,
rulecolor=red]
Notes
See also
Help from ConTeXt-Mailinglist/Forum