uncentered rests

2012-11-07 Thread Mark Stephen Mrotek
Fellow Users:

 

Please look at this:

 

\version "2.16.0"

global = {

  \key a \minor

  \time 4/4

}

rightOne = \relative c'' {

  \global

r8 a a a b b b16 c d b | c8 b16 c a8 b c b c d | e b-1 e4~-4 e8 dis16 cis
dis e fis dis |

e4. d16 c b8-1 a-2 b-1 e16-5 d |

}

rightTwo = \relative c'' {

  \global

  r1 | r1| r8 e, e e fis fis fis16 g a fis | g8 fis16 g e8 fis g fis g gis |

}

leftOne = \relative c' {

  \global 

  r1 | r1 | r1 | r1 |

}

leftTwo = \relative c' {

  \global

  r1 | r1 | r1 | r1 |

}

\score {

  \new PianoStaff \with {

instrumentName = "Piano"

  } <<

\new Staff = "right" << \rightOne \\ \rightTwo >>

\new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }

  >>

  \layout { }

}

 

Notice that the rests are at the beginning of the measure. What should I do
to get them in the middle?

 

Thank you for your kind attention.

 

Mark Stephen Mrotek

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


Re: uncentered rests

2012-11-07 Thread Michael Rivers
Use R1 instead of r1.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/uncentered-rests-tp135995p135996.html
Sent from the User mailing list archive at Nabble.com.

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


RE: uncentered rests

2012-11-07 Thread Mark Stephen Mrotek
Thank you. Works perfectly.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Michael Rivers
Sent: Wednesday, November 07, 2012 8:14 PM
To: lilypond-user@gnu.org
Subject: Re: uncentered rests

Use R1 instead of r1.



--
View this message in context:
http://lilypond.1069038.n5.nabble.com/uncentered-rests-tp135995p135996.html
Sent from the User mailing list archive at Nabble.com.

___
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: uncentered rests

2012-11-07 Thread Nick Payne

On 8/11/2012 2:46 PM, Mark Stephen Mrotek wrote:


Fellow Users:

Please look at this:

\version "2.16.0"

global = {

  \key a \minor

  \time 4/4

}

rightOne = \relative c'' {

  \global

r8 a a a b b b16 c d b | c8 b16 c a8 b c b c d | e b-1 e4~-4 e8 dis16 
cis dis e fis dis |


e4. d16 c b8-1 a-2 b-1 e16-5 d |

}

rightTwo = \relative c'' {

  \global

  r1 | r1| r8 e, e e fis fis fis16 g a fis | g8 fis16 g e8 fis g fis g 
gis |


}

leftOne = \relative c' {

  \global

  r1 | r1 | r1 | r1 |

}

leftTwo = \relative c' {

  \global

  r1 | r1 | r1 | r1 |

}

\score {

  \new PianoStaff \with {

instrumentName = "Piano"

  } <<

\new Staff = "right" << \rightOne \\ \rightTwo >>

\new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }

  >>

  \layout { }

}

Notice that the rests are at the beginning of the measure. What should 
I do to get them in the middle?




Use R1 not r1. 
http://lilypond.org/doc/v2.17/Documentation/notation/writing-rests#full-measure-rests
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: uncentered rests

2012-11-07 Thread Mark Stephen Mrotek
Mr. Payne:

 

Thank you for the solution and, especially, the documentation reference. It
helps me track down information.

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Nick Payne
Sent: Wednesday, November 07, 2012 7:54 PM
To: lilypond-user@gnu.org
Subject: Re: uncentered rests

 

On 8/11/2012 2:46 PM, Mark Stephen Mrotek wrote:

Fellow Users:

 

Please look at this:

 

\version "2.16.0"

global = {

  \key a \minor

  \time 4/4

}

rightOne = \relative c'' {

  \global

r8 a a a b b b16 c d b | c8 b16 c a8 b c b c d | e b-1 e4~-4 e8 dis16 cis
dis e fis dis |

e4. d16 c b8-1 a-2 b-1 e16-5 d |

}

rightTwo = \relative c'' {

  \global

  r1 | r1| r8 e, e e fis fis fis16 g a fis | g8 fis16 g e8 fis g fis g gis |

}

leftOne = \relative c' {

  \global 

  r1 | r1 | r1 | r1 |

}

leftTwo = \relative c' {

  \global

  r1 | r1 | r1 | r1 |

}

\score {

  \new PianoStaff \with {

instrumentName = "Piano"

  } <<

\new Staff = "right" << \rightOne \\ \rightTwo >>

\new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }

  >>

  \layout { }

}

 

Notice that the rests are at the beginning of the measure. What should I do
to get them in the middle?


Use R1 not r1.
http://lilypond.org/doc/v2.17/Documentation/notation/writing-rests#full-meas
ure-rests

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