Re: Reduce PianoStaves for rest

2017-12-23 Thread Helge Kruse
Am 21.12.2017 um 23:19 schrieb David Kastrup:
> Easier to just use
> 
> \new GrandStaff << ... >>
> 
> The only difference is the Keep_alive_together_engraver if I remember
> correctly.

Yes, this works great. I never realized what actually is the difference
between the combined Staff types, except the obvious visual appearance.

The difference is described here, but I failed to find it.
http://lilypond.org/doc/v2.19/Documentation/internals/pianostaff

Thanks, and Merry Christmas!
Helge


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce PianoStaves for rest

2017-12-21 Thread David Kastrup
Simon Albrecht  writes:

> \new PianoStaff \with { \remove Keep_alive_together_engraver } <<
>   \new Staff {}
>   \new Staff \with { \RemoveAllEmptyStaves } {}
>>>

Easier to just use

\new GrandStaff << ... >>

The only difference is the Keep_alive_together_engraver if I remember
correctly.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce PianoStaves for rest

2017-12-21 Thread Simon Albrecht

On 21.12.2017 22:45, Robert Schmaus wrote:
Not sure if I understand you correctly, but is this what you're 
looking for?


http://lilypond.org/doc/v2.18/Documentation/notation/writing-rests#full-measure-rests


No, that’s not what the question was about. Helge is working on a harp 
part, and he wants systems that contain only MMRs reduced to one staff.


On 21 Dec 2017, at 19:20, Helge Kruse > wrote:


I have a score for an orchestra instrument (harp). The harp starts 
after tens of measures. There are several meter changes. Therfore a 
simple multi-measure-rest is inappropriate. Instead I would like to 
write all measures and meter changes, so that the harpist can follow 
the music and get the right moment to start.


For that purpose it's not necessary to write this multi lines of rest 
measures in two staves. I would like to reduce the lines that have 
only rests to a single staff line. I.e. somthing similar like 
\RemoveEmptyStaves, but it should leave one staff line. I tried to 
adapt http://lsr.di.unimi.it/LSR/Item?id=307 and changed ChoirStaff 
to PianoStaff. But this doesn't work if I make this change.


There’s one key difference between PianoStaff and ChoirStaff/StaffGroup: 
the Keep_alive_together_engraver. It has RemoveEmptyStaves work only on 
all or none of the staves in the PianoStaff. So you should do something 
like:


\new PianoStaff \with { \remove Keep_alive_together_engraver } <<
  \new Staff {}
  \new Staff \with { \RemoveAllEmptyStaves } {}
>>

That way only one of the staves gets removed.
(If you don’t use development versions or want it not to take effect on 
the first staff, get rid of the All.)

This is jotted down from memory, so please excuse eventual errors.

HTH, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce PianoStaves for rest

2017-12-21 Thread Robert Schmaus
Not sure if I understand you correctly, but is this what you're looking for?

http://lilypond.org/doc/v2.18/Documentation/notation/writing-rests#full-measure-rests



> On 21 Dec 2017, at 19:20, Helge Kruse  wrote:
> 
> I have a score for an orchestra instrument (harp). The harp starts after tens 
> of measures. There are several meter changes. Therfore a simple 
> multi-measure-rest is inappropriate. Instead I would like to write all 
> measures and meter changes, so that the harpist can follow the music and get 
> the right moment to start.
> 
> For that purpose it's not necessary to write this multi lines of rest 
> measures in two staves. I would like to reduce the lines that have only rests 
> to a single staff line. I.e. somthing similar like \RemoveEmptyStaves, but it 
> should leave one staff line. I tried to adapt 
> http://lsr.di.unimi.it/LSR/Item?id=307 and changed ChoirStaff to PianoStaff. 
> But this doesn't work if I make this change.
> 
> Any idea?
> 
> Best regards
> Helge
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Reduce PianoStaves for rest

2017-12-21 Thread Helge Kruse
I have a score for an orchestra instrument (harp). The harp starts after 
tens of measures. There are several meter changes. Therfore a simple 
multi-measure-rest is inappropriate. Instead I would like to write all 
measures and meter changes, so that the harpist can follow the music and 
get the right moment to start.


For that purpose it's not necessary to write this multi lines of rest 
measures in two staves. I would like to reduce the lines that have only 
rests to a single staff line. I.e. somthing similar like 
\RemoveEmptyStaves, but it should leave one staff line. I tried to adapt 
http://lsr.di.unimi.it/LSR/Item?id=307 and changed ChoirStaff to 
PianoStaff. But this doesn't work if I make this change.


Any idea?

Best regards
Helge



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user