]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/making-some-staff-lines-thicker-than-the-others.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / making-some-staff-lines-thicker-than-the-others.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.17.6"
8
9 \header {
10   lsrtags = "editorial-annotations, really-cool, staff-notation, workaround"
11
12   texidoc = "
13 For educational purposes, a staff line can be thickened (e.g., the
14 middle line, or to emphasize the line of the G clef).  This can be
15 achieved by adding extra lines very close to the line that should be
16 emphasized, using the @code{line-positions} property of the
17 @code{StaffSymbol} object.
18
19 "
20   doctitle = "Making some staff lines thicker than the others"
21 } % begin verbatim
22
23 {
24   \override Staff.StaffSymbol.line-positions =
25     #'(-4 -2 -0.2 0 0.2 2 4)
26   d'4 e' f' g'
27 }