]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/drawing-circles-around-various-objects.ly
Merge branch 'stable'
[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 \version "2.12.0"
4 \header {
5   lsrtags = "tweaks-and-overrides"
6   texidoc = "
7 The @code{\circle} markup command draws circles around various objects,
8 for example fingering indications. For other objects, specific tweaks
9 may be required: this example demonstrates two strategies for rehearsal
10 marks and measure numbers.
11 "
12   doctitle = "Drawing circles around various objects"
13 } % begin verbatim
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 {
23     \override #'(thickness . 3) {
24       \circle \finger 2
25     }
26   }
27   \override Score.BarNumber #'break-visibility = #all-visible
28   \override Score.BarNumber #'stencil =
29     #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
30 }