[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: \startStaff after clef change in other staff
From: Pierre Perol-Schneider <pierre.schneider.paris () gmail ! com>
Date: 2019-07-31 14:57:32
Message-ID: CAPHOTuUOtVVjS63-b_QjYFssPTZeH2=T4pX-KS1Br8uOFrD6kA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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 <simon.albrecht@mail.de> 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
>
>
[Attachment #5 (text/html)]
<div dir="ltr"><div></div><div>Yep thank you Simon.</div><div>This morning I came up \
to those 2 options, but couldn't go further:</div><div><br></div><div> \version \
"2.21.0"
</div><div>% Option 1:<br>\score {<br> <<<br> \new Staff \relative \
c' {<br> c4 c c c |<br> \stopStaff<br> s1 |<br> \
\startStaff<br> c4 c c c |<br> }<br> \new Staff \relative c' \
{<br> c4 c c c |<br> c4 c c c |<br> \once\override \
Score.BreakAlignment.break-align-orders = #(make-vector 3 '(staff-bar clef))<br> \
\clef "bass" c4 c c c |<br> }<br> >><br>} <br><br>% Option \
2:<br>\score {<br> <<<br> \new Staff \relative c' {<br> c4 c \
c c |<br> \stopStaff<br> s1 |<br> \startStaff<br> c4 \
c c c |<br> }<br> \new Staff \relative c' {<br> c4 c c c |<br> \
c4 c c c |<br> \clef "bass" c4 c c c |<br> }<br> \
>><br> \layout {<br> \context {<br> \Score<br> \remove \
Break_align_engraver<br> }<br> \context {<br> \Staff<br> \
\consists Break_align_engraver<br> }<br> }<br>}</div><div><br></div><div>Do \
you have any idea for \
improvement?</div><div>Cheers,</div><div>Pierre<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 31 juil. 2019 Ã \
14:48, Simon Albrecht <<a \
href="mailto:simon.albrecht@mail.de">simon.albrecht@mail.de</a>> a écrit \
:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 31.07.19 08:42, \
Pierre Perol-Schneider wrote:<br> > \once\override Staff.Clef.stencil = ##f<br>
<br>
<br>
AKA \once\omit Staff.Clef ;-)<br>
<br>
Best, Simon<br>
<br>
</blockquote></div>
[Attachment #6 (text/plain)]
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic