lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: omit the rest at beginning of staff


From: Jinsong Zhao
Subject: Re: omit the rest at beginning of staff
Date: Fri, 10 Apr 2015 09:53:47 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 2015/4/10 9:30, H. S. Teoh wrote:
On Fri, Apr 10, 2015 at 09:18:53AM +0800, Jinsong Zhao wrote:
Hi there,

In the following snippet, is it possible not to display the r2? Any
hints or suggestions will be really appreciated.

Write:

        \partial 2

instead of r2.

Note that you need to write this in all parts (RH and LH), and this can
only be used at the start of the piece, otherwise it may produce strange
results.


--T

Thank you very much! It works like a charm.

Best,
Jinsong

\version "2.19.18"

song = \relative c'' {
   \clef "treble"
   \key c \major
   \time 4/4
   r2 e,4 f \bar "||" \mark \markup { \musicglyph #"scripts.segno" } g2 e' |
}

RH = \relative c'' {
   \clef "treble"
   \key c \major
   \time 4/4
   r2 e,4 f | g2 e'
}

LH = \relative c'' {
   \clef "bass"
   \key c \major
   \time 4/4
   r2 c,,4 d | < c e > g' g, g' |
}

\score {
   <<
     \song
     \new PianoStaff <<
       \new Staff <<
         \RH
       >>
       \new Staff <<
         \LH
       >>
     >>
   >>
}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]