[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Position of rests inside beamed groups
From: |
Thomas Morley |
Subject: |
Re: Position of rests inside beamed groups |
Date: |
Thu, 21 Sep 2017 22:57:14 +0200 |
2017-09-21 13:56 GMT+02:00 Gilberto Agostinho <address@hidden>:
> Hello all,
>
> I am writing a composition in which all rests inside beamed groups have
> stemlets. The problem is that because of my use of accidentals on every
> single note and because spacing is sometimes a bit critical, there is very
> little space between the rests's stemlets and the previous regular stem:
>
> <http://lilypond.1069038.n5.nabble.com/file/t4165/problem.png>
>
> I thought of using Rest.X-extent to solve this, but the problem is that I
> only need to increase the X-extent on the left side of rests and
> unfortunately the stemlet position is always calculated as the half point
> between two other stems. See:
>
> \version "2.19.53"
> {
> \override Staff.Stem.stemlet-length = #1.25
> c'16[ d' r f']
> \override Rest.X-extent = #'(-3.0 . 1.0)
> c'16[ d' r f']
> }
>
> <http://lilypond.1069038.n5.nabble.com/file/t4165/help.png>
>
> Would anyone have some advice on how to better tackle this?
>
> Many thanks!
> Gilberto
Hi Gilberto,
I played around with the SpacingSpanner and
proportionalNotationDuration but to no convincing avail.
Best I can think of is:
{
\override Staff.Stem.stemlet-length = #1.25
c'16[ d'
\once\override NoteColumn.X-offset = 1
r deses']
}
Perhaps someone else comes up with a better method...
Cheers,
Harm