[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inter-letter spacing?

From: Gloops
Subject: Re: inter-letter spacing?
Date: Tue, 16 Jul 2019 02:22:09 -0700 (MST)

I like!
How to transform into function?
For example:

SpaceMarkup = \markup \override #'(word-space . 0.4) 
\line { #(string-fold-right 
           (lambda (new old) 
            (cond ((char<? new #\200) (cons (string new) old)) 
             ((char<? new #\300) (cons new old)) 
             (else (call-with-values 
                    (lambda () (span! char? old)) 
                    (lambda (c r) (cons (apply string (cons new c)) r)))))) 
          '() "") 
\SpaceMarkup "foobar"

Thank you

Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]