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