Difference between revisions of "Command/starthanging"
< Command
Jump to navigation
Jump to search
BruceH2020 (talk | contribs) |
BruceH2020 (talk | contribs) |
||
Line 38: | Line 38: | ||
<cd:description><!-- the long description of the command goes here --> | <cd:description><!-- the long description of the command goes here --> | ||
</cd:description> | </cd:description> | ||
− | <cd:examples><cd:example title=" | + | <cd:examples><cd:example title=""><context source="yes"> |
\starthanging[left]{\externalfigure[cow.pdf][width=3cm]} | \starthanging[left]{\externalfigure[cow.pdf][width=3cm]} | ||
\samplefile{lorem} | \samplefile{lorem} | ||
\stophanging | \stophanging | ||
</context></cd:example><cd:example title=""><context source="yes"> | </context></cd:example><cd:example title=""><context source="yes"> | ||
− | \starthanging[location=left,n=8,distance= | + | \starthanging[location=left,n=8,distance=6ex]{\externalfigure[cow.pdf][width=3cm]} |
\samplefile{lorem} | \samplefile{lorem} | ||
\stophanging | \stophanging |
Revision as of 21:00, 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
Example 1
\starthanging[left]{\externalfigure[cow.pdf][width=3cm]} \samplefile{lorem} \stophanging
Example 2
\starthanging[location=left,n=8,distance=6ex]{\externalfigure[cow.pdf][width=3cm]} \samplefile{lorem} \stophanging
Notes
See also
- spac-ver.mkiv
- \placefloat The
left
andright
options.