lilypond-user
[Top][All Lists]
Advanced

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

Re: MarkLine and bar numbers


From: Thomas Morley
Subject: Re: MarkLine and bar numbers
Date: Sun, 28 Oct 2018 17:10:48 +0100

Am So., 28. Okt. 2018 um 12:39 Uhr schrieb Simon Albrecht
<address@hidden>:
>
> Hello list,
>
> I’m currently debugging a couple issues with a use case of the MarkLine
> context. One of them is demonstrated in the attached minimal scenario:
> with a MarkLine atop the topmost staff, the barnumbers fail to align
> with the latter, as they normally would. Does anybody know how to
> prevent that?
>
> Best, Simon

Hi Simon,

how about:

\layout {
  \context {
    \name "MarkLine"
    \type "Engraver_group"
    \consists "Output_property_engraver"
    \consists "Axis_group_engraver"
    \consists "Mark_engraver"
    \override VerticalAxisGroup.staff-affinity = #DOWN
    \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #0.5
    \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #0.5
  }
  \context {
    \Score
    \remove "Mark_engraver"
    %% !!
    \override BarNumber.after-line-breaking = #'()
    \accepts "MarkLine"
  }
}

Only minimalistic tests done, though ...

Cheers,
  Harm



reply via email to

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