lilypond-user
[Top][All Lists]
Advanced

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

Re: Ignore key signature?


From: Urs Liska
Subject: Re: Ignore key signature?
Date: Thu, 18 Sep 2014 00:31:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi all,

thanks for your feedback. Paul hit it, this does exactly what is needed. And it is the simplest and conceptually cleanest way.

\version "2.19.13"


\paper {

indent = 2\cm

}


music = \relative c' {

c d e f

d e fis g

e fis gis a

\bar "||"

}


concat = {

\music

\key d \major

\music

\key e \major

\music

}


\score {

<<

\new Staff {

\set Staff.instrumentName = "Default"

\concat

}


\new Staff {

\set Staff.instrumentName = "Transposed"

\transpose bes, c \concat

}


\new Staff \with {

\remove Key_engraver

} {

\set Staff.instrumentName = "no-key-engr."

\concat

}

\new Staff \with {

\remove Key_engraver

} {

\set Staff.instrumentName = "no-key transp."

\transpose bes, c \concat

}

>>

}



Am 17.09.2014 21:11, schrieb Paul Morris:
Urs Liska wrote
So the question is: is there a way for a voice/staff to completely ignore
the \key command?
Will \remove Key_engraver do what you want?  It solves the problem you gave
in your example.

HTH,
-Paul

\version "2.19.13"

\new Staff \with {
  \remove Key_engraver
} {
  cis''1^\markup "no key"
  \key d \major
  fis'^\markup "D major"
}



--
View this message in context: http://lilypond.1069038.n5.nabble.com/Ignore-key-signature-tp166525p166529.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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