Or shorter :
\version "2.19.29"
#(set-global-staff-size 15)
\paper {
indent = 0
ragged-right = ##f
}
xen = #(define-scheme-function (parser location music)
(ly:music?)
#{
\markup {
\with-dimensions #'(0 . 0) #'(0 . 0)
\score {
\magnifyMusic 0.8 { $music }
\layout {
indent = 0
\context {
\Score
\omit StaffSymbol
\omit Clef
\omit TimeSignature
\omit Stem
}
}
}
}
#})
\new PianoStaff \with {
\omit TimeSignature
\consists #Span_stem_engraver
} <<
\new Staff \with {
\clef G
\override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 15))
} <<
\new Voice \relative {
\voiceOne
\override Beam.positions = #'(10 . 10)
\override NoteHead.stencil = ##f
c'16 16 8 8 16 16 16 8 16
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/8)
\repeat unfold 5 { c16 c c c }
}
\new Voice \relative {
\voiceTwo
\override TextScript.padding = #'()
s16 s
-\tweak extra-offset #'(-2 . -11)
^\xen { a''!4 }
-\tweak extra-offset #'(-1 . -11.5)
^\xen { b''4 }
}
>>
\new Dynamics { s1-\tweak extra-offset #'(1.8 . -1.8) \p s }
\new Staff \with { \clef F } <<
\new Voice \relative {
\voiceOne
\override Beam.stencil = ##f
\override NoteHead.stencil = ##f
\crossStaff {
e,16 16 8 8 16 16 16 8 16
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/8)
\repeat unfold 5 { e16 e e e }
}
}
\new Voice {
\voiceTwo
s16
-\tweak extra-offset #'(-1 . 1.5)
_\xen {
c''4
-\tweak extra-offset #'(-1 . -2)
_\markup\concat {
\lower #.2 \italic "8"
\path #0.15 #'((lineto 7 0)(lineto 7 1))
}
}
-\tweak extra-offset #'(1.8 . 2)
_\xen { gis'4 }
-\tweak extra-offset #'(4 . 3.5)
_\xen { fis4 }
}
\new Voice {
\voiceThree
s1 \bar "" s
}
>>
>>
Cheers,