X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Ffret-diagrams.scm;h=cd734b2ecf34616ac1e8aa4983fb78f531f1a031;hb=2674355d2805e41d476265065a626ad80441e78f;hp=acc095a567ec8a602fd7d4cebf1f03e8274825bb;hpb=ca9ecc27bcb2816add10360e56f43501de389366;p=lilypond.git diff --git a/scm/fret-diagrams.scm b/scm/fret-diagrams.scm index acc095a567..cd734b2ecf 100644 --- a/scm/fret-diagrams.scm +++ b/scm/fret-diagrams.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2004--2011 Carl D. Sorensen +;;;; Copyright (C) 2004--2012 Carl D. Sorensen ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -528,10 +528,9 @@ fret-diagram overall parameters." (+ (* size end-string-coordinate) half-thickness))) (x-extent (cons (car box-lower-left) (car box-upper-right))) (y-extent (cons (cdr box-lower-left) (cdr box-upper-right)))) - (ly:make-stencil - (list 'bezier-sandwich - `(quote ,bezier-list) - (* size bezier-thick)) + (make-bezier-sandwich-stencil + bezier-list + (* size bezier-thick) x-extent y-extent))) @@ -1116,13 +1115,13 @@ If there are multiple fret indicators desired on a string, they should be separated by spaces. @item -Fingerings are given by following the fret number with a @code{-}, +Fingerings are given by following the fret number with a @w{@code{-},} followed by the finger indicator, e.g. @samp{3-2} for playing the third fret with the second finger. @item Where a barre indicator is desired, follow the fret (or fingering) symbol -with @code{-(} to start a barre and @code{-)} to end the barre. +with @w{@code{-(}} to start a barre and @w{@code{-)}} to end the barre. @end itemize" ;; TODO -- change syntax to fret\string-finger