lilypond-user
[Top][All Lists]
Advanced

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

RE: Position of rests


From: Mark Stephen Mrotek
Subject: RE: Position of rests
Date: Sun, 9 Sep 2018 10:42:42 -0700

Joran,

Perhaps

\version "2.19.81"

\new Staff <<
  \new Voice \relative {
    \voiceOne c''4 d
    b'2\rest
    r4 r
    b2\rest
   
  }
  \new Voice \relative {
    \voiceTwo e'4 f
    \override Rest.staff-position = -6
    r2
    \revert Rest.staff-position
    r4 r
    \override Rest.staff-position = -6
    r2
  }
>>

-----Original Message-----
From: lilypond-user
[mailto:address@hidden On Behalf Of
Noeck
Sent: Sunday, September 09, 2018 10:28 AM
To: address@hidden
Subject: Re: Position of rests

A MWE would be:

\new Staff <<
  \new Voice \relative {
    \voiceOne c''4 d
    \override Rest.staff-position = 6
    r2
    \revert Rest.staff-position
    r4 r
    \override Rest.staff-position = 6
    r2
  }
  \new Voice \relative {
    \voiceTwo e'4 f
    \override Rest.staff-position = -6
    r2
    \revert Rest.staff-position
    r4 r
    \override Rest.staff-position = -6
    r2
  }
>>

That's what I can do with overrides (or I could use \once) but if I want to
do the same thing again depending on the note value, I am stuck.

Best,
Joram

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




reply via email to

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