lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with barre music function


From: Neil Puttock
Subject: Re: Problem with barre music function
Date: Sat, 4 Apr 2009 21:06:37 +0100

2009/4/4 Nick Payne <address@hidden>:

> When I look at the present entry for that in define-grobs.scm (LP 2.12.2), it 
> is:
>
> (meta . ((class . Spanner)
>         (object-callbacks . ((normal-stems . ,ly:beam::calc-normal-stems)))
>         (interfaces . (staff-symbol-referencer-interface
>                        unbreakable-spanner-interface
>                        beam-interface
>                        font-interface))))))
>
> Are you suggesting that I should comment that and replace it with what you 
> have above?

No; that's the `meta' entry for Beam.

Scroll down to the entry for TextSpanner (line 1888) and add
unbreakable-spanner-interface to the `interfaces' list:

(TextSpanner
   . (
      (Y-offset . ,ly:side-position-interface::y-aligned-side)
      (font-shape . italic)
      (style . dashed-line)
      (staff-padding . 0.8)
      (dash-fraction . 0.2)
      (dash-period . 3.0)
      (side-axis . ,Y)
      (direction . ,UP)
      (outside-staff-priority . 350)

      (left-bound-info . ,ly:line-spanner::calc-left-bound-info)
      (right-bound-info . ,ly:line-spanner::calc-right-bound-info)
      (bound-details . ((left . ((Y . 0)
                                 (padding . 0.25)
                                 (attach-dir . ,LEFT)
                                 ))
                        (right . ((Y . 0)
                                  (padding . 0.25)
                                  ))
                        ))
      (stencil . ,ly:line-spanner::print)

      (meta . ((class . Spanner)
               (interfaces . (line-spanner-interface
                              line-interface
                              side-position-interface
                              font-interface
                              unbreakable-spanner-interface))))))

Regards,
Neil




reply via email to

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