Shaped paragraphs

From ConTeXt wiki
Revision as of 18:19, 5 April 2010 by Wolfgang Schuster (talk | contribs) (Indentnext)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Visuals |

Paragraphs with hanging indention

If you want to indent paragraphs from the second line on, you can use this bit from Hans Hagen:

\starttext

\definestartstop
  [exdent]
  [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
   after=\stopnarrower]

\setuphead[section][indentnext=yes]
\section{Test}
\startexdent
\input knuth \endgraf
\stopexdent

\stoptext