lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing key after line break


From: address@hidden
Subject: Re: Changing key after line break
Date: Sat, 23 Jun 2012 22:22:54 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 2012-06-23 21:39, David Kastrup wrote:
<URL:http://lilypond.org/doc/v2.15/Documentation/notation/visibility-of-objects#using-break_002dvisibility>
I can't figure this out. I have tried all permutations of the vector format but it still displays the KeySignature at the last bar or each line

Here is my updated code:

%% Start of file

\version "2.14.2"

\header {

title = "Comparison Major - relative minor"

subtitle = "Sharp Keys"

tagline = ##f

}

MyChords = \chordmode {

\time 3/4

\override Staff.KeySignature #'break-visibility = #'#(#f #f #t)

c4 a,:m a,:m7 | \break

}

\score {

<<

%% C - Am

\new ChordNames {

%% C - Am

\key c \major \MyChords

%% G - Em

\key g \major \transpose c g {\MyChords }

%% D - Bm

\key d \major \transpose c d {\MyChords }

%% A - F#m

\key a \major \transpose c a {\MyChords }

%% E - C#m

\key e \major \transpose c e {\MyChords }

%% B - G#m

\key b \major \transpose c b {\MyChords }

%% F# - D#m

\key fis \major \transpose c fis {\MyChords }

%% C# - A#m

\key cis \major \transpose c cis {\MyChords }

}

\new Staff {

%% C - Am

\key c \major \MyChords

%% G - Em

\key g \major \transpose c g {\MyChords }

%% D - Bm

\key d \major \transpose c d {\MyChords }

%% A - F#m

\key a \major \transpose c a {\MyChords }

%% E - C#m

\key e \major \transpose c e {\MyChords }

%% B - G#m

\key b \major \transpose c b {\MyChords }

%% F# - D#m

\key fis \major \transpose c fis {\MyChords }

%% C# - A#m

\key cis \major \transpose c cis {\MyChords }

}

>>

\layout {

\context {

\Staff

\remove "Time_signature_engraver"

\remove "Bar_number_engraver"

}

\context {

\Score

\remove "Bar_number_engraver"

}

}

}

%% End of file




reply via email to

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