Shaped paragraphs

From Wiki
Revision as of 15:27, 8 June 2020 by Garulfo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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