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


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to