lilypond-user
[Top][All Lists]
Advanced

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

Re: Music-function "arguments" - help


From: Urs Liska
Subject: Re: Music-function "arguments" - help
Date: Fri, 7 Dec 2018 11:07:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1


Am 07.12.18 um 10:55 schrieb mansouraoun:
i wrote the code in raw and it's somehow not displayed in my message
Here it is

dynx =
#(define-music-function
      (parser location X-offset)
      (number?)
    #{
      \once\override DynamicText.X-offset = #X-offset
    #})

Mansour

As David said: if you use the development version (currently 2.19.82) you can simplify this by skipping "parser location":

  ...
  #(define-music-function (X-offset)(number?)
  ...

Urs




reply via email to

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