Difference between revisions of "Shaped paragraphs"

From Wiki
Jump to navigation Jump to search
m
m (minor adjustments, nothing new)
Line 1: Line 1:
< [[Basics#Basics_of_ConTeXt_text_formatting|Text formatting]] |
+
= Paragraphs with hanging indention =
 
 
=== Paragraphs with hanging indention ===
 
 
If you want to indent paragraphs from the second line on, you can use this bit from Hans Hagen:
 
If you want to indent paragraphs from the second line on, you can use this bit from Hans Hagen:
  

Revision as of 15:12, 7 June 2020

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