]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/forcing-a-clef-symbol-to-be-displayed.ly
7f0dcb1686ef999b61ff5799cd08f47ca917be1a
[lilypond.git] / Documentation / snippets / forcing-a-clef-symbol-to-be-displayed.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 = "pitches"
11
12   texidoc = "
13 When a clef sign has already been displayed and it has not been changed
14 to a different clef, then repeating the @code{\\clef} command will be
15 ignored by LilyPond, since it is not a change of clef.  It is possible
16 to force the clef to be redisplayed using the command @code{\\set
17 Staff.forceClef = ##t}.
18
19 "
20   doctitle = "Forcing a clef symbol to be displayed"
21 } % begin verbatim
22
23 \relative c' {
24   \clef treble
25   c1
26   \clef treble
27   c1
28   \set Staff.forceClef = ##t
29   c1
30   \clef treble
31   c1
32 }