On Thu, Oct 03, 2013 at 11:36:44PM +0200, Thomas Morley wrote:
>
> Hi Jim,
>
> you could try to replace
> #(define (jazz-notehead grob)
> ...)
> in LilyJAZZ.ily with the the definition below.
Thank you very much for this solution, Harm. With that patch to
LilyJAZZ.ily, both alternatives in the attached tiny example work
as I would expect.
I would encourage you to provide your patch to Torsten to
incorporate in the next LilyJAZZ distribution.
Jim
\version "2.17.26"
\include "LilyJAZZ.ily"
stemOff = { \override Staff.Stem.stencil = ##f }
stemOn = { \revert Staff.Stem.stencil }
improvMusic = \relative b' {
\improvisationOn \stemOff
b4 b b b | b b b b
b4 b b b | b b b b
\stemOn \improvisationOff
} % improvMusic
jazzMusic = \relative b' {
\jazzOn \stemOff
b4 b b b | b b b b
b4 b b b | b b b b
\stemOn \jazzOff
} % jazzMusic
\markup "jazzOn wrapped around improvMusic:"
\score {
\new Staff { \jazzOn \improvMusic \jazzOff }
}
\markup "improvisationOn wrapped around jazzMusic:"
\score {
\new Staff { \improvisationOn \jazzMusic \improvisationOff }
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user