Difference between revisions of "Shaped paragraphs"

From Wiki
Jump to navigation Jump to search
(wikified mail from hans)
 
Line 12: Line 12:
 
   after=\stopnarrower]
 
   after=\stopnarrower]
  
 +
\setuphead[section][indentnext=first]
 +
\section{Test}
 
\startexdent
 
\startexdent
 
\input knuth \endgraf
 
\input knuth \endgraf
Line 27: Line 29:
 
   after=\stopnarrower]
 
   after=\stopnarrower]
  
 +
\setuphead[section][indentnext=first]
 +
\section{Test}
 
\startexdent
 
\startexdent
 
\input knuth \endgraf
 
\input knuth \endgraf

Revision as of 05:27, 24 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