Please, Sean always tell what version of LilyPond you are using and
please Jonatan, always tell what version of LilyPond the solution
works with.

To avoid confusion, I can tell you both that the function
make-circle-stencil was introduced in version 2.5.19 and is
not available in any stable version (which probably is what
Sean has installed).

   /Mats

Jonatan Liljedahl wrote:
On Sun, 24 Apr 2005 22:23:52 +0200
Sean Reed <[EMAIL PROTECTED]> wrote:


i've not been able to find an articulation symbol to indicate a snap
or "bartok" pizz. (see attached graphic)

have i overlooked something?

is there a markup or workaround for this?


This is how I do it, put this in your .ly file:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#(def-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
    (markup #:stencil
      (ly:stencil-translate-axis
        (ly:stencil-add
          (make-circle-stencil 0.7 0.1 #f)
          (ly:make-stencil
            (list 'draw-line 0.1 0 0.1 0 1)
            '(-0.1 . 0.1) '(0.1 . 1)
          )
        )
        0.7 X
      )
    )
  )
)

bartok = ^\markup \bartokpizz
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

And then just prepend \bartok to the notes that should have bartok
pizzicatto.

/Jonatan    -=( http://kymatica.com )=-


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

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


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

Reply via email to