Taktzahlen abhängig von point&click drucken
Zur Navigation springen
Zur Suche springen
Allgemeines
Scheme Code
initBarNumberVisibility =
#(define-music-function()()
(if (ly:get-option 'point-and-click)
#{
\set barNumberVisibility = #all-bar-numbers-visible
\override BarNumber.break-visibility = #end-of-line-invisible
% The following lines make bar numbers "invisible" to the collision-avoidance engine,
% so that the preview & production scores should have identical spacing.
\override BarNumber.X-extent = #'(0 . 0)
\override BarNumber.Y-extent = #'(0 . 0)
#}
#{
\override BarNumber.stencil = ##f
#})
)
Anwendung
\version "2.20.0"
\language "deutsch"
%mit Frescobaldi strg+shift+p übersetzt ohne Point&Click
initBarNumberVisibility =
#(define-music-function()()
(if (ly:get-option 'point-and-click)
#{
\set barNumberVisibility = #all-bar-numbers-visible
\override BarNumber.break-visibility = #end-of-line-invisible
% The following lines make bar numbers "invisible" to the collision-avoidance engine,
% so that the preview & production scores should have identical spacing.
\override BarNumber.X-extent = #'(0 . 0)
\override BarNumber.Y-extent = #'(0 . 0)
#}
#{
\override BarNumber.stencil = ##f
#})
)
\layout {
\context {
\Score
\initBarNumberVisibility
}
}
\paper {
ragged-bottom = ##t
ragged-last-bottom = ##t
indent = #0
line-width = 110\mm
tagline = ##f
}
\score {
\new Staff \relative c' {
\repeat unfold 5 c1 \break
\repeat unfold 5 c1 \break
\repeat unfold 5 c1
}
}