[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how difficult would it be to have “auto-correct spacing” (even for j
From: |
Valentin Petzel |
Subject: |
Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)? |
Date: |
Sun, 05 May 2024 14:55:47 +0200 |
Hi Kieren,
if you want you could tell Lilypond to ignore Accidentals in spacing (N.B.:
This can lead to collision with the previous head!):
accidentalNoWidth =
\override Accidental.extra-spacing-width =
#(lambda (grob)
(let ((ext (ly:grob-property grob 'X-extent)))
(display ext)
(cons (interval-length ext) 0)))
baritoneNotes = { f8 f \once\accidentalNoWidth g! f f f f a }
bassNotes =
{ bf,8 f \once\accidentalNoWidth e \once\accidentalNoWidth ef d c bf, c }
Cheers,
Valentin
signature.asc
Description: This is a digitally signed message part.