[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I'm not smart enough to figure out the math for this.
From: |
David Kastrup |
Subject: |
Re: I'm not smart enough to figure out the math for this. |
Date: |
Thu, 10 Mar 2016 00:27:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Simon Albrecht <address@hidden> writes:
> On 08.03.2016 22:06, Michael Rivers wrote:
>> Thanks for the solutions. I'm OK with an error message!
>
> Or you can insert
>
> #(ly:expect-warning "strange")
>
> in your source.
Here is a warning-less version:
\version "2.19.28"
show =
#(define-music-function (mup item) (markup? symbol-list-or-music?)
(propertyTweak 'stencil
(lambda (grob)
(grob-interpret-markup grob mup))
item))
\relative c' \new Staff {
\show \markup \compound-meter #'(4 . 3)
\time 3/4
c4 c c | c c c
}
Maybe we should have \show (possibly with a different name) as a nice
supplement to \omit/\hide.
--
David Kastrup