Difference between revisions of "Command/basegrid"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \basegrid") |
|||
Line 16: | Line 16: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="dx"> | <cd:parameter name="dx"> | ||
− | <cd:paramdoc>width of cells (uses <cd:iref name="unit"/>). | + | <cd:paramdoc>width of cells (uses <cd:iref name="unit"/>). |
</cd:paramdoc> | </cd:paramdoc> | ||
<cd:constant type="cd:number">0.5 = default | <cd:constant type="cd:number">0.5 = default | ||
Line 56: | Line 56: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="align"> | <cd:parameter name="align"> | ||
− | <cd:paramdoc>centers on middle of cell. | + | <cd:paramdoc>centers on middle of cell (effectively moves the grid up and left by half a cell). |
− | + | </cd:paramdoc> | |
<cd:constant type="middle"></cd:constant> | <cd:constant type="middle"></cd:constant> | ||
</cd:parameter> | </cd:parameter> |
Latest revision as of 09:57, 29 October 2021
Contents
\basegrid
Summary
The command \basegrid displays an empty grid.
Settings
\basegrid[...=...,...] | |
nx | number |
ny | number |
dx | number |
dy | number |
factor | number |
scale | number |
xstep | number |
ystep | number |
offset | dimension |
xoffset | dimension |
yoffset | dimension |
align | middle |
unit | cm mm in pc pt bp |
style | style command |
color | color |
rulecolor | color |
rulethickness | dimension |
Option | Explanation | ||||
---|---|---|---|---|---|
nx |
| ||||
ny |
| ||||
dx |
| ||||
dy |
| ||||
factor |
| ||||
scale |
| ||||
xstep |
| ||||
ystep |
| ||||
offset |
| ||||
xoffset |
| ||||
yoffset |
| ||||
align |
| ||||
unit |
| ||||
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]