bug-lilypond
[Top][All Lists]
Advanced

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

Re: How to adjust space between ChordNames and Staff?


From: Trevor Daniels
Subject: Re: How to adjust space between ChordNames and Staff?
Date: Sat, 14 Jan 2017 19:12:44 -0000

Thomas Morley wrote Friday, January 13, 2017 9:05 PM


> 2017-01-13 17:05 GMT+01:00 Trevor Daniels <address@hidden>:
>>
>> Risto Vääräniemi wrote Friday, January 13, 2017 3:15 PM
>>
>>> On 13 January 2017 at 01:20, Trevor Daniels <address@hidden> wrote:
>>>
>>>> Interesting.  Does that mean the ChordNames and Lyrics contexts behave
>>>> differently wrt the vertical spacing controls when these are placed within 
>>>> a
>>>> \with { } block, since Lyrics can be spaced out that way?
>>>>
>>>> If so, is this intended for some reason ... or a bug?
>>>
>>> Thanks Harm. That did the trick. However, I concur with Trevor about the
>>> confusing difference compared to Lyrics. I assumed that they'd work the
>>> same way so I did not occur to me to try the \layout block. If it /is/ an
>>> intended behaviour, there should probably be a note that the settings
>>> won't work with \with { }.
>>
>> Exactly, but I think we need to understand exactly what the problem is before
>> we can decide (a) whether this _is_ a bug and if so (b) whether it is a 
>> coding or
>> a documentation problem.
>>
>> Copying to bug list so this doesn't get forgotten.
>
> No bug.
> It's \chords vs \chordmode.
>
> \chords (as a shortcut) already created a ChordNames-context, see:
>
> chordStuff = \chords { c1 d:m }
> \void \displayLilyMusic \chordStuff
>
> So if you really want to use \chords you need to put overrides, etc
> into \layout or use
> \chords \with { ... }
> at least with newer devel-versions.
>
> If you use \chordmode you can do
> \new ChordNames \with { ... } \chordmode

Excellent explanation!  Many thanks!

So no bug, but we should add a paragraph somewhere in the NR to make this
clear.  I'll start on that in a day or two.

Trevor

reply via email to

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