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