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: H. S. Teoh
Subject: Re: omit the rest at beginning of staff
Date: Thu, 9 Apr 2015 18:30:58 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

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

[...]
> \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
>       >>
>     >>
>   >>
> }
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
"I suspect the best way to deal with procrastination is to put off the 
procrastination itself until later. I've been meaning to try this, but haven't 
gotten around to it yet. " -- swr



reply via email to

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