Percussion beaters: Difference between revisions
m New category |
m Adjust symbol dimensions to avoid cropping |
||
| 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) { | ||
\postscript " | \postscript " | ||
0 6 translate | 0 6 translate | ||