Deutsches Lilypond Forum (Archiv)
Allgemein => Fragen zu Funktionen => Thema gestartet von: stefanhuglfing am Samstag, 1. März 2014, 19:07
-
Die letzte Zeile eines Musikstückes ist kurz. Ich hätte gern separaten Text direkt hinter dieser letzten Zeile statt in einer neuen Zeile, wie folgendes Beispiel illustriert:
\version "2.14.2"
#(set-default-paper-size "a6" 'landscape)
ZweiteStimme =
{ c' c' c' c' c' c' c' c' c' c' c' c' }
DritteStimme =
{ c' c' c' c' }
\score
{
<<
\new Staff { c' c' c' c' c' c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' c' c' c' c' }
\new Staff { c' c' c' c' c' c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' c' c' c' c' }
\new Staff { c' c' c' c' c' c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' c' c' c' c' }
>>
\layout { ragged-last = ##t }
}
\markup { Dieser Text sollte nicht auf Seite 2, }
\markup { sondern auf Seite 1 unten rechts, }
\markup { wo noch Platz ist sein. }
ist das möglich?
-
Hallo,
da hab' ich nur einen workaround für Dich:
\version "2.18.0"
#(set-default-paper-size "a6" 'landscape)
txt =
\markup
\column {
"Dieser Text sollte nicht auf Seite 2,"
"sondern auf Seite 1 unten rechts,"
"wo noch Platz ist sein."
}
\score {
<<
\new Staff { c' c' c' c' c' c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' c' c' c' c' }
\new Staff { c' c' c' c' c' c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' c' c' c' c' }
\new Staff { c' c' c' c' c' c' c' c' c' c' c' c'
c' c' c' c' c' c' c' c' c' c' c' c'
\override Score.RehearsalMark.self-alignment-X = #-1.2
\override Score.RehearsalMark.Y-offset = #-11
\mark \txt
}
>>
\layout { ragged-last = ##t }
}
Gruß,
Harm
-
Danke für die schnelle Antwort.
Es funktioniert.