Hi,
On Mon, Apr 8, 2013 at 3:37 AM, Werner LEMBERG wrote:
>
> >> 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 p
>> 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.
Interesting. Compiling your file wit
Hi,
2013/4/8 Werner LEMBERG :
>> > 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
> Have you tried using
>
> \once \override Stem.length-fraction = #(magstep -n)
Yes.
> Unfortunately the amount of shortening is not consistent across all
> notes for a particular value of n.
Exactly. This makes it quite inconvenient for applying a simple
optical correction.
Werner
___
On 08/04/13 14:31, Werner LEMBERG wrote:
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 v
> > 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 ca
On Fri, 5 Apr 2013 22:05:24 +0200
Janek Warchoł wrote:
> 2013/4/5 Urs Liska :
> >
> > "Janek Warchoł" schrieb:
> >>hmm, i think that your email body got eaten.
> >>Janek
> >
> > Oops, you're right.
> > But before that happened I had asked whether you have included
> > that function in our Fried
2013/4/5 Urs Liska :
>
> "Janek Warchoł" schrieb:
>>hmm, i think that your email body got eaten.
>>Janek
>
> Oops, you're right.
> But before that happened I had asked whether you have included
> that function in our Fried library. Otherwise you should make a note
> to contribute it yourself to OL
"Janek Warchoł" schrieb:
>hmm, i think that your email body got eaten.
>Janek
Oops, you're right.
But before that happened I had asked whether you have included that function in
our Fried library. Otherwise you should make a note to contribute it yourself
to OLLib once we're ready for that
"Janek Warchoł" schrieb:
>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 :
>> what must I write to shorten an unbeamed stem by, say, one unit? A
>> naive approach would be
>>
>> \once \o
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 :
> 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-len
> (define ((stem-reduce amount) grob)
>(let ((l (ly:grob-property grob 'length)))
> (/ (- l amount) l)))
>
> \override Stem.length-fraction = #(stem-reduce 1)
>
> This is probably slightly absurd (and untested to boot), but it
> would likely work.
Thanks for this, too!
Werner
__
> You might want to use
> \override Stem #'no-stem-extend = ##t
> as well, since by default notes with ledger lines get their stems
> extending to the middle staff line (and maybe you do not want that
> with your shortened stems).
In my case, this is not necessary since the shortening is just t
> {
> \once \override Stem.length =
> #(lambda (grob) (- (ly:stem::calc-length grob) 4))
> a4
> }
Thanks! I can imagine that a lot of people just want to shorten a
stem by a certain amount without actually determining the necessary
length.
Werner
__
On 20 January 2013 17:21, Werner LEMBERG wrote:
>
> Folks,
>
>
> 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...
Hi Werner,
You might want to use
\ove
On 20 janv. 2013, at 17:21, Werner LEMBERG wrote:
>
> Folks,
>
>
> 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...
>
>
>Werner
>
This does s
Werner LEMBERG writes:
>>> 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)
>>
>> looking for
>>
>> \override Stem.length-fraction = #(magstep -1)
>
> Thanks, but no. I'm interest
>> 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)
>
> looking for
>
> \override Stem.length-fraction = #(magstep -1)
Thanks, but no. I'm interested in shortening the stem by a fixed
View this message in context:
http://lilypond.1069038.n5.nabble.com/shortening-a-stem-tp139796p139797.html
Sent from the User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Folks,
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...
Werner
___
lilypond-user mailing list
lilypond-user@gn
20 matches
Mail list logo