]> git.donarmstrong.com Git - lilypond.git/blob - input/test/title-markup.ly
* lily/global-context.cc (run_iterator_on_me): fix grace note
[lilypond.git] / input / test / title-markup.ly
1 \version "2.1.30"
2 %{
3    Experimental markup titles are available in direct PostScript output:
4
5    export GS_LIB=$(pwd)/mf/out:/usr/share/texmf/fonts/type1/bluesky/cm
6    lilypond-bin -fps input/title/title-markup.ly
7
8 %}
9
10 latinTest = \markup { \latin-i "Hellö" }
11     
12 sizeTest = \markup {
13         \column <
14             { \normalsize "normalsize"
15               \hspace #5
16               \smaller "smaller"
17               \hspace #5
18               \smaller \smaller "smaller"
19               \hspace #5
20               \smaller \smaller \smaller "smaller"
21             }
22             " " 
23             { \normalsize "normalsize"
24               \hspace #5
25               \bigger "bigger"
26               \hspace #5
27               \bigger \bigger "bigger"
28               \hspace #5
29               \bigger \bigger \bigger "bigger"
30             }
31        >
32 }
33
34 spaceTest = \markup { "two space chars" }
35 \header {
36     texidoc = "Make titles using markup.  Only in direct PostScript output."
37
38     ##tagline = "my tagline for v \version"
39     copyright = "Copyright by /me"
40     
41     %dedication = "För my dør Lily"
42     % ugh: encoding char-size
43     %dedication = "For my öòóôõø so dear Lily"
44     dedication = \markup { "For my "
45                            \latin-i { "öòóôõø" }
46                            " so dear Lily" }
47     title = "Title"
48     subtitle = "(and (the) subtitle)"
49     subsubtitle = "Sub sub title"
50     poet = "Poet"
51     composer = "Composer"
52     texttranslator = "Text Translator"
53     opus = "opus 0"
54     meter = "Meter (huh?)"
55     arranger = "Arranger"
56     instrument = "Instrument"
57     piece = "Piece"
58
59     %% Override automatic book title
60     %% bookTitle = \markup { \fill-line < \huge\bold \title > > }
61 }
62
63 \score {
64     \context Staff \notes \relative c' {
65         c2-\sizeTest c2-\spaceTest
66     }
67     \paper {
68 %       #(paper-set-staff-size (* 11.0 pt)) 
69         }
70 }
71
72 \header {
73     %% Override automatic score title
74     %% scoreTitle = \markup { "Tweetje" }
75     opus = "opus 1"
76     piece = "Second"
77 }
78
79 \score {
80     \context Staff \notes \relative c' {
81         \repeat unfold 135 { a b c d \break }
82         c1
83     }
84 }