lilypond-user
[Top][All Lists]
Advanced

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

Re: chordmode markup problem


From: Bernhard Ott
Subject: Re: chordmode markup problem
Date: Thu, 01 Dec 2011 16:58:58 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20110922 Thunderbird/7.0

On 01.12.2011 16:46, David Kastrup wrote:
Bernhard Ott<address@hidden>  writes:

Dear all,
is there really no way to simply add articulations/markups to chords
in \chordmode?

In 2.14.2
\chordmode { c1\pp } works
\chordmode { c1^"II" } doesn't (as mentioned in the docs).

Could scheme do the trick?
super = #(define-event-function (parser location arg) (markup?)
       #{ ^\markup #arg #})

\chordmode { c1\super "II" }

That should work with the current development version.  Depending on how
up-to-date your version of Lilypond is, this might become more complex.

Wow David, you totally broke the record!
Within minutes you solved my problem, thank you so much - works perfectly with 2.15.20 (a good reason to leave the 2.14 branch ;-)).

Bernhard



reply via email to

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