Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Evenly spaced text in a measure
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!
Sometimes, for speaking parts, it is useful to have the text in the measure itself instead of below in a lyrics context. This is a workaround to achieve that. <lilypond version="2.24.0" full> %% http://lsr.di.unimi.it/LSR/Item?id=780 %here starts the snippet: \header { tagline = ##f } bar = { \override TextScript.extra-spacing-width = #'(0 . 0) \override TextScript.Y-offset = #0 \override TextScript.outside-staff-priority = ##f \override TextScript.self-alignment-X = #LEFT \override Stem.transparent = ##t \override NoteHead.transparent = ##t \override NoteHead.no-ledgers = ##t } << \new Staff \with { \override StaffSymbol.line-count = #1 \override BarLine.bar-extent = #'(-1.5 . 1.5) } \repeat unfold 6 \relative c' { \bar c-\markup { i } c-\markup { hope } c-\markup { this } c-\markup { works } } \new Staff \with { \override StaffSymbol.line-count = #1 \override BarLine.bar-extent = #'(-1.5 . 1.5) } \repeat unfold 8 \relative c' { \bar c-\markup { o } c-\markup { ooooooo } c-\markup { o } } >> </lilypond> [[Category:Text]] [[Category:Workaround]] [[Category:Tweaks and overrides]]
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)