Difference between revisions of "Shaped paragraphs"

From Wiki
Jump to navigation Jump to search
m (→‎Paragraphs with hanging indention: Reduced width of page for prettier output)
Line 23: Line 23:
 
<context>
 
<context>
 
\starttext
 
\starttext
 
+
\setuplayout[scale=0.8,width=13cm]
 
\definestartstop
 
\definestartstop
 
   [exdent]
 
   [exdent]

Revision as of 01:35, 25 April 2006

< 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=first]
\section{Test}
\startexdent
\input knuth \endgraf
\stopexdent

\stoptext