[NTG-context] Hanging indent in startstoplines for poems

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Mar 29 17:53:25 CEST 2010


Am 29.03.10 17:29, schrieb Torsten Suhling:
>
> Hello,
>
> I have a question regarding hanging indentation in
> startstoplines-environment.
>
> So I try to use ConTeXt to typeset poems. In some texts/poems
> ar long lines, which have to be broken. They should be broken
> into hanging indentations.
>
> Any idea how to do that?
\definelines
   [verse]
   [indenting={yes,-2em,first},
    before={\startnarrower[2em]},
    after=\stopnarrower,
%   style={\setupalign[flushleft,nothyphenated]},
    style={\raggedright\nohyphens},
    ]

@Hans, can you change \setupalign to

\unexpanded\def\setupalign
   {\dosingleargument\dosetupalign}

else it can't be used in the style key.

Wolfgang



More information about the ntg-context mailing list