]> git.donarmstrong.com Git - lilypond.git/blob - input/test/markup.ly
update syntax in .ly files.
[lilypond.git] / input / test / markup.ly
1 \version "1.7.6"
2
3 \header {
4   texidoc ="Test font selection and scm text markup"
5 }
6
7
8 \score{
9   \notes\relative c''{
10     \stemUp
11                                 % {
12     a-"text"
13     b-#"texta"
14     c-#'(bold "textb")
15
16     d-#'(lines "one" "two" "three")
17     e-#'(lines (bold "one") 
18     (columns "and" "there" "is" ((font-family . number) "2"))
19     (italic "three"))
20     f-#'(finger "3")
21     g-#'(music (named "noteheads-2"
22     ((kern . -0.1) "flags-stem")
23     (((kern . -0.1) (raise . 3.5)) "flags-u3")))
24     b-#'(columns "a" (((kern . 3) (raise . 2)) "b") "c")
25     c-#'(columns "1" (((raise . -2) (kern . -1)) "2") "3")
26                                 % }
27     d-#'(lines "Violoncello" "    e" "Contrabasso")
28     e-#'((lines (baselineskip . 0) (kern . 1.5)) "Violoncello" "    e" "Contrabasso")
29     e-#'(((baselineskip . 0) (kern . 1.5) lines) "Violoncello" "    e" "Contrabasso")
30     g-"ÅÖÄÜÇÕ"
31     c,,
32     c1 c1
33     
34     \stemUp
35     c4^#'(lines "1" "" "2")
36     c^#'(lines "3" "4" "5")
37     \stemDown
38     c_#'(lines "6" "" "7")
39     c_#'(lines "8" "9" "0")
40     
41     \stemUp
42     c4^#'(lines "1" "")
43     c^#'(lines "2" "3")
44     \stemDown
45     c_#'(lines "" "4")
46     c_#'(lines "5" "6")
47     
48     c^#'(columns "foe" ((raise . 3) "bar"))
49     c^#'(columns "foe" (super "12") (sub "3 4"))
50     %% UGHUGH
51     c^#'(columns "foe" (super ((raise . 1) "12")) (sub ((raise . -1) "3 4")))
52     c^#'(columns "foe" (super (overstrike "o") "/") (sub "x"))
53     c^#'(columns "foe" (overstrike "o") "/")
54     c^#'(columns "foe" ((bold roman overstrike) "o") "/")
55     c^#'(columns "foe" ((extent . (0 . 0)) "o") "/")
56     c^#'(columns "foo" (super "bar" (super "baz")))
57     c
58     %% c^#`(columns (lines "" ";" "") (lines "1" ((bold) "2") "3"))
59     c^#`(columns (lines "" ";" "") (lines "1" "2" "3"))
60     c^#`(columns (lines "" ";" "") (lines "1" (bold "2") "3"))
61     c^#`(columns (lines "" ";" "") (lines "1" (columns (bold "2")) "3"))
62         
63     
64   }
65   \paper{
66                                 %linewidth = -1.\mm
67     fontenc = "T1"
68     \translator{
69       \ScoreContext
70       TextScript \override #'font-family = #'roman
71       TextScript \override #'font-shape = #'upright
72       TextScript \revert #'no-spacing-rods
73       TextScript \override #'direction = #1
74     }
75   }
76 }
77 %%% Local variables:
78 %%% LilyPond-indent-level:2
79 %%% End:
80 %% new-chords-done %%