Difference between revisions of "Command/starthanging"
< Command
Jump to navigation
Jump to search
BruceH2020 (talk | contribs) (Created) |
BruceH2020 (talk | contribs) |
||
Line 51: | Line 51: | ||
<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:Alignment"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Alignment"></cd:wikipage> | ||
− | <cd:commandref name="placefloat"></cd:commandref></cd:seealso> | + | <cd:commandref name="placefloat">The <code>left</code> and <code>right</code> options.</cd:commandref></cd:seealso> |
</cd:commandgroup> | </cd:commandgroup> |
Revision as of 20:58, 16 August 2022
Contents
\starthanging ... \stophanging
Summary
The environment \starthanging ... \stophanging is used to hang the start of a paragraph of text around an object in the style of a drop-cap.
Settings
\starthanging[...=...,...]{...} ... \stophanging | |
distance | dimension |
n | number |
location | left right |
{...} | content |
Option | Explanation | ||||||
---|---|---|---|---|---|---|---|
distance |
| ||||||
n |
| ||||||
location |
| ||||||
{...} | The content to hang the text around. Typically an image but could be anything framed, for example. |
Settings argument
Description
Examples
Cow
\starthanging[left]{\externalfigure[cow.pdf][width=3cm]} \samplefile{lorem} \stophanging
Example 2
\starthanging[location=left,n=8,distance=5ex]{\externalfigure[cow.pdf][width=3cm]} \samplefile{lorem} \stophanging
Notes
See also
- spac-ver.mkiv
- \placefloat The
left
andright
options.