]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/other/drawing-circles-around-various-objects.ly
Clean up input/new, second step
[lilypond.git] / input / lsr / other / drawing-circles-around-various-objects.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.11.23"
3
4 \header { texidoc = "
5 The \circle command allows you to draw circles around various objects
6 (for example fingering indications). However, some objects require
7 specific tweaks: rehearsal marks depend on the Score.markFormatter
8 context, bar numbers on the Score.BarNumber context, and so on.
9
10 You can tweak the printing of your circles by setting some properties
11 such as #'thickness, #'circle-padding or #'font-size.
12 " }
13
14 \relative c'{
15 c1
16 \set Score.markFormatter
17   = #(lambda (mark context)
18              (make-circle-markup (format-mark-numbers mark context)))
19 \mark \default
20 c2 d^\markup{\circle \finger "2"}
21 \override Score.BarNumber #'break-visibility = #all-visible
22 \override Score.BarNumber  #'stencil
23   = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
24 }