]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/tweaks.itely
More fixes from Trevor.
[lilypond.git] / Documentation / user / tweaks.itely
index 0d2c1fa05d821f75f258825852f17fada6f1dca5..91c2b3bfcdf3a16c2c301dcc684f538042d31bea 100644 (file)
@@ -634,3 +634,28 @@ properties with hyphenated names, like auto-knee-gap.  (I had to
 experiment to find out how to do this.)
 
 
+FIXME: moved from fundamental, dumped here at random.
+
+@lilypond[verbatim,quote,ragged-right]
+\new Staff = "main" {
+  \relative g' {
+    r4 g8 g c4 c8 d |
+    e4
+    <<  % Start main and ossia in parallel
+      { r8 f c c }  % Main music
+      \new Staff \with {  % Start ossia staff
+        \remove "Clef_engraver"
+        \remove "Time_signature_engraver"
+        % Reduce size of notes and staff
+        fontSize = #-2
+        \override StaffSymbol #'staff-space = #(magstep -2)
+        alignAboveContext = "main"  % Place above main staff
+      }
+      { s8 f f c }  % Ossia music
+    >>  % End parallel music
+    r4 |
+  }
+}
+@end lilypond
+
+