Sorry for wasting your time. It works now. I didn't notice in my test
file the command is

    \markup { \timesig #3 #4}

instead of

    \markup { \timesig #3 #4 }

Why is a white space so important?

Wei-Wei


Dmytro O. Redchuk 写道:
2009/4/14 Wei-Wei Guo <wwgu...@gmail.com>:
I tried the following expr with the new command defined by
'define-markup-command'

\markup { \timesig #3 #4 }
\markup { \markup \timesig #3 #4 }

I don't know why.

Try to define markup command as Neil suggested

#(define-markup-command (timesig layout props numerator denominator)
  (number? number?)
  (interpret-markup layout props
[...]

and everything should work as:
c4 -\markup { \timesig #3 #4 }

But this should be not music, but markup function.

ps. If that won't work, send a complete snippet,
    what you defined and what does not work.


Wei-Wei



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to