[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: markup above chordnames
From: |
David Kastrup |
Subject: |
Re: markup above chordnames |
Date: |
Sun, 29 Jul 2018 12:40:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
David Kastrup <address@hidden> 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