One more question on this snippet - I encountered a place in my score with two 
thumb slides in a row. When that happens, it is nice to have the fingering 
numbers in a line. I figured out how to move the fingering number, but the slur 
did not go with it. 

r8 c'\p-3[ \acciaccatura {
        \override Fingering.font-size = #-5
        df16-2 ef-1\glissando}
        \once \override Fingering.extra-offset = #'(0 . 1.5)
        df8-1]\glissando |
      \revert Fingering.font-size
      c-1 

Would it be possible to add a property to the code so that the slur stays with 
the fingering number when moved?
If not, how would I adjust the slur in this example?

Best,
Rachel




> On Feb 10, 2019, at 11:23 AM, Thomas Morley <thomasmorle...@gmail.com> wrote:
> 
> Am Mi., 6. Feb. 2019 um 22:43 Uhr schrieb Thomas Morley
> <thomasmorle...@gmail.com>:
>> 
>> Am Mi., 6. Feb. 2019 um 06:57 Uhr schrieb Werner LEMBERG <w...@gnu.org>:
>>> 
>>> 
>>>>> Hooray, it works and looks amazing!
>>>> 
>>>> Glad I could help.
>>> 
>>> This small example is really nice, and perhaps it can be added as a
>>> `harp music snippet' to the documentation.
>>> 
>>> 
>>>    Werner
>> 
>> Hi Werner,
>> 
>> currently the code hijacks Glissando. I.e. the default glissando is no
>> longer printable.
>> I don't feel such a workaround should be in the docs.
>> 
>> Though, I'd like to come to a behaviour where "Finger-glissandos" are
>> possible without disturbing default-glissando (between NoteHeads)
>> That would be a nice amendment for our docs, not only for the harp,
>> but for guitar, violin, etc
>> 
>> I'll have to find a way to create glissandos and select properly.
>> 
>> For the creation part I've found that I can add additional glissandos
>> with glissandoMap. See:
>> 
>> val = 0
>> 
>> {
>>  \override Glissando.after-line-breaking =
>>  #(lambda (grob)
>>    (ly:grob-set-property! grob 'extra-offset (cons 0 val))
>>    (set! val (1+ val)))
>> 
>>  \set glissandoMap = #'((0 . 0) (0 . 0))
>>  c'\glissando f'
>> }
>> 
>> Is it safe to rely on it, or is it rather bug-using?
>> 
>> Cheers,
>>  Harm
> 
> I now come up with the attached code.
> 
> It's now possible to preserve the default glissandi. Also,
> "glissando-stubs" are printable.
> 
> Still not sure if it's suitable for our docs.
> Apart from the user-interface, which is still terrible, a new
> context-property is defined and used: fingerSlide (boolean)
> 
> Cheers,
>  Harm
> <glissandi-default-and-finger-various-styles-01.pdf><glissandi-default-and-finger-various-styles-01.ly>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to