David Kastrup <[email protected]> writes:

> David Kastrup <[email protected]> writes:
>
>> 田村淳 <[email protected]> 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