lilypond-devel
[Top][All Lists]
Advanced

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

Re: Poor man's punctus divisionis


From: Han-Wen Nienhuys
Subject: Re: Poor man's punctus divisionis
Date: Wed, 31 Aug 2005 22:15:37 +0200
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720)

address@hidden wrote:
this is out of style.  Why can't it simply use the staff-position property?


I'm trying setting the staff-position of a new BarLine symbol, but
without any effect.

in Bar_line::compound_barline I have at the proper place:

  else if (str == ".")
    {
      m = dot;
//       m.translate_axis
//      (robust_scm2double (me->get_property ("staff-position"), 0)
//       * staff_space * 0.5, Y_AXIS);
    }

I've also tried adding staff-position property to BarLine in define-grobs.scm

    (BarLine
     . (
        (break-align-symbol . staff-bar)
        (staff-position . 0)
        (glyph . "|")

without any effect.

What am I missing or doing wrong (OK, everything, but...)?

staff-symbol-referencers need to have the appropriate Y-offset-callback. Check out the definition of NoteHead for an examlpe.

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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