At Wed, 3 Aug 2011 18:00:50 +0200,
Xavier Scheuer wrote:
> You could use
>
> \context Staff = "ossia" \with {
> \override Clef #'stencil = ##f
> \override KeySignature #'stencil = ##f
> \override TimeSignature #'stencil = ##f
> } {
> \relative c' {
> c1
> \once \revert Staff.TimeSignature #'stencil
... snip
Ah... excellent. Revised code snippet is below -- it works beautifully for my
purpose!
Worthy of inclusion in the snippet repository? I had searched it for "ossia"
and found only two snippets, and neither of them illustrated what I wanted.
Thanks --
James
\version "2.14.1"
\include "english.ly"
showMeter = { \once \revert Staff.TimeSignature #'stencil }
outline = {
\time 4/4 s1*2
\showMeter \time 3/4 s2.
\showMeter \time 4/4 s1*2
}
\score {
<<
\new Staff = "ossia" \with {
\override Clef #'stencil = ##f
\override KeySignature #'stencil = ##f
\override TimeSignature #'stencil = ##f
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
\override StaffSymbol #'thickness = #(magstep -3)
} {
\stopStaff
\outline
}
\new Staff <<
\outline
{
\repeat unfold 16 { b'16 }
<<
{ \repeat unfold 60 { b'16 } }
\context Staff="ossia" {
\revert Staff.Clef #'stencil
\startStaff
\repeat unfold 22 { b'8 }
\override Clef #'stencil = ##f
\stopStaff
}
>>
}
>>
>>
}
--
James Harkins /// dewdrop world
[email protected]
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user