Command/starthanging

From Wiki
< Command
Revision as of 23:43, 16 August 2022 by BruceH2020 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\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
distancedimension
nnumber
locationleft right
{...}content

OptionExplanation
distance
The space between the edge of the image and the start of the text.
n
The number of lines of vertical space to indent before returning back to the margin.
location
The position of the object.
left At the left hand margin.
right At the right hand margin.
{...} The content to hang the text around. Typically an image but could be anything framed, for example.

Settings argument

\starthanging[...]{...} ... \stophanging
[...]left right
{...}content

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

Help from ConTeXt-Mailinglist/Forum

All issues with: