[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shortening a stem
From: |
Janek Warchoł |
Subject: |
Re: shortening a stem |
Date: |
Fri, 5 Apr 2013 20:30:02 +0200 |
Hi Werner,
i'm performing some archeological research on emails that were sent
during my absence and i found this one:
2013/1/20 Werner LEMBERG <address@hidden>:
> 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.
I have no idea why this wasn't added to LilyPond yet - it's very
handy. But i'm pretty sure its included in Urs' OpenLilyLib.
cheers,
Janek
- Re: shortening a stem,
Janek Warchoł <=
Re: shortening a stem, Werner LEMBERG, 2013/04/08