lilypond-user
[Top][All Lists]
Advanced

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

Possible bug with tempo mark spacing


From: Saul Tobin
Subject: Possible bug with tempo mark spacing
Date: Thu, 27 Dec 2018 22:54:30 -0500

Happy holidays all,

Below is a demonstration of an odd behavior I noticed.

When using a context like MarkLine for tempo marks, if the staff immediately below the MarkLine is hidden but contains rhythmic activity, and if BOTH Y-offset and extra-spacing-width are overridden for MetronomeMark, the first rhythmic column will stretch to the width of the tempo mark.

Is this a bug?

\version "2.19.82"

\layout {
  \context {
    \name "MarkLine"
    \type "Engraver_group"
    \consists Axis_group_engraver
    \override VerticalAxisGroup.staff-affinity = #DOWN
    \consists Metronome_mark_engraver
    %% If either of the below lines is removed, the music spaces correctly
    \override MetronomeMark.extra-spacing-width = #'(0 . 0)
    \override MetronomeMark.Y-offset = #0
  }
  \context {
    \Score
    \remove Mark_engraver
    \remove Metronome_mark_engraver
    \accepts MarkLine
  }
}

<<
  \new MarkLine { \tempo "Testing testing" 4=123 }
  \new Staff \with {
    \override VerticalAxisGroup.remove-empty = ##t
    \override VerticalAxisGroup.remove-first = ##t
    keepAliveInterfaces = #'()
  } { 
    c'8 8 8 8 8 8 8 8 
  }
  \new Staff {
    c'8 8 8 8 8 8 8 8
  }
>>

reply via email to

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