Re: Is there a way to circle around tab numbers?
Thomas Morley: > The first code simplifies the one you've found already and works as > you want, but the circle has a variable radius depending on the > stencil. > If you're fine with it, great. Otherwise use the second coding where > the circle has a static radius. This is exactly what I am looking for! :) I will play around with this a little bit, but this looks sufficient enough. Thanks everyone! Devin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is there a way to circle around tab numbers?
2017-09-09 16:41 GMT+02:00 Devin Ulibarri : > Stephen MacNeil: >> you could just change it to tab > > Thanks, this is helpful. > > If possible, I would like some more information about how to tweak the > output. > > * Is it possible to make the space within the circle opaque, but without > hiding the number (just hiding the tab line)? If so, how is this done? > > (I could do this in Inkscape, but would rather automate it if possible) > > Thanks! > Devin How about below? The first code simplifies the one you've found already and works as you want, but the circle has a variable radius depending on the stencil. If you're fine with it, great. Otherwise use the second coding where the circle has a static radius. circle = \once \override TabNoteHead.stencil = #(lambda (grob) (circle-stencil (tab-note-head::print grob) 0.1 0.3)) \new TabStaff { \circle c'' \circle e'' } circleH = \once \override TabNoteHead.stencil = #(lambda (grob) (let ((note (tab-note-head::print grob))) (ly:stencil-add note (ly:stencil-translate-axis ;; 1.5 is the default staff-space in TabStaff, use a little less ;; for the circle-radius (make-circle-stencil 1.3 0.1 #f) (interval-center (ly:stencil-extent note X)) X \new TabStaff { \circleH c'' \circleH e'' } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is there a way to circle around tab numbers?
sorry I don't use tab and am not on lilypond that much because of my work schedule. It shouldn't be that hard .. I suspect you are trying to mimic guitar world notation or the like. If you still have problems let me know and when I have a chance I will look at it. On Sat, Sep 9, 2017 at 10:41 AM, Devin Ulibarri wrote: > Stephen MacNeil: > > you could just change it to tab > > Thanks, this is helpful. > > If possible, I would like some more information about how to tweak the > output. > > * Is it possible to make the space within the circle opaque, but without > hiding the number (just hiding the tab line)? If so, how is this done? > > (I could do this in Inkscape, but would rather automate it if possible) > > Thanks! > Devin > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is there a way to circle around tab numbers?
Stephen MacNeil: > you could just change it to tab Thanks, this is helpful. If possible, I would like some more information about how to tweak the output. * Is it possible to make the space within the circle opaque, but without hiding the number (just hiding the tab line)? If so, how is this done? (I could do this in Inkscape, but would rather automate it if possible) Thanks! Devin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is there a way to circle around tab numbers?
you could just change it to tab circle = \once \override TabNoteHead.stencil = #(lambda (grob) (let* ((note (tab-note-head::print grob)) (combo-stencil (ly:stencil-add note (circle-stencil note 0.1 0.8 (ly:make-stencil (ly:stencil-expr combo-stencil) (ly:stencil-extent note X) (ly:stencil-extent note Y \score { \new TabStaff { \tabFullNotation \circle c' } } HTH Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Is there a way to circle around tab numbers?
Hi all, I see that there is a way to circle around note heads, but I would like to circle around fret numbers. Ultimately, I would like the string line to be hidden from the space within the circle as well to emphasize the number. I want to use this for pedagogical reasons. (If this description needs further explanation, please let me know) I see this code for the note heads: http://lilypond.org/doc/v2.19/Documentation/snippets/editorial-annotations#editorial-annotations-drawing-circles-around-note-heads circle = \once \override NoteHead.stencil = #(lambda (grob) (let* ((note (ly:note-head::print grob)) (combo-stencil (ly:stencil-add note (circle-stencil note 0.1 0.8 (ly:make-stencil (ly:stencil-expr combo-stencil) (ly:stencil-extent note X) (ly:stencil-extent note Y { \circle c'' } I do not really understand this level of lilypond code very well, but I suspect with some tweaks it could do what I need. Is anyone on this list able to help? I would appreciate it. Thanks, Devin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user