]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/grid-lines--changing-their-appearance.ly
Change stringTunings from list of semitones to list of pitches
[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.39"
5
6 \header {
7   lsrtags = "editorial-annotations"
8
9 %% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
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: 0a868be38a775ecb1ef935b079000cebbc64de40
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: 9ccf7f0f5e52e074f3b7852416ad5b78718395c8
27   texidocfr = "
28 Modifier certaines des propriétés du quadrillage temporel aura pour effet
29 d'en changer l'apparence.
30
31 "
32   doctitlefr = "Apparence du quadrillage 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