]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/score-lines.ly
Issue 3644: A \score-lines markup list command for multi-lines embedded scores
[lilypond.git] / input / regression / score-lines.ly
1 \version "2.19.0"
2
3 \header {
4   texidoc = "The @code{\\score-lines} markup returns individual score
5 lines as stencils rather than a single stencil.  Calling a function 
6 like @code{\\rotate} on @code{\\score-lines} rotates the lines
7 individually, as contrasted with rotating an entire @code{\\score}
8 markup."
9 }
10
11 \markup \fill-line {
12   \null
13   \column \rotate #-15 {
14     \score-lines
15     {
16       \new Staff \with { instrumentName = \markup \typewriter
17                          "\\score-lines" }
18       \repeat unfold 16 c'4
19       \layout {
20         short-indent = 0
21         indent = 0
22         line-width = 4\cm
23       }
24     }
25   }
26   \column \rotate #-15 {
27     \score
28     {
29       \new Staff \with { instrumentName = \markup \typewriter
30                          "\\score" }
31       \repeat unfold 16 c'4
32       \layout {
33         short-indent = 0
34         indent = 0
35         line-width = 4\cm
36       }
37     }
38   }
39   \null
40 }