Command/starthanging

Unofficial ConTeXt Wiki mirror

Last modified: 2022-08-16

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
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: