Hi to All,
As a guitar player I often meet this problem.
I simply tweeak the rests to solve it :
ex :
<< \clef "G_8"
{ a'8\rest g' g' g' g' f'16 ees' f'8 d' }
\\
{ ees8 r ees r d r d r }
\\
{ d'8 s c' s bes s a s }
>>
<< \clef "G_8"
{ \tweak #'extra-offset #'(-1.0 . 0.0) a'8\rest g' g' g' g' f'16 ees'
f'8 d' }
\\
{ ees8 r ees r d r d r }
\\
{ d'8 s c' s bes s a s }
>>
2012/5/14 Nick Payne <[email protected]>
> On 14/05/12 07:31, David B. Stocker wrote:
>
> Hi group,
>
> Any guess on how to make LilyPond automatically shift rests the way it
> shifts notes in middle voices to avoid collisions with other notes?
>
>
> It doesn't happen automatically. I find myself having to do this
> frequently enough in polyphonic single stave guitar scores that I use a
> music function:
>
> rShift = #(define-music-function (parser location move) (number?) #{
> \once \override Voice.Rest #'X-offset = #move
>
> and then use it like:
>
> \rShift #0.3 b4\rest
>
> I also have situations where the default size of the rest is too large to
> fit between the notes in the outer voices, and there I use:
>
> rSize = #(define-music-function (parser location size) (number?) #{
> \once \override Voice.Rest #'font-size = #size
> #})
>
> \rSize #-1 b4\rest
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user