• 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ü

Unterschiedliche Abstände von Zeilen in einer Akkolade

Begonnen von juppes, Samstag, 26. Januar 2013, 12:36

Vorheriges Thema - Nächstes Thema

RobUr

Hallo Markus,

die default-Werte für \paper-Variablen findet man übrigens in ly/paper-defaults-init.ly Ein gutes Cheatsheet zum Spacing gibt es unter http://joramberger.de/files/LilypondSpacing.pdf

In deinem Fall bewirken die folgenden 4 \layout-Blöcke dasselbe:

\layout {
\override Staff.VerticalAxisGroup.staff-staff-spacing = #'(
(basic-distance . 11.0) ; default: 9
(minimum-distance . 10.0) ; default: 8
(padding . 1.0) ; default: 1
;(stretchability . 5.0) ; default: unset
)
}


\layout {
\override PianoStaff.StaffGrouper.staff-staff-spacing = #'(
(basic-distance . 11.0) ; default: 9
(minimum-distance . 9.0) ; default: 7
(padding . 1.0) ; default: 1
(stretchability . 5.0) ; default: 5
)
}


\layout {
\context {
\Staff
\override VerticalAxisGroup.staff-staff-spacing = #'(
(basic-distance . 11.0) ; default: 9
(minimum-distance . 10.0) ; default: 8
(padding . 1.0) ; default: 1
;(stretchability . 5.0) ; default: unset
)
}
}


\layout {
\context {
\PianoStaff
\override StaffGrouper.staff-staff-spacing = #'(
(basic-distance . 11.0) ; default: 9
(minimum-distance . 9.0) ; default: 7
(padding . 1.0) ; default: 1
(stretchability . 5.0) ; default: 5
)
}
}


Man beachte die unterschiedliche Position im \layout-Block und welcher Context auf welche Weise angesprochen wird. Am deutlichsten sind die Auswirkungen sichtbar, wenn man ragged-last-bottom auf ##t setzt, da ansonsten die stretchability-Faktoren einbezogen werden. Welche Abstände berechnet werden, kann man durch die Zeile
\paper { annotate-spacing = ##t } #(ly:set-option 'debug-skylines #t)
am Dateianfang kontrollieren (die Option debug-skylines kann man weglassen).

Viel Spaß beim Experimentieren!

Gruß, Robert