[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prall with accidental
From: |
David Kastrup |
Subject: |
Re: prall with accidental |
Date: |
Sun, 20 Jan 2013 19:07:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> 2013/1/19 Werner LEMBERG <address@hidden>:
>>
>>> Of course, you can easily write the tweak version instead:
>>>
>>> prallSharp =
>>> -\tweak Script.text \markup {
>>> \override #'(baseline-skip . 1.2) \center-column {
>>> \fontsize #-4 \sharp
>>> \musicglyph #"scripts.prall"
>>> } }
>>> -\tweak Script.stencil #ly:text-interface::print \prall
>
> With this approach transposing will sometimes result in wrong accidentals.
How about something like
c-\pitched cis \prall
which modifies the stencil of \prall when it finds that cis does not fit
the current key signature? It would slap a 'pitch field on the prall
event (so that \transpose has something to mangle) and check its state
when typesetting.
--
David Kastrup
- prall with accidental, Werner LEMBERG, 2013/01/18
- Re: prall with accidental, David Kastrup, 2013/01/18
- Re: prall with accidental, Werner LEMBERG, 2013/01/18
- Re: prall with accidental, Werner LEMBERG, 2013/01/18
- Re: prall with accidental, Kieren MacMillan, 2013/01/18
- Re: prall with accidental, David Kastrup, 2013/01/18
- Re: prall with accidental, Werner LEMBERG, 2013/01/19
- Re: prall with accidental, Jay Anderson, 2013/01/19
- Re: prall with accidental, Thomas Morley, 2013/01/20
- Re: prall with accidental,
David Kastrup <=
- Re: prall with accidental, Werner LEMBERG, 2013/01/20
- Re: prall with accidental, Jérôme Plût, 2013/01/21
- Re: prall with accidental, David Kastrup, 2013/01/21
- Re: prall with accidental, Werner LEMBERG, 2013/01/20