]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/fingering-symbols-for-wind-instruments.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / fingering-symbols-for-wind-instruments.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "symbols-and-glyphs, winds"
11
12   texidoc = "
13 Special symbols can be achieved by combining existing glyphs, which is
14 useful for wind instruments.
15
16 "
17   doctitle = "Fingering symbols for wind instruments"
18 } % begin verbatim
19
20 centermarkup = {
21   \once \override TextScript.self-alignment-X = #CENTER
22   \once \override TextScript.X-offset =#(ly:make-simple-closure
23     `(,+
24       ,(ly:make-simple-closure (list
25         ly:self-alignment-interface::centered-on-x-parent))
26       ,(ly:make-simple-closure (list
27         ly:self-alignment-interface::x-aligned-on-self))))
28 }
29
30 \score {
31   \relative c'{
32     g\open
33     \once \override TextScript.staff-padding = #-1.0
34     \centermarkup
35     g^\markup {
36       \combine
37         \musicglyph #"scripts.open"
38         \musicglyph #"scripts.tenuto"
39     }
40     \centermarkup
41     g^\markup {
42       \combine
43         \musicglyph #"scripts.open"
44         \musicglyph #"scripts.stopped"
45     }
46     g\stopped
47   }
48 }