Hi Kieren,

It did work for this example, and although it required a little tweaking to
be usable on the project I'm working with, you gave me the lead I needed to
achieve the results. Thank you!

I paste the snippet below for future reference if someone finds this thread
and is dealing with a similar situation:

\version "2.19.53"

\layout {
  \context {
    \Score
    \remove Mark_engraver
    \remove Staff_collecting_engraver
    \override RehearsalMark.self-alignment-X = #LEFT
    \override TextSpanner.to-barline = ##t
  }
  \context {
    \Dynamics
    \consists Mark_engraver
    \consists Staff_collecting_engraver
    \override RehearsalMark.padding = #2
    \override TextSpanner.padding = #2
  }
}

\score { <<
  \new Dynamics {
    \override TextSpanner.bound-details.left.text = \markup { \teeny {
"align with" } }
    s1 \startTextSpan |
    s4 \stopTextSpan \mark "This" s2. |
  }
  \new Staff {
    \relative c' {
      c4 d e f |
      g a'' b, c |
    }
  }
>> }

2017-03-22 13:06 GMT-03:00 Kieren MacMillan <kieren_macmil...@sympatico.ca>:

> Hi Stefano,
>
> What about
>
> \version "2.19.53"
>
> \layout {
>   \context {
>     \Score
>     \override RehearsalMark.self-alignment-X = #LEFT
>     \override TextSpanner.to-barline = ##t
>     \override RehearsalMark.padding = #2
>     \override TextSpanner.staff-padding = #2
>   }
> }
>
> \score {
>   \new Staff {
>     \relative c' {
>       \override TextSpanner.bound-details.left.text = \markup { \teeny {
> "align with" } }
>       c \startTextSpan d e f |
>       g \stopTextSpan \mark "This" a b c |
>     }
>   }
> }
>
> Hope this helps!
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to