-------- Message transféré --------
Sujet :         Re: Problem RemoveEmptyStaves
Date :  Thu, 23 Apr 2015 17:05:00 +0200
De :    Les Éditions Valmajour - pg <p...@editions-valmajour.fr>
Pour :  tisimst <tisimst.lilyp...@gmail.com>



Hello, thanks for your answer, I actually just found out a few minutes ago :

I added a \StaffGroup context with a

\denies \PianoStaff

Works perfectly.
Thanks a lot!
Pierre

Le 23/04/2015 17:01, tisimst a écrit :
This is curious, but it can be taken care of. If the solo part is *always* visible, then you can do:

\new Dynamics \with { \override VerticalAxisGroup.remove-empty = ##f }
{ ... }

in _just_ the solo staff. This, of course, will not be effective if there are times when it is appropriate for it to vanish.

- Abraham

On Thu, Apr 23, 2015 at 7:52 AM, Les Editions Valmajour [via Lilypond] <[hidden email] </user/SendEmail.jtp?type=node&node=175167&i=0>> wrote:

    Hello,
    Hello everyone,
    I have a contextproblem; in the attached file, I need to have the
    dynamics(placed in a context Dynamics) in all parts.
    But when I use "\ RemoveEmptyStaves" in the context \PianoStaff,
    dynamics disappear from the solo part.
    I do not see what it comes from. Does anyone have an idea?

    _______________________________________________
    lilypond-user mailing list
    [hidden email] <http:///user/SendEmail.jtp?type=node&node=175155&i=0>
    https://lists.gnu.org/mailman/listinfo/lilypond-user

    *testEmptyStaves.ly* (765 bytes) Download Attachment
    
<http://lilypond.1069038.n5.nabble.com/attachment/175155/0/testEmptyStaves.ly>


    ------------------------------------------------------------------------
    If you reply to this email, your message will be added to the
    discussion below:
    
http://lilypond.1069038.n5.nabble.com/Problem-RemoveEmptyStaves-tp175155.html

    To start a new topic under User, email [hidden email]
    </user/SendEmail.jtp?type=node&node=175167&i=1>
    To unsubscribe from Lilypond, click here.
    NAML
    
<http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




------------------------------------------------------------------------
View this message in context: Re: Problem RemoveEmptyStaves <http://lilypond.1069038.n5.nabble.com/Problem-RemoveEmptyStaves-tp175155p175167.html> Sent from the User mailing list archive <http://lilypond.1069038.n5.nabble.com/User-f3.html> at Nabble.com.


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



\version "2.18.2"

\score {  
  <<
    \new StaffGroup
    <<
      \new Staff = "1"
      {\repeat unfold 20 {c4 d e f}}
      \new Dynamics
      {\repeat unfold 20 { s4\p s s s }}
      \new DrumStaff = "2"
      {\repeat unfold 20 { R1} }
    >>
  
    \new PianoStaff
    <<
      \new Staff = "P1"
      {\repeat unfold 8 {c4 d e f} R1*12}
      \new Dynamics
      {\repeat unfold 8 {s4\p r r r } R1*12}
      \new Staff = "P2"
      {\repeat unfold 20 {R1}}
    >>
  >>
  
  \layout {
    \context {
      \Score
      %\RemoveEmptyStaves
    }
    \context {
      \StaffGroup
      \denies PianoStaff
    }
    \context {
      \PianoStaff
      \RemoveEmptyStaves      
    }
    
    \context {
      \DrumStaff
      \RemoveEmptyStaves
    }
  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to