[NTG-context] environment flushright

Hans Hagen pragma at wxs.nl
Fri Jun 10 17:17:22 CEST 2016

On 6/10/2016 2:42 PM, Thomas A. Schmitz wrote:
>> On 10 Jun 2016, at 13:22, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:
>> Is indenting a solution for you?
>> \definenarrower
>>   [thomas]
>>   [left=4cm,
>>    default=left,
>>    before={\setupindenting[yes,-4cm]}]
> Hi Wolfgang,
> thanks for your suggestion. That’s what I have right now, but this won’t make the lines flushright, and that’s what the publisher wants. I have every line of translation wrapped into an environment, and there is never more that one line break, so my question boils down to: how can I inject a \hfill after this line break? Or any low level trickery with \rlap etc.?




% \raggedright

\leftskip    \zeropoint plus  \plustwo\bodyfontsize
\rightskip   \zeropoint plus  1fill
\parfillskip \zeropoint plus -1fill
\spaceskip   \interwordspace
\xspaceskip  .5\emwidth

but just a test for a very long line


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl

More information about the ntg-context mailing list