Difference between revisions of "Command/placefloat"
< Command
Jump to navigation
Jump to search
m (typo) |
(fix some descriptions) |
||
Line 14: | Line 14: | ||
<cd:constant type="split">For tables: may split over pages</cd:constant> | <cd:constant type="split">For tables: may split over pages</cd:constant> | ||
<cd:constant type="always">Precedence over stored floats</cd:constant> | <cd:constant type="always">Precedence over stored floats</cd:constant> | ||
− | <cd:constant type="left">To the left of text</cd:constant> | + | <cd:constant type="left">To the left of the text</cd:constant> |
<cd:constant type="right">To the right of the text</cd:constant> | <cd:constant type="right">To the right of the text</cd:constant> | ||
− | <cd:constant type="inner"> | + | <cd:constant type="inner">like left/right</cd:constant> |
− | <cd:constant type="outer"> | + | <cd:constant type="outer">lik left/right</cd:constant> |
<cd:constant type="backspace">?</cd:constant> | <cd:constant type="backspace">?</cd:constant> | ||
<cd:constant type="cutspace">?</cd:constant> | <cd:constant type="cutspace">?</cd:constant> | ||
Line 39: | Line 39: | ||
<cd:constant type="halfline">?</cd:constant> | <cd:constant type="halfline">?</cd:constant> | ||
<cd:constant type="grid">?</cd:constant> | <cd:constant type="grid">?</cd:constant> | ||
− | <cd:constant type="high"> | + | <cd:constant type="high">with "page": like top. with left/right: move up.</cd:constant> |
− | <cd:constant type="low"> | + | <cd:constant type="low">with "page": like bottom. with left/right: move down.</cd:constant> |
− | <cd:constant type="fit"> | + | <cd:constant type="fit">with left/right: no distance between float and text</cd:constant> |
<cd:constant type="90">Rotation of float and caption</cd:constant> | <cd:constant type="90">Rotation of float and caption</cd:constant> | ||
<cd:constant type="180">Rotation of float and caption</cd:constant> | <cd:constant type="180">Rotation of float and caption</cd:constant> | ||
Line 58: | Line 58: | ||
<cd:constant type="offset">?</cd:constant> | <cd:constant type="offset">?</cd:constant> | ||
<cd:constant type="top">At the top of the page</cd:constant> | <cd:constant type="top">At the top of the page</cd:constant> | ||
− | <cd:constant type="bottom">At the bottom of the page</cd:constant> | + | <cd:constant type="bottom">At the bottom of the page (unreliable)</cd:constant> |
<cd:constant type="auto">?</cd:constant> | <cd:constant type="auto">?</cd:constant> | ||
<cd:constant type="page">On a new (empty) page</cd:constant> | <cd:constant type="page">On a new (empty) page</cd:constant> |
Revision as of 20:25, 23 September 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 | ? |
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