]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/drawing-circles-around-various-objects.ly
LSR: Update.
[lilypond.git] / input / lsr / drawing-circles-around-various-objects.ly
index 82efc69677be325d2d493bede8661aee362f9b14..ac97adbee9a2ad3a0c74105a35cc5ca4743bad9d 100644 (file)
@@ -1,25 +1,32 @@
-%% Do not edit this file; it is auto-generated from LSR!
-%% Tags: other
-\version "2.11.35"
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
 
-\header { texidoc = "
-The \circle command allows you to draw circles around various objects
-(for example fingering indications). However, some objects require
-specific tweaks: rehearsal marks depend on the Score.markFormatter
-context, bar numbers on the Score.BarNumber context, and so on.
+\header {
+  lsrtags = "editorial-annotations, tweaks-and-overrides"
 
-You can tweak the printing of your circles by setting some properties
-such as #'thickness, #'circle-padding or #'font-size.
-" }
-% begin verbatim
-\relative c'{
-c1
-\set Score.markFormatter
-  = #(lambda (mark context)
+  texidoc = "
+The @code{\\circle} markup command draws circles around various
+objects, for example fingering indications.  For other objects,
+specific tweaks may be required: this example demonstrates two
+strategies for rehearsal marks and measure numbers.
+
+"
+  doctitle = "Drawing circles around various objects"
+} % begin verbatim
+
+\relative c' {
+  c1
+  \set Score.markFormatter =
+    #(lambda (mark context)
              (make-circle-markup (format-mark-numbers mark context)))
-\mark \default
-c2 d^\markup{\circle \finger "2"}
-\override Score.BarNumber #'break-visibility = #all-visible
-\override Score.BarNumber  #'stencil
-  = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
+  \mark \default
+  c2 d^\markup {
+    \override #'(thickness . 3) {
+      \circle \finger 2
+    }
+  }
+  \override Score.BarNumber #'break-visibility = #all-visible
+  \override Score.BarNumber #'stencil =
+    #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
 }