lilypond-devel
[Top][All Lists]
Advanced

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

Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045)


From: David Kastrup
Subject: Re: Issue 3918: Add \alternatingTimeSignatures (issue 97110045)
Date: Sat, 17 May 2014 09:17:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> I think David thought of something at the lines of the following function:
>
> appearance =
> #(define-music-function (parser location mrkp item)
>    (markup? symbol-list-or-music?)
>  (let ((stil (lambda (item)
>                (grob-interpret-markup item mrkp))))
>    #{ \tweak stencil #stil #item #}))
>
> \relative c' {
>     \appearance
>       \markup "XY"
>       Staff.Clef
>
>     \appearance
>       \markup
>         \override #'(baseline-skip . 0)
>         \override #'(word-space . 0.2)
>         \line {
>           \center-column { \number 3 \number 4 }
>           \center-column { \number 6 \number 8 }
>         }
>       Score.TimeSignature
>     c1
> }

Yes, this would work, but there should be a markup command for the stuff
behind \markup.  Basically the idea was to give a bit more flexibility
about where to draw the borders for making a nice interface, and also to
make it easier to substitute one's own stencils when the defaults are
not sufficient for one's needs.

-- 
David Kastrup



reply via email to

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