Graham Percival wrote:
Is it possible to define a \markup macro that looks like a lilypond command?

This produces the output I want:

\version "2.5.23"
#(def-markup-command (tempoMark layout props str) (markup?)
  (interpret-markup layout props
    (markup #:bold #:large str)))
\relative c'' {
  c4^\markup{ \tempoMark Allegro }
}

I'm wondering if I can alter the syntax so the command is used like this:

\relative c'' {
  c4^\tempoMark{ Allegro }
}

No, it would require new code in parser.yy - but it is an intriguing idea that I'm willing to consider.


--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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

Reply via email to