Hi, 2013/4/8 Werner LEMBERG <w...@gnu.org>: >> > what must I write to shorten an unbeamed stem by, say, one unit? >> > A naive approach would be >> > >> > \once \override Stem.length #(- ly:stem::calc-length 1) >> > >> > which doesn't work of course... >> >> David Nalesnik wrote a very versatile function that makes such >> things very easy. You can find it in a thread titled "generalizing >> offsets to properties" on -devel. > > Indeed, very nice! Thanks for the link. Unfortunately, it doesn't > work with Stem.length at all because this is not an `offset'.
Really? It works perfectly for me, with 2.17.13: \offset Stem #'length #2 % in positions, not ss! see attached. >> I have no idea why this wasn't added to LilyPond yet - it's very >> handy. > > It seems that it doesn't yet fully support the `dot' notation > (i.e., using `foo.bar' instead of `foo #'bar'). Can this be fixed? That'd be good. Maybe David'll have some spare time - i'm sure that he'd be able to fix it in a breeze, unlike me. Janek
offset stems.ly
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user