Jérôme Plût writes:
> Decimo tertio Kalendas Februarias MMXIII scripsit Werner LEMBERG :
>> Yeah, this looks like a good syntax suggestion. Is a Scheme solution
>> possible, or does this need a C++ extension?
>
> It seems that this requires a C++ extension.
> Namely, \key only generates a KeyCha
Decimo tertio Kalendas Februarias MMXIII scripsit Werner LEMBERG :
> Yeah, this looks like a good syntax suggestion. Is a Scheme solution
> possible, or does this need a C++ extension?
It seems that this requires a C++ extension.
Namely, \key only generates a KeyChangeEvent, so Scheme macros cann
> 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.
> There was a thread in the german forum which might be of interest:
> http://www.lilypondforum.de/index.php?topic=721.msg5798#msg5798
>
> To get the atachments you need an account there, though.
Sehr nett! Please add a link (or the code) to the issue.
Werner
Thomas Morley writes:
> 2013/1/19 Werner LEMBERG :
>>
>>> 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"
>>
2013/1/19 Werner LEMBERG :
>
>> 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 #
On Sat, Jan 19, 2013 at 8:21 AM, Werner LEMBERG wrote:
> I plead for adding this and related macros to LilyPond.
I have a bunch of turns defined like this:
turnXS =
#(make-music
'TextScriptEvent
'tweaks '((avoid-slur . inside) (outside-staff-priority . #f))
'direction 1
'text #{ \mar
> 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
I p
Kieren MacMillan writes:
> Hi all,
>
>> Here is my solution.
>
> In general, I prefer to avoid using a markup, and override the stencil of the
> grob instead, i.e.,
>
> prallSharp = {
> \once \override Script #'stencil = #ly:text-interface::print
> \once \override Script #'text = \markup {
>
Hi all,
> Here is my solution.
In general, I prefer to avoid using a markup, and override the stencil of the
grob instead, i.e.,
prallSharp = {
\once \override Script #'stencil = #ly:text-interface::print
\once \override Script #'text = \markup {
\override #'(baseline-skip . 1.2) \cente
>>> 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
>> 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 lo
Werner LEMBERG 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 com
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,
\pralldownSha
14 matches
Mail list logo