lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Triplet notes with brackets and numbers within a footnote


From: David Kastrup
Subject: Re: Triplet notes with brackets and numbers within a footnote
Date: Fri, 05 Mar 2021 15:29:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

David Kastrup <dak@gnu.org> writes:

> David Kastrup <dak@gnu.org> writes:
>
>> 田村淳 <j.tamura@me.com> writes:
>>
>>> Hello,
>>>
>>> Is there any easy way to have something like below? I mean in-line
>>> triplet notes with brackets and numbers within a footnote. I think
>>> that I saw something like that in LSR before but I cannot find it.
>>
>> Something like this?
>>
>> rhythm = \markup \score {
>>   \new RhythmicStaff \with { \override StaffSymbol.line-count = #0
>>                           \remove "Time_signature_engraver"
>>                           \remove "Clef_engraver"
>>                         }
>>   {
>>     \tuplet 3/2 4 { d''4\rest 8 4 8 }
>>   }
>>   \layout { indent = 0
>>          first-indent = 0
>>          #(layout-set-staff-size 12)
>>        }
>> }
>>   
>>
>>
>> \markup { Als Triolen ( \rhythm ) auszuführen. }
>
> Oops, forget about the first-indent = 0 line, that was just some remnant
> of trying to get things to work and has no effect.

By the way, parser-wise it should now be possible to write a markup
function that would take arguments and make reasonably formatted and
sized things possible such as

\rhythm { \tuplet 3/2 4 { r4 8 4 8 } }

in markup (putting proper vertical position on both rests and notes),
also providing a reasonable course to do the typical swing metric specs
in \tempo .  Unifying this into one markup function would have the
advantage to focus further efforts on improving formatting to a single
place.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]