[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vertical spacing of rests
From: |
David Kastrup |
Subject: |
Re: vertical spacing of rests |
Date: |
Mon, 24 Aug 2015 20:56:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
address@hidden (Peter Selinger) writes:
>
> this is a true newbie question. I am trying to engrave two polyphonic
> voices on a single staff. Since the two voices have all their rests in
> common, I only want to typeset each rest once, so I use spacer rests
> in the second voice. Still the vertical spacing is such that all the
> rests are put near the top of the staff. I would like them to appear
> in their "normal" positions.
>
> From the manual, I know two ways to do this. Solution 1 is to enclose
> each rest between \oneVoice and \voiceOne, forcing standard vertical
> spacing:
>
> Solution 2 is to specify an explicit vertical position for each rest.
> Neither solution is particularly elegant, as they both require every
> rest to be marked up individually. Is there a global way to turn off
> vertical spacing for rests in a context, i.e., some command whose
> effect would be to make notes behave as with \voiceOne and rests
> behave as with \oneVoice?
You could try
\version "2.19.22"
\new Staff <<
\new Voice \relative c'' {
\voiceOne
\override Rest.Y-offset = #0
r c r d
}
\new Voice \relative c'' {
\voiceTwo {
s4 a8 a8 s4 b8 b8
}
}
>>
--
David Kastrup
- Re: vertical spacing of rests, (continued)
- Re: vertical spacing of rests, Peter Selinger, 2015/08/23
- Re: vertical spacing of rests, Thomas Morley, 2015/08/23
- Re: vertical spacing of rests, Peter Selinger, 2015/08/23
- Re: vertical spacing of rests, Paul Morris, 2015/08/23
- Re: vertical spacing of rests, Peter Selinger, 2015/08/23
- Re: vertical spacing of rests, David Kastrup, 2015/08/24
- Re: vertical spacing of rests, Thomas Morley, 2015/08/23
- Re: vertical spacing of rests, Peter Selinger, 2015/08/23
Re: vertical spacing of rests, Michael Rivers, 2015/08/22
Re: vertical spacing of rests,
David Kastrup <=
- Re: vertical spacing of rests, Ralph Palmer, 2015/08/24
- Re: vertical spacing of rests, Trevor Daniels, 2015/08/24
- Re: vertical spacing of rests, Peter Selinger, 2015/08/25
- Re: vertical spacing of rests, Trevor Daniels, 2015/08/25
- Re: vertical spacing of rests, Michael Gerdau, 2015/08/25
- Re: vertical spacing of rests, Phil Holmes, 2015/08/25
- Re: vertical spacing of rests, Peter Selinger, 2015/08/25
- Re: vertical spacing of rests, David Kastrup, 2015/08/25
- Re: vertical spacing of rests, Michael Gerdau, 2015/08/25
Re: vertical spacing of rests, Trevor Daniels, 2015/08/25