[NTG-context] Alignment for narrower text

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Apr 3 18:19:37 CEST 2016


> Jan Tosovsky <mailto:j.tosovsky at email.cz>
> 2. April 2016 um 23:42
> I thought Hans could also mean something like example below, but while 
> leftskip should 'indent' all lines inside paragraph, it works only for 
> the first one. Moreover, protrusion is not applied as well. And \crlf 
> doesn't seem to be soft linebreak as it behaves like normal \par 
> command - which is most likely explanation for that indenting issue.
>
> {\leftskip=2cm
> “line1\crlf
> line2\crlf
> line3\crlf
> line4.
> }
Indenting the whole textblock with \leftskip (or better ConTeXt’s 
narrower environment)
doesn’t prevent protrusion as can be seen in the following example.

\definefontfeature[default][default][protrusion=quality]

\setupbodyfont[modern-designsize]

\starttext

“\vl Text\par
  \vl Text

\startnarrower
“\vl Text\par
  \vl Text
\stopnarrower

\blank[3*line]\setupalign[hanging]

“\vl Text\par
  \vl Text

\startnarrower
“\vl Text\par
  \vl Text
\stopnarrower

\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160403/58ba34f0/attachment.html>


More information about the ntg-context mailing list