]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/fingering-symbols-for-wind-instruments.ly
Add '-dcrop' option to ps and svg backends
[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 =#(lambda (g)
23   (+ (ly:self-alignment-interface::centered-on-x-parent g)
24      (ly:self-alignment-interface::x-aligned-on-self g)))
25 }
26
27 \score {
28   \relative c'{
29     g\open
30     \once \override TextScript.staff-padding = #-1.0
31     \centermarkup
32     g^\markup {
33       \combine
34         \musicglyph #"scripts.open"
35         \musicglyph #"scripts.tenuto"
36     }
37     \centermarkup
38     g^\markup {
39       \combine
40         \musicglyph #"scripts.open"
41         \musicglyph #"scripts.stopped"
42     }
43     g\stopped
44   }
45 }