X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fnew%2Fdrawing-circles-around-various-objects.ly;h=8b8a09ee2d69abae460acf9c1eea7d6940b8ae1d;hb=37ca1f80bf5401accd17056938f4f7b2c147ddb2;hp=07b9033b3869f67ea354bc203e5b109058ef9a96;hpb=e5751bd57f29c80d7c1ce3a323d6e5a3925cebcb;p=lilypond.git diff --git a/input/new/drawing-circles-around-various-objects.ly b/input/new/drawing-circles-around-various-objects.ly index 07b9033b38..8b8a09ee2d 100644 --- a/input/new/drawing-circles-around-various-objects.ly +++ b/input/new/drawing-circles-around-various-objects.ly @@ -1,7 +1,5 @@ \version "2.11.23" -\layout { ragged-right= ##t } \header { - doctitle = "Drawing circles around various objects" lsrtags = "tweaks-and-overrides" texidoc = " The @code{\circle} command allows you to draw circles around various objects, @@ -11,16 +9,18 @@ context, bar numbers on the @code{Score.BarNumber} context, and so on. 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" +} -\relative c'{ -c1 -\set Score.markFormatter - = #(lambda (mark context) +\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 { \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) }