|
From: | Paolo Prete |
Subject: | Re: Unwanted space around cautionary accidental |
Date: | Tue, 23 Nov 2021 00:51:45 +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
[Prev in Thread] | Current Thread | [Next in Thread] |