From: Thomas Morley <address@hidden>
To: MING TSANG <address@hidden>
Cc: lilypond-usermailinglist <address@hidden>
Sent: Monday, March 5, 2012 5:37:03 PM
Subject: Re: stem length of eighth & 16th notes are too long.
Hi,
2012/3/5 MING TSANG <
address@hidden>:
> Please check the stem length on voice one BASS cleff is too long.
> Did I do something wrong?
> How cab I shorten it?
>
> Attached is snippet and png. I have trouble produce the snippet exactly as
> the
png.
>
> I try "\override Stem #'length-fraction = #(magstep -3)", but it affects
> stems on quarter notes, half notes but not on eighth & 16th notes. What
> must I do in order that the stems for 8th & 16th notes can be shortened
> also?
your lily-code doesn't compile.
Lot's of:
i-just-snippet.ly:122:9: error: cannot find file:
`i-just-keep-trusting-my-lord(SA).ly'
etc.
Please post a compiling and short example!
Anyway, maybe you can use some of these ideas:
\version "2.14.0"
\paper { ragged-right = ##t }
stL =
#(define-music-function (parser location y-length)(number?)
#{
\once \override Stem #'stencil =
#(lambda (grob)
(ly:grob-set-property! grob 'stem-end-position $y-length)
(ly:stem::print grob))
#})
\relative c' {
\stL #8 c d \stL #1.5 e f
\break
c8 c d d
\once \override Beam #'positions = #'(6 . 6)
e[ e]
\once \override Beam #'positions = #'(0 . 0)
f f
}
HTH,
Harm