Try
Langhals = #(define-music-function (parser location length) (number?)
#{
\once
\override Stem #'length = $length
#})
/Mats
Stefan Thomas wrote:
Dear Lilypond-users,
I would like to make a varibable substitution for stems over two systems.
Before I used (thanks to Wilbert Berendsen)
noFlag = \override Stem #'flag-style = #'no-flag
stemExtend = { \noFlag \autoBeamOff
\override TupletNumber #'transparent = ##t
\override TupletBracket #'bracket-visibility = ##f
\override Stem #'length = #16
\override Stem #'cross-staff = ##t
}
Unfortanetely the stem length of 16 isn't always good.
Now I would like to type something like " langhals #16 " c4
I tried it, wothout success, with:
Langhals = #(define-music-function (parser location padding) (number?)
#{
\once
\override Stem #'length = #$length
#})
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user