bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chord names collide with span bar


From: Aaron Hill
Subject: Re: Chord names collide with span bar
Date: Wed, 20 Mar 2024 08:54:40 -0700

On 2024-03-20 8:14 am, Knute Snortum wrote:
Ah, I see this is just for debugging. Thank you. Your solution helps when
put into my bigger project.  Some -- but not all -- of the bars are now
wide enough.


Oh, I think I found another option:

%%%%
\version "2.25.13"

#(ly:set-option 'debug-skylines #t)
\layout {
  \context { \Score
    \override NonMusicalPaperColumn.show-horizontal-skylines = ##t
  }
  \context { \ChordNames
    \consists "Bar_engraver"
    \override BarLine.bar-extent = #'(0 . 1)
    \override BarLine.transparent = ##t
  }
}

\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 }
  >>
}
%%%%

I remembered that you can add the Bar_engraver to ChordNames. Making them transparent so they do not visually interfere with the SpanBar, but they still take up space.


-- Aaron Hill



reply via email to

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