]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/forcing-a-clef-symbol-to-be-displayed.ly
2e3517fb18aa5da2f97e64b23698223330321c9b
[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.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.14.2"
8
9 \header {
10   lsrtags = "pitches"
11
12 %% Translation of GIT committish: 30339cb3706f6399c84607426988b25f79b4998c
13   texidocfr = "
14 Lorsqu'une clef a déjà été imprimée et qu'aucune autre clef n'a depuis
15 été imprimée, LilyPond ignorera toute réitération de la commande
16 @code{\\clef}.  Forcer la réimpression de la clef s'obtient à l'aide de
17 la commande @code{\\set Staff.forceClef = ##t}.
18
19 "
20   doctitlefr = "Réimpression forcée de la clef"
21
22   texidoc = "
23 When a clef sign has already been displayed and it has not been changed
24 to a different clef, then repeating the @code{\\clef} command will be
25 ignored by LilyPond, since it is not a change of clef.  It is possible
26 to force the clef to be redisplayed using the command @code{\\set
27 Staff.forceClef = ##t}.
28
29 "
30   doctitle = "Forcing a clef symbol to be displayed"
31 } % begin verbatim
32
33
34 \relative c' {
35   \clef treble
36   c1
37   \clef treble
38   c1
39   \set Staff.forceClef = ##t
40   c1
41   \clef treble
42   c1
43 }