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