Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Vertically aligning ossias and lyrics
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This snippet demonstrates the use of the context properties <code>alignBelowContext</code> and <code>alignAboveContext</code> to control the positioning of lyrics and ossias. <lilypond version="2.24"> \relative c' << \new Staff = "1" { c4 c c c } \new Staff = "2" { d4 d d d } \new Staff = "3" { e4 e e e } { \skip 2 << \lyrics { \set alignBelowContext = "1" lyrics4 below } \new Staff \with { alignAboveContext = "3" fontSize = -2 \override StaffSymbol.staff-space = #(magstep -2) \remove "Time_signature_engraver" \override VerticalAxisGroup.staff-staff-spacing = #'((minimum-distance . 0) (basic-distance . 0) (padding . 1)) } { \tuplet 6/4 { \override TextScript.padding = 2 c8[^"ossia above" d e d e f] } } >> } >> </lilypond> [[Category:Spacing]] [[Category:Tweaks and overrides]] [[Category:Vocal music]] [[Category:Included in the official documentation]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)