Re: How to avoid that it appears the new key with a key change at the end of stave

2013-08-19 Thread Eluze
Eluze wrote
> Am 19.08.2013 15:56, schrieb Tommaso Gordini:
>> Hello to all,
>> I would like to avoid that the new key appears when I have a key change
>> at
>> the end of the staff. I tried it in the documentation, but I could not
>> find
>> what I need.
>>
> do you mean:
> 
> \layout {
>\context {
>  printKeyCancellation = ##f
>}
> }
> 
> Eluze
> 
> sorry, forgot to add the context \Staff above
> 
> anyway, this will only suppress the cancellation of keys - see Harms
> solution for suppressing the whole key at the end of line
> 
> Eluze
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-avoid-that-it-appears-the-new-key-with-a-key-change-at-the-end-of-stave-tp149454p149460.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to avoid that it appears the new key with a key change at the end of stave

2013-08-19 Thread Thomas Morley
2013/8/19 Tommaso Gordini :
> Hello to all,
> I would like to avoid that the new key appears when I have a key change at
> the end of the staff. I tried it in the documentation, but I could not find
> what I need.
>
> Can you help me?
>
> Ciao
> Tommaso



See:
http://lilypond.org/doc/v2.16/Documentation/notation/visibility-of-objects.it.html#special-considerations

Example:

\version "2.16.2"

% Better put the commands in layout
\layout {
\context {
\Staff
\override KeySignature #'break-visibility = ##(#f #t #t)
\override KeyCancellation #'break-visibility = ##(#f #t #f)
explicitKeySignatureVisibility = #'#(#f #t #t)
}
}

\relative c' {
\key cis\major
cis'1
\break
\key ces\major
ces'1
}

HTH,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to avoid that it appears the new key with a key change at the end of stave

2013-08-19 Thread Eluze


Am 19.08.2013 15:56, schrieb Tommaso Gordini:

Hello to all,
I would like to avoid that the new key appears when I have a key change at
the end of the staff. I tried it in the documentation, but I could not find
what I need.


do you mean:

\layout {
  \context {
printKeyCancellation = ##f
  }
}

Eluze

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to avoid that it appears the new key with a key change at the end of stave

2013-08-19 Thread Tommaso Gordini
Hello to all,
I would like to avoid that the new key appears when I have a key change at
the end of the staff. I tried it in the documentation, but I could not find
what I need.

Can you help me?

Ciao
Tommaso
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user