[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: System spacing in a markup score
From: |
Timothy Lanfear |
Subject: |
Re: System spacing in a markup score |
Date: |
Sat, 11 Jul 2020 21:46:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 11/07/2020 08:44, Pierre Perol-Schneider wrote:
Hi List,
How can I access the paper defs in a markup score?
E.g. system-system-spacing?
How about something like this?
\version "2.20.0"
\paper {
system-system-spacing.basic-distance = 5
}
\markup {
\score {
\new Staff { \repeat unfold 10 { c' d' e' f' } g' \bar "|." }
#(newline)
#(display (cdr (assoc 'basic-distance (ly:output-def-lookup
$defaultpaper 'system-system-spacing))))
\layout {
system-count = 3
line-width = 90
\context { \Score \override BarNumber.font-size = #-4 }
\context { \Staff \magnifyStaff #5/8 }
}
}
}
--
Timothy Lanfear, Bristol, UK.