]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/drawing-circles-around-various-objects.ly
c0473914a869492b37a1b3e114854ac595e9d814
[lilypond.git] / input / lsr / drawing-circles-around-various-objects.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
4 \version "2.13.1"
5 \header {
6   lsrtags = "tweaks-and-overrides"
7   texidoc = "
8 The @code{\circle} markup command draws circles around various objects,
9 for example fingering indications. For other objects, specific tweaks
10 may be required: this example demonstrates two strategies for rehearsal
11 marks and measure numbers.
12 "
13   doctitle = "Drawing circles around various objects"
14 } % begin verbatim
15
16
17 \relative c' {
18   c1
19   \set Score.markFormatter =
20     #(lambda (mark context)
21              (make-circle-markup (format-mark-numbers mark context)))
22   \mark \default
23   c2 d^\markup {
24     \override #'(thickness . 3) {
25       \circle \finger 2
26     }
27   }
28   \override Score.BarNumber #'break-visibility = #all-visible
29   \override Score.BarNumber #'stencil =
30     #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
31 }