Difference between revisions of "Command/placeongrid"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \placeongrid") |
|||
Line 57: | Line 57: | ||
<cd:source file="spac-ver.mkiv" originator="system"></cd:source> | <cd:source file="spac-ver.mkiv" originator="system"></cd:source> | ||
<cd:wikipage originator="system" page="Category:Layout"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Layout"></cd:wikipage> | ||
− | <cd:wikipage page="Grid typesetting"></cd:wikipage></cd:seealso> | + | <cd:wikipage page="Grid typesetting"></cd:wikipage> |
+ | <cd:commandref name="snaptogrid"></cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 13:16, 26 November 2021
Contents
\placeongrid
Summary
The command \placeongrid is used to place content on the grid
Settings
\placeongrid[...]{...} | |
[...] | normal standard yes strict tolerant top bottom both broad fit first last high one low none line strut box min max middle math math:line math:halfline math:-line math:-halfline name |
{...} | content |
Option | Explanation |
---|---|
The options here are all shortcuts defined by using \definegridsnapping. The detailed explanation given here is just the list of arguments used to create the shortcut. See \definegridsnapping for actual meanings. | |
normal | maxheight,maxdepth,strut |
standard | maxheight,maxdepth,strut |
yes | maxheight,maxdepth,strut |
strict | maxdepth:0.8,maxheight:0.8,strut |
tolerant | maxdepth:1.2,maxheight:1.2,strut |
top | minheight,maxdepth,strut |
bottom | maxheight,mindepth,strut |
both | minheight,mindepth,strut |
broad | maxheight,maxdepth,strut,0.8 |
fit | maxheight,maxdepth,strut,1.2 |
first | first |
last | last |
high | minheight,maxdepth,none |
one | minheight,mindepth |
low | maxheight,mindepth,none |
none | none |
line | line |
strut | strut |
box | box |
min | min |
max | max |
middle | maxheight,maxdept |
math | maxdepth:1.05,maxheight:1.05,strut |
math:line | math,line,split |
math:halfline | math,halfline,split |
math:-line | math,-line,split |
math:-halfline | math,-halfline,split |
Settings list
Description
The command \placeongrid is used to place content on the grid.