Difference between revisions of "Command/placefloat"
< Command
Jump to navigation
Jump to search
(fix some descriptions) |
|||
Line 63: | Line 63: | ||
<cd:constant type="leftpage">On an empty left page</cd:constant> | <cd:constant type="leftpage">On an empty left page</cd:constant> | ||
<cd:constant type="rightpage">On an empty right page</cd:constant> | <cd:constant type="rightpage">On an empty right page</cd:constant> | ||
− | <cd:constant type="somewhere"> | + | <cd:constant type="somewhere">Used as a location prefix with {{cmd|placenamedfloat}}. See that command page for example usage</cd:constant> |
<cd:constant type="effective">?</cd:constant> | <cd:constant type="effective">?</cd:constant> | ||
<cd:constant type="header">Use header space (combine with "high")</cd:constant> | <cd:constant type="header">Use header space (combine with "high")</cd:constant> |
Revision as of 12:50, 24 November 2021
Contents
\placefloat
Summary
The command \placefloat is the basis for all float placement commands like \placefigure, \placetable etc.
Settings
\placefloat[...][...,...][...,...]{...}{...} | |
[...] | singular |
[...,...] | split always left right inner outer backspace cutspace inleft inright inmargin leftmargin rightmargin leftedge rightedge innermargin outermargin inneredge outeredge text opposite reset height depth [+-]line halfline grid high low fit 90 180 270 nonumber none local here force margin [+-]hang hanging tall both middle offset top bottom auto page leftpage rightpage somewhere effective header footer tblr lrtb tbrl rltb fxtb btlr lrbt btrl rlbt fxbt fixd |
[...,...] | reference |
{...} | text |
{...} | content |
Option | Explanation |
---|---|
name of the float class, e.g. image, table | |
optional positioning key. There are a great many positioning keys defined, and they can be combined (although not all combinations make sense). | |
split | For tables: may split over pages |
always | Precedence over stored floats |
left | To the left of the text |
right | To the right of the text |
inner | like left/right |
outer | lik left/right |
backspace | ? |
cutspace | ? |
inleft | In left margin |
inright | In right margin |
inmargin | In the margin (left or right) |
leftmargin | In left margin |
rightmargin | In right margin |
leftedge | In left edge area |
rightedge | In right edge area |
innermargin | In inner margin |
outermargin | In outer margin |
inneredge | In inner edge area |
outeredge | In outer edge area |
text | In main text area |
opposite | On the opposite page of a spread |
reset | ? |
height | ? |
depth | ? |
[+-]line | ? |
halfline | ? |
grid | ? |
high | with "page": like top. with left/right: move up. |
low | with "page": like bottom. with left/right: move down. |
fit | with left/right: no distance between float and text |
90 | Rotation of float and caption |
180 | Rotation of float and caption |
270 | Rotation of float and caption |
nonumber | Suppress the float number |
none | Suppress the caption, including the "FLOAT 1" label. |
local | ? |
here | Preferably here |
force | Force placement here |
margin | In the margin (margin float) |
[+-]hang | ? |
hanging | ? |
tall | ? |
both | ? |
middle | ? |
offset | ? |
top | At the top of the page |
bottom | At the bottom of the page (unreliable) |
auto | ? |
page | On a new (empty) page |
leftpage | On an empty left page |
rightpage | On an empty right page |
somewhere | Used as a location prefix with \placenamedfloat. See that command page for example usage |
effective | ? |
header | Use header space (combine with "high") |
footer | Use footer space (combine with "low") |
tblr | Precedence in page columns: top, bottom, left, right |
lrtb | Precedence in page columns: left, right, top, bottom |
tbrl | Precedence in page columns: top, bottom, right, left |
rltb | Precedence in page columns: right, left, top, bottom |
fxtb | Precedence in page columns: top bottom (?) |
btlr | Precedence in page columns |
lrbt | Precedence in page columns |
btrl | Precedence in page columns |
rlbt | Precedence in page columns |
fxbt | Precedence in page columns: bottom top (?) |
fixd | Precedence in page columns: force here (?) |
optional reference label | |
caption content | |
{...} | float content |
Description
Examples
Notes
See also
- strc-flt.mkvi
- Floating_Objects
- \definefloat
- \setupfloat
- page-cst.lua Lua functions that control the four-letter placement codes in page columns