]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/included/gonville.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / included / gonville.ly
1 \header {
2
3   texidoc = "Use an alternative music font (gonville).  To use this,
4 put gonville-20.otf and gonville-brace.otf in a directory where
5 lilypond can find them (use the --include option to extend the search
6 path)."
7
8 }
9
10 \version "2.14.0"
11
12 \paper {
13   myStaffSize = 20
14
15   %% bogus statement, because myStaffSize must be assigned before
16   %% the scheme statement starts parsing.
17   bogus = 42
18   
19   #(add-music-fonts fonts "gonville" 'gonville '((20 . 20.0))
20      (/ myStaffSize 20))
21 }
22
23 sampleMusic = \relative c'' {
24   a4-\trill_\sfz b8 c16 d32
25 }
26
27
28 {
29   \set Staff.instrumentName = #"Default"
30   \sampleMusic
31 }
32
33 \score {
34   {
35     \set Staff.instrumentName = #"Feta"
36     \sampleMusic
37   }
38   \layout {
39     #(define font-defaults
40       '((font-family . feta) (font-encoding . fetaMusic)))
41   }
42 }
43
44 \score {
45   \relative c'' {
46     \set Staff.instrumentName = #"Gonv"
47     \sampleMusic
48   }
49   \layout {
50     #(define font-defaults
51       '((font-family . gonville) (font-encoding . fetaMusic)))
52   }
53 }
54
55 \relative c''
56 {
57   \set Staff.instrumentName = #"Gonv override"
58   c2^\trill c
59   \override NoteHead #'font-family = #'gonville
60   \override Script #'font-family = #'gonville
61   c^\trill c 
62 }