[Top][All Lists]

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

Re: beta 0.91 released

From: Klaus Blum
Subject: Re: beta 0.91 released
Date: Sun, 10 Nov 2019 14:37:09 -0700 (MST)

Hi Karsten, 

Karsten Reincke-2 wrote
>  'crossout' and 'double' should increase the margin/paddding
> values of the crossed out / doubled letter. But I do not have any idea,
> how to do
> that on the 'Lilyond' - Level. So, any hint is appreciated.

when I was writing the "double" function, I was heavily improvising because
I didn't yet know the \overlay command (or it was not available in older
LilyPond versions). 

A more reliable way would now be: 

% ----------------------------------------------------------------
#(define-markup-command (double layout props letter)
   (interpret-markup layout props
         \overlay {
           \translate-scaled #'(0.4 . -0.4)
% ----------------------------------------------------------------

The pair of numbers after \translate-scaled exactly defines the shift of the
additional letter. 
If you don't want additional parameters for the "\double" function, maybe
the use of properties might be an option:

I never tried that, but it looks interesting. 
Does that help? 


Sent from:

reply via email to

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