[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to move markup horizontally
From: |
Kieren MacMillan |
Subject: |
Re: How to move markup horizontally |
Date: |
Sun, 25 Jun 2017 10:56:24 -0400 |
Hi Joe,
> I am trying to move markup horizontally. See the following example:
>
> \version "2.19.58" {
> \relative c' {d4_\markup{\pad-x #7.0 {\line{R.\dynamic{p}}}} d d d}
> }
Here are two possible solutions:
%%% SNIPPET BEGINS
\version "2.19.58"
\markup \bold "This keeps the 'R.' and dynamic fixed together:"
\relative c' {
d4 -\tweak self-alignment-X #0.375 _\markup \concat { \lower #0.25 R.
\hspace #1.5 \dynamic p } d d d
}
\markup \bold "This places the 'R.' separately from the dynamic:"
\relative c' {
d4\p -\tweak self-alignment-X #2.375 -\tweak Y-offset #-5 _\markup "R." d d
d
}
%%% SNIPPET ENDS
I think I prefer the second, since "p" is a dynamic, and "R." is [ultimately] a
performance instruction. But I think either of these solutions are superior to
(e.g.) using extra-offset.
Hope this helps!
Kieren.
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden