Hi Simon,

thanks for getting back to me (and for the more complete example). Odd,
when I tried that last time the rests would be vertically displaced, but
now it does what it's supposed to do. Welp, now I can't reproduce the
problem I was having with just using "r" instead of "b\rest" or whatever,
so I'm going to count it as "problem doesn't actually exist" and move on.

Cheers,

A

On Sun, Jan 17, 2016 at 5:04 PM, Simon Albrecht <simon.albre...@mail.de>
wrote:

> Hi Andrew,
>
> On 17.01.2016 16:50, N. Andrew Walsh wrote:
>
>> Hi list,
>>
>> I ran into an issue when using what is admittedly an ugly hack for
>> forcing French beaming,
>>
>
> French beaming is a different thing: it means that mid-beam stems only
> extend to the innermost beam, not through the last beam as per default.
>
> when *also* working with a voice with lyrics.
>>
>> What I want, when I have (pseudo-code):
>>
>> { r8.[ e16] }
>>
>> is for the rest to be roughly in the middle, with a stemlet, beamed
>> together with the following note. Since this didn't work right (the rest
>> was always shoved way out of the middle of the staff to be roughly aligned
>> with the attached note), I resorted to the following (ugly pseudo-code):
>>
>> \version "2.19.36" ¹
>> {
>> c4 d f
>>  \override Stem.stemlet-length = #0.5
>>  \override Stem.details.beamed-lengths = #'(5)
>> b,8.\rest[ f'16]
>>   \revert Stem.details.beamed-lengths
>>   \revert Stem.stemlet-length
>> }
>>
>> This got me what I wanted in terms of placing the rest and getting
>> stemlets and having the stems the right length, but it apparently doesn't
>> work very well when in a voice with lyrics. Apparently the lyrics part
>> jumps right over the both the { b,8.\rest[ } and the following { f16] }
>> parts, aligning the syllable to the next note.
>>
>> I don't actually much care about this in my present use-case, because
>> it's a voice part that wouldn't normally be beamed anyway. However, I could
>> imagine some use case where a rest might be beamed to some following note,
>> and expect to have that note get lyrics attached.
>>
>> So, just out of curiosity, is there a better way to achieve what I'm
>> looking for here?
>>
>
> That’s a lot of complicated text, and the example seems to be incomplete,
> especially since there are no Lyrics in it. That tends to be annoying for
> anybody willing to help.
> Anyway, the following works fine for me:
>
> \version "2.19.35"
> <<
>   \relative c'' {
>     c4 d f
>     \override Stem.stemlet-length = #0.5
>     \override Stem.details.beamed-lengths = #'(5)
>     r8.[ f16]
>   }
>   \addlyrics {
>     this is a test
>   }
> >>
>
> What would your problem be with that?
>
> Best, Simon
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to