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