Re: \RemoveEmptyStaves removes Dynamics context

2018-05-08 Thread Thomas Weber
Malte and Simon - I didn't have the opportunity to try your suggestions yet, 
but just wanted to say thanks for helping!


Am 07.05.2018 um 01:21 schrieb Simon Albrecht:
> On 06.05.2018 23:03, Malte Meyn wrote:
>> Am 06.05.2018 um 22:35 schrieb Thomas Weber:
>>> Can anybody help me with keeping the dynamics alive?  Many thanks!
>>>
>>> […]
>>>
>>> \layout {
>>>    \context {
>>>  \Score
>> Replace \Score by \Staff here.
>>>  \RemoveEmptyStaves
>>>  \override VerticalAxisGroup.remove-first = ##t
> In case you’re using any version starting from 2.19.36, you can replace the 
> above two lines by
> \RemoveAllEmptyStaves
>
> Best, Simon
>
> ___
> 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


Re: \RemoveEmptyStaves removes Dynamics context

2018-05-06 Thread Simon Albrecht

On 06.05.2018 23:03, Malte Meyn wrote:

Am 06.05.2018 um 22:35 schrieb Thomas Weber:

Can anybody help me with keeping the dynamics alive?  Many thanks!

[…]

\layout {
   \context {
 \Score

Replace \Score by \Staff here.

 \RemoveEmptyStaves
 \override VerticalAxisGroup.remove-first = ##t
In case you’re using any version starting from 2.19.36, you can replace 
the above two lines by

\RemoveAllEmptyStaves

Best, Simon

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


Re: \RemoveEmptyStaves removes Dynamics context

2018-05-06 Thread Malte Meyn



Am 06.05.2018 um 22:35 schrieb Thomas Weber:

Can anybody help me with keeping the dynamics alive?  Many thanks!

[…]

\layout {
   \context {
     \Score


Replace \Score by \Staff here.


     \RemoveEmptyStaves
     \override VerticalAxisGroup.remove-first = ##t
   }
}


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


\RemoveEmptyStaves removes Dynamics context

2018-05-06 Thread Thomas Weber
Can anybody help me with keeping the dynamics alive?  Many thanks!


dynamics = {s1\p}
music = {c'1}

\layout {
  \context {
    \Score
    \RemoveEmptyStaves
    \override VerticalAxisGroup.remove-first = ##t
  }
}

\score {
  <<
    \new Staff \music
    \new Dynamics \dynamics
  >>
}



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