]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/magnifyStaff-text-interface.ly
Imported Upstream version 2.19.45
[lilypond.git] / input / regression / magnifyStaff-text-interface.ly
1 \version "2.19.11"
2
3 \header {
4   texidoc = "All text-interface grobs that are within the Staff
5 context should have @w{@code{baseline-skip}} and
6 @w{@code{word-space}} values scaled along with notation size when
7 using the @code{\magnifyStaff} command."
8 }
9
10 \paper {
11   line-width = 60
12   ragged-right = ##f
13   score-system-spacing = #'((padding . 3))
14 }
15
16 \layout {
17   \context {
18     \Staff
19     \override TextScript.baseline-skip = 2
20     \override InstrumentName.baseline-skip = 2
21     \override InstrumentName.self-alignment-X = 0.75
22   }
23 }
24
25 abcd = \markup {
26   \center-column { a c }
27   \center-column { b d }
28 }
29
30 music = {
31   \set Staff.instrumentName = \markup \abcd
32   b'1^\markup \abcd
33 }
34
35 \new Staff { \magnifyStaff 0.5 \music }
36 \new Staff { \magnifyStaff 1.0 \music }
37 \new Staff { \magnifyStaff 2.0 \music }