diff --git a/swing_style.ly b/swing_style.ly new file mode 100644 index 0000000..c9602fe --- /dev/null +++ b/swing_style.ly @@ -0,0 +1,48 @@ +swing = \mark \markup { + \line \general-align #Y #DOWN { + \score { + \new Staff \with { + fontSize = #-2 + \override StaffSymbol.line-count = #0 +% \override VerticalAxisGroup.Y-extent = #'(0 . 0) + } + \relative { + \stemUp + \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 3 16) + \override Beam.positions = #'(2 . 2) + h'8[ h8] + } + \layout { + ragged-right= ##t + indent = 0 + \context { + \Staff \remove "Clef_engraver" + \remove "Time_signature_engraver" + } + } + } + " =" + \score { + \new Staff \with { + fontSize = #-2 + \override StaffSymbol.line-count = #0 +% \override VerticalAxisGroup.Y-extent = #'(0 . 0) + } + \relative { + \stemUp + \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 3 16) + \override Stem.length = #4.5 + \tuplet 3/2 { h'4 h8 } + } + \layout { + ragged-right= ##t + indent = 0 + \context { + \Staff + \remove "Clef_engraver" + \remove "Time_signature_engraver" + } + } + } + } +} \ No newline at end of file