Vertically aligning ossias and lyrics: Difference between revisions

m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
m Add staff-staff-spacing for demonstration purposes
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<lilypond version="2.24">
<lilypond version="2.24">
\relative c' <<
\relative c' <<
   \new Staff = "1" { c4 c s2 }
   \new Staff = "1" { c4 c c c }
   \new Staff = "2" { c4 c s2 }
   \new Staff = "2" { d4 d d d }
   \new Staff = "3" { c4 c s2 }
   \new Staff = "3" { e4 e e e }
 
   { \skip 2
   { \skip 2
     <<
     <<
Line 17: Line 18:
         \override StaffSymbol.staff-space = #(magstep -2)
         \override StaffSymbol.staff-space = #(magstep -2)
         \remove "Time_signature_engraver"
         \remove "Time_signature_engraver"
        \override VerticalAxisGroup.staff-staff-spacing =
          #'((minimum-distance . 0)
              (basic-distance . 0)
              (padding . 1))
       } {
       } {
         \tuplet 6/4 {
         \tuplet 6/4 {
           \override TextScript.padding = 3
           \override TextScript.padding = 2
           c8[^"ossia above" d e d e f]
           c8[^"ossia above" d e d e f]
         }
         }
Line 26: Line 31:
   }
   }
>>
>>
\paper {
  ragged-right = ##t
}
</lilypond>
</lilypond>


[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Tweaks and overrides]]
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]