Alignment algorithm (was: Wrapping up the first two courses)

John Rose john.r.rose at oracle.com
Fri Apr 26 00:55:21 UTC 2019


On Apr 23, 2019, at 1:19 PM, Elias N Vasylenko <elias at vasylenko.uk> wrote:
> 
>> This is worth considering — but as I’ve said before, this can’t be
>> the only opt-out.
> 
> I agree! There needs to be a way to opt out without losing the leading
> newline.

Don't forget that you can ask for a leading newline explicitly
using \n.  You're not forced to use a layout newline; you
can use an escaped one.

   """\nfirst non-blank line
   second non-blank and last line
   """

(More options are possible with a proper \LineTerminator escape.)



More information about the amber-spec-experts mailing list