Hi Pierre-Luc,

Didn’t see this before…

> I have this text that I hope to fit in between stopped staves.
> Obviously, this can only work by stopping staves from the top of the score.

“Obviously”?? There are many ways to skin a Lilypond cat…  ;)
This one isn’t great, but it works without stopping staves:

\version "2.19.54"

someText = \markup \with-dimensions #empty-interval #empty-interval \whiteout 
\pad-x #2 {
  \override #(cons 'line-width 40)
  \justify {
    \fontsize #-4 {
      \underline \larger \smallCaps {
        "Narrator :"
      }
      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
      Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
      Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
      Excepteur sint occaecat cupidatat non proident, sunt in culpa
qui officia deserunt mollit anim id est laborum.
    }
  }
}

songStructure = {
  s1 |
  \bar "||"
  s |
  \bar "||"
  \key bes \major
  s |
  \bar "|."
}

someMusic = {
  f'8 r r4 r2 |
  s1 |
  f'8 r r4 r2 |
}

staffRester = {
  s1 |
  \tweak MultiMeasureRest.minimum-length #45 R1\fermataMarkup
  s1 |
}

staffI = \new Staff \with {
} \new Voice <<
  \songStructure
  \someMusic
  { s1 s-\tweak extra-offset #'(-2.9 . 3.5) -\someText }
>>

staffII = \new Staff \with {
} \new Voice <<
  \songStructure
  \someMusic
>>

staffIII = \new Staff \with {
} \new Voice <<
  \songStructure
  \someMusic
>>

piano = \new PianoStaff <<
  \new Staff \with {
  } \new Voice << \songStructure \someMusic \staffRester >>
  \new Staff \with {
  } \new Voice << \songStructure \someMusic \staffRester >>
>>

scoreContent = <<
  \staffI
  \staffII
  \staffIII
  \piano
>>

\score {
  \scoreContent
  \layout {}
}

________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to