lilypond-user
[Top][All Lists]
Advanced

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

Re: Markup macro?


From: Kieren MacMillan
Subject: Re: Markup macro?
Date: Mon, 14 Aug 2006 21:13:41 -0400

Hi, Stewart:

I can do what I want with \markup { \finger "5-4" }, but I'm looking for a
nice neat macro I can use instead of having to add markup every time.

Have you tried \displayMusic?  =)

(make-music
  'SequentialMusic
  'elements
  (list (make-music
          'RelativeOctaveMusic
          'element
          (make-music
            'SequentialMusic
            'elements
            (list (make-music
                    'EventChord
                    'elements
                    (list (make-music
                            'NoteEvent
                            'duration
                            (ly:make-duration 0 0 1 1)
                            'pitch
                            (ly:make-pitch 0 0 0))
                          (make-music
                            'TextScriptEvent
                            'direction
                            1
                            'text
                            (markup #:line (#:finger "5-4"))))))))))

Good luck!
Kieren.




reply via email to

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