Re: 'Bartok'-pizz.

2007-07-24 Thread Wilbert Berendsen
Op dinsdag 24 juli 2007, schreef Siska Ádám:
 'Bartok'-pizzicato

You could do something like:

#(define-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

{
c4^\bartok
}

I found this on: 
http://www.mail-archive.com/lilypond-user%40gnu.org/msg14529.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


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


Re: 'Bartok'-pizz.

2007-07-24 Thread Siska Ádám

Thank you, this works quite nice, and sorry for the duplicated question


Bye,
Adam


Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


Wilbert Berendsen wrote:

Op dinsdag 24 juli 2007, schreef Siska Ádám:
  

'Bartok'-pizzicato



You could do something like:

#(define-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

{
c4^\bartok
}

I found this on: 
http://www.mail-archive.com/lilypond-user%40gnu.org/msg14529.html


Met vriendelijke groet,
Wilbert Berendsen

  



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