Embedding native PostScript in a \markup block: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 1: | Line 1: | ||
PostScript code can be directly inserted inside a <code>\markup</code> block. | PostScript code can be directly inserted inside a <code>\markup</code> block. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
% PostScript is a registered trademark of Adobe Systems Inc. | % PostScript is a registered trademark of Adobe Systems Inc. | ||
Revision as of 18:49, 16 November 2025
PostScript code can be directly inserted inside a \markup block.
\version "2.24"
% PostScript is a registered trademark of Adobe Systems Inc.
\relative c'' {
a4-\markup { \postscript "3 4 moveto 5 3 rlineto stroke" }
-\markup { \postscript "[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " }
b4-\markup { \postscript "3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" }
s2
a'1
}