]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/grid-lines--changing-their-appearance.ly
Doc: run makelsr locally
[lilypond.git] / Documentation / snippets / grid-lines--changing-their-appearance.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.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.14.2"
8
9 \header {
10   lsrtags = "editorial-annotations"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Se puede cambiar el aspecto de las líneas de rejilla
15 sobreescribiendo algunas de sus propiedades.
16
17 "
18   doctitlees = "Líneas de rejilla: modificar su aspecto"
19
20
21 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
22   texidocde = "
23 Die Erscheinung der Gitternetzlinien kann durch einige Eigenschaften
24 geändert werden.
25
26 "
27   doctitlede = "Gitternetzlinien: Aussehen verändern"
28
29 %% Translation of GIT committish: 9ccf7f0f5e52e074f3b7852416ad5b78718395c8
30   texidocfr = "
31 Modifier certaines des propriétés du quadrillage temporel aura pour effet
32 d'en changer l'apparence.
33
34 "
35   doctitlefr = "Apparence du quadrillage temporel"
36
37
38   texidoc = "
39 The appearance of grid lines can be changed by overriding some of their
40 properties.
41
42 "
43   doctitle = "Grid lines: changing their appearance"
44 } % begin verbatim
45
46
47 \score {
48   \new ChoirStaff <<
49     \new Staff {
50       \relative c'' {
51         \stemUp
52         c'4. d8 e8 f g4
53       }
54     }
55     \new Staff {
56       \relative c {
57         % this moves them up one staff space from the default position
58         \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
59         \stemDown
60         \clef bass
61         \once \override Score.GridLine #'thickness = #5.0
62         c4
63         \once \override Score.GridLine #'thickness = #1.0
64         g'4
65         \once \override Score.GridLine #'thickness = #3.0
66         f4
67         \once \override Score.GridLine #'thickness = #5.0
68         e4
69       }
70     }
71   >>
72   \layout {
73     \context {
74       \Staff
75       % set up grids
76       \consists "Grid_point_engraver"
77       % set the grid interval to one quarter note
78       gridInterval = #(ly:make-moment 1 4)
79     }
80     \context {
81       \Score
82       \consists "Grid_line_span_engraver"
83       % this moves them to the right half a staff space
84       \override NoteColumn #'X-offset = #-0.5
85     }
86   }
87 }
88