lilypond-user
[Top][All Lists]
Advanced

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

Re: Title Position Off


From: Lukas-Fabian Moser
Subject: Re: Title Position Off
Date: Tue, 22 Jan 2019 11:28:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Am 22.01.19 um 02:13 schrieb Aaron Hill:
I forgot \with-dimensions-from was a thing:

%%%%
#(define-markup-command (faux-raise layout props amount arg) (number? markup?)
  (interpret-markup layout props
    (markup #:with-dimensions-from arg (#:raise amount arg))))
%%%%

Now that's immensely useful! Of course not for everyday use, but sometimes you want to tell Lilypond: Trust me, I know what I'm doing, trust translate it a bit with respect to the position you'd normally use. (Similar to the extra-offset property for grobs).

So, one might add:

#(define-markup-command (extra-offset layout props amounts arg) (number-pair? markup?)
   (interpret-markup layout props
     (markup #:with-dimensions-from arg (#:translate amounts arg))))

Best
Lukas




reply via email to

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