]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/embedding-native-postscript-in-a--markup-block.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / embedding-native-postscript-in-a--markup-block.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "editorial-annotations, really-cool, specific-notation, text"
11
12   texidoc = "
13 PostScript code can be directly inserted inside a @code{\\markup}
14 block.
15
16 "
17   doctitle = "Embedding native PostScript in a \\markup block"
18 } % begin verbatim
19
20 % PostScript is a registered trademark of Adobe Systems Inc.
21
22 \relative c'' {
23   a4-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" }
24   -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " }
25
26   b4-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" }
27   s2
28   a'1
29 }