[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: |
Fri, 18 Jan 2013 11:59:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
> Folks,
>
>
> I want this
>
> c4-\tweak Script.script-priority #-100
> ^\prall
> -\tweak X-offset #0.4
> ^\markup { \fontsize #-5 \sharp }
>
> converted to a macro so that I can say
>
> c4\prallSharp
>
> (actually, I think that this command and its siblings \prallFlat,
> \pralldownSharp, etc. should be added to lilypond because the
> definitions are non-trivial)
>
> The naïve approach
>
> prallSharp = -\tweak Script.script-priority #-100
> ^\prall
> -\tweak X-offset #0.4
> ^\markup { \fontsize #-5 \sharp }
>
> doesn't work, and I wonder whether there exists a solution without a
> lot of Scheme code – and where I should find hints in the manual for
> that...
No solution of that kind, really, as an event-function can only produce
a single post-event. Try creating a single event by messing with the
stencil of some script.
--
David Kastrup
- prall with accidental, Werner LEMBERG, 2013/01/18
- Re: prall with accidental,
David Kastrup <=
- 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, 2013/01/20
- Re: prall with accidental, Werner LEMBERG, 2013/01/20
- Re: prall with accidental, Jérôme Plût, 2013/01/21