Hey David,

it works - but I am running into an issue with short passages.
I would like to stretch the choir part to the right side,
but when I bring in "ragged-right = ##f" then it breaks:

I assume you have a solution for that issue?

Best regards
Johannes


8< %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.24.0"

#(set-global-staff-size 18)

\paper
{
  top-margin = 1.0 \cm
  bottom-margin = 1.0 \cm
  left-margin = 1\cm
  %line-width = 16 \cm
  ragged-bottom = ##t
  ragged-last-bottom = ##f
  %ragged-right = ##f
}


global = {
  \key f \major
  \time 4/4
  \partial 4
  \dynamicUp
}

st={\once \override Slur.transparent = ##t }

rot={
  \stopStaff
  \startStaff
  \override NoteHead.color = #(x11-color 'DarkRed)
  \override Dots.color = #(x11-color 'DarkRed)
  \override Staff.BarLine.color = #(x11-color 'DarkRed)
  \override Staff.Clef.color = #(x11-color 'DarkRed)
  \override Staff.KeySignature.color = #(x11-color 'DarkRed)
  \override Rest.color = #(x11-color 'DarkRed)
  \override Stem.color = #(x11-color 'DarkRed)
  \override Stem.transparent = ##t
  \override Staff.StaffSymbol.color  = #(x11-color 'DarkRed)
  \override Staff.TimeSignature.color =  #(x11-color 'DarkRed)
  }

Acantor = \relative c {
  \key f \major
  \clef "violin_8"
  \cadenzaOn
  \rot
   f4 f f g
}


Avtext= \lyricmode {
  \override Lyrics.LyricText.color = #(x11-color 'DarkRed) Praise ye the Lord
}


Aintonation = \markup {
  \score {

    \new Staff = staff <<

      \new Voice { \Acantor }
      \addlyrics \with { alignAboveContext = staff } { \Avtext }
    >>
    \layout {  }
  }
   \hspace #5
}

cantus = \relative c''{
  \global \cadenzaOff
a4 g( d) d8 (f) <d b'>8(<e c'>) <fis d'>1 \fermata\bar "|." \break

}

lyricscantus = \lyricmode {

The Lord's name be praised!

}

altus = \relative c' {
  \global
\st d8( c) h4(c) d8(c) b4 d 1\fermata
 }


tenor =  \relative c' {
  \global
a4 g(f) f a8(g) a1\fermata
}




bassus  = \relative c {
  \global
d4 g,(a) b8(a) g4 d1\fermata
}



\score {
  \new ChoirStaff \with { \override StaffGrouper.staff-staff-spacing.basic-distance = #12 }
  <<
    \new Staff <<
      \global
      \new Voice="v1" {
        %\set Staff.instrumentName="Sopran"
        \set Staff.midiInstrument = "oboe"
        \clef "treble"
        \cantus
      }
      \new Lyrics \lyricsto "v1" { \lyricscantus }
    >>


    \new Staff <<
      \global
      \new Voice="v2" {
        %\set Staff.instrumentName="Alt"
        \set Staff.midiInstrument = "clarinet"
        \clef "treble"
        \altus
      }
      \new Lyrics \lyricsto "v2" { \lyricscantus }

    >>

    \new Staff <<

      \override Staff.InstrumentName.self-alignment-X = #RIGHT
      \set Staff.instrumentName = \Aintonation
      \clef "violin_8" \global
      \new Voice { \tenor }
      \addlyrics { \lyricscantus }
    >>
    \new Staff <<
      \global
      \new Voice="v4" {
        %\set Staff.instrumentName="Bass"
        \set Staff.midiInstrument = "cello"
        \clef "bass"
        \bassus
      }
      \new Lyrics \lyricsto "v4" {\lyricscantus}
    >>
  >>

  \layout
  {
    indent = 5.5 \cm
    \context {\Staff \RemoveEmptyStaves }
  }


  \midi {
    \tempo 4=100
  }

}


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Reply via email to