Re: RemoveEmptyStaves doesnt remove percussion staff

2020-04-19 Thread neuro黃學仁
> \layout {
>   \context {
> \Staff
> \RemoveEmptyStaves
>   }
> %% You need to add this:
>\context {
> \DrumStaff
> \RemoveEmptyStaves
>   }
> }

Yes~ That works~
Thank you very much~

Valentin Villenave  於 2020年4月19日 週日 下午11:17寫道:
>
> On 4/16/20, neuro黃學仁  wrote:
> > How can one remove the empty percussion staff in Grandscore?
> > The \RemoveEmptyStaves seems not working on percussion staff.
>
> Greetings,
> here is a solution:
>
> 
>
> \layout {
>   indent = 2.6\cm
>   short-indent = 1.6\cm
>   \context {
> \Staff
> \RemoveEmptyStaves
>   }
> %% You need to add this:
>   \context {
> \DrumStaff
> \RemoveEmptyStaves
>   }
> }
>
> 
>
> Cheers,
> V.



Re: RemoveEmptyStaves doesnt remove percussion staff

2020-04-19 Thread Valentin Villenave
On 4/16/20, neuro黃學仁  wrote:
> How can one remove the empty percussion staff in Grandscore?
> The \RemoveEmptyStaves seems not working on percussion staff.

Greetings,
here is a solution:



\layout {
  indent = 2.6\cm
  short-indent = 1.6\cm
  \context {
\Staff
\RemoveEmptyStaves
  }
%% You need to add this:
  \context {
\DrumStaff
\RemoveEmptyStaves
  }
}



Cheers,
V.



RemoveEmptyStaves doesnt remove percussion staff

2020-04-16 Thread neuro黃學仁
How can one remove the empty percussion staff in Grandscore?
The \RemoveEmptyStaves seems not working on percussion staff.

Sample files can be reached at http://orchestra.tw/lilypond_Q
including:
00.ly
bdrum.ly
timp.ly
v1.ly
v2.ly

To run lilypond 00.ly (http://orchestra.tw/lilypond_Q/00.ly),
and it results in 00.pdf (http://orchestra.tw/lilypond_Q/00.pdf)

Thanks very much for any advise~

neuro
neu...@gmail.com