]> git.donarmstrong.com Git - lilypond.git/blob - input/test/markup.ly
release: 1.3.124
[lilypond.git] / input / test / markup.ly
1
2 \version "1.3.117";
3
4 %
5 % Test new font selection and scm text markup
6 %
7
8 \score{
9         \notes\relative c''{
10                 \stemUp
11                 a-"text"
12                 b-#"texta"
13                 c-#'(bold "textb")
14
15                 d-#'(lines "one" "two" "three")
16                 e-#'(lines (bold "one") 
17                   (rows "and" "there" "is" ((font-family . number) "2"))
18                   (italic "three"))
19                 f-#'(finger "3")
20                 g-#'(music (named "noteheads-2" "flags-u3"))
21                 
22                 b-#'(rows "a" ((kern . 3) ((raise . 2) "b")) "c")
23                 c-#'(rows "1" ((kern . -3) ((raise . -2) "2")) "3")
24                 
25                 }
26         \paper{
27                 linewidth = -1.\mm;
28                 \translator{
29                         \ScoreContext
30                         TextScript \override #'font-family = #'roman
31                         TextScript \override #'font-shape = #'upright
32                         TextScript \revert #'no-spacing-rods
33                         TextScript \override #'direction = #1
34                 }
35         }
36 }