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: Paolo Prete
Subject: Re: Unwanted space around cautionary accidental
Date: Tue, 23 Nov 2021 00:51:45 +0100

Great! Thanks!

On Tue, Nov 23, 2021 at 12:05 AM Valentin Petzel <valentin@petzel.at> wrote:
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

reply via email to

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