[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #'hide-tied-accidental-after-break
From: |
David Kastrup |
Subject: |
Re: #'hide-tied-accidental-after-break |
Date: |
Thu, 05 Jul 2012 10:30:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Peter O'Doherty <address@hidden> writes:
> On 07/05/2012 09:06 AM, David Kastrup wrote:
>> Peter O'Doherty <address@hidden> writes:
>>
>>> Is there another way to avoid repeated accidentals on new staves but
>>> still keep the accidental style 'dodecaphonic?
>> I find that
>> {
>> \accidentalStyle "dodecaphonic"
>> \override Accidental #'hide-tied-accidental-after-break = ##t
>> cis~ cis cis~ cis~ \break cis~ cis cis~ cis
>> }
>>
>> works just like I would expect.
>>
>
> Thanks for your help.
> The accidental override doesn't work when the tied notes are contained
> within a |<< \\ >> |construct. Is there a way to deal with these?
Assuming that you are using this construct everywhere, you can use
\layout { \accidentalStyle "dodecaphonic"
\override Accidental #'hide-tied-accidental-after-break = ##t
}
in order to have these styles apply to all created contexts (including
the contexts in << \\ >>). This requires a more recent version of
LilyPond (2.15.thirty-something or so); if that is not available, you
can achieve the equivalent somewhat more laboriously using \context
redefinitions explicitly.
--
David Kastrup