On Tue 29 Aug 2023 at 18:00:47 (-0400), Pierre-Luc Gauthier wrote: > Le mar. 29 août 2023, à 17 h 33, Carl Sorensen a écrit : > > On Tue, Aug 29, 2023 at 3:12 PM Pierre-Luc Gauthier wrote: > >> > >> I need some standalone rhythmically correct lyrics that I place around > >> scores. Devnull seems perfect since it does not create a Staff. Yet, > >> ties and slurs are not taken into account when placing otherwise > >> correct lyrics. Why?
Internals Reference says: "2.1.6 Devnull Silently discards all musical information given to this context." so I'm guessing all that's left is the note columns. > >> Take the following MnWE. > >> > >> music = { c'4(~ 2) d'4 } > >> > >> words = \lyricmode { a b c } > >> > >> << > >> \new Staff \new Voice = "1" \music > >> \new Lyrics \lyricsto "1" \words > >> \new Devnull = "2" \music > >> \new Lyrics \lyricsto "2" \words > >> >> > >> > > Use NullVoice instead of Devnull. > > But, doesn't NullVoice create a Staff ? > I am trying to set the lyrics to float in between some random parts. > > music = { c'4(~ 2) d'4 } > > words = \lyricmode { a b c } > > << > \new Staff << > \new Voice = "1" \music > \new Lyrics \lyricsto "1" \words > >> > << % said null part > \new NullVoice = "2" \music > \new Lyrics \lyricsto "2" \words > >> > >> I assume that "standalone" and "float" mean that the position on the x-axis is constrained by the staff above, but not on the y-axis. So you could try: music = { c'4(~ 2) d'4 } words = \lyricmode { a b c } << \new Staff << \new Voice = "1" \music \new Lyrics \lyricsto "1" \words >> \new Lyrics \lyricsto "1" { \once \override LyricText.font-size = #-19 ‧ } \new Lyrics \lyricsto "1" { \once \override LyricText.font-size = #-19 ‧ } \new Lyrics \lyricsto "1" { this floats } \new Lyrics \lyricsto "1" { \once \override LyricText.font-size = #-19 ‧ } \new Lyrics \lyricsto "1" { \once \override LyricText.font-size = #-19 ‧ } >> \new Staff << \new Voice { c'2 d' e' f' } \addlyrics { next score comes here } >> I've cheated with the y-axis spacing; there are better ways I'm sure. But I'm not really sure what you're after exactly. Cheers, David.