As a programmer in other languages, I like to think of arguments being
enclosed in some kind of brackets, like a function f(x,y(z)). That's why
I alway enclose what I'm marking up within {}; what's inside are the
arguments of the markup. Using your explanation then it looks like
Jim Cline writes:
> Hi Aaron, thanks for that. I thought I had tried all permutations of
> the order of specifications but I missed that one. It's hard to guess
> which one is correct.--Jim
It's not a matter of order or permutations. Things like \with-color
#red are not complete without the
> Hi Aaron, thanks for that. I thought I had tried all permutations
> of the order of specifications but I missed that one. It's hard to
> guess which one is correct.
Is it? I don't think so. Just bear in mind whether you have used up
all arguments of a markup command. In your case,
Hi Aaron, thanks for that. I thought I had tried all permutations of the
order of specifications but I missed that one. It's hard to guess which
one is correct.--Jim
What you have effectively done is this:
\markup {
\smaller { \with-color #blue { \hspace #-3 } }
text
}
You could
On 2022-07-30 8:12 pm, Jim Cline wrote:
I am trying to use \hspace to adjust the horizontal position of a text
markup.
\hspace is probably not the best tool. Consider \tweaking the text
script:
bes-\tweak self-alignment-X #RIGHT
^\markup \smaller \with-color #blue text
bes-\tweak
I am trying to use \hspace to adjust the horizontal position of a text
markup. In addition I want the text to be colored and smaller. But the
\hspace directive somehow disables the others, as in this example.
\version "2.20.0"
lower =
\relative c {
\time 3/4
\clef bass