• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

RemoveEmptyStaffContext und Taktzahlen

Begonnen von chf, Freitag, 11. Juli 2014, 19:13

Vorheriges Thema - Nächstes Thema

chf

Liebe Freunde,

zur Illustration meines Problems die Struktur meiner Partitur:

music = {
  <<
         \new StaffGroup = "Holz" \with {
         fontSize = #-2.5
         \override StaffSymbol #'staff-space = #(magstep -2.5)
         \override StaffSymbol #'thickness = #(magstep -2.5)
      }
           <<
               \tag #'score \tag #'Flt   \new Staff { << \global \Flt   >> }
               \tag #'score \tag #'Ob   \new Staff { << \global \Ob  >> }
               \tag #'score \tag #'Fag \new Staff  { << \global \Fag >>}
           >>
           
         \new Staff << \new Voice = "Sopr" {\global \Sopr } >>
         \new Lyrics \lyricsto "Sopr" \SoprText         
                 
     \new StaffGroup = "Streicher"
     \with {
         fontSize = #-2.5
         \override StaffSymbol #'staff-space = #(magstep -2.5)
         \override StaffSymbol #'thickness = #(magstep -2.5)
         }
           <<         
               \tag #'score \tag #'VOne   \new Staff { << \global \VOne   >> }
               \tag #'score \tag #'VTwo   \new Staff { << \global \VTwo   >> }
               \tag #'score \tag #'Vla \new Staff  { << \global \Vla >>}
               \tag #'score \tag #'Vc  \new Staff  { << \global \Vc >> }
               \tag #'score \tag #'Kb  \new Staff { << \global \Kb  >>}
          >>
        >>
     }
 
\score {
     \music     

\layout {
  \context{
    \Score
    \remove Metronome_mark_engraver
    \remove Bar_number_engraver
    \remove Mark_engraver
  }
  \context{
    \Staff
    \consists Metronome_mark_engraver
    \consists Bar_number_engraver
    \consists Mark_engraver
  }

     \context { \RemoveEmptyStaffContext }
 
  \context {
    \Lyrics
    \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing =
      #'((basic-distance . 5.5)
         (padding . 1.5) % default: 0.5
         (stretchability . 1))
  }
  \context {
   \override LyricHyphen #'minimum-distance = #1.0
  }
}   
}

Es erscheinen keine Taktzahlen. Sie sollen aber über den Instrumentengruppen und über der Solostimme stehen.
Nehme ich  \context { \RemoveEmptyStaffContext } raus, werden die Taktzahlen ausgegeben.
Wie ist beides unter einen Hut zu bringen?
Welche Befehle behindern einander?

Gruß
chf