Op zo, 24-04-2005 te 23:48 -0300, schreef Jonatan Liljedahl:
> > 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
>       )
>     )
>   )

this  is rather involved. You could also do

#(def-markup-command (bartokpizz layout props) ()
  (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)
          )))

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED]
LilyPond Software Design - http://www.lilypond-design.com



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

Reply via email to