lilypond-user
[Top][All Lists]
Advanced

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

Re: \startStaff after clef change in other staff


From: Pierre Perol-Schneider
Subject: Re: \startStaff after clef change in other staff
Date: Wed, 31 Jul 2019 16:57:32 +0200

Yep thank you Simon.
This morning I came up to those 2 options, but couldn't go further:

\version "2.21.0"
% Option 1:
\score {
  <<
    \new Staff \relative c' {
      c4 c c c |
      \stopStaff
      s1 |
      \startStaff
      c4 c c c |
    }
    \new Staff \relative c' {
      c4 c c c |
      c4 c c c |
      \once\override Score.BreakAlignment.break-align-orders = #(make-vector 3 '(staff-bar clef))
      \clef "bass" c4 c c c |
    }
  >>
}

% Option 2:
\score {
  <<
    \new Staff \relative c' {
      c4 c c c |
      \stopStaff
      s1 |
      \startStaff
      c4 c c c |
    }
    \new Staff \relative c' {
      c4 c c c |
      c4 c c c |
      \clef "bass" c4 c c c |
    }
  >>
  \layout {
    \context {
      \Score
      \remove Break_align_engraver
    }
    \context {
      \Staff
      \consists Break_align_engraver
    }
  }
}

Do you have any idea for improvement?
Cheers,
Pierre

Le mer. 31 juil. 2019 à 14:48, Simon Albrecht <address@hidden> a écrit :
On 31.07.19 08:42, Pierre Perol-Schneider wrote:
> \once\override Staff.Clef.stencil = ##f


AKA \once\omit Staff.Clef ;-)

Best, Simon


reply via email to

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