Percussion beaters: Difference between revisions

m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
m Adjust symbol dimensions to avoid cropping
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Graphic symbols for percussion instruments are not natively supported; however it is possible to include such symbols, either as an external EPS file or as embedded PostScript code inside a markup, as demonstrated in this example.
Graphic symbols for percussion instruments are not natively supported; however it is possible to include such symbols, either as an external EPS file or as embedded PostScript code inside a markup, as demonstrated in this example.
For technical reasons it is not possible to correctly display this snippet in the Wiki (it uses the SVG backend of LilyPond, which doesn't support PostScript).


<lilypond version="2.24">
<lilypond version="2.24">
stick = \markup {
stick = \markup \with-dimensions #'(0.80 . 5.2) #'(0.85 . 5.2) {
  \with-dimensions #'(0 . 5) #'(0 . 5)
   \postscript "
   \postscript "
     0 6 translate
     0 6 translate
Line 150: Line 151:
[[Category:Percussion]]
[[Category:Percussion]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]