lilypond-user
[Top][All Lists]
Advanced

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

Re: Unwanted space around cautionary accidental


From: Valentin Petzel
Subject: Re: Unwanted space around cautionary accidental
Date: Tue, 23 Nov 2021 00:05:04 +0100

Accidental and AccidentalCautionary grob definitions differ in three ways, the 
Accidental grob has these three additional properties:

(extra-spacing-width . (-0.2 . 0.0))
(horizontal-skylines . ,(ly:make-unpure-pure-container 
ly:accidental-interface::horizontal-skylines))
(vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil)

I know no good reason why these properties should differ, as the only 
difference between these grobs should be that AccidentalCautionary has 
parenthesize set to #t by default.

Anyway, since AccidentalCautionary is missing the property to calculate 
vertical skylines from stencil it will do so only from extent, which gives you 
higher skylines and thus also more required space.

Your problem is solved by doing
\override AccidentalCautionary.vertical-skylines = 
#grob::unpure-vertical-skylines-from-stencil

Cheers,
Valentin

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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