[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: |
Wed, 20 Mar 2024 07:51:39 -0700 |
On Tue, Mar 19, 2024 at 4:34 PM Aaron Hill <lilypond@hillvisions.com> wrote:
> ...
>
> Curious. The skylines look interesting, almost like the SpanBar is not
> being factored in, only the parts of the BarLine.
>
> Below, I attempted to add some virtual height to the ChordName, and it
> seemed to allow the ChordName to push the BarLine (and SpanBar) to the
> right:
>
> %%%%
> \version "2.22.0"
>
> #(ly:set-option 'debug-skylines #t)
> \layout {
> \context { \Score
> \override NonMusicalPaperColumn.stencil =
> #ly:separation-item::print
> }
> \context { \ChordNames
> \override ChordName.extra-spacing-height =
> #'(0 . 2)
> }
> }
>
> \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 }
> >>
> }
> %%%%
>
> Still sounds like a defect of some sort, as the default behavior should
> probably be handling things. But perhaps this trick above might be
> useful in whatever score you are working on as a stopgap.
Aaron,
Thank you so much for this fix and for entering an issue! There is just
one thing that is a problem for me. Your solution requires version 2.22
and I'm using 2.24 (with the \alternative command so it's not easy to
change). When I your solution convert to 2.24 (no changes) I get an error
executing the file:
/home/foo/bar/chords-bar-line.ly:7:9 <0>: error: Guile signaled an error
for the expression beginning here
#
ly:separation-item::print
Unbound variable: ly:separation-item::print
--
Knute Snortum
- Chord names collide with span bar, Knute Snortum, 2024/03/19
- 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