2017-02-13 10:18 GMT+01:00 Urs Liska <u...@openlilylib.org>:
> Hi all,
>
> I'm creating a stencil (Slur) for compound slurs. WIthin that function
> (define-event-function) I'd like to access a property from a certain
> grob and don't know how to do that.
>
> I need to determine the thickness of a line through the grob property
> 'thickness. But a slur's thickness (which I can retrieve) is taken as a
> factor of Staff.StaffSymbol.thickness. So in order to match the line
> thickness with that of regular slurs I need to access that StaffSymbol's
> property.
>
> How can I access a grob property if I don't have the actual grob
> available (i.e. the reverse of \override)?
>
> TIA
> Urs


Hi Urs,

I don't understand the problem entirely. But from IR
"
Function: ly:staff-symbol-line-thickness grob

Returns the current staff-line thickness in the staff associated with
grob, expressed as a multiple of the current staff-space height.
"

Does it already help?

Cheers,
  Harm

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

Reply via email to