bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

\cueDuringWithClef alters the key signature to the cued clef


From: Steven Weber
Subject: \cueDuringWithClef alters the key signature to the cued clef
Date: Tue, 1 Feb 2011 14:38:10 -0800

Found this while playing with the new functionality.  If you start a piece
with cued notes or have cues that run across a line break, the key signature
is printed as if it was in the cued clef instead of the non-cued clef.

 

System info:  Windows 7, Lilypond 2.13.47

 

Repro:

 

% The key signature should be unaffected by the clef of the cued notes

\version "2.13.47"

 

vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }

\addQuote vIQuote { \vI }

 

\score

{

                \new Staff

                {

                                \clef "bass"

                                \key g \major

 

                                % If you start the piece with cued notes,
the key signature is in the cued clef

                                \cueDuringWithClef #"vIQuote" #DOWN
#"treble" { R1 } |

                                c1 |

 

                                % If cued notes span a line break, the key
signature is in the cued clef

                                \cueDuringWithClef #"vIQuote" #DOWN
"soprano" { R1 \break R1 }

                                c1 |

                }

}

 

 

--Steven

 

Attachment: Repro.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]