Related context properties were renamed from @code{xxxOctavationyyy}
to @code{xxxTranspositionyyy}.
-@item
-Horizontal space is allowed for tempo and rehearsal marks,
-so that these marks do not overlap each other.
-A new command @code{\markLengthOff} turns this feature off.
-@lilypond[quote,relative=0]
-\compressFullBarRests
-\tempo "Molto vivace" c''2 c'
-\mark\default
-\tempo "Meno mosso" R1*16
-@end lilypond
-
@item
There is a new @code{\absolute} command explicitly marking music
as being entered in absolute pitch. While this has been the
@code{\textLengthOff}. Alternatively, @code{\once} may be used
with @code{\textLengthOn} if the effect is to be limited to just a
single musical moment.
-The corresponding spacing behavior for rehearsal marks and tempo
-indications is independently controlled with the commands
-@code{\markLengthOn} and @code{\markLengthOff}.
@cindex markup text, allowing collisions
d4 g e c
@end lilypond
-@funindex \markLengthOn
-@funindex markLengthOn
-@funindex \markLengthOff
-@funindex markLengthOff
-
-When tempo indications follow each other closely in the music,
-such as in a part for an instrument with long periods of rests,
-the measures are stretched horizontally so that the tempo indications
-do not overlap. The commands @code{\markLengthOn} and
-@code{\markLengthOff} control this behavior.
-
-@lilypond[quote,relative=0]
-\compressFullBarRests
-\tempo "Molto vivace"
-R1*12
-\tempo "Meno mosso"
-R1*16
-@end lilypond
@snippets
c c
@end lilypond
-@funindex \markLengthOn
-@funindex markLengthOn
-@funindex \markLengthOff
-@funindex markLengthOff
-
-@predefined
-@code{\markLengthOn},
-@code{\markLengthOff}.
-@endpredefined
@snippets
\layout { ragged-right = ##t }
-\version "2.17.17"
+\version "2.16.0"
\relative c'' {
- \tempo \breve = 100 c1 c1 \tempo "Allegro" 8.. = 50 c1 \tempo "Adagio" c2 c'
+ \tempo \breve = 100 c1 c1 \tempo 8.. = 50 c1
}
localKeySignature = #'()
createSpacing = ##t
ignoreFiguredBassRest = ##f
- \markLengthOff
%% explicitly set instrument, so we don't get
%% weird effects when doing instrument names for
\override BarLine.bar-extent = #'(-2 . 2)
\override VoltaBracket.staff-padding = #3
\override StaffSymbol.line-count = #1
- \markLengthOff
\override Stem.neutral-direction = #UP
\override Beam.neutral-direction = #UP
%%
figuredBassFormatter = #format-bass-figure
metronomeMarkFormatter = #format-metronome-markup
- \markLengthOn
%% See also make-voice-props-set
\override TextScript.extra-spacing-height = #'(0 . 0)
}
-markLengthOn = {
- \override Score.MetronomeMark.extra-spacing-width = #'(-0.5 . 0.5)
- \override Score.RehearsalMark.extra-spacing-width = #'(-0.5 . 0.5)
-}
-
-markLengthOff = {
- \override Score.MetronomeMark.extra-spacing-width = #'(+inf.0 . -inf.0)
- \override Score.RehearsalMark.extra-spacing-width = #'(+inf.0 . -inf.0)
-}
%% text spanners
(after-line-breaking . ,ly:side-position-interface::move-to-extremal-staff)
(break-visibility . ,end-of-line-invisible)
(direction . ,UP)
+ (extra-spacing-width . (+inf.0 . -inf.0))
(outside-staff-horizontal-padding . 0.12)
(outside-staff-priority . 1000)
- (outside-staff-padding . 0.5)
+ (padding . 0.8)
(side-axis . ,Y)
(skyline-horizontal-padding . 0.2)
(stencil . ,ly:text-interface::print)
(vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
- (Y-offset . ,(ly:make-unpure-pure-container
- side-position-interface::y-aligned-side
- outside-staff::pure-Y-offset))
+ (Y-offset . ,side-position-interface::y-aligned-side)
(X-offset . ,(ly:make-simple-closure
`(,+
,(ly:make-simple-closure
(break-align-symbols . (staff-bar key-signature clef))
(break-visibility . ,end-of-line-invisible)
(direction . ,UP)
+ (extra-spacing-width . (+inf.0 . -inf.0))
(font-size . 2)
(non-musical . #t)
(outside-staff-horizontal-padding . 0.12)
(outside-staff-priority . 1500)
- (outside-staff-padding . 0.5)
+ (padding . 0.8)
(self-alignment-X . ,CENTER)
(stencil . ,ly:text-interface::print)
(vertical-skylines . ,grob::always-vertical-skylines-from-stencil)
(list ly:break-alignable-interface::self-align-callback))
,(ly:make-simple-closure
(list ly:self-alignment-interface::x-aligned-on-self)))))
- (Y-offset . ,(ly:make-unpure-pure-container
- side-position-interface::y-aligned-side
- outside-staff::pure-Y-offset))
+ (Y-offset . ,side-position-interface::y-aligned-side)
(Y-extent . ,grob::always-Y-extent-from-stencil)
(meta . ((class . Item)
(interfaces . (break-alignable-interface
the previous calculated offset value."
prev-offset)
-(define-public (outside-staff::pure-Y-offset grob start end)
- "Initial vertical placement of items such as tempo and
- rehearsal marks, for use in note-spacing."
- (* (+ (ly:staff-symbol-staff-radius grob)
- (ly:grob-property grob 'outside-staff-padding 0.0)
- 1.0)
- (ly:grob-property grob 'direction CENTER)))
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;