X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fdrawing-circles-around-various-objects.ly;h=ac97adbee9a2ad3a0c74105a35cc5ca4743bad9d;hb=fb09f28821ce6ce66ec508ddaa8c9320d2813695;hp=80f481494cf575bee2b69df4e3b2499d7a6957f7;hpb=fa4cd867ea93884cc094814dda7c04b94e71ccf4;p=lilypond.git diff --git a/input/lsr/drawing-circles-around-various-objects.ly b/input/lsr/drawing-circles-around-various-objects.ly index 80f481494c..ac97adbee9 100644 --- a/input/lsr/drawing-circles-around-various-objects.ly +++ b/input/lsr/drawing-circles-around-various-objects.ly @@ -1,16 +1,16 @@ -%% Do not edit this file; it is auto-generated from input/new +%% 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.11.57" +\version "2.12.3" + \header { - lsrtags = "tweaks-and-overrides" + lsrtags = "editorial-annotations, tweaks-and-overrides" + texidoc = " -The @code{\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 @code{Score.markFormatter} -context, bar numbers on the @code{Score.BarNumber} context, and so on. +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. -You can tweak the printing of your circles by setting some properties -such as @code{#'thickness}, @code{#'circle-padding} or @code{#'font-size}. " doctitle = "Drawing circles around various objects" } % begin verbatim @@ -21,8 +21,12 @@ such as @code{#'thickness}, @code{#'circle-padding} or @code{#'font-size}. #(lambda (mark context) (make-circle-markup (format-mark-numbers mark context))) \mark \default - c2 d^\markup { \circle \finger 2 } + c2 d^\markup { + \override #'(thickness . 3) { + \circle \finger 2 + } + } \override Score.BarNumber #'break-visibility = #all-visible - \override Score.BarNumber #'stencil = + \override Score.BarNumber #'stencil = #(make-stencil-circler 0.1 0.25 ly:text-interface::print) }