Am Do., 28. Mai 2026 um 22:01 Uhr schrieb Defgecd <[email protected]>:
>
> Hello Lilyponders,
> I am trying to get a duration line to continue over a cue and despite them 
> being in separate voices, the duration line stops when the cue starts. How do 
> I fix this? Here is an example:
>
> \version "2.26.0"
>
> \new Staff \with {
>   \consists Duration_line_engraver
> }
> {
> \new Voice \relative {
> <<
>   \override Staff.DurationLine.bound-details.right.end-style = #'arrow
>   {
>   c''4\- s2.
>   s1
>   R1
>   }\\ \new CueVoice {
>     \stemDown s1
>     c,4 d e f
>     g1
> }>>
> }
> }
>
> I want the duration line in the C5 to continue over the cue and end in the 
> rest in the next measure
> Thank you all so much!

A DurationLine will usually end at the next rhythmic event.
If you add Duration_line_engraver to Staff this event may be in
another Voice. This happens here. Try:
\layout {
  \context {
      \Voice
      \consists Duration_line_engraver
      \override DurationLine.bound-details.right.end-style = #'arrow
  }
}

\new Staff
  \new Voice
  \relative {
  <<
    {
      c''4\- s2.
      s1
      R1
    }
    \\
    \new CueVoice {
      s1
      c,4 d e f
      g1
    }
  >>
  }

Cheers,
  Harm

Reply via email to