[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stem extend doe not work
From: |
Wilbert Berendsen |
Subject: |
Re: stem extend doe not work |
Date: |
Wed, 26 Dec 2007 21:30:51 +0100 |
User-agent: |
KMail/1.9.7 |
Op woensdag 26 december 2007, schreef Stefan Thomas:
> Dear Lilypond-users,
> I tried the thing with stems extended over two piano staves.
> But the below quoted exemple did'nt work and I do not know the
> reason. Could You give me an advice?
What I changed:
- remove the \once 's so it lasts for more than one note
- add \autoBeamOff so no beams are drawn
- add \noFlag (you forgot)
%snippet
stemExtend = {
\override Stem #'length = #20
\override Stem #'cross-staff = ##t
}
noFlag = \override Stem #'flag-style = #'no-flag
\new PianoStaff <<
\new Staff \relative c' { c8. c16~ c16 c8 des16~ des2
}
\new Staff \relative c{
\clef bass \stemUp \autoBeamOff \noFlag \stemExtend fis8. fis16~
\stemExtend
fis16 fis8 f16~ f2
}
>>
%end snippet
You should fiddle with the Stem#'length and may be add macros to revert hte
overrides, like:
stemExtendOff = {
\revert Stem #'cross-staff
\revert Stem #'length
}
etc.
Met vriendelijke groet,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
-- Mahatma Gandi