Dal Segno Text, leerer Raum: Problem mit Vorzeichenwechsel

Begonnen von jonas, Montag, 2. Oktober 2017, 19:28

« vorheriges - nächstes »

jonas

Hallo zusammen,
ich verzweifele gerade dabei, dieses Snippet anzuwenden. Mein Problem ist, dass zu Beginn des  Trios einen Tonartwechsel mache und die Vorzeichen in den leeren Platz geschrieben wird, in dem der Text stehen soll.

test.pdf soll das darstellen.

Ich hab schon versucht, das Snippet zu bearbeiten, aber bisher ohne Erfolg. Code für test.pdf:
\score {
  \new Staff \relative c'''{
  % Teil 2
  b'8\f f des4 c8 a b4 | b'\p f c des b'8\f f des4 c8 a b4 as'2~ as8 as16 as as8 as
  \bar "S-S"
  % \cadenzaOn will suppress the bar count and \stopStaff removes the staff lines.
  \cadenzaOn
  \stopStaff
  \repeat unfold 1 {
    s1
    \bar ""
  }
  \once \override TextScript.extra-offset = #'( 0 . -3.0 )
  \once \override TextScript.word-space = #1.5
  <>^\markup { \center-column { \line{"D.S." al \musicglyph #"scripts.ufermata"} \line {"poi Trio"}} }

  % Increasing the unfold counter will expand the staff-free space
  \repeat unfold 1 {
      s1
      \bar ""
  }
  % Coda on new line
  \break
  % Resume bar count and show staff lines again
  \startStaff
  \cadenzaOff

  % Trio
  \key ges \major
  ges8\f\mark\markup\bold Trio r b r des r b r ges\> r des r
  <<
      { ges4\mf as }
      { ges,4 as }
  >>
}
}


Kann mir wer weiterhelfen, die Vorzeichen wegzubekommen?

Gruß
Jonas

Malte

\once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
heißt das Zauberwort. Achtung:
\once \override Staff.KeySignature.break-visibility = #end-of-line-invisible
tut in diesem Fall nicht, das liegt aber einfach daran, daß break-visibility nicht dafür gemacht ist ;)

jonas