[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ossia-like scordatura positioning question
From: |
Menu Jacques |
Subject: |
Re: Ossia-like scordatura positioning question |
Date: |
Wed, 23 May 2018 07:41:14 +0200 |
Thanks David, I had missed that.
A nice day!
JM
> Le 23 mai 2018 à 00:49, David Kastrup <address@hidden> a écrit :
>
> Menu Jacques <address@hidden> writes:
>
>> Hello folks,
>>
>> This is similar to an ossia, aiming at showing the scordatura graphically.
>>
>> I don’t understand why the \new Staff shows up below the staff
>> containing c’4, and not above it, which would be better I think.
>
> LilyPond has no reason to create new staves _above_ existing staves. It
> would most certainly _not_ be generally better.
>
> You can easily write
>
> \new Staff \with { alignAboveContext = "P_POne_Staff_One" } ...
>
> to change this. It's what you'd do in ossia contexts too.
>
>> \version "2.19"
>>
>> P_POne_Staff_One_Voice_One = \relative {
>>
>> \key c \major
>> \time 4/4
>> \clef "treble"
>>
>> <<
>> \new Staff {
>> \hide Staff.Stem
>> \hide Staff.TimeSignature
>> \tiny
>> <c' g f'>4^\markup {\bold "Scordatura"}
>> }
>> {
>> c'4
>> }
>>>>
>> \bar "|."
>> }
>>
>> \score {
>> <<
>> \new Staff = "P_POne_Staff_One"
>> <<
>> \context Voice = "P_POne_Staff_One_Voice_One" <<
>> \P_POne_Staff_One_Voice_One
>>>>
>>>>
>>>>
>>
>> \layout {}
>> }
>
> --
> David Kastrup
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user