[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Scheme controllable text spanner padding
From: |
dtsmarin |
Subject: |
Scheme controllable text spanner padding |
Date: |
Sat, 16 Jul 2016 11:34:52 -0700 (MST) |
Hello,
How can I create a function such as: \Rpad #2 which will control the padding
of a text spanner?
It's only for reducing my code's size since using the \override blah blah
takes a lot of space if used many times!
To be absolutely clear this will not used for common things that work well
but for a custom spanner that needs tweaking every time I use it so having a
shorter command made sense to me.
Here is a template:
Rpad = #(define-music-function (parser location %??% ) (number?)
#{
..... %%%%
#})
triggered by:
\Rpad #2
I hope this can be achieved relatively easy.
Thanks
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Scheme-controllable-text-spanner-padding-tp192729.html
Sent from the User mailing list archive at Nabble.com.
- Scheme controllable text spanner padding,
dtsmarin <=