[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chord names collide with span bar
From: |
Knute Snortum |
Subject: |
Re: Chord names collide with span bar |
Date: |
Thu, 21 Mar 2024 17:40:08 -0700 |
On Thu, Mar 21, 2024 at 2:30 PM Werner LEMBERG <wl@gnu.org> wrote:
>
> I think I've found the real fix for the problem. Suddenly remembering
> that we already have the `Span_bar_stub_engraver` to handle exactly
> such situations I wondered why it works for lyrics but not for chord
> names. Comparing the definitions of the two contexts in
> `engraver-init.ly` I found out that the `Pure_from_neighbor_engraver`
> was missing, and adding it seems to do the trick.
>
>
> ```
> \version "2.25.13"
>
> \layout {
> \context {
> \ChordNames
> \consists Pure_from_neighbor_engraver
> }
> }
>
> \score {
> \new GrandStaff <<
> \new Staff \relative { c''4 c c c | c c c c }
> \new ChordNames \chordmode { c2. q8. des16:maj9 | q1 }
> \new Staff { \improvisationOn b'4 4 4 8. 16~ | 4 4 4 4 }
> >>
> }
> ```
>
>
> Since I don't have experience with chord names I ask users who need
> this feature to check whether it works as expected in general.
>
It works like a charm in my source! Thanks for researching this.
--
Knute Snortum
- Re: Chord names collide with span bar, (continued)
- Re: Chord names collide with span bar, Aaron Hill, 2024/03/20
- Re: Chord names collide with span bar, Knute Snortum, 2024/03/20
- Re: Chord names collide with span bar, Aaron Hill, 2024/03/20
- Re: Chord names collide with span bar, Werner LEMBERG, 2024/03/20
- Re: Chord names collide with span bar, Aaron Hill, 2024/03/20
- Re: Chord names collide with span bar, Werner LEMBERG, 2024/03/21
- Re: Chord names collide with span bar,
Knute Snortum <=
- Re: Chord names collide with span bar, Werner LEMBERG, 2024/03/22
- Re: Chord names collide with span bar, Knute Snortum, 2024/03/20