The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 1−10 of 20 for postscript

PostScript lines [0.35491]

PostScript lines

…add solid, dashed, and dotted lines using embedded Postscript.

…set Staff.instrumentName = "Violin I" e1 | f_\markup { \postscript "0.6 setlinewidth 1 -0.5 moveto -2 … …moveto 0 -10 rlineto stroke" } a1 | b_\markup { \postscript "0.3 setlinewidth 1 setlinecap [0 1.5] … …moveto 0 -11 rlineto stroke" } c1 | d-\markup { \postscript "0.3 setlinewidth 1 setlinecap [0 1] 0 …

PostScript lines

Embedding native PostScript in a \markup block [0.34821]

Embedding native PostScript in a \markup block

PostScript code can be directly inserted inside a \markup …

% PostScript is a registered trademark of Adobe Systems Inc. \… …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 …

Embedding native PostScript in a \markup block

Eyeglasses as markup (postscript) [0.32143]

Eyeglasses as markup (postscript)

…at the conductor), one has to insert self-defined postscript code as a markup.

…di.unimi.it/LSR/Item?id=435 % The postscript code to produce eyeglasses: eyeglassesps = #"0.15 … …#'(0 . 4.4) #'(0 . 2.5) \postscript #eyeglassesps } \relative c'' { c2^\eyeglasses a2_\eyeglasses }

Eyeglasses as markup (postscript)

Color Gradient using Postscript [0.25000]

Color Gradient using Postscript

…function duplicates the path markup, converts it to postscript and uses postscript's rectclip to crop the duplicates, then colors …

Color Gradient using Postscript

Customized accidentals [0.21429]

…have to use the \musicglyph command) Add a \postscript simple design in the markup, using simple commands … …the coordinates are to be entered before each postscript command. Such accidentals can be used to print …

…override Voice.Accidental.text = \markup {\musicglyph "accidentals.sharp" \postscript "gsave 0.17 setlinewidth -1.4 0.5 … …override Voice.Accidental.text = \markup {\musicglyph "accidentals.flat" \postscript "0.17 setlinewidth -2 0.5 moveto -0.…

Customized accidentals

Using PostScript to generate special note head shapes [0.21429]

Using PostScript to generate special note head shapes

…shape cannot easily be generated with graphic markup, PostScript code can be used to generate the shape. …

Using PostScript to generate special note head shapes

Percussion beaters [0.14286]

…as an external EPS file or as embedded PostScript code inside a markup, as demonstrated in this …

…markup { \with-dimensions #'(0 . 5) #'(0 . 5) \postscript " 0 6 translate 0.8 -0.8 scale …

Percussion beaters

French-style C clef [0.14286]

A custom French-style C clef created with postscript.

…macro for the French-style C clef %%%%%%% altoClef = \markup \postscript " gsave newpath 0.004 0.004 scale -180 …

French-style C clef

Metric Modulation with Tuplet [0.14286]

…tuplet. This can be done with markup, using postscript inside. So you can use the sample markup …

tupletToSixteenth = \markup { \hspace #-3.5 \vspace #8 \concat { \postscript "-4 3 rmoveto 0 0.5 rlineto 1.…

Metric Modulation with Tuplet

keyboard diagrams [0.12500]

…base (exact->inexact white-key-base))) ;to send variables to postscript, this has to be inexact ; if the notename … …foot dimension of key #{\markup \column { \concat { \postscript #(string-append ;variables are sent to postscript "/base " (number->string base) " def" "/head " (number->string …

keyboard diagrams

1 2 Next ⇨