lilypond-user
[Top][All Lists]
Advanced

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

Re: CueDuring and Markup


From: Thomas Morley
Subject: Re: CueDuring and Markup
Date: Sat, 10 Jan 2015 12:17:10 +0100

2015-01-10 4:36 GMT+01:00 Craig Dabelstein <address@hidden>:
> Thanks Thomas. "text-script-event" was the one I was missing.



Hi again,

let me add some basic hints.
If you don't know how something is called in LilyPond, it's often
useful to display it as a first and lookup what you get in the IR.

For example 'markup':

\displayMusic { c'' -"xy" }

returns:

(make-music
  'SequentialMusic
  'elements
  (list (make-music
          'NoteEvent
          'articulations
          (list (make-music
                  'TextScriptEvent
                  'text
                  "xy"))
          'duration
          (ly:make-duration 2)
          'pitch
          (ly:make-pitch 1 0))))

You'll see the 'markup' is called 'TextScriptEvent'

In the IR you'll find at
http://www.lilypond.org/doc/v2.19/Documentation/internals-big-page#text_002dscript_002devent

" 1.1.86 TextScriptEvent
Event classes: music-event, script-event, StreamEvent and text-script-event."

Also, you probably may want to look up
1.2.70 text-script-event
3.1.121 TextScript
2.2.123 Text_engraver

Now you should have enough info to proceed in whatever you aim.
Maybe too much info ;)


HTH,
  Harm



reply via email to

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