]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/printing-bar-numbers-inside-boxes-or-circles.ly
Issue 5131 Avoid possible segfault in stencil-with-color
[lilypond.git] / Documentation / snippets / printing-bar-numbers-inside-boxes-or-circles.ly
index 0faf6a16f5490c58d1e7c448bdba6a9ab0545557..19b7ee80bc9680a66ab3034085a07d6c40830773 100644 (file)
@@ -1,26 +1,14 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.1"
+\version "2.18.0"
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
 
-%% Translation of GIT committish: 5a33019d8b4a837f564eadd4979501ff07e9dfd5
-  texidoces = "
-
-Los números de compás también se pueden imprimir dentro de rectángulos o de circunferencias.
-
-"
-  doctitlees = "Imprimir números de compás dentro de rectángulos o circunferencias"
-
-
-%% Translation of GIT committish: 13ac9d1dfbcc297166948ee396e9ade078d2446e
-  texidocde = "
-Taktnummern können auch in Boxen oder Kreisen gesetzt werden.
-
-"
-  doctitlede = "Setzen von Taktnummern in Boxen oder Kreisen"
-
   texidoc = "
 Bar numbers can also be printed inside boxes or circles.
 
@@ -30,20 +18,19 @@ Bar numbers can also be printed inside boxes or circles.
 
 \relative c' {
   % Prevent bar numbers at the end of a line and permit them elsewhere
-  \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
+  \override Score.BarNumber.break-visibility = #end-of-line-invisible
   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
 
   % Increase the size of the bar number by 2
-  \override Score.BarNumber #'font-size = #2
+  \override Score.BarNumber.font-size = #2
 
   % Draw a box round the following bar number(s)
-  \override Score.BarNumber #'stencil
+  \override Score.BarNumber.stencil
     = #(make-stencil-boxer 0.1 0.25 ly:text-interface::print)
   \repeat unfold 5 { c1 }
 
   % Draw a circle round the following bar number(s)
-  \override Score.BarNumber #'stencil
+  \override Score.BarNumber.stencil
     = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
   \repeat unfold 4 { c1 } \bar "|."
 }
-