David Kastrup <[email protected]> writes:

> It's a bit more complex than that.  For outside-staff-priority to make
> any difference, you need to be in the same Staff (or rather vertical
> axis group).
>
> \version "2.18.2"
>
> \score {
>   \new Staff \with { \accepts "ChordNames" }
>   <<
>     \new ChordNames \with { \remove "Axis_group_engraver"
>                         } { c1 g }
>     {
>       \tempo 4=100
>       \override Staff.ChordName.outside-staff-priority = #20
>       \override Staff.ChordName.direction = #UP
>       g'4 g' d' g' 
>       c''^\markup "text"  b' g' g' 
>     }
>   >>
> }

Probably cleaner as
\version "2.18.2"

\score {
  \new Staff \with { \accepts "ChordNames"
		     \override ChordName.outside-staff-priority = #20
		     \override ChordName.direction = #UP
		   }
  <<
    \new ChordNames \with { \remove "Axis_group_engraver"
			  } { c1 g }
    {
      \tempo 4=100
      g'4 g' d' g' 
      c''^\markup "text"  b' g' g' 
    }
  >>
}
Also note that you likely would need to play around with padding values
and stuff to make for a good impression since the ChordNames context
cannot be expected to provide the best values for outer-staff material
integration.

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to