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