lilypond-user
[Top][All Lists]
Advanced

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

Re: Text above Chord


From: David Kastrup
Subject: Re: Text above Chord
Date: Thu, 06 Mar 2014 11:20:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Lukas Rytz <address@hidden> writes:

> Hello
>
> The example below prints "text" below the chord.
> How can I print the text above the chord?
>
> Thanks!
> Lukas
>
>
> \version "2.18.0"
> <<
>   \new ChordNames \chordmode { c1:7 }
>   c''1^"text"
>>>

I am not saying that this is a good idea.  No, sir.  But if a textscript
from a staff is supposed to move above a chord name, the chord name
needs to be an element of the staff, too.

\version "2.18.0"
\new Staff \with { \accepts ChordNames }
<<
  \new ChordNames \with { \override ChordName.outside-staff-priority = 200
                          \override ChordName.direction = #UP }
  \chordmode { c1:7 }
  c''1^"text"
>>
You'll probably need to play around quite a bit with the
outer-staff-priority of a number of objects (like giving text scripts a
much larger one and increasing that of the chord names until they move
outside of slurs, fingerings, and similar folderol).

And of course, your chord names will not be in one line, but placed at a
height where they will fit.

-- 
David Kastrup

reply via email to

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