lilypond-user
[Top][All Lists]
Advanced

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

RE: How to move markup horizontally


From: Joseph Srednicki
Subject: RE: How to move markup horizontally
Date: Sun, 25 Jun 2017 11:01:00 -0400

Thanks for the help. This works.

-----Original Message-----
From: Kieren MacMillan [mailto:address@hidden 
Sent: Sunday, June 25, 2017 10:56 AM
To: Lilypond-User Mailing List <address@hidden>
Cc: Joseph Srednicki <address@hidden>
Subject: Re: How to move markup horizontally

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





reply via email to

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