Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Pavel Fric
@node Základní pojmy
\\ % Voice four
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>> |
\\ % Voice four
{ \voiceThreeStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>>
@}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@c TODO Avoid padtext - not needed with skylining
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp=_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = $padding
+ \once \override TextScript.padding = $padding
#})
\relative c''' {
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Ladění výstupu
@chapter Ladění výstupu
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\once \override NoteHead #'color = #red
+\once \override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
Beachten Sie, dass die Syntax des @code{\tweak}-Befehls sich
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex direction-Eigenschaft, Beispiel
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
Befehl auch funktioniert. Also:
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
Vergessen Sie nicht das Rautenzeichen und Apostroph
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
\key es \major
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% Revert thickness of all following slurs to default of 1.2
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
kursiv gesetzt wird, lautet:
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
werden. Der Befehl muss also lauten:
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{Innerhalb von Gesangstext muss immer ein
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8
g,8 a16 b8 c d4 e16
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% Don't print clefs in this staff
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% Don't print time signatures in this staff
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
mit einem eigenen Befehl, etwa:
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
@noindent
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% Reduce all font sizes by ~24%
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% Reduce stem length and line spacing to match
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,verbatim,relative=2]
a4 g c a
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5
@end lilypond
er ist @code{-5}, versuchen wir es also mit @code{-7}.
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
% Place following Ottava Bracket below Text Spanners
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% Start Ottava Bracket
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Text1"
c2^"Text2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Text3"
c2^"Text4" |
@end lilypond
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Long Text " c'' |
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % and turn on textLengthOn
c,,2^"Long Text " % Spaces at end are honored
c''2 |
Dynamik-Zeichen erledigt:
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 staff space
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
% This will not work, see below
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4 = 120
c1 |
% This works
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4 = 80
d1 |
@end lilypond
\relative c'' {
c4
% This prints a sesquisharp but the spacing is too small
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% This improves the spacing
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 unit
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% Align dynamics to a base line 2 units above staff
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
< a\2 >
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
< a\2 >
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{
\clef "bass"
<<
- \override Beam #'positions = #'(3 . 3)
+ \override Beam.positions = #'(3 . 3)
{ b,8 ais, b, g, }
\\
{ e, g e, g }
\\
{
\voiceFour
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column so the merge will work
\shiftOnn
c2
% Stem on the d2 must be down to permit merging
\stemDown
% Stem on the d2 should be invisible
- \once \override Stem #'transparent = ##t
- \once \override Flag #'transparent = ##t
+ \once \override Stem.transparent = ##t
+ \once \override Flag.transparent = ##t
d2
}
\new Voice {
den Bindebogen (@code{tie}) 3,5 halbe Notenlinienabstände
über die Mittellinie:
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
Damit ist auch der zweite Takt vollständig:
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column so the merge will work
\shiftOnn
c2
% Stem on the d2 must be down to permit merging
\stemDown
% Stem on the d2 should be invisible
- \once \override Stem #'transparent = ##t
- \once \override Flag #'transparent = ##t
+ \once \override Stem.transparent = ##t
+ \once \override Flag.transparent = ##t
d2
}
\new Voice {
@lilypond[quote,fragment,relative=2,verbatim]
<<
{
- \once \override Stem #'transparent = ##t
- \once \override Flag #'transparent = ##t
+ \once \override Stem.transparent = ##t
+ \once \override Flag.transparent = ##t
b8~ b\noBeam
}
\\
@lilypond[quote,fragment,relative=2,verbatim]
<<
{
- \once \override Stem #'transparent = ##t
- \once \override Flag #'transparent = ##t
- \once \override Stem #'length = #8
+ \once \override Stem.transparent = ##t
+ \once \override Flag.transparent = ##t
+ \once \override Stem.length = #8
b8~ b\noBeam
}
\\
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata
@code{\override} und @code{\revert} zu konstruieren.
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
Das wäre natürlich noch viel mühsamer, wenn viele Wörter eine
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\Score
% Um sicher zu gehen, dass Texte und Liedtext
% innerhalb der Papierränder bleiben
- \override PaperColumn #'keep-inside-line = ##t
- \override NonMusicalPaperColumn #'keep-inside-line = ##t
+ \override PaperColumn.keep-inside-line = ##t
+ \override NonMusicalPaperColumn.keep-inside-line = ##t
@}
@}
@}
\relative c' {
% Arrange to obtain color from color-notehead procedure
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Pavel Fric
Notenköpfe immernoch schwarz im unteren System erscheinen.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
zu Beginn hinzufügt:
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
Zu Einzelheiten siehe @qq{Abstand von Nicht-Notensystemzeilen} in
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.0
- \override NoteSpacing #'same-direction-correction = #0.0
- \override StaffSpacing #'stem-spacing-correction = #0.0
+ \override NoteSpacing.stem-spacing-correction = #0.0
+ \override NoteSpacing.same-direction-correction = #0.0
+ \override StaffSpacing.stem-spacing-correction = #0.0
}
}
}
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.6
+ \override NoteSpacing.stem-spacing-correction = #0.6
}
}
}
<<
\new Staff \with {
fontSize = #-4
- \override StaffSymbol #'staff-space = #(magstep -4)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -4)
+ \override StaffSymbol.thickness = #(magstep -3)
}
\relative c' {
\global
\clef "bass"
<<
{
- \once \override DynamicText #'X-offset = #-3
+ \once \override DynamicText.X-offset = #-3
<ees g c>2.~->^\f
<ees g c>4.~ <ees g c>8
} \\ {
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[( f] g[ a b d,)] r4
e8[( f] g[ a b d,)] r4
}
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
}
@end lilypond
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
}
@end lilypond
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
die untere und obere Stimme zeitweise ausgetauscht werden:
@lilypond
-collide = \once \override NoteColumn #'force-hshift = #0
+collide = \once \override NoteColumn.force-hshift = #0
\score {
<<
\change Staff = "LH" \oneVoice
\stemUp g,( c}
r4
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #12
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #12
<fis, b>) r\fermata
}
>>
\score {
\relative c' {
\stemDown <e g b>4_>-\arpeggio
- \override Arpeggio #'direction = #RIGHT
+ \override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
\layout {
\context {
\Score
- \override SpacingSpanner #'spacing-increment = #3
- \override TimeSignature #'transparent = ##t
+ \override SpacingSpanner.spacing-increment = #3
+ \override TimeSignature.transparent = ##t
}
}
}
<<
\new Staff \fragment
\new Staff \with {
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #0.5
- \override Bar #'thickness = #3.6
- \override Tie #'thickness = #2.2
- \override StaffSymbol #'thickness = #3.0
- \override Tie #'extra-offset = #'(0 . 0.3)
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #0.5
+ \override Bar.thickness = #3.6
+ \override Tie.thickness = #2.2
+ \override StaffSymbol.thickness = #3.0
+ \override Tie.extra-offset = #'(0 . 0.3)
}
\fragment
>>
\set autoBeaming = ##f
\time 2/4
<d f g>4
- \once \override NoteHead #'stencil = #note-head::brew-ez-stencil
- \once \override NoteHead #'font-size = #-7
- \once \override NoteHead #'font-family = #'sans
- \once \override NoteHead #'font-series = #'bold
+ \once \override NoteHead.stencil = #note-head::brew-ez-stencil
+ \once \override NoteHead.font-size = #-7
+ \once \override NoteHead.font-family = #'sans
+ \once \override NoteHead.font-series = #'bold
<d f g>4
- \once \override NoteHead #'style = #'cross
+ \once \override NoteHead.style = #'cross
<d f g>4
\applyOutput #'Voice #mc-squared
<d f g>4
\time 4/8
\key c \minor
<< {
- \revert Stem #'direction
+ \revert Stem.direction
\change Staff = down
\set subdivideBeams = ##t
g16.[
\clef bass
\key c \minor
\set subdivideBeams = ##f
- \override Stem #'french-beaming = ##t
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #4.0
+ \override Stem.french-beaming = ##t
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #4.0
g'16[ b16 fis16 g16]
<< \makeClusters {
as16 <as b>
<g b>
<g cis>
} \\ {
- \override Staff.Arpeggio #'arpeggio-direction =#down
+ \override Staff.Arpeggio.arpeggio-direction =#down
<cis, e, gis, b, cis>4\arpeggio
}
>> }
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
(parser location beg-end)
(pair?)
#@{
- \once \override Beam #'positions = #beg-end
+ \once \override Beam.positions = #beg-end
#@})
\relative c' @{
(parser location beg end)
(number? number?)
#{
- \once \override Beam #'positions = #(cons beg end)
+ \once \override Beam.positions = #(cons beg end)
#})
\relative c' {
(parser location mag)
(number?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#})
AltOff = {
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
}
\relative c' {
(parser location mag music)
(number? ly:music?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#music
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
#})
\relative c' {
(parser location)
()
(if (eq? #t (ly:get-option 'display-bar-numbers))
- #@{ \once \override Score.BarNumber #'break-visibility = ##f #@}
+ #@{ \once \override Score.BarNumber.break-visibility = ##f #@}
#@{#@}))
@end example
usw.) können mit @code{\override} auf feste Werte gesetzt werden, etwa:
@example
-\override Stem #'thickness = #2.0
+\override Stem.thickness = #2.0
@end example
Eigenschaften können auch auf eine Scheme-Prozedur gesetzt werden:
@lilypond[fragment,verbatim,quote,relative=2]
-\override Stem #'thickness = #(lambda (grob)
+\override Stem.thickness = #(lambda (grob)
(if (= UP (ly:grob-property grob 'direction))
2.0
7.0))
TODO: das Beispiel für diesen Abschnitt ist nicht gut gewähtl:
@example
-F = -\tweak #'font-size #-3 -\flageolet
+F = -\tweak font-size #-3 -\flageolet
@end example
(beachte @samp{-}, was ein Nachereignis anzeigt) funktioniert
für den geschilderten Zweck sehr gut. Aber bis der Abschnitt
ergibt einen Syntaxfehler:
@example
-F = \tweak #'font-size #-3 -\flageolet
+F = \tweak font-size #-3 -\flageolet
\relative c'' @{
c4^\F c4_\F
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
\relative c'' {
- \override Tie #'after-line-breaking =
+ \override Tie.after-line-breaking =
#my-callback
c1 ~ \break c2 ~ c
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Scheme-Übung
@chapter Scheme-Übung
LilyPond-Syntax hierfür ist:
@example
-\override Stem #'thickness = #2.6
+\override Stem.thickness = #2.6
@end example
Diese Anweisung verändert die Erscheinung der Notenhälse. Der Alist-Eintrag
Y-Koordinate.
@example
-\override TextScript #'extra-offset = #'(1 . 2)
+\override TextScript.extra-offset = #'(1 . 2)
@end example
Hierdurch wird das Paar @code{(1 . 2)} mit der Eigenschaft @code{extra-offset}
Wir haben gesehen wie LilyPond-Eingabe massiv beeinflusst
werden kann, indem Befehle wie etwa
-@code{\override TextScript #'extra-offset = ( 1 . -1)}
+@code{\override TextScript.extra-offset = ( 1 . -1)}
benutzt werden. Aber es wurde gezeigt, dass Scheme noch
mächtiger ist. Eine bessere Erklärung findet sich in der@ref{Scheme-Übung} und in
@ruser{Schnittstellen für Programmierer}.
@lilypond[quote,verbatim,ragged-right]
padText = #(define-music-function (parser location padding) (number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
tempoPadded = #(define-music-function (parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala, Reinhold Kainhofer
@node Grundbegriffe
\\ % Voice two
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No voice three
\\ % Voice four
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
\\ % Voice two
{ \voiceTwoStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No Voice three (we want stems down)
\\ % Voice four
{ \voiceThreeStyle
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
@}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@c TODO Avoid padtext - not needed with skylining
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp=_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
Beachten Sie, dass die Syntax des @code{\tweak}-Befehls sich
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex direction-Eigenschaft, Beispiel
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
Befehl auch funktioniert. Also:
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
Vergessen Sie nicht das Rautenzeichen und Apostroph
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
\key es \major
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% Revert thickness of all following slurs to default of 1.2
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
kursiv gesetzt wird, lautet:
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
werden. Der Befehl muss also lauten:
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{Innerhalb von Gesangstext muss immer ein
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8
g,8 a16 b8 c d4 e16
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% Don't print clefs in this staff
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% Don't print time signatures in this staff
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
mit einem eigenen Befehl, etwa:
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
@noindent
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% Reduce all font sizes by ~24%
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% Reduce stem length and line spacing to match
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,verbatim,relative=2]
a4 g c a
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5
@end lilypond
er ist @w{@code{-5}}, versuchen wir es also mit @w{@code{-7}}.
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
% Place following Ottava Bracket below Text Spanners
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% Start Ottava Bracket
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Text1"
c2^"Text2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Text3"
c2^"Text4" |
@end lilypond
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Long Text " c'' |
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % and turn on textLengthOn
c,,2^"Long Text " % Spaces at end are honored
c''2 |
Dynamik-Zeichen erledigt:
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 staff space
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
% This will not work, see below
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4 = 120
c1 |
% This works
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4 = 80
d1 |
@end lilypond
\relative c'' {
c4
% This prints a sesquisharp but the spacing is too small
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% This improves the spacing
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 unit
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% Align dynamics to a base line 2 units above staff
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
< a\2 >
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
< a\2 >
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{ c'1 ~ c'2. e'8 f' }
\\
{
- \override Beam #'positions = #'(-1 . -1)
+ \override Beam.positions = #'(-1 . -1)
e''8 e'' e'' e'' e'' e'' e'' e'' f''2 g''
}
>>
\\
{
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\
\\
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
den Bindebogen (@code{tie}) 3,5 halbe Notenlinienabstände
über die Mittellinie:
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
Damit ist auch der zweite Takt vollständig:
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata
@code{\override} und @code{\revert} zu konstruieren.
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
Das wäre natürlich noch viel mühsamer, wenn viele Wörter eine
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\relative c' {
% Arrange to obtain color from color-notehead procedure
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Till Paala
\context {
\Staff
\consists "Custos_engraver"
- \override Custos #'style = #'mensural
+ \override Custos.style = #'mensural
}
}
}
\score {
<<
\new MensuralVoice = "discantus" \transpose c c' {
- \override Score.BarNumber #'transparent = ##t {
+ \override Score.BarNumber.transparent = ##t {
c'1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c'\breve d'\melismaEnd \]
@tab
@lilypond[relative=1,notime]
\clef "mensural-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-f"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter default }
- \override Staff.TimeSignature #'style = #'numbered
+ \override Staff.TimeSignature.style = #'numbered
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter numbered }
- \override Staff.TimeSignature #'style = #'mensural
+ \override Staff.TimeSignature.style = #'mensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter mensural }
- \override Staff.TimeSignature #'style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter neomensural }
- \override Staff.TimeSignature #'style = #'single-digit
+ \override Staff.TimeSignature.style = #'single-digit
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter single-digit }
}
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
\autoBeamOff
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\maxima a'\longa a'\breve a'1 a'2 a'4 a'8 a'16 a'
-\override NoteHead #'style = #'semipetrucci
+\override NoteHead.style = #'semipetrucci
a'\breve*5/6
-\override NoteHead #'style = #'blackpetrucci
+\override NoteHead.style = #'blackpetrucci
a'8*4/3 a'
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\longa
@end lilypond
nur (@code{mensural}) unterstützt.
@lilypond[quote,fragment,ragged-right,verbatim]
-\override Flag #'style = #'mensural
-\override Stem #'thickness = #1.0
-\override NoteHead #'style = #'mensural
+\override Flag.style = #'mensural
+\override Stem.thickness = #1.0
+\override NoteHead.style = #'mensural
\autoBeamOff
c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
-\override Rest #'style = #'classical
+\override Rest.style = #'classical
r\longa^"classical" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'mensural
+\override Rest.style = #'mensural
r\longa^"mensural" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'neomensural
+\override Rest.style = #'neomensural
r\longa^"neomensural" r\breve r1 r2 r4 r8 r16
@end lilypond
also etwa folgendermaßen:
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
@c @example
@c \set Score.timing = ##f
@c \set Score.defaultBarType = "-"
-@c \override NoteHead #'style = #'neomensural
-@c \override Staff.TimeSignature #'style = #'neomensural
+@c \override NoteHead.style = #'neomensural
+@c \override Staff.TimeSignature.style = #'neomensural
@c \clef "petrucci-g"
@c \[ c'\maxima g \]
@c \[ d\longa c\breve f e d \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'neomensural
- \override Staff.TimeSignature #'style = #'neomensural
+ \override NoteHead.style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa c\breve f e d \]
@code{vaticana-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-do2"
c
@end lilypond
@code{vaticana-fa1}, @code{vaticana-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-fa2"
c
@end lilypond
@code{medicaea-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-do2"
c
@end lilypond
@code{medicaea-fa1}, @code{medicaea-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-fa2"
c
@end lilypond
@code{hufnagel-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do2"
c
@end lilypond
@code{hufnagel-fa1}, @code{hufnagel-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-fa2"
c
@end lilypond
@code{hufnagel-do-fa}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do-fa"
c
@end lilypond
kontrolliert, beispielsweise:
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
\score {
<<
\context VaticanaVoice {
- \override TextScript #'padding = #3
+ \override TextScript.padding = #3
g a g
s^\markup { "divisio minima" }
\divisioMinima
\include "gregorian.ly"
\score {
\new VaticanaVoice {
- \override TextScript #'font-family = #'typewriter
- \override TextScript #'font-shape = #'upright
- \override Script #'padding = #-0.1
+ \override TextScript.font-family = #'typewriter
+ \override TextScript.font-shape = #'upright
+ \override Script.padding = #-0.1
a\ictus_"ictus " \bar "" \break
a\circulus_"circulus " \bar "" \break
a\semicirculus_"semicirculus " \bar "" \break
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim]
\autoBeamOff
\cadenzaOn
-\override NoteHead #'style = #'kievan
+\override NoteHead.style = #'kievan
b'1 b'2 b'4 b'8 b'\breve b'\longa
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
-\override NoteHead #'style = #'kievan
-\override Accidental #'glyph-name-alist =
+\override NoteHead.style = #'kievan
+\override Accidental.glyph-name-alist =
#alteration-kievan-glyph-name-alist
bes' dis,
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c \bar "kievan"
@end lilypond
In einigen Transkriptionsstilen werden jedoch teilweise
Hälse eingesetzt, um etwa den Übergang von einem Einton-Rezitativ
zu einer melodischen Geste anzuzeigen. In diesem Fall können
-Hälse entweder mit @code{\override Stem #'transparent = ##t}
+Hälse entweder mit @code{\override Stem.transparent = ##t}
unsichtbar gemacht werden oder mit
-@code{\override Stem #'length = #0} auf die Länge von 0 reduziert
+@code{\override Stem.length = #0} auf die Länge von 0 reduziert
werden. Die Hälse müssen dann wieder an den entsprechenden
-Stellen mit @code{\once \override Stem #'transparent = ##f}
+Stellen mit @code{\once \override Stem.transparent = ##f}
sichtbar gemacht werden (siehe auch Beispiel unten). Wenn Hälse
eingesetzt werden, die Fähnchen haben, muss zusätzlich auch noch
-@code{\override Flag #'transparent = ##t} eingestellt werden.
+@code{\override Flag.transparent = ##t} eingestellt werden.
@b{Takt.} Für Gesang ohne Metrum gibt es einige Alternativen.
Um Taktstriche zu entfernen, kann man radikal den @code{Bar_engraver}
aus dem @code{Staff}-Kontext entfernen. Wenn man ab und zu
einen Taktstrich braucht, sollten die Striche nur mit
-@code{\override BarLine #'transparent = ##t} unsichtbar
+@code{\override BarLine.transparent = ##t} unsichtbar
gemacht werden.
Oft werden Rezitativtöne mit einer Brevis angezeigt. Der
}
verba = \lyricmode {
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"Noctem quietam et" fi -- nem per -- fec -- tum
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"concedat nobis Dominus" om -- ni -- po -- tens.
}
\score {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
chant = \relative c' {
\clef "G_8"
\set Score.timing = ##f
- c\breve \override NoteHead #'transparent = ##t c c c c c
- \revert NoteHead #'transparent
- \override Stem #'transparent = ##f \stemUp c4 b4 a
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t c2 c4 \divisioMaior
- c\breve \override NoteHead #'transparent = ##t c c c c c c c
- \revert NoteHead #'transparent c4 c f, f \finalis
+ c\breve \override NoteHead.transparent = ##t c c c c c
+ \revert NoteHead.transparent
+ \override Stem.transparent = ##f \stemUp c4 b4 a
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t c2 c4 \divisioMaior
+ c\breve \override NoteHead.transparent = ##t c c c c c c c
+ \revert NoteHead.transparent c4 c f, f \finalis
}
verba = \lyricmode {
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'transparent = ##t
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override BarLine.transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
@lilypond[verbatim,quote]
spiritus = \relative c' {
\time 1/4
- \override Lyrics.LyricText #'X-extent = #'(0 . 3)
+ \override Lyrics.LyricText.X-extent = #'(0 . 3)
d4 \times 2/3 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\times 2/3 { g8 f d } e f g a g4
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'X-extent = #'(-1 . 1)
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Beam #'transparent = ##t
- \override BarLine #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override BarLine.X-extent = #'(-1 . 1)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Beam.transparent = ##t
+ \override BarLine.transparent = ##t
+ \override TupletNumber.transparent = ##t
}
}
}
\layout {
\context {
\Staff
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
}
}
\layout {
\accidentalStyle dodecaphonic
\set fontSize = #-4
- \override Voice.Stem #'thickness = #4.0
+ \override Voice.Stem.thickness = #4.0
}
}
@end lilypond
\new Staff {
\new Voice
\with {
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
{
\relative c'' {
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
}
\context { \Staff
Die Noten sehen wie ein Querstrich aus und haben keine Hälse:
@example
-\override NoteHead #'style = #'slash
-\override Stem #'transparent = ##t
-\override Flag #'transparent = ##t
+\override NoteHead.style = #'slash
+\override Stem.transparent = ##t
+\override Flag.transparent = ##t
@end example
Alle diese Engraver müssen zusammenarbeiten, und das wird erreicht mit
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
@}
@end example
fügt drei Notenlinienzwischenräume zwischen die Zahl und den Notenkopf:
@example
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
@end example
Wenn dieser Befehl in den Quelltext eingefügt wird, bevor der
Fingersatz notiert ist, erhält man folgendes:
@lilypond[quote,relative=2,verbatim]
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
c-2
\stemUp
f
Der Befehl
@verbatim
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
@end verbatim
@noindent
@lilypond[quote,verbatim,relative=2]
c4
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
c4
c4
c4
@lilypond[quote,verbatim,relative=2]
c4
-\once \override Stem #'thickness = #4.0
+\once \override Stem.thickness = #4.0
c4
c4
@end lilypond
folgenden Beispiel
@lilypond[quote,verbatim,relative=2]
-\override Slur #'thickness = #3.0
+\override Slur.thickness = #3.0
c8[( c
-\override Beam #'beam-thickness = #0.6
+\override Beam.beam-thickness = #0.6
c8 c])
@end lilypond
weil er für den falschen Kontext gefordert wird.
@example
-\override Voice.Stem #'thickness = #4.0
-\revert Staff.Stem #'thickness
+\override Voice.Stem.thickness = #4.0
+\revert Staff.Stem.thickness
@end example
Einige veränderbare Optionen werden als Untereigenschaften (engl.
wie beispielsweise
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@end ignore
@lilypond[quote, verbatim, relative=2]
c4 c
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
@end lilypond
benutzt:
@lilypond[quote, verbatim, relative=2]
-{ \override Staff.Stem #'thickness = #3.0
+{ \override Staff.Stem.thickness = #3.0
<<
{
e4 e
- \override Stem #'thickness = #0.5
+ \override Stem.thickness = #0.5
e4 e
} \\ {
c4 c c c
@lilypond[quote, verbatim, relative=2]
c4
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
-\revert Voice.Stem #'thickness
+\revert Voice.Stem.thickness
c4
@end lilypond
<<
{
e4
- \override Staff.Stem #'thickness = #3.0
+ \override Staff.Stem.thickness = #3.0
e4 e e
} \\ {
c4 c c
- \revert Staff.Stem #'thickness
+ \revert Staff.Stem.thickness
c4
}
>>
{
<<
{
- \override Stem #'thickness = #3.0
+ \override Stem.thickness = #3.0
e4 e e e
} \\ {
c4
- \once \override Stem #'thickness = #3.0
+ \once \override Stem.thickness = #3.0
c4 c c
}
>>
@lilypond[relative=2,verbatim]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
--\tweak #'padding #8
+-\tweak padding #8
-^
@end lilypond
@lilypond[relative=2,verbatim,quote]
-<\tweak #'color #red c>4
+<\tweak color #red c>4
@end lilypond
@noindent
und das nicht:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
+\tweak color #red c4
@end lilypond
@end ignore
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
@end lilypond
@code{\tweak} kann auch benutzt werden, um Bögen zu verändern:
@lilypond[verbatim,quote,relative=1]
-c-\tweak #'thickness #5 ( d e f)
+c-\tweak thickness #5 ( d e f)
@end lilypond
Damit der @code{\tweak}-Befehl funktioniert, muss er direkt vor dem
@code{EventChord} erstellt werden:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red <c e>4
-<\tweak #'color #red c e>4
+\tweak color #red <c e>4
+<\tweak color #red c e>4
@end lilypond
Der einfache @code{\tweak}-Befehl kann @emph{nicht} eingesetzt werden, um
@lilypond[verbatim,quote,relative=1]
c
--\tweak #'style #'dashed-line
--\tweak #'dash-fraction #0.2
--\tweak #'thickness #3
--\tweak #'color #red
+-\tweak style #'dashed-line
+-\tweak dash-fraction #0.2
+-\tweak thickness #3
+-\tweak color #red
\glissando
f'
@end lilypond
% reduced space between staves
\new PianoStaff \with {
% this is the nested declaration
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #7
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #7
} <<
\new Staff { \clef treble c''1 }
\new Staff { \clef bass c1 }
@lilypond[quote,verbatim]
\new PianoStaff \with {
- \override StaffGrouper #'staff-staff-spacing =
+ \override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 0)
(padding . 0)
folgende Aufrufe äquivalent:
@example
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7))
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7)
(minimum-distance . 0)
(padding . 0)
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(7 3 0 -4 -6 -7)
+ \override StaffSymbol.line-positions = #'(7 3 0 -4 -6 -7)
}
{ a4 e' f b | d1 }
@end lilypond
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'width = #23
+ \override StaffSymbol.width = #23
}
{ a4 e' f b | d1 }
@end lilypond
a~a
a
% increase the length of the tie
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
~a
@end lilypond
\compressFullBarRests
R1*23
% increase the length of the rest bar
-\once \override MultiMeasureRest #'minimum-length = #20
+\once \override MultiMeasureRest.minimum-length = #20
R1*23
a1
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a \!
% increase the length of the hairpin
-\override Hairpin #'minimum-length = #20
+\override Hairpin.minimum-length = #20
a \< a a a \!
@end lilypond
@lilypond[verbatim,quote,relative=2]
a( a)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
( a)
a\( a\)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
\( a\)
@end lilypond
e \glissando c'
% not effective alone
-\once \override Glissando #'minimum-length = #20
+\once \override Glissando.minimum-length = #20
e, \glissando c'
% effective only when both overrides are present
-\once \override Glissando #'minimum-length = #20
-\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Glissando.minimum-length = #20
+\once \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
e, \glissando c'
@end lilypond
@lilypond[verbatim,quote,relative=1]
% not effective alone
-\once \override Beam #'minimum-length = #20
+\once \override Beam.minimum-length = #20
e8 e e e
% effective only when both overrides are present
-\once \override Beam #'minimum-length = #20
-\once \override Beam #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Beam.minimum-length = #20
+\once \override Beam.springs-and-rods = #ly:spanner::set-spacing-rods
e8 e e e
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a a \! a a a \break
-\override Hairpin #'to-barline = ##f
+\override Hairpin.to-barline = ##f
a \< a a a a \! a a a
@end lilypond
@lilypond[relative=2,quote,verbatim]
e2 \glissando b
-\once \override Glissando #'(bound-details left Y) = #3
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.left.Y = #3
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando b
@end lilypond
von @code{bound-details} abgelegt. Zum Beispiel:
@lilypond[relative=2,ragged-right,verbatim,quote]
-\override Glissando #'breakable = ##t
-\override Glissando #'(bound-details right-broken Y) = #-3
+\override Glissando.breakable = ##t
+\override Glissando.bound-details.right-broken.Y = #-3
c1 \glissando \break
f1
@end lilypond
Strecker zu setzen.
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan
@end lilypond
des Endpunktes der Linie verschoben:
@lilypond[relative=1,quote,verbatim]
-\override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #-2
-\override TextSpanner
- #'(bound-details right stencil-align-dir-y) = #UP
-
-\override TextSpanner
- #'(bound-details left text) = #"ggg"
-\override TextSpanner
- #'(bound-details right text) = #"hhh"
+\override TextSpanner.bound-details.left.stencil-align-dir-y = #-2
+\override TextSpanner.bound-details.right.stencil-align-dir-y = #UP
+
+\override TextSpanner.bound-details.left.text = #"ggg"
+\override TextSpanner.bound-details.right.text = #"hhh"
c4^\startTextSpan c c c \stopTextSpan
@end lilypond
@lilypond[quote,verbatim,relative=1]
a1 a
-\override Score.BarLine #'stencil = ##f
+\override Score.BarLine.stencil = ##f
a a
-\revert Score.BarLine #'stencil
+\revert Score.BarLine.stencil
a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
a4 a
-\once \override NoteHead #'transparent = ##t
+\once \override NoteHead.transparent = ##t
a a
@end lilypond
in diesem Beispiel:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
+\override Staff.Clef.color = #white
a1
@end lilypond
werden, sodass es früher gesetzt wird:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
-\override Staff.Clef #'layer = #-1
+\override Staff.Clef.color = #white
+\override Staff.Clef.layer = #-1
a1
@end lilypond
f4 g a b
f4 g a b
% Remove bar line at the end of the current line
-\once \override Score.BarLine #'break-visibility = #'#(#f #t #t)
+\once \override Score.BarLine.break-visibility = #'#(#f #t #t)
\break
f4 g a b
f4 g a b
\key g \major
f4 g a b
% Try to remove all key signatures
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b
\break
\key g \major
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.printKeyCancellation = ##f
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
@lilypond[relative=2,ragged-right,verbatim,quote]
d2 \glissando d'2
-\once \override Glissando #'style = #'dashed-line
+\once \override Glissando.style = #'dashed-line
d,2 \glissando d'2
-\override Glissando #'style = #'dotted-line
+\override Glissando.style = #'dotted-line
d,2 \glissando d'2
-\override Glissando #'style = #'zigzag
+\override Glissando.style = #'zigzag
d,2 \glissando d'2
-\override Glissando #'style = #'trill
+\override Glissando.style = #'trill
d,2 \glissando d'2
@end lilypond
@c TODO Complete
@lilypond[relative=2,ragged-right,verbatim,quote]
e2 \glissando f
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando f
@end lilypond
@lilypond[quote,verbatim,relative=1]
g4\< e' d' f\!
-\override Hairpin #'rotation = #'(20 -1 0)
+\override Hairpin.rotation = #'(20 -1 0)
g,,4\< e' d' f\!
@end lilypond
würden.
@lilypond[quote,verbatim,relative=1]
-\override TextScript #'outside-staff-priority = ##f
+\override TextScript.outside-staff-priority = ##f
g4^\markup { \rotate #30 "a G" }
b^\markup { \rotate #30 "a B" }
des^\markup { \rotate #30 "a D-Flat" }
@lilypond[verbatim,quote,relative=2]
a-3
a
--\tweak #'X-offset #0
--\tweak #'Y-offset #0
+-\tweak X-offset #0
+-\tweak Y-offset #0
-3
a
--\tweak #'X-offset #-1
--\tweak #'Y-offset #1
+-\tweak X-offset #-1
+-\tweak Y-offset #1
-3
@end lilypond
@lilypond[quote,verbatim,relative=1]
a'
--\tweak #'self-alignment-X #-1
+-\tweak self-alignment-X #-1
^"left-aligned"
--\tweak #'self-alignment-X #0
+-\tweak self-alignment-X #0
^"center-aligned"
--\tweak #'self-alignment-X #RIGHT
+-\tweak self-alignment-X #RIGHT
^"right-aligned"
--\tweak #'self-alignment-X #-2.5
+-\tweak self-alignment-X #-2.5
^"aligned further to the right"
@end lilypond
@lilypond[quote,verbatim,relative=2]
a
--\tweak #'self-alignment-X #0.5 % move horizontally left
--\tweak #'Y-offset #ly:self-alignment-interface::y-aligned-on-self
--\tweak #'self-alignment-Y #-1 % move vertically up
+-\tweak self-alignment-X #0.5 % move horizontally left
+-\tweak Y-offset #ly:self-alignment-interface::y-aligned-on-self
+-\tweak self-alignment-Y #-1 % move vertically up
-3 % third finger
@end lilypond
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be centered above the Clef
-\override Score.RehearsalMark #'break-align-symbols = #'(clef)
+\override Score.RehearsalMark.break-align-symbols = #'(clef)
\key a \major
\clef treble
\mark "↓"
e1
% The RehearsalMark will be centered above the TimeSignature
-\override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(time-signature)
\key a \major
\clef treble
\time 3/4
\mark "↓"
e2.
% The rehearsal mark will be centered above the Breath Mark
-\override Score.RehearsalMark #'break-align-symbols = #'(breathing-sign)
+\override Score.RehearsalMark.break-align-symbols = #'(breathing-sign)
\key a \major
\clef treble
\time 4/4
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
e1
% The RehearsalMark will be centered above the Clef
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef bass
\mark "↓"
% The rehearsal mark will be centered above the Bar Line
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.explicitClefVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be centered above the KeySignature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\key a \major
\clef treble
\time 4/4
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the KeySignature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+\once \override Score.KeySignature.break-align-anchor-alignment = #LEFT
\mark "↓"
\key a \major
e1
% The RehearsalMark will be aligned with the right edge of the KeySignature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+\once \override Score.KeySignature.break-align-anchor-alignment = #RIGHT
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be aligned with the left edge of the KeySignature
% and then shifted right by 3.5 staff-spaces
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
-\once \override Score.KeySignature #'break-align-anchor = #3.5
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
+\once \override Score.KeySignature.break-align-anchor = #3.5
\key a \major
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the KeySignature
% and then shifted left by 2 staff-spaces
-\once \override Score.KeySignature #'break-align-anchor = #-2
+\once \override Score.KeySignature.break-align-anchor = #-2
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote]
XinO = {
- \once \override NoteHead #'stencil = #ly:text-interface::print
- \once \override NoteHead #'text = \markup {
+ \once \override NoteHead.stencil = #ly:text-interface::print
+ \once \override NoteHead.text = \markup {
\combine
\halign #-0.7 \draw-circle #0.85 #0.2 ##f
\musicglyph #"noteheads.s2cross"
@lilypond[verbatim,quote,relative=1]
<<
{
- \once \override Tie
- #'control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
+ \once \override Tie.control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
e1~ e1
}
\\
'(-0.5 . 0.5)))))
squareLineCircleSpace = {
- \override NoteHead #'stencil = #square-line-circle-space
+ \override NoteHead.stencil = #square-line-circle-space
}
smartSquareLineCircleSpace = {
\squareLineCircleSpace
- \override NoteHead #'Y-extent =
+ \override NoteHead.Y-extent =
#(ly:make-unpure-pure-container
ly:grob::stencil-height
(lambda (grob start end) (ly:grob::stencil-height grob)))
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
(parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
@tab
@lilypond[relative=2,notime]
\set Staff.autoBeaming = ##f
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c1 c2 c8 c16
@end lilypond
@tab Punktierung
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c4. c4..
@end lilypond
@tab Taktangaben
@tab
@lilypond[relative=1]
-\override Staff.Clef #'stencil = #empty-stencil
+\override Staff.Clef.stencil = #empty-stencil
\time 3/4
s4_" "
\time 4/4
@tab Pause
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
r4 r8
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:m c:m7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:dim c:dim7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:aug
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:maj c:maj7
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
@lilypond[verbatim,quote,relative=2]
\set fontSize = #3
c4.-> d8---3
-\override NoteHead #'font-size = #-4
+\override NoteHead.font-size = #-4
c4.-> d8---3
-\override Script #'font-size = #2
+\override Script.font-size = #2
c4.-> d8---3
-\override Stem #'font-size = #-5
+\override Stem.font-size = #-5
c4.-> d8---3
@end lilypond
Gültige Farben-Bezeichnungen sind aufgelistet in @ref{Liste der Farben}.
@lilypond[verbatim,quote,relative=2]
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
c4 c
-\override NoteHead #'color = #(x11-color 'LimeGreen)
+\override NoteHead.color = #(x11-color 'LimeGreen)
d
-\override Stem #'color = #blue
+\override Stem.color = #blue
e
@end lilypond
Schwarz eingesetzt.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
gis8 a
-\override Beam #'color = #(x11-color "medium turquoise")
+\override Beam.color = #(x11-color "medium turquoise")
gis a
-\override Accidental #'color = #(x11-color 'DarkRed)
+\override Accidental.color = #(x11-color 'DarkRed)
gis a
-\override NoteHead #'color = #(x11-color "LimeGreen")
+\override NoteHead.color = #(x11-color "LimeGreen")
gis a
% this is deliberate nonsense; note that the stems remain black
-\override Stem #'color = #(x11-color 'Boggle)
+\override Stem.color = #(x11-color 'Boggle)
b2 cis
@end lilypond
definiert werden.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
-\override Stem #'color = #(rgb-color 0 0 0)
+\override Stem.color = #(rgb-color 0 0 0)
gis8 a
-\override Stem #'color = #(rgb-color 1 1 1)
+\override Stem.color = #(rgb-color 1 1 1)
gis8 a
-\override Stem #'color = #(rgb-color 0 0 0.5)
+\override Stem.color = #(rgb-color 0 0 0.5)
gis4 a
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
@code{MultiMeasureRestText}-Objekt erstellt.
@lilypond[verbatim,quote,relative=2]
-\override Script #'color = #red
-\override MultiMeasureRestText #'color = #blue
+\override Script.color = #red
+\override MultiMeasureRestText.color = #blue
a2\fermata r\fermata
R1\fermataMarkup
@end lilypond
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
indem @code{restrainOpenStrings} auf @code{#t} gesetzt wird.
@lilypond[quote,ragged-right,verbatim]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
\new StaffGroup <<
\new Staff \relative c {
\clef "treble_8"
werden:
@lilypond[verbatim,quote]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
firstHarmonic = {
d'4\4\harmonic
g'4\3\harmonic
@lilypond[quote,ragged-right,verbatim]
<<
\new Voice \with {
- \override StringNumber #'stencil = ##f
+ \override StringNumber.stencil = ##f
} {
\clef "bass_8"
\relative c, {
}
}
\context Staff {
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
\clef "treble_8"
<c e g c' e'>1^\markup {
\fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
}
\context Staff {
\clef "treble_8"
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
<f, c f a c' f'>1^\markup {
\fret-diagram-verbose #'(
(place-fret 6 1)
\clef "treble_8"
b16 d g b e
\textSpannerDown
-\override TextSpanner #'(bound-details left text) = #"XII "
+\override TextSpanner.bound-details.left.text = #"XII "
g16\startTextSpan
b16 e g e b g\stopTextSpan
e16 b g d
@lilypond[quote,ragged-right,verbatim]
\relative c' {
\clef "treble_8"
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
in Gesangstextabschnitten (@code{lyricmode}) müssen Leerzeichen
zwischen alle Ausdrücke in @code{\override}- und @code{\set}-Befehlen
gesetzt werden. Insbesondere müssen um Punkte und Gleichzeitszeichen
-in Befehlen wie @code{\override Score . LyricTex #'font-size = #5)}
+in Befehlen wie @code{\override Score.LyricTex.font-size = #5)}
und vor dem gesamten Befehl geschrieben werden.
@end itemize
@c Translators: Till Paala
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Tasteninstrumente und andere Instrumente mit mehreren Systemen
@section Tasteninstrumente und andere Instrumente mit mehreren Systemen
\new Staff = "up" {
\voiceOne
% Make space for fingering in the cross-staff voice
- \once\override DynamicLineSpanner #'staff-padding = #3.4
+ \once\override DynamicLineSpanner.staff-padding = #3.4
e''2\p\< d''\>
c''1\!
}
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
<< \new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics \nam
>>
\layout {
\context {
\Score
- \override LyricText #'font-family = #'typewriter
- \override BarNumber #'transparent =##T
+ \override LyricText.font-family = #'typewriter
+ \override BarNumber.transparent =##T
}
}
}
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
- \override StaffSymbol #'line-count = #2
- \override StaffSymbol #'staff-space = #2
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
+ \override StaffSymbol.line-count = #2
+ \override StaffSymbol.staff-space = #2
+ \override VerticalAxisGroup.minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\remove "Bar_engraver"
\remove "Time_signature_engraver"
drumStyleTable = #congas-style
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
drumStyleTable = #bongos-style
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with{
\remove "Bar_engraver"
drumStyleTable = #percussion-style
- \override StaffSymbol #'line-count = #1
+ \override StaffSymbol.line-count = #1
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
woodstaff = {
% This defines a staff with only two lines.
% It also defines the positions of the two lines.
- \override Staff.StaffSymbol #'line-positions = #'(-2 3)
+ \override Staff.StaffSymbol.line-positions = #'(-2 3)
% This is necessary; if not entered, the barline would be too short!
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
@end lilypond
In diesem Spezialfalls muss die Länge der Taktlinie mit
-@code{\override Staff.BarLine #'bar-extent #'(von . bis)} angepasst werden.
+@code{\override Staff.BarLine.bar-extent #'(von . bis)} angepasst werden.
Andernfalls wäre sie zu kurz. Die Position der beiden Linien muss
auch definiert werden.
#(define mydrums '((tambourine default #t 0)))
tambustaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
#(define mydrums '((tamtam default #t 0)))
tamtamstaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
(cowbell default #t -2)))
bellstaff = {
- \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
+ \override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
@lilypond[verbatim,quote,relative=2]
c4 b
-\override NoteHead #'style = #'cross
+\override NoteHead.style = #'cross
c4 b
-\revert NoteHead #'style
+\revert NoteHead.style
a b
-\override NoteHead #'style = #'harmonic
+\override NoteHead.style = #'harmonic
a b
-\revert NoteHead #'style
+\revert NoteHead.style
c4 d e f
@end lilypond
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Till Paala
Objekten im Notensystem zusammenstoßen.
@lilypond[verbatim,quote,ragged-right,relative=2]
-\override Tie #'layer = #-2
-\override Staff.TimeSignature #'layer = #-1
-\override Staff.KeySignature #'layer = #-1
-\override Staff.TimeSignature #'whiteout = ##t
-\override Staff.KeySignature #'whiteout = ##t
+\override Tie.layer = #-2
+\override Staff.TimeSignature.layer = #-1
+\override Staff.KeySignature.layer = #-1
+\override Staff.TimeSignature.whiteout = ##t
+\override Staff.KeySignature.whiteout = ##t
b2 b~
\time 3/4
\key a \major
\new Staff {
% These two lines are just to prettify this example
\time 16/1
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
% Print a maxima rest, equal to four breves
r\maxima
% Print a longa rest, equal to two breves
@lilypond[quote,verbatim,relative=2]
% This fails, as the wrong object name is specified
-\override TextScript #'padding = #5
+\override TextScript.padding = #5
R1^"wrong"
% This is the correct object name to be specified
-\override MultiMeasureRestText #'padding = #5
+\override MultiMeasureRestText.padding = #5
R1^"right"
@end lilypond
@lilypond[verbatim,relative=2,fragment]
% Show all bar numbers
-\override Score.BarNumber #'break-visibility = #all-visible
+\override Score.BarNumber.break-visibility = #all-visible
c4 d e d
\cadenzaOn
c4 c d8[ d d] f4 g4.
gleichmäßiges Tempo haben.
@lilypond[relative=1,verbatim,quote]
-\override Beam #'grow-direction = #LEFT
+\override Beam.grow-direction = #LEFT
\featherDurations #(ly:make-moment 2 1)
{ c16[ c c c c c c c] }
-\override Beam #'grow-direction = #RIGHT
+\override Beam.grow-direction = #RIGHT
\featherDurations #(ly:make-moment 2 3)
{ c32[ d e f] }
% revert to non-feathered beams
-\override Beam #'grow-direction = #'()
+\override Beam.grow-direction = #'()
{ g32[ a b c] }
@end lilypond
Beispiel werden die Taktlinien überall ausgegeben:
@lilypond[verbatim,quote,relative=1]
-\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+\override Score.BarNumber.break-visibility = #'#(#t #t #t)
\set Score.currentBarNumber = #11
% Permit first bar number to be printed
\bar ""
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
während der Kompilation. Diese Nachricht kann unterdrückt werden durch
@example
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
@end example
Das unterdrückt jedoch nicht nur die Warnungen, sondern schaltet auch
@rinternals{RestCollision}.
@knownissues
-Die Benutzung von @code{\override NoteColumn #'ignore-collision = ##t}
+Die Benutzung von @code{\override NoteColumn.ignore-collision = ##t}
führt dazu, dass Noten mit unterschiedlichen Köpfen in unterschiedlichen
Stimmen falsch verschmolzen werden.
@lilypond[quote,relative=1,verbatim]
\mergeDifferentlyHeadedOn
<< { c16 a' b a } \\ { c,2 } >>
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
<< { c16 a' b a } \\ { c,2 } >>
@end lilypond
indent = 2\cm
\context @{
\StaffGroup
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #8
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #8
@}
\context @{
\Voice
- \override TextScript #'padding = #1
- \override Glissando #'thickness = #3
+ \override TextScript.padding = #1
+ \override Glissando.thickness = #3
@}
@}
@end example
\layout @{
\context @{
\Voice
- \override TextScript #'color = #magenta
- \override Glissando #'thickness = #1.5
+ \override TextScript.color = #magenta
+ \override Glissando.thickness = #1.5
@}
@}
@end example
layoutVariable = \layout @{
\context @{
\Voice
- \override NoteHead #'font-size = #4
+ \override NoteHead.font-size = #4
@}
@}
@end example
\layoutVariable
\context @{
\Voice
- \override NoteHead #'color = #red
+ \override NoteHead.color = #red
@}
@}
@end example
Genauso werden normalerweise Zeilenumbrüche auch verhindert, wenn Balken
über die Taktenden hinausragen. Dieses Verhalten kann verändert werden,
-indem man @code{\override Beam #'breakable = ##t} einstellt:
+indem man @code{\override Beam.breakable = ##t} einstellt:
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Beam #'breakable = ##t
+\override Beam.breakable = ##t
c2. c8[ c | \break
c8 c] c2. |
@end lilypond
Einstellungen kann dieses Verhalten ausgeschaltet werden:
@example
-\override NonMusicalPaperColumn #'line-break-permission = ##f
-\override NonMusicalPaperColumn #'page-break-permission = ##f
+\override NonMusicalPaperColumn.line-break-permission = ##f
+\override NonMusicalPaperColumn.page-break-permission = ##f
@end example
Wenn @code{line-break-permission} die Einstellung falsch
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-permission = ##f
- \override NonMusicalPaperColumn #'page-break-permission = ##f
+ \override NonMusicalPaperColumn.line-break-permission = ##f
+ \override NonMusicalPaperColumn.page-break-permission = ##f
}
}
}
\score {
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1 * 2 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 35))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 35))
s1 * 3 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 70))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 70))
s1 * 6 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 105))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 105))
s1 * 5 \break
}
\new Voice {
#(define zero-space '((padding . -inf.0) (basic-distance . 0)))
alignToZero = \with {
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #zero-space
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #zero-space
}
lowerCaseChords = \with {
chordNameLowercaseMinor = ##t
}
staffAffinityDown = \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
labelContext =
#(define-music-function
\lowerCaseChords }
\context { \FretBoards \alignToZero \staffAffinityDown }
\context { \Score
- \override BarLine #'stencil = ##f
- \override DynamicText #'self-alignment-X = #-1
- \override FretBoard #'X-offset = #1.75
- \override InstrumentName #'minimum-Y-extent = #'(-2 . 2)
- \override InstrumentName #'extra-offset = #'(0 . -0.5)
- \override TextScript #'minimum-Y-extent = #'(-2 . 3)
- \override TimeSignature #'stencil = ##f
+ \override BarLine.stencil = ##f
+ \override DynamicText.self-alignment-X = #-1
+ \override FretBoard.X-offset = #1.75
+ \override InstrumentName.minimum-Y-extent = #'(-2 . 2)
+ \override InstrumentName.extra-offset = #'(0 . -0.5)
+ \override TextScript.minimum-Y-extent = #'(-2 . 3)
+ \override TimeSignature.stencil = ##f
}
}
@example
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@} @{ @dots{} @}
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 10)
(minimum-distance . 9)
(padding . 1)
\layout @{
\context @{
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@}
@}
@end example
\layout {
\context {
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 8)
(minimum-distance . 7)
(padding . 1))
% By setting 'padding to a negative value, staves can be made to
% collide. The lowest acceptable value for 'basic-distance is 0.
\new Staff \with {
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 3.5)
(padding . -10))
} { \clef bass g2 r | }
\layout {
\context {
\Score
- \override StaffGrouper #'staff-staff-spacing #'padding = #0
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #0
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #1
}
}
<<
\new PianoStaff \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} <<
\new Staff { c'1 }
\new Staff { c'1 }
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup
- #'nonstaff-nonstaff-spacing #'stretchability = #1000
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.stretchability = #1000
}
}
\new StaffGroup
<<
\new Staff \with {
- \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 30))
+ \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 30))
} { c'1 }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #UP
+ \override VerticalAxisGroup.staff-affinity = #UP
} \lyricmode { up }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #CENTER
+ \override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricmode { center }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
} \lyricmode { down }
\new Staff { c'1 }
>>
@code{\overrideProperty}-Befehl sind hier aufgelistet:
@example
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (15)))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (15)))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40)
(alignment-distances . (15)))
@end example
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 80))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 80))
s1*5 \break
}
\new Voice { \repeat unfold 15 { c'4 c' c' c' } }
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 20)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 20)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (15)))
s1*5 \break
}
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0)
(alignment-distances . (30 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (10 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (10 30)))
s1*5 \break
}
@lilypond[quote,ragged-right,relative=2,verbatim]
c4_"Text"\pp
r2.
-\once \override TextScript #'outside-staff-priority = #1
+\once \override TextScript.outside-staff-priority = #1
c4_"Text"\pp % this time the text will be closer to the staff
r2.
% by setting outside-staff-priority to a non-number,
% we disable the automatic collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
-\once \override DynamicLineSpanner #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
+\once \override DynamicLineSpanner.outside-staff-priority = ##f
c4_"Text"\pp % now they will collide
@end lilypond
kontrolliert werden.
@lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
-\once \override TextScript #'outside-staff-padding = #0
+\once \override TextScript.outside-staff-padding = #0
a'^"This text is placed very close to the note"
-\once \override TextScript #'outside-staff-padding = #3
+\once \override TextScript.outside-staff-padding = #3
c^"This text is padded away from the previous text"
c^"This text is placed close to the previous text"
@end lilypond
c''2
% setting outside-staff-horizontal-padding fixes this
R1
-\once \override TextScript #'outside-staff-horizontal-padding = #1
+\once \override TextScript.outside-staff-horizontal-padding = #1
c,,4^"Text"
c4
c''2
{
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
- \override Staff.NoteSpacing #'stem-spacing-correction = #1.5
- \override Staff.StaffSpacing #'stem-spacing-correction = #1.5
+ \override Staff.NoteSpacing.stem-spacing-correction = #1.5
+ \override Staff.StaffSpacing.stem-spacing-correction = #1.5
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
}
werden, um zusätzlichen Platz in eine Partitur einzufügen.
@example
- \override Score.NonMusicalPaperColumn #'padding = #10
+ \override Score.NonMusicalPaperColumn.padding = #10
@end example
Es gibt derzeit keine Möglichkeit, den Platz zu verringern.
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
}
\layout {
\context {
\Score
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
zusätzlichen Platz erhalten.
@lilypond[quote,ragged-right,relative=2,fragment,verbatim]
-\override Score.SpacingSpanner #'strict-note-spacing = ##t
+\override Score.SpacingSpanner.strict-note-spacing = ##t
\new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
@end lilypond
@item @code{uniform-stretching} (gleichmäßige Dehnung)
@item @code{strict-note-spacing} (strenge Notenverteilung)
@item @code{\remove "Separating_line_group_engraver"} (entferne Liniengruppentrennungsengraver)
-@item @code{\override PaperColumn #'used = ##t} (PapierSpalte benutzt = wahr)
+@item @code{\override PaperColumn.used = ##t} (PapierSpalte benutzt = wahr)
@end itemize
In den Beispielen unten werden diese fünf unterschiedlichen Einstellungen
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1 20)
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
\new Staff {
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
c''8
Notation benutzt werden. Dazu gehören:
@itemize
-@item @code{\override SpacingSpanner #'strict-grace-spacing = ##t}
+@item @code{\override SpacingSpanner.strict-grace-spacing = ##t}
@item @code{tupletFullLength = ##t}
-@item @code{\override Beam #'breakable = ##t}
-@item @code{\override Glissando #'breakable = ##t}
-@item @code{\override TextSpanner #'breakable = ##t}
+@item @code{\override Beam.breakable = ##t}
+@item @code{\override Glissando.breakable = ##t}
+@item @code{\override TextSpanner.breakable = ##t}
@item @code{\remove "Forbid_line_break_engraver" in the Voice context}
@end itemize
@lilypond[verbatim,quote,relative=1]
e4 c g\f c
-e4 c g-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 \f c
+e4 c g-\tweak X-offset #-2.7 -\tweak Y-offset #2.5 \f c
@end lilypond
@item
\layout {
\context {
\Score
- \override SpacingSpanner
- #'common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
}
}
}
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-count = #2
+\override Staff.StaffSymbol.line-count = #2
\startStaff g, e |
f'4 d \stopStaff
-\revert Staff.StaffSymbol #'line-count
+\revert Staff.StaffSymbol.line-count
\startStaff g, e |
@end lilypond
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(1 3 5 -1 -3)
+\override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
\startStaff g, e |
f'4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(8 6.5 -6 -8 -0.5)
+\override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
\startStaff g, e
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #3
+ \override StaffSymbol.thickness = #3
}
{ f4 d g, e }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #2
- \override StaffSymbol #'ledger-line-thickness = #'(0.5 . 0.4)
+ \override StaffSymbol.thickness = #2
+ \override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-positions = #'(-3 -2 -1 2 5 6)
+ \override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
}
{ f'4 a, a,, f }
@end lilypond
der Befehl sich auf das gesamte System (@code{StaffSymbol}) auswirkt.
@lilypond[fragment,quote,relative=1]
-\override Staff.StaffSymbol #'line-positions = #'(-8 0 2 4)
+\override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
d4 e f g
\stopStaff
\startStaff
-\override Staff.StaffSymbol #'ledger-positions = #'(-8 -6 (-4 -2) 0)
+\override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
d4 e f g
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.staff-space = #1.5
}
{ f'4 d, g, e, }
@end lilypond
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
firstClef = ##f
}
{ e4 d f e }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
}
{ \stopStaff s1*6 }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
} \relative c'' {
R1*3
c4 e8 d c2
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
@end lilypond
den Engraver zu entfernen:
@example
-\override StaffSymbol #'stencil = ##f
-\override NoteHead #'no-ledgers = ##t
+\override StaffSymbol.stencil = ##f
+\override NoteHead.no-ledgers = ##t
@end example
Zu den bekannten Fehlern und Warnungen, die mit @code{\Staff \RemoveEmptyStaves}
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Till Paala
schreiben Sie in Ihre Datei:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
Anweisung erstellt werden:
@lilypond[verbatim,quote,relative=2]
-\override TextSpanner #'(bound-details left text) = "rit."
+\override TextSpanner.bound-details.left.text = "rit."
b1\startTextSpan
e,\stopTextSpan
@end lilypond
einsetzt, wie beschrieben in @ref{Text formatieren}.
@lilypond[quote,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text) =
+\override TextSpanner.bound-details.left.text =
\markup { \upright "rit." }
b1\startTextSpan c
e,\stopTextSpan
Änderung in Bezug auf die Standardschriftgröße.
@lilypond[quote,verbatim,relative=2]
-\override Score.RehearsalMark #'font-family = #'typewriter
+\override Score.RehearsalMark.font-family = #'typewriter
\mark \markup "Ouverture"
-\override Voice.TextScript #'font-shape = #'italic
-\override Voice.TextScript #'font-series = #'bold
+\override Voice.TextScript.font-shape = #'italic
+\override Voice.TextScript.font-series = #'bold
d2.^\markup "Allegro"
-\override Voice.TextScript #'font-size = #-3
+\override Voice.TextScript.font-size = #-3
c4^smaller
@end lilypond
verwendet man folgende Syntax:
@lilypond[quote,verbatim,relative=2]
-\override Staff.TimeSignature #'font-name = #"Bitstream Charter"
-\override Staff.TimeSignature #'font-size = #2
+\override Staff.TimeSignature.font-name = #"Bitstream Charter"
+\override Staff.TimeSignature.font-size = #2
\time 3/4
a1_\markup {
Guide, node Updating translation committishes.
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Till Paala
werden. Ein Befehl heißt also @emph{nicht}:
@example
-\override Score.LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
@noindent
sondern
@example
-\override Score . LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
Punkte, Gesangstext mit Akzenten, verschiedene lateinische und nicht-lateinische
<<
\new Lyrics = "lyrics" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "melody" {
\new Lyrics = "sopranos"
\new Lyrics = "contraltos" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "contraltos" {
@lilypond[relative=1,verbatim,quote,ragged-right]
{
c c c c
- \override Lyrics.LyricSpace #'minimum-distance = #1.0
+ \override Lyrics.LyricSpace.minimum-distance = #1.0
c c c c
}
\addlyrics {
\layout {
\context {
\Lyrics
- \override LyricSpace #'minimum-distance = #1.0
+ \override LyricSpace.minimum-distance = #1.0
}
}
}
Notensatz etwas zu beschleunigen, kann die Überprüfung abgestellt werden:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
Damit Gesangstext auch nicht mit Taktlinien
\Lyrics
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
@}
@}
@end example
\voiceOne
\times 2/3 {
% show associations clearly.
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
\layout {
\context {
\Score
- \override DynamicText #'direction = #UP
- \override DynamicLineSpanner #'direction = #UP
+ \override DynamicText.direction = #UP
+ \override DynamicLineSpanner.direction = #UP
}
}
}
% position name of cue-ing instrument just before the cue notes,
% and above the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
\set instrumentCueName = "Flute"
}
\cueDuring "flute" #UP { g4 bes4 }
\transposition c'
% position name of cue-ing instrument below the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
- \override InstrumentSwitch #'direction = #DOWN
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
+ \override InstrumentSwitch.direction = #DOWN
\set instrumentCueName = "Clar."
}
\cueDuring "clarinet" #DOWN { c4. g8 }
\score {
<<
\new Lyrics \with {
- \override LyricText #'font-shape = #'italic
- \override LyricText #'self-alignment-X = #LEFT
+ \override LyricText.font-shape = #'italic
+ \override LyricText.self-alignment-X = #LEFT
}
{ \dialogue }
\new Staff {
der gesprochenen Worte orientiert.
@lilypond[verbatim,quote]
-stemOff = { \override Staff.Stem #'transparent = ##t }
+stemOff = { \override Staff.Stem.transparent = ##t }
\relative c' {
\stemOff
@lilypond[verbatim,quote]
divisioMinima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maxima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
finalis = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
}
\context {
\Staff
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Reinhold Kainhofer, Till Paala
@c Translation checkers: Till Paala
Notenköpfe immernoch schwarz im unteren System erscheinen.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
zu Beginn hinzufügt:
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
Zu Einzelheiten siehe @qq{Abstand von Nicht-Notensystemzeilen} in
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Grabado musical
@chapter Grabado musical
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.0
- \override NoteSpacing #'same-direction-correction = #0.0
- \override StaffSpacing #'stem-spacing-correction = #0.0
+ \override NoteSpacing.stem-spacing-correction = #0.0
+ \override NoteSpacing.same-direction-correction = #0.0
+ \override StaffSpacing.stem-spacing-correction = #0.0
}
}
}
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.6
+ \override NoteSpacing.stem-spacing-correction = #0.6
}
}
}
<<
\new Staff \with {
fontSize = #-4
- \override StaffSymbol #'staff-space = #(magstep -4)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -4)
+ \override StaffSymbol.thickness = #(magstep -3)
}
\relative c' {
\global
\clef "bass"
<<
{
- \once \override DynamicText #'X-offset = #-3
+ \once \override DynamicText.X-offset = #-3
<ees g c>2.~->^\f
<ees g c>4.~ <ees g c>8
} \\ {
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[( f] g[ a b d,)] r4
e8[( f] g[ a b d,)] r4
}
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
}
@end lilypond
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
}
@end lilypond
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
@c KEEP LY
@lilypond
-collide = \once \override NoteColumn #'force-hshift = #0
+collide = \once \override NoteColumn.force-hshift = #0
\score {
<<
\change Staff = "LH" \oneVoice
\stemUp g,( c}
r4
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #12
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #12
<fis, b>) r\fermata
}
>>
\score {
\relative c' {
\stemDown <e g b>4_>-\arpeggio
- \override Arpeggio #'direction = #RIGHT
+ \override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
\layout {
\context {
\Score
- \override SpacingSpanner #'spacing-increment = #3
- \override TimeSignature #'transparent = ##t
+ \override SpacingSpanner.spacing-increment = #3
+ \override TimeSignature.transparent = ##t
}
}
}
<<
\new Staff \fragment
\new Staff \with {
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #0.5
- \override Bar #'thickness = #3.6
- \override Tie #'thickness = #2.2
- \override StaffSymbol #'thickness = #3.0
- \override Tie #'extra-offset = #'(0 . 0.3)
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #0.5
+ \override Bar.thickness = #3.6
+ \override Tie.thickness = #2.2
+ \override StaffSymbol.thickness = #3.0
+ \override Tie.extra-offset = #'(0 . 0.3)
}
\fragment
>>
\set autoBeaming = ##f
\time 2/4
<d f g>4
- \once \override NoteHead #'stencil = #note-head::brew-ez-stencil
- \once \override NoteHead #'font-size = #-7
- \once \override NoteHead #'font-family = #'sans
- \once \override NoteHead #'font-series = #'bold
+ \once \override NoteHead.stencil = #note-head::brew-ez-stencil
+ \once \override NoteHead.font-size = #-7
+ \once \override NoteHead.font-family = #'sans
+ \once \override NoteHead.font-series = #'bold
<d f g>4
- \once \override NoteHead #'style = #'cross
+ \once \override NoteHead.style = #'cross
<d f g>4
\applyOutput #'Voice #mc-squared
<d f g>4
\time 4/8
\key c \minor
<< {
- \revert Stem #'direction
+ \revert Stem.direction
\change Staff = down
\set subdivideBeams = ##t
g16.[
\clef bass
\key c \minor
\set subdivideBeams = ##f
- \override Stem #'french-beaming = ##t
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #4.0
+ \override Stem.french-beaming = ##t
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #4.0
g'16[ b16 fis16 g16]
<< \makeClusters {
as16 <as b>
<g b>
<g cis>
} \\ {
- \override Staff.Arpeggio #'arpeggio-direction =#down
+ \override Staff.Arpeggio.arpeggio-direction =#down
<cis, e, gis, b, cis>4\arpeggio
}
>> }
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
(parser location principio-final)
(pair?)
#@{
- \once \override Beam #'positions = #principio-final
+ \once \override Beam.positions = #principio-final
#@})
\relative c' @{
(parser location beg end)
(number? number?)
#{
- \once \override Beam #'positions = #(cons beg end)
+ \once \override Beam.positions = #(cons beg end)
#})
\relative c' {
(parser location mag)
(number?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#})
AltOff = {
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
}
\relative c' {
(parser location mag music)
(number? ly:music?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#music
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
#})
\relative c' {
(parser location)
()
(if (eq? #t (ly:get-option 'display-bar-numbers))
- #@{ \once \override Score.BarNumber #'break-visibility = ##f #@}
+ #@{ \once \override Score.BarNumber.break-visibility = ##f #@}
#@{#@}))
@end example
p. ej.:
@example
-\override Stem #'thickness = #2.0
+\override Stem.thickness = #2.0
@end example
Las propiedades pueden fijarse también a un procedimiento de Scheme,
@lilypond[fragment,verbatim,quote,relative=2]
-\override Stem #'thickness = #(lambda (grob)
+\override Stem.thickness = #(lambda (grob)
(if (= UP (ly:grob-property grob 'direction))
2.0
7.0))
sintáctica. Por ejemplo, lo siguiente produce un error de sintaxis.
@example
-F = \tweak #'font-size #-3 -\flageolet
+F = \tweak font-size #-3 -\flageolet
\relative c'' @{
c4^\F c4_\F
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
\relative c'' {
- \override Tie #'after-line-breaking =
+ \override Tie.after-line-breaking =
#my-callback
c1 ~ \break
c2 ~ c
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Tutorial de Scheme
@appendix Tutorial de Scheme
sintaxis de LilyPond para hacer esto es la siguiente:
@example
-\override Stem #'thickness = #2.6
+\override Stem.thickness = #2.6
@end example
Esta instrucción ajusta el aspecto de las plicas. Se añade una
coordenada X, y el @code{cdr} es la coordenada Y.
@example
-\override TextScript #'extra-offset = #'(1 . 2)
+\override TextScript.extra-offset = #'(1 . 2)
@end example
Esto asigna la pareja @code{(1 . 2)} a la propiedad
@c @transl ationof Tweaking with Scheme
Hemos visto cómo la salida de LilyPond se puede modificar
-profundamente usando instrucciones como @code{\override TextScript
-#'extra-offset = ( 1 . -1)}. Pero tenemos incluso mucho más poder si
+profundamente usando instrucciones como @code{\override TextScript.extra-offset = ( 1 . -1)}. Pero tenemos incluso mucho más poder si
utilizamos Scheme. Para ver una explicación completa de esto,
consulte el @ref{Tutorial de Scheme}, y @ruser{Interfaces para programadores}.
@lilypond[quote,verbatim,ragged-right]
padText = #(define-music-function (parser location padding) (number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
tempoPadded = #(define-music-function (parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Conceptos fundamentales
\\ % Voice two
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No voice three
\\ % Voice four
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
\\ % Voice two
{ \voiceTwoStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No Voice three (we want stems down)
\\ % Voice four
{ \voiceThreeStyle
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
@}
>> % % fin del contexto de Staff ManualUno
\new Staff = "ManualDos" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp =_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
Observe que la sintaxis de @code{\tweak} no es igual que la de
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex color, propiedad, ejemplo
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
siguiente:
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
¡No olvide el @code{#'} antes del nombre de la propiedad y@tie{}@code{#}
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% Revert thickness of all following slurs to default of 1.2
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
letra en cursiva, es:
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
instrucción será:
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{Dentro de la letra, deje siempre espacios entre la sílaba
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% Don't print clefs in this staff
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% Don't print time signatures in this staff
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
objeto como las cabezas (@code{NoteHead}s) con instrucciones como
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
o podemos cambiar el tamaño de todas las tipografías estableciendo una
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% Reduce all font sizes by ~24%
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% Reduce stem length and line spacing to match
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4 g c a |
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a |
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a |
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a |
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5 |
@end lilypond
@w{@code{-7}}:
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
% Place following Ottava Bracket below Text Spanners
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% Start Ottava Bracket
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8 |
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8 |
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8 |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Text1"
c2^"Text2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Text3"
c2^"Text4" |
@end lilypond
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Long Text " c'' |
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % and turn on textLengthOn
c,,2^"Long Text " % Spaces at end are honored
c''2 |
instrucción que lo hace para las indicaciones dinámicas:
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 staff space
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
% This will not work, see below
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4 = 120
c1 |
% This works
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4 = 80
d1 |
@end lilypond
\relative c'' {
c4
% This prints a sesquisharp but the spacing is too small
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% This improves the spacing
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 |
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 unit
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% Align dynamics to a base line 2 units above staff
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
<a\2>
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
<a\2>
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{ c'1 ~ c'2. e'8 f' }
\\
{
- \override Beam #'positions = #'(-1 . -1)
+ \override Beam.positions = #'(-1 . -1)
e''8 e'' e'' e'' e'' e'' e'' e'' f''2 g''
}
>>
\\
{
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\
\\
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
ligadura 3.5 medios espacios de pentagrama por encima de la línea
central:
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
Con esto se completa el compás dos, dando como resultado:
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
@code{\revert}?
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
Estas instrucciones también serían extremadamente tediosas de escribir
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\relative c' {
% Arrange to obtain color from color-notehead procedure
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@node Notación antigua
@section Notación antigua
\context {
\Staff
\consists "Custos_engraver"
- \override Custos #'style = #'mensural
+ \override Custos.style = #'mensural
}
}
}
\score {
<<
\new MensuralVoice = "discantus" \transpose c c' {
- \override Score.BarNumber #'transparent = ##t {
+ \override Score.BarNumber.transparent = ##t {
c'1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c'\breve d'\melismaEnd \]
@tab
@lilypond[relative=1,notime]
\clef "mensural-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-f"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-f3"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@end multitable
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter default }
- \override Staff.TimeSignature #'style = #'numbered
+ \override Staff.TimeSignature.style = #'numbered
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter numbered }
- \override Staff.TimeSignature #'style = #'mensural
+ \override Staff.TimeSignature.style = #'mensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter mensural }
- \override Staff.TimeSignature #'style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter neomensural }
- \override Staff.TimeSignature #'style = #'single-digit
+ \override Staff.TimeSignature.style = #'single-digit
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter single-digit }
}
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
\autoBeamOff
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\maxima a'\longa a'\breve a'1 a'2 a'4 a'8 a'16 a'
-\override NoteHead #'style = #'semipetrucci
+\override NoteHead.style = #'semipetrucci
a'\breve*5/6
-\override NoteHead #'style = #'blackpetrucci
+\override NoteHead.style = #'blackpetrucci
a'8*4/3 a'
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\longa
@end lilypond
contemplado el estilo @code{mensural}
@lilypond[quote,fragment,ragged-right,verbatim]
-\override Flag #'style = #'mensural
-\override Stem #'thickness = #1.0
-\override NoteHead #'style = #'mensural
+\override Flag.style = #'mensural
+\override Stem.thickness = #1.0
+\override NoteHead.style = #'mensural
\autoBeamOff
c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
-\override Rest #'style = #'classical
+\override Rest.style = #'classical
r\longa^"classical" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'mensural
+\override Rest.style = #'mensural
r\longa^"mensural" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'neomensural
+\override Rest.style = #'neomensural
r\longa^"neomensural" r\breve r1 r2 r4 r8 r16
@end lilypond
@code{KeySignature}, respectivamente; p.ej.:
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
@c @example
@c \set Score.timing = ##f
@c \set Score.defaultBarType = "-"
-@c \override NoteHead #'style = #'neomensural
-@c \override Staff.TimeSignature #'style = #'neomensural
+@c \override NoteHead.style = #'neomensural
+@c \override Staff.TimeSignature.style = #'neomensural
@c \clef "petrucci-g"
@c \[ c'\maxima g \]
@c \[ d\longa c\breve f e d \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
@code{vaticana-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-do2"
c
@end lilypond
@code{vaticana-fa1}, @code{vaticana-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-fa2"
c
@end lilypond
@code{medicaea-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-do2"
c
@end lilypond
@code{medicaea-fa1}, @code{medicaea-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-fa2"
c
@end lilypond
@code{hufnagel-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do2"
c
@end lilypond
@code{hufnagel-fa1}, @code{hufnagel-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-fa2"
c
@end lilypond
@code{hufnagel-do-fa}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do-fa"
c
@end lilypond
respectivamente; p.ej.:
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
\score {
<<
\context VaticanaVoice {
- \override TextScript #'padding = #3
+ \override TextScript.padding = #3
g a g
s^\markup { "divisio minima" }
\divisioMinima
\include "gregorian.ly"
\score {
\new VaticanaVoice {
- \override TextScript #'font-family = #'typewriter
- \override TextScript #'font-shape = #'upright
- \override Script #'padding = #-0.1
+ \override TextScript.font-family = #'typewriter
+ \override TextScript.font-shape = #'upright
+ \override Script.padding = #-0.1
a\ictus_"ictus " \bar "" \break
a\circulus_"circulus " \bar "" \break
a\semicirculus_"semicirculus " \bar "" \break
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim]
\autoBeamOff
\cadenzaOn
-\override NoteHead #'style = #'kievan
+\override NoteHead.style = #'kievan
b'1 b'2 b'4 b'8 b'\breve b'\longa
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
-\override NoteHead #'style = #'kievan
-\override Accidental #'glyph-name-alist =
+\override NoteHead.style = #'kievan
+\override Accidental.glyph-name-alist =
#alteration-kievan-glyph-name-alist
bes' dis,
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c \bar "k"
@end lilypond
Sin embargo, en ciertos estilos de transcripción, se usan plicas de
forma ocasional, por ejemplo para indicar la transición a partir de un
recitativo monotónico a un gesto melódico fijo. En estos casos
-podemos usar bien @code{\override Stem #'transparent = ##t} o bien
-@code{\override Stem #'length = #0}, y restaurar la plica cuando se
-necesite con el correspondiente @code{\once \override Stem
-#'transparent = ##f} (véase el ejemplo de abajo). Al utilizar
+podemos usar bien @code{\override Stem.transparent = ##t} o bien
+@code{\override Stem.length = #0}, y restaurar la plica cuando se
+necesite con el correspondiente @code{\once \override Stem.transparent = ##f} (véase el ejemplo de abajo). Al utilizar
plicas que lleven corchetes, asegúrese de establecer también
-@code{\override Flag #'transparent = ##t}.
+@code{\override Flag.transparent = ##t}.
@b{Compás}. Para el canto no medido, existen diversas alternativas.
Para quitar las barras de compás, el enfoque radical consiste en
retirar (mediante la instrucción @code{\remove}) el grabador
Bar_engraver del contexto de pentagrama Staff. Una vez más, en vez de
-ello podemos usar @code{\override BarLine #'transparent = ##t} si se
+ello podemos usar @code{\override BarLine.transparent = ##t} si se
necesita ocasionalmente una barra de compás.
Un tipo de transcripción muy común es el canto de recitativo, en el
}
verba = \lyricmode {
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"Noctem quietam et" fi -- nem per -- fec -- tum
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"concedat nobis Dominus" om -- ni -- po -- tens.
}
\score {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
chant = \relative c' {
\clef "G_8"
\set Score.timing = ##f
- c\breve \override NoteHead #'transparent = ##t c c c c c
- \revert NoteHead #'transparent
- \override Stem #'transparent = ##f \stemUp c4 b4 a
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t c2 c4 \divisioMaior
- c\breve \override NoteHead #'transparent = ##t c c c c c c c
- \revert NoteHead #'transparent c4 c f, f \finalis
+ c\breve \override NoteHead.transparent = ##t c c c c c
+ \revert NoteHead.transparent
+ \override Stem.transparent = ##f \stemUp c4 b4 a
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t c2 c4 \divisioMaior
+ c\breve \override NoteHead.transparent = ##t c c c c c c c
+ \revert NoteHead.transparent c4 c f, f \finalis
}
verba = \lyricmode {
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'transparent = ##t
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override BarLine.transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
@lilypond[verbatim,quote]
spiritus = \relative c' {
\time 1/4
- \override Lyrics.LyricText #'X-extent = #'(0 . 3)
+ \override Lyrics.LyricText.X-extent = #'(0 . 3)
d4 \times 2/3 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\times 2/3 { g8 f d } e f g a g4
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'X-extent = #'(-1 . 1)
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Beam #'transparent = ##t
- \override BarLine #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override BarLine.X-extent = #'(-1 . 1)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Beam.transparent = ##t
+ \override BarLine.transparent = ##t
+ \override TupletNumber.transparent = ##t
}
}
}
\layout {
\context {
\Staff
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
}
}
\layout {
\accidentalStyle dodecaphonic
\set fontSize = #-4
- \override Voice.Stem #'thickness = #4.0
+ \override Voice.Stem.thickness = #4.0
}
}
@end lilypond
\new Staff {
\new Voice
\with {
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
{
\relative c'' {
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
}
\context { \Staff
Las notas parecen barras inclinadas y no tienen plica:
@example
-\override NoteHead #'style = #'slash
-\override Stem #'transparent = ##t
-\override Flag #'transparent = ##t
+\override NoteHead.style = #'slash
+\override Stem.transparent = ##t
+\override Flag.transparent = ##t
@end example
Todos estos añadidos tienen que cooperar, y esto se consigue con un
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
@}
@end example
espacio en blanco de 3 espacios de pentagrama entre la nota y la
digitación:
@example
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
@end example
Al insertar esta instrucción antes de que se haya creado el objeto
resultado:
@lilypond[quote,relative=2,verbatim]
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
c-2
\stemUp
f
La instrucción
@verbatim
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
@end verbatim
@noindent
@lilypond[quote,verbatim,relative=2]
c4
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
c4
c4
c4
@lilypond[quote,verbatim,relative=2]
c4
-\once \override Stem #'thickness = #4.0
+\once \override Stem.thickness = #4.0
c4
c4
@end lilypond
en el momento en que se crea el objeto. En este ejemplo:
@lilypond[quote,verbatim,relative=2]
-\override Slur #'thickness = #3.0
+\override Slur.thickness = #3.0
c8[( c
-\override Beam #'beam-thickness = #0.6
+\override Beam.beam-thickness = #0.6
c8 c])
@end lilypond
siguiente ejemplo no hace nada.
@example
-\override Voice.Stem #'thickness = #4.0
-\revert Staff.Stem #'thickness
+\override Voice.Stem.thickness = #4.0
+\revert Staff.Stem.thickness
@end example
Algunas opciones «trucables» se llaman @q{subpropiedades} y residen
tales como
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@end ignore
@lilypond[quote,verbatim,relative=2]
c4 c
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
@end lilypond
@code{\override}, se utiliza el contexto del nivel inferior:
@lilypond[quote,verbatim,relative=2]
-{ \override Staff.Stem #'thickness = #3.0
+{ \override Staff.Stem.thickness = #3.0
<<
{
e4 e
- \override Stem #'thickness = #0.5
+ \override Stem.thickness = #0.5
e4 e
} \\ {
c4 c c c
@lilypond[quote,verbatim,relative=2]
c4
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
-\revert Voice.Stem #'thickness
+\revert Voice.Stem.thickness
c4
@end lilypond
<<
{
e4
- \override Staff.Stem #'thickness = #3.0
+ \override Staff.Stem.thickness = #3.0
e4 e e
} \\ {
c4 c c
- \revert Staff.Stem #'thickness
+ \revert Staff.Stem.thickness
c4
}
>>
{
<<
{
- \override Stem #'thickness = #3.0
+ \override Stem.thickness = #3.0
e4 e e e
} \\ {
c4
- \once \override Stem #'thickness = #3.0
+ \once \override Stem.thickness = #3.0
c4 c c
}
>>
aspecto como
@example
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
@end example
@noindent
instrucciones de la forma
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@cindex documentación interna
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
--\tweak #'padding #8
+-\tweak padding #8
-^
@end lilypond
Así, esto funciona:
@lilypond[relative=2,verbatim,quote]
-<\tweak #'color #red c>4
+<\tweak color #red c>4
@end lilypond
@noindent
pero esto no funciona:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
+\tweak color #red c4
@end lilypond
@end ignore
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
@end lilypond
@code{\tweak} se puede usar para modificar ligaduras de expresión:
@lilypond[verbatim,quote,relative=1]
-c-\tweak #'thickness #5 ( d e f)
+c-\tweak thickness #5 ( d e f)
@end lilypond
partir de eventos dentro del @code{EventChord}:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
-\tweak #'color #red <c e>4
-<\tweak #'color #red c e>4
+\tweak color #red c4
+\tweak color #red <c e>4
+<\tweak color #red c e>4
@end lilypond
La instrucción @code{\tweak} sencilla no se puede usar para modificar
@lilypond[verbatim,quote,relative=1]
c
--\tweak #'style #'dashed-line
--\tweak #'dash-fraction #0.2
--\tweak #'thickness #3
--\tweak #'color #red
+-\tweak style #'dashed-line
+-\tweak dash-fraction #0.2
+-\tweak thickness #3
+-\tweak color #red
\glissando
f'
@end lilypond
% reduced space between staves
\new PianoStaff \with {
% this is the nested declaration
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #7
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #7
} <<
\new Staff { \clef treble c''1 }
\new Staff { \clef bass c1 }
@lilypond[quote,verbatim]
\new PianoStaff \with {
- \override StaffGrouper #'staff-staff-spacing =
+ \override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 0)
(padding . 0)
siguientes son equivalentes:
@example
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7))
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7)
(minimum-distance . 0)
(padding . 0)
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(7 3 0 -4 -6 -7)
+ \override StaffSymbol.line-positions = #'(7 3 0 -4 -6 -7)
}
{ a4 e' f b | d1 }
@end lilypond
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'width = #23
+ \override StaffSymbol.width = #23
}
{ a4 e' f b | d1 }
@end lilypond
a~a
a
% increase the length of the tie
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
~a
@end lilypond
\compressFullBarRests
R1*23
% increase the length of the rest bar
-\once \override MultiMeasureRest #'minimum-length = #20
+\once \override MultiMeasureRest.minimum-length = #20
R1*23
a1
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a \!
% increase the length of the hairpin
-\override Hairpin #'minimum-length = #20
+\override Hairpin.minimum-length = #20
a \< a a a \!
@end lilypond
@lilypond[verbatim,quote,relative=2]
a( a)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
( a)
a\( a\)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
\( a\)
@end lilypond
e \glissando c'
% not effective alone
-\once \override Glissando #'minimum-length = #20
+\once \override Glissando.minimum-length = #20
e, \glissando c'
% effective only when both overrides are present
-\once \override Glissando #'minimum-length = #20
-\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Glissando.minimum-length = #20
+\once \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
e, \glissando c'
@end lilypond
@lilypond[verbatim,quote,relative=1]
% not effective alone
-\once \override Beam #'minimum-length = #20
+\once \override Beam.minimum-length = #20
e8 e e e
% effective only when both overrides are present
-\once \override Beam #'minimum-length = #20
-\once \override Beam #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Beam.minimum-length = #20
+\once \override Beam.springs-and-rods = #ly:spanner::set-spacing-rods
e8 e e e
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a a \! a a a \break
-\override Hairpin #'to-barline = ##f
+\override Hairpin.to-barline = ##f
a \< a a a a \! a a a
@end lilypond
@lilypond[relative=2,quote,verbatim]
e2 \glissando b
-\once \override Glissando #'(bound-details left Y) = #3
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.left.Y = #3
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando b
@end lilypond
@code{right-broken} de @code{bound-details}. Por ejemplo:
@lilypond[relative=2,ragged-right,verbatim,quote]
-\override Glissando #'breakable = ##t
-\override Glissando #'(bound-details right-broken Y) = #-3
+\override Glissando.breakable = ##t
+\override Glissando.bound-details.right-broken.Y = #-3
c1 \glissando \break
f1
@end lilypond
de extensión horizontales.
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan
@end lilypond
símbolo del borde verticalmente con relación al extremo de la línea:
@lilypond[relative=1,quote,verbatim]
-\override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #-2
-\override TextSpanner
- #'(bound-details right stencil-align-dir-y) = #UP
-
-\override TextSpanner
- #'(bound-details left text) = #"ggg"
-\override TextSpanner
- #'(bound-details right text) = #"hhh"
+\override TextSpanner.bound-details.left.stencil-align-dir-y = #-2
+\override TextSpanner.bound-details.right.stencil-align-dir-y = #UP
+
+\override TextSpanner.bound-details.left.text = #"ggg"
+\override TextSpanner.bound-details.right.text = #"hhh"
c4^\startTextSpan c c c \stopTextSpan
@end lilypond
@lilypond[quote,verbatim,relative=1]
a1 a
-\override Score.BarLine #'stencil = ##f
+\override Score.BarLine.stencil = ##f
a a
-\revert Score.BarLine #'stencil
+\revert Score.BarLine.stencil
a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
a4 a
-\once \override NoteHead #'transparent = ##t
+\once \override NoteHead.transparent = ##t
a a
@end lilypond
objeto blanco, como puede verse aquí:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
+\override Staff.Clef.color = #white
a1
@end lilypond
para que se dibuje antes:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
-\override Staff.Clef #'layer = #-1
+\override Staff.Clef.color = #white
+\override Staff.Clef.layer = #-1
a1
@end lilypond
f4 g a b
f4 g a b
% Remove bar line at the end of the current line
-\once \override Score.BarLine #'break-visibility = #'#(#f #t #t)
+\once \override Score.BarLine.break-visibility = #'#(#f #t #t)
\break
f4 g a b
f4 g a b
\key g \major
f4 g a b
% Try to remove all key signatures
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b
\break
\key g \major
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.printKeyCancellation = ##f
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
@lilypond[relative=2,ragged-right,verbatim,quote]
d2 \glissando d'2
-\once \override Glissando #'style = #'dashed-line
+\once \override Glissando.style = #'dashed-line
d,2 \glissando d'2
-\override Glissando #'style = #'dotted-line
+\override Glissando.style = #'dotted-line
d,2 \glissando d'2
-\override Glissando #'style = #'zigzag
+\override Glissando.style = #'zigzag
d,2 \glissando d'2
-\override Glissando #'style = #'trill
+\override Glissando.style = #'trill
d,2 \glissando d'2
@end lilypond
@c TODO Complete
@lilypond[relative=2,ragged-right,verbatim,quote]
e2 \glissando f
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando f
@end lilypond
@lilypond[quote,verbatim,relative=1]
g4\< e' d' f\!
-\override Hairpin #'rotation = #'(20 -1 0)
+\override Hairpin.rotation = #'(20 -1 0)
g,,4\< e' d' f\!
@end lilypond
que empuja al texto a una posición muy alta.
@lilypond[quote,verbatim,relative=1]
-\override TextScript #'outside-staff-priority = ##f
+\override TextScript.outside-staff-priority = ##f
g4^\markup { \rotate #30 "a G" }
b^\markup { \rotate #30 "a B" }
des^\markup { \rotate #30 "a D-Flat" }
@lilypond[verbatim,quote,relative=2]
a-3
a
--\tweak #'X-offset #0
--\tweak #'Y-offset #0
+-\tweak X-offset #0
+-\tweak Y-offset #0
-3
a
--\tweak #'X-offset #-1
--\tweak #'Y-offset #1
+-\tweak X-offset #-1
+-\tweak Y-offset #1
-3
@end lilypond
@lilypond[quote,verbatim,relative=1]
a'
--\tweak #'self-alignment-X #-1
+-\tweak self-alignment-X #-1
^"left-aligned"
--\tweak #'self-alignment-X #0
+-\tweak self-alignment-X #0
^"center-aligned"
--\tweak #'self-alignment-X #RIGHT
+-\tweak self-alignment-X #RIGHT
^"right-aligned"
--\tweak #'self-alignment-X #-2.5
+-\tweak self-alignment-X #-2.5
^"aligned further to the right"
@end lilypond
@lilypond[quote,verbatim,relative=2]
a
--\tweak #'self-alignment-X #0.5 % move horizontally left
--\tweak #'Y-offset #ly:self-alignment-interface::y-aligned-on-self
--\tweak #'self-alignment-Y #-1 % move vertically up
+-\tweak self-alignment-X #0.5 % move horizontally left
+-\tweak Y-offset #ly:self-alignment-interface::y-aligned-on-self
+-\tweak self-alignment-Y #-1 % move vertically up
-3 % third finger
@end lilypond
@lilypond[verbatim,quote,relative=1]
% The rehearsal mark will be centered above the Clef
-\override Score.RehearsalMark #'break-align-symbols = #'(clef)
+\override Score.RehearsalMark.break-align-symbols = #'(clef)
\key a \major
\clef treble
\mark "↓"
e1
% The rehearsal mark will be centered above the Time Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(time-signature)
\key a \major
\clef treble
\time 3/4
\mark "↓"
e2.
% The rehearsal mark will be centered above the Breath Mark
-\override Score.RehearsalMark #'break-align-symbols = #'(breathing-sign)
+\override Score.RehearsalMark.break-align-symbols = #'(breathing-sign)
\key a \major
\clef treble
\time 4/4
@lilypond[verbatim,quote,relative=1]
% The rehearsal mark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
e1
% The rehearsal mark will be centered above the Clef
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef bass
\mark "↓"
% The rehearsal mark will be centered above the Bar Line
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.explicitClefVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\key a \major
\clef treble
\time 4/4
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the Key Signature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+\once \override Score.KeySignature.break-align-anchor-alignment = #LEFT
\mark "↓"
\key a \major
e1
% The RehearsalMark will be aligned with the right edge of the Key Signature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+\once \override Score.KeySignature.break-align-anchor-alignment = #RIGHT
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be aligned with the left edge of the Key Signature
% and then shifted right by 3.5 staff-spaces
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
-\once \override Score.KeySignature #'break-align-anchor = #3.5
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
+\once \override Score.KeySignature.break-align-anchor = #3.5
\key a \major
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the Key Signature
% and then shifted left by 2 staff-spaces
-\once \override Score.KeySignature #'break-align-anchor = #-2
+\once \override Score.KeySignature.break-align-anchor = #-2
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote]
XinO = {
- \once \override NoteHead #'stencil = #ly:text-interface::print
- \once \override NoteHead #'text = \markup {
+ \once \override NoteHead.stencil = #ly:text-interface::print
+ \once \override NoteHead.text = \markup {
\combine
\halign #-0.7 \draw-circle #0.85 #0.2 ##f
\musicglyph #"noteheads.s2cross"
@lilypond[verbatim,quote,relative=1]
<<
{
- \once \override Tie
- #'control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
+ \once \override Tie.control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
e1 ~ e
}
\\
'(-0.5 . 0.5)))))
squareLineCircleSpace = {
- \override NoteHead #'stencil = #square-line-circle-space
+ \override NoteHead.stencil = #square-line-circle-space
}
smartSquareLineCircleSpace = {
\squareLineCircleSpace
- \override NoteHead #'Y-extent =
+ \override NoteHead.Y-extent =
#(ly:make-unpure-pure-container
ly:grob::stencil-height
(lambda (grob start end) (ly:grob::stencil-height grob)))
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
(parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c TODO: add tablature.
@tab
@lilypond[relative=2,notime]
\set Staff.autoBeaming = ##f
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c1 c2 c8 c16
@end lilypond
@tab puntillos
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c4. c4..
@end lilypond
@tab compás
@tab
@lilypond[relative=1]
-\override Staff.Clef #'stencil = #empty-stencil
+\override Staff.Clef.stencil = #empty-stencil
\time 3/4
s4_" "
\time 4/4
@tab silencio
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
r4 r8
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Notación de acordes
@section Notación de acordes
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:m c:m7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:dim c:dim7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:aug
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:maj c:maj7
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Anotaciones editoriales
@section Anotaciones editoriales
@lilypond[verbatim,quote,relative=2]
\set fontSize = #3
c4.-> d8---3
-\override NoteHead #'font-size = #-4
+\override NoteHead.font-size = #-4
c4.-> d8---3
-\override Script #'font-size = #2
+\override Script.font-size = #2
c4.-> d8---3
-\override Stem #'font-size = #-5
+\override Stem.font-size = #-5
c4.-> d8---3
@end lilypond
color válidos se encuentran relacionados en la @ref{Lista de colores}.
@lilypond[verbatim,quote,relative=2]
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
c4 c
-\override NoteHead #'color = #(x11-color 'LimeGreen)
+\override NoteHead.color = #(x11-color 'LimeGreen)
d
-\override Stem #'color = #blue
+\override Stem.color = #blue
e
@end lilypond
que se devuelve es el negro.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
gis8 a
-\override Beam #'color = #(x11-color "medium turquoise")
+\override Beam.color = #(x11-color "medium turquoise")
gis a
-\override Accidental #'color = #(x11-color 'DarkRed)
+\override Accidental.color = #(x11-color 'DarkRed)
gis a
-\override NoteHead #'color = #(x11-color "LimeGreen")
+\override NoteHead.color = #(x11-color "LimeGreen")
gis a
% this is deliberate nonsense; note that the stems remain black
-\override Stem #'color = #(x11-color 'Boggle)
+\override Stem.color = #(x11-color 'Boggle)
b2 cis
@end lilypond
Scheme @code{rgb-color}.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
-\override Stem #'color = #(rgb-color 0 0 0)
+\override Stem.color = #(rgb-color 0 0 0)
gis8 a
-\override Stem #'color = #(rgb-color 1 1 1)
+\override Stem.color = #(rgb-color 1 1 1)
gis8 a
-\override Stem #'color = #(rgb-color 0 0 0.5)
+\override Stem.color = #(rgb-color 0 0 0.5)
gis4 a
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Expresiones
@section Expresiones
crea un objeto @code{MultiMeasureRestText}.
@lilypond[verbatim,quote,relative=2]
-\override Script #'color = #red
-\override MultiMeasureRestText #'color = #blue
+\override Script.color = #red
+\override MultiMeasureRestText.color = #blue
a2\fermata r\fermata
R1\fermataMarkup
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Instrumentos de cuerda con trastes
@section Instrumentos de cuerda con trastes
fijando @code{restrainOpenStrings} al valor @code{#t}.
@lilypond[quote,ragged-right,verbatim]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
\new StaffGroup <<
\new Staff \relative c {
\clef "treble_8"
como sus alturas de sonido:
@lilypond[verbatim,quote]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
firstHarmonic = {
d'4\4\harmonic
g'4\3\harmonic
@lilypond[quote,ragged-right,verbatim]
<<
\new Voice \with {
- \override StringNumber #'stencil = ##f
+ \override StringNumber.stencil = ##f
} {
\clef "bass_8"
\relative c, {
}
}
\context Staff {
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
\clef "treble_8"
<c e g c' e'>1^\markup {
\fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
}
\context Staff {
\clef "treble_8"
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
<f, c f a c' f'>1^\markup {
\fret-diagram-verbose #'(
(place-fret 6 1)
\clef "treble_8"
b16 d g b e
\textSpannerDown
-\override TextSpanner #'(bound-details left text) = #"XII "
+\override TextSpanner.bound-details.left.text = #"XII "
g16\startTextSpan
b16 e g e b g\stopTextSpan
e16 b g d
@lilypond[quote,ragged-right,verbatim]
\relative c' {
\clef "treble_8"
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
@item Dentro de @code{lyricmode} para separar todos los términos de las instrucciones
@code{\override} y @code{\set}. Concretamente, hay que usar espacios
alrededor del punto y el signo igual en instrucciones como
-@code{\override Score . LyricText #'font-size = #5} y antes y después
+@code{\override Score.LyricText.font-size = #5} y antes y después
de la instrucción completa.
@end itemize
\footnote \markup { \super "$" } #'(0.5 . 1)
\markup { \super "$" \italic " The second note" }
e c4
- \once \override Score.FootnoteItem #'annotation-line = ##f
+ \once \override Score.FootnoteItem.annotation-line = ##f
b-\footnote \markup \tiny "+" #'(0.1 . 0.1)
\markup { \super "+" \italic " Editorial" } \p
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Teclados y otros instrumentos de varios pentagramas
@section Teclados y otros instrumentos de varios pentagramas
\new Staff = "up" {
\voiceOne
% Make space for fingering in the cross-staff voice
- \once\override DynamicLineSpanner #'staff-padding = #3.4
+ \once\override DynamicLineSpanner.staff-padding = #3.4
e''2\p\< d''\>
c''1\!
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Percusión
@section Percusión
<< \new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics \nam
>>
\layout {
\context {
\Score
- \override LyricText #'font-family = #'typewriter
- \override BarNumber #'transparent =##T
+ \override LyricText.font-family = #'typewriter
+ \override BarNumber.transparent =##T
}
}
}
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
- \override StaffSymbol #'line-count = #2
- \override StaffSymbol #'staff-space = #2
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
+ \override StaffSymbol.line-count = #2
+ \override StaffSymbol.staff-space = #2
+ \override VerticalAxisGroup.minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\remove "Bar_engraver"
\remove "Time_signature_engraver"
drumStyleTable = #congas-style
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
drumStyleTable = #bongos-style
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with{
\remove "Bar_engraver"
drumStyleTable = #percussion-style
- \override StaffSymbol #'line-count = #1
+ \override StaffSymbol.line-count = #1
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
woodstaff = {
% This defines a staff with only two lines.
% It also defines the positions of the two lines.
- \override Staff.StaffSymbol #'line-positions = #'(-2 3)
+ \override Staff.StaffSymbol.line-positions = #'(-2 3)
% This is necessary; if not entered, the barline would be too short!
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
@end lilypond
Observe que en este caso especial se debe alterar la longitud de la
-línea divisoria con @code{\override Staff.BarLine #'bar-extent #'(de . a)}.
+línea divisoria con @code{\override Staff.BarLine.bar-extent #'(de . a)}.
En caso contrario resulta demasiado corta. También debe definir las
posiciones de las dos líneas del pentagrama. Para más información
sobre estos delicados asuntos, consulte @ref{El símbolo del pentagrama}.
#(define mydrums '((tambourine default #t 0)))
tambustaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
#(define mydrums '((tamtam default #t 0)))
tamtamstaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
(cowbell default #t -2)))
bellstaff = {
- \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
+ \override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
@lilypond[verbatim,quote,relative=2]
c4 b
-\override NoteHead #'style = #'cross
+\override NoteHead.style = #'cross
c4 b
-\revert NoteHead #'style
+\revert NoteHead.style
a b
-\override NoteHead #'style = #'harmonic
+\override NoteHead.style = #'harmonic
a b
-\revert NoteHead #'style
+\revert NoteHead.style
c4 d e f
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@node Duraciones
@section Duraciones
objetos del pentagrama.
@lilypond[verbatim,quote,ragged-right,relative=2]
-\override Tie #'layer = #-2
-\override Staff.TimeSignature #'layer = #-1
-\override Staff.KeySignature #'layer = #-1
-\override Staff.TimeSignature #'whiteout = ##t
-\override Staff.KeySignature #'whiteout = ##t
+\override Tie.layer = #-2
+\override Staff.TimeSignature.layer = #-1
+\override Staff.KeySignature.layer = #-1
+\override Staff.TimeSignature.whiteout = ##t
+\override Staff.KeySignature.whiteout = ##t
b2 b~
\time 3/4
\key a \major
\new Staff {
% These two lines are just to prettify this example
\time 16/1
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
% Print a maxima rest, equal to four breves
r\maxima
% Print a longa rest, equal to two breves
@lilypond[quote,verbatim,relative=2]
% This fails, as the wrong object name is specified
-\override TextScript #'padding = #5
+\override TextScript.padding = #5
R1^"wrong"
% This is the correct object name to be specified
-\override MultiMeasureRestText #'padding = #5
+\override MultiMeasureRestText.padding = #5
R1^"right"
@end lilypond
@lilypond[verbatim,relative=2,quote]
% Show all bar numbers
-\override Score.BarNumber #'break-visibility = #all-visible
+\override Score.BarNumber.break-visibility = #all-visible
c4 d e d
\cadenzaOn
c4 c d8[ d d] f4 g4.
mientras que las últimas cuatro fusas están a un tempo constante.
@lilypond[relative=1,verbatim,quote]
-\override Beam #'grow-direction = #LEFT
+\override Beam.grow-direction = #LEFT
\featherDurations #(ly:make-moment 2 1)
{ c16[ c c c c c c c] }
-\override Beam #'grow-direction = #RIGHT
+\override Beam.grow-direction = #RIGHT
\featherDurations #(ly:make-moment 2 3)
{ c32[ d e f] }
% revert to non-feathered beams
-\override Beam #'grow-direction = #'()
+\override Beam.grow-direction = #'()
{ g32[ a b c] }
@end lilypond
sitios posibles:
@lilypond[verbatim,quote,relative=1]
-\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+\override Score.BarNumber.break-visibility = #'#(#t #t #t)
\set Score.currentBarNumber = #11
% Permit first bar number to be printed
\bar ""
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translation status: post-GDP
durante la compilación. Este mensaje se puede suprimir mediante
@example
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
@end example
Sin embargo, esto no solamente suprime la advertencia sino que
@cindex colisiones, ignorar
@knownissues
-El uso de @code{\override NoteColumn #'ignore-collision = ##t} hace
+El uso de @code{\override NoteColumn.ignore-collision = ##t} hace
que las notas con distinta cabeza en voces diferentes se mezclen
incorrectamente.
@lilypond[quote,relative=1,verbatim]
\mergeDifferentlyHeadedOn
<< { c16 a' b a } \\ { c,2 } >>
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
<< { c16 a' b a } \\ { c,2 } >>
@end lilypond
Could we add a sentence:
"Use instead the pair fontSize = #@var{N}
- \override StaffSymbol #'staff-space = #(magstep
+ \override StaffSymbol.staff-space = #(magstep
@var{N})
inside the Staff context to change the size of the font and the
distance between
indent = 2\cm
\context @{
\StaffGroup
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #8
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #8
@}
\context @{
\Voice
- \override TextScript #'padding = #1
- \override Glissando #'thickness = #3
+ \override TextScript.padding = #1
+ \override Glissando.thickness = #3
@}
@}
@end example
\layout @{
\context @{
\Voice
- \override TextScript #'color = #magenta
- \override Glissando #'thickness = #1.5
+ \override TextScript.color = #magenta
+ \override Glissando.thickness = #1.5
@}
@}
@end example
variable_de_Layout = \layout @{
\context @{
\Voice
- \override NoteHead #'font-size = #4
+ \override NoteHead.font-size = #4
@}
@}
@end example
\variable_de_layout
\context @{
\Voice
- \override NoteHead #'color = #red
+ \override NoteHead.color = #red
@}
@}
@end example
De forma similar, los saltos de línea están normalmente prohibidos
cuando hay barras de corchea que cruzan la línea divisoria. Se puede
-cambiar este comportamiento fijando @code{\override Beam #'breakable =
+cambiar este comportamiento fijando @code{\override Beam.breakable =
##t}:
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Beam #'breakable = ##t
+\override Beam.breakable = ##t
c2. c8[ c | \break
c8 c] c2. |
@end lilypond
sobreescribir este comportamiento:
@example
-\override NonMusicalPaperColumn #'line-break-permission = ##f
-\override NonMusicalPaperColumn #'page-break-permission = ##f
+\override NonMusicalPaperColumn.line-break-permission = ##f
+\override NonMusicalPaperColumn.page-break-permission = ##f
@end example
Cuando se sobreescribe el valor de @code{line-break-permission} a
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-permission = ##f
- \override NonMusicalPaperColumn #'page-break-permission = ##f
+ \override NonMusicalPaperColumn.line-break-permission = ##f
+ \override NonMusicalPaperColumn.page-break-permission = ##f
}
}
}
\score {
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1 * 2 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 35))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 35))
s1 * 3 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 70))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 70))
s1 * 6 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 105))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 105))
s1 * 5 \break
}
\new Voice {
#(define zero-space '((padding . -inf.0) (basic-distance . 0)))
alignToZero = \with {
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #zero-space
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #zero-space
}
lowerCaseChords = \with {
chordNameLowercaseMinor = ##t
}
staffAffinityDown = \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
labelContext =
#(define-music-function
\lowerCaseChords }
\context { \FretBoards \alignToZero \staffAffinityDown }
\context { \Score
- \override BarLine #'stencil = ##f
- \override DynamicText #'self-alignment-X = #-1
- \override FretBoard #'X-offset = #1.75
- \override InstrumentName #'minimum-Y-extent = #'(-2 . 2)
- \override InstrumentName #'extra-offset = #'(0 . -0.5)
- \override TextScript #'minimum-Y-extent = #'(-2 . 3)
- \override TimeSignature #'stencil = ##f
+ \override BarLine.stencil = ##f
+ \override DynamicText.self-alignment-X = #-1
+ \override FretBoard.X-offset = #1.75
+ \override InstrumentName.minimum-Y-extent = #'(-2 . 2)
+ \override InstrumentName.extra-offset = #'(0 . -0.5)
+ \override TextScript.minimum-Y-extent = #'(-2 . 3)
+ \override TimeSignature.stencil = ##f
}
}
@example
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@} @{ @dots{} @}
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 10)
(minimum-distance . 9)
(padding . 1)
\layout @{
\context @{
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@}
@}
@end example
\layout {
\context {
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 8)
(minimum-distance . 7)
(padding . 1))
% By setting 'padding to a negative value, staves can be made to
% collide. The lowest acceptable value for 'basic-distance is 0.
\new Staff \with {
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 3.5)
(padding . -10))
} { \clef bass g2 r | }
\layout {
\context {
\Score
- \override StaffGrouper #'staff-staff-spacing #'padding = #0
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #0
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #1
}
}
<<
\new PianoStaff \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} <<
\new Staff { c'1 }
\new Staff { c'1 }
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup
- #'nonstaff-nonstaff-spacing #'stretchability = #1000
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.stretchability = #1000
}
}
\new StaffGroup
<<
\new Staff \with {
- \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 30))
+ \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 30))
} { c'1 }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #UP
+ \override VerticalAxisGroup.staff-affinity = #UP
} \lyricmode { up }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #CENTER
+ \override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricmode { center }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
} \lyricmode { down }
\new Staff { c'1 }
>>
instrucción especial @code{\overrideProperty}:
@example
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (15)))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (15)))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40)
(alignment-distances . (15)))
@end example
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 80))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 80))
s1*5 \break
}
\new Voice { \repeat unfold 15 { c'4 c' c' c' } }
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 20)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 20)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (15)))
s1*5 \break
}
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0)
(alignment-distances . (30 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (10 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (10 30)))
s1*5 \break
}
@lilypond[quote,ragged-right,relative=2,verbatim]
c4_"Text"\pp
r2.
-\once \override TextScript #'outside-staff-priority = #1
+\once \override TextScript.outside-staff-priority = #1
c4_"Text"\pp % this time the text will be closer to the staff
r2.
% by setting outside-staff-priority to a non-number,
% we disable the automatic collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
-\once \override DynamicLineSpanner #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
+\once \override DynamicLineSpanner.outside-staff-priority = ##f
c4_"Text"\pp % now they will collide
@end lilypond
@code{outside-staff-padding}.
@lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
-\once \override TextScript #'outside-staff-padding = #0
+\once \override TextScript.outside-staff-padding = #0
a'^"This text is placed very close to the note"
-\once \override TextScript #'outside-staff-padding = #3
+\once \override TextScript.outside-staff-padding = #3
c^"This text is padded away from the previous text"
c^"This text is placed close to the previous text"
@end lilypond
c''2
% setting outside-staff-horizontal-padding fixes this
R1
-\once \override TextScript #'outside-staff-horizontal-padding = #1
+\once \override TextScript.outside-staff-horizontal-padding = #1
c,,4^"Text"
c4
c''2
{
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
- \override Staff.NoteSpacing #'stem-spacing-correction = #1.5
- \override Staff.StaffSpacing #'stem-spacing-correction = #1.5
+ \override Staff.NoteSpacing.stem-spacing-correction = #1.5
+ \override Staff.StaffSpacing.stem-spacing-correction = #1.5
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
}
medida necesaria.
@example
- \override Score.NonMusicalPaperColumn #'padding = #10
+ \override Score.NonMusicalPaperColumn.padding = #10
@end example
No existe ningún rodeo para disminuir la magnitud de la separación.
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
}
\layout {
\context {
\Score
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
sin tener en cuenta las claves, líneas divisorias ni notas de adorno:
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Score.SpacingSpanner #'strict-note-spacing = ##t
+\override Score.SpacingSpanner.strict-note-spacing = ##t
\new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
@end lilypond
@item @code{uniform-stretching}
@item @code{strict-note-spacing}
@item @code{\remove "Separating_line_group_engraver"}
-@item @code{\override PaperColumn #'used = ##t}
+@item @code{\override PaperColumn.used = ##t}
@end itemize
En los ejemplos que siguen, exploramos el uso de estos cinco ajustes
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1 20)
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
\new Staff {
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
c''8
frecuencia en las partituras proporcionales. Entre ellos están:
@itemize
-@item @code{\override SpacingSpanner #'strict-grace-spacing = ##t}
+@item @code{\override SpacingSpanner.strict-grace-spacing = ##t}
@item @code{tupletFullLength = ##t}
-@item @code{\override Beam #'breakable = ##t}
-@item @code{\override Glissando #'breakable = ##t}
-@item @code{\override TextSpanner #'breakable = ##t}
+@item @code{\override Beam.breakable = ##t}
+@item @code{\override Glissando.breakable = ##t}
+@item @code{\override TextSpanner.breakable = ##t}
@item @code{\remove "Forbid_line_break_engraver" in the Voice context}
@end itemize
@lilypond[verbatim,quote,relative=1]
e4 c g\f c
-e4 c g-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 \f c
+e4 c g-\tweak X-offset #-2.7 -\tweak Y-offset #2.5 \f c
@end lilypond
@item
\layout {
\context {
\Score
- \override SpacingSpanner
- #'common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
}
}
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Notación de los pentagramas
@section Notación de los pentagramas
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-count = #2
+\override Staff.StaffSymbol.line-count = #2
\startStaff g, e |
f'4 d \stopStaff
-\revert Staff.StaffSymbol #'line-count
+\revert Staff.StaffSymbol.line-count
\startStaff g, e |
@end lilypond
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(1 3 5 -1 -3)
+\override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
\startStaff g, e |
f'4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(8 6.5 -6 -8 -0.5)
+\override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
\startStaff g, e
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #3
+ \override StaffSymbol.thickness = #3
}
{ f4 d g, e }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #2
- \override StaffSymbol #'ledger-line-thickness = #'(0.5 . 0.4)
+ \override StaffSymbol.thickness = #2
+ \override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-positions = #'(-3 -2 -1 2 5 6)
+ \override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-extra = #4
+ \override StaffSymbol.ledger-extra = #4
}
{ f'4 a, d, f, }
@end lilypond
pauta).
@lilypond[fragment,quote,relative=1]
-\override Staff.StaffSymbol #'line-positions = #'(-8 0 2 4)
+\override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
d4 e f g
\stopStaff
\startStaff
-\override Staff.StaffSymbol #'ledger-positions = #'(-8 -6 (-4 -2) 0)
+\override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
d4 e f g
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.staff-space = #1.5
}
{ f'4 d, g, e, }
@end lilypond
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
firstClef = ##f
}
{ e4 d f e }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
}
{ \stopStaff s1*6 }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
} \relative c'' {
R1*3
c4 e8 d c2
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
@end lilypond
grabador:
@example
-\override StaffSymbol #'stencil = ##f
-\override NoteHead #'no-ledgers = ##t
+\override StaffSymbol.stencil = ##f
+\override NoteHead.no-ledgers = ##t
@end example
Para ver los fallos y problemas conocidos, así como las advertencias
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Texto
@section Texto
ligeramente más rápido, puede utilizar
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
una nota hasta otra usando la siguiente sintaxis:
@lilypond[verbatim,quote,relative=2]
-\override TextSpanner #'(bound-details left text) = "rit."
+\override TextSpanner.bound-details.left.text = "rit."
b1\startTextSpan
e,\stopTextSpan
@end lilypond
@code{\markup}, como se describe en @ref{Formatear el texto}.
@lilypond[quote,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text) =
+\override TextSpanner.bound-details.left.text =
\markup { \upright "rit." }
b1\startTextSpan c
e,\stopTextSpan
es el cambio requerido a partir del tamaño predeterminado.
@lilypond[quote,verbatim,relative=2]
-\override Score.RehearsalMark #'font-family = #'typewriter
+\override Score.RehearsalMark.font-family = #'typewriter
\mark \markup "Ouverture"
-\override Voice.TextScript #'font-shape = #'italic
-\override Voice.TextScript #'font-series = #'bold
+\override Voice.TextScript.font-shape = #'italic
+\override Voice.TextScript.font-series = #'bold
d2.^\markup "Allegro"
-\override Voice.TextScript #'font-size = #-3
+\override Voice.TextScript.font-size = #-3
c4^smaller
@end lilypond
FontConfig, usando la siguiente sintaxis:
@lilypond[quote,verbatim,relative=2]
-\override Staff.TimeSignature #'font-name = #"Bitstream Charter"
-\override Staff.TimeSignature #'font-size = #2
+\override Staff.TimeSignature.font-name = #"Bitstream Charter"
+\override Staff.TimeSignature.font-size = #2
\time 3/4
a1_\markup {
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@node Música vocal
@section Música vocal
siguiente:
@example
-\override Score.LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
@noindent
sino lo siguiente:
@example
-\override Score . LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
Los signos de puntuación, las letras con caracteres acentuados o de
<<
\new Lyrics = "lyrics" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "melody" {
\new Lyrics = "sopranos"
\new Lyrics = "contraltos" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "contraltos" {
@lilypond[relative=1,verbatim,quote,ragged-right]
{
c c c c
- \override Lyrics.LyricSpace #'minimum-distance = #1.0
+ \override Lyrics.LyricSpace.minimum-distance = #1.0
c c c c
}
\addlyrics {
\layout {
\context {
\Lyrics
- \override LyricSpace #'minimum-distance = #1.0
+ \override LyricSpace.minimum-distance = #1.0
}
}
}
funcionalidad:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
Para hacer que el texto evite también las líneas divisorias, use
\Lyrics
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
@}
@}
@end example
\voiceOne
\times 2/3 {
% show associations clearly.
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
\layout {
\context {
\Score
- \override DynamicText #'direction = #UP
- \override DynamicLineSpanner #'direction = #UP
+ \override DynamicText.direction = #UP
+ \override DynamicLineSpanner.direction = #UP
}
}
}
% position name of cue-ing instrument just before the cue notes,
% and above the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
\set instrumentCueName = "Flute"
}
\cueDuring "flute" #UP { g4 bes4 }
\transposition c'
% position name of cue-ing instrument below the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
- \override InstrumentSwitch #'direction = #DOWN
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
+ \override InstrumentSwitch.direction = #DOWN
\set instrumentCueName = "Clar."
}
\cueDuring "clarinet" #DOWN { c4. g8 }
\score {
<<
\new Lyrics \with {
- \override LyricText #'font-shape = #'italic
- \override LyricText #'self-alignment-X = #LEFT
+ \override LyricText.font-shape = #'italic
+ \override LyricText.self-alignment-X = #LEFT
}
{ \dialogue }
\new Staff {
la altura, tomando las duraciones del ritmo hablado del texto.
@lilypond[verbatim,quote]
-stemOff = { \override Staff.Stem #'transparent = ##t }
+stemOff = { \override Staff.Stem.transparent = ##t }
\relative c' {
\stemOff
@lilypond[verbatim,quote]
divisioMinima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maxima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
finalis = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
}
\context {
\Staff
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Ejecutar LilyPond
predeterminado.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
contextos se comporte como un pentagrama, insertando
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
@noindent
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Music engraving
@chapter Music engraving
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.0
- \override NoteSpacing #'same-direction-correction = #0.0
- \override StaffSpacing #'stem-spacing-correction = #0.0
+ \override NoteSpacing.stem-spacing-correction = #0.0
+ \override NoteSpacing.same-direction-correction = #0.0
+ \override StaffSpacing.stem-spacing-correction = #0.0
}
}
}
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.6
+ \override NoteSpacing.stem-spacing-correction = #0.6
}
}
}
<<
\new Staff \with {
fontSize = #-4
- \override StaffSymbol #'staff-space = #(magstep -4)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -4)
+ \override StaffSymbol.thickness = #(magstep -3)
}
\relative c' {
\global
\clef "bass"
<<
{
- \once \override DynamicText #'X-offset = #-3
+ \once \override DynamicText.X-offset = #-3
<ees g c>2.~->^\f
<ees g c>4.~ <ees g c>8
} \\ {
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[( f] g[ a b d,)] r4
e8[( f] g[ a b d,)] r4
}
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
}
@end lilypond
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
}
@end lilypond
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
lower voices exchange positions temporarily:
@lilypond
-collide = \once \override NoteColumn #'force-hshift = #0
+collide = \once \override NoteColumn.force-hshift = #0
\score {
<<
\change Staff = "LH" \oneVoice
\stemUp g,( c}
r4
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #12
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #12
<fis, b>) r\fermata
}
>>
\score {
\relative c' {
\stemDown <e g b>4_>-\arpeggio
- \override Arpeggio #'direction = #RIGHT
+ \override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
\layout {
\context {
\Score
- \override SpacingSpanner #'spacing-increment = #3
- \override TimeSignature #'transparent = ##t
+ \override SpacingSpanner.spacing-increment = #3
+ \override TimeSignature.transparent = ##t
}
}
}
<<
\new Staff \fragment
\new Staff \with {
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #0.5
- \override Bar #'thickness = #3.6
- \override Tie #'thickness = #2.2
- \override StaffSymbol #'thickness = #3.0
- \override Tie #'extra-offset = #'(0 . 0.3)
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #0.5
+ \override Bar.thickness = #3.6
+ \override Tie.thickness = #2.2
+ \override StaffSymbol.thickness = #3.0
+ \override Tie.extra-offset = #'(0 . 0.3)
}
\fragment
>>
\set autoBeaming = ##f
\time 2/4
<d f g>4
- \once \override NoteHead #'stencil = #note-head::brew-ez-stencil
- \once \override NoteHead #'font-size = #-7
- \once \override NoteHead #'font-family = #'sans
- \once \override NoteHead #'font-series = #'bold
+ \once \override NoteHead.stencil = #note-head::brew-ez-stencil
+ \once \override NoteHead.font-size = #-7
+ \once \override NoteHead.font-family = #'sans
+ \once \override NoteHead.font-series = #'bold
<d f g>4
- \once \override NoteHead #'style = #'cross
+ \once \override NoteHead.style = #'cross
<d f g>4
\applyOutput #'Voice #mc-squared
<d f g>4
\time 4/8
\key c \minor
<< {
- \revert Stem #'direction
+ \revert Stem.direction
\change Staff = down
\set subdivideBeams = ##t
g16.[
\clef bass
\key c \minor
\set subdivideBeams = ##f
- \override Stem #'french-beaming = ##t
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #4.0
+ \override Stem.french-beaming = ##t
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #4.0
g'16[ b16 fis16 g16]
<< \makeClusters {
as16 <as b>
<g b>
<g cis>
} \\ {
- \override Staff.Arpeggio #'arpeggio-direction =#down
+ \override Staff.Arpeggio.arpeggio-direction =#down
<cis, e, gis, b, cis>4\arpeggio
}
>> }
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
(parser location beg-end)
(pair?)
#@{
- \once \override Beam #'positions = #beg-end
+ \once \override Beam.positions = #beg-end
#@})
\relative c' @{
(parser location beg end)
(number? number?)
#{
- \once \override Beam #'positions = #(cons beg end)
+ \once \override Beam.positions = #(cons beg end)
#})
\relative c' {
(parser location mag)
(number?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#})
AltOff = {
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
}
\relative c' {
(parser location mag music)
(number? ly:music?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#music
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
#})
\relative c' {
(parser location)
()
(if (eq? #t (ly:get-option 'display-bar-numbers))
- #@{ \once \override Score.BarNumber #'break-visibility = ##f #@}
+ #@{ \once \override Score.BarNumber.break-visibility = ##f #@}
#@{#@}))
@end example
set at fixed values with @code{\override}, e.g.
@example
-\override Stem #'thickness = #2.0
+\override Stem.thickness = #2.0
@end example
Properties can also be set to a Scheme procedure,
@lilypond[fragment,verbatim,quote,relative=2]
-\override Stem #'thickness = #(lambda (grob)
+\override Stem.thickness = #(lambda (grob)
(if (= UP (ly:grob-property grob 'direction))
2.0
7.0))
TODO: the example for this section is ill-chosen since
@example
-F = -\tweak #'font-size #-3 -\flageolet
+F = -\tweak font-size #-3 -\flageolet
@end example
(note the @samp{-} marking it as a post event) will actually work fine
for the stated purpose. Until this section gets a rewrite, let's
inflexibility. For example, the following produces a syntax error.
@example
-F = \tweak #'font-size #-3 -\flageolet
+F = \tweak font-size #-3 -\flageolet
\relative c'' @{
c4^\F c4_\F
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
\relative c'' {
- \override Tie #'after-line-breaking =
+ \override Tie.after-line-breaking =
#my-callback
c1 ~ \break
c2 ~ c
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Scheme tutorial
@chapter Scheme tutorial
this is:
@example
-\override Stem #'thickness = #2.6
+\override Stem.thickness = #2.6
@end example
This instruction adjusts the appearance of stems. An alist entry
the Y coordinate.
@example
-\override TextScript #'extra-offset = #'(1 . 2)
+\override TextScript.extra-offset = #'(1 . 2)
@end example
This assigns the pair @code{(1 . 2)} to the @code{extra-offset}
We have seen how LilyPond output can be heavily modified using
commands like
-@code{\override TextScript #'extra-offset = ( 1 . -1)}. But
+@code{\override TextScript.extra-offset = ( 1 . -1)}. But
we have even more power if we use Scheme. For a full explanation
of this, see the @ref{Scheme tutorial}, and
@ref{Interfaces for programmers}.
@lilypond[quote,verbatim,ragged-right]
padText = #(define-music-function (parser location padding) (number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
tempoPadded = #(define-music-function (parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Jean-Charles Malahieude, John Mandereau, Gauvain Pocentek
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.0
- \override NoteSpacing #'same-direction-correction = #0.0
- \override StaffSpacing #'stem-spacing-correction = #0.0
+ \override NoteSpacing.stem-spacing-correction = #0.0
+ \override NoteSpacing.same-direction-correction = #0.0
+ \override StaffSpacing.stem-spacing-correction = #0.0
}
}
}
\layout {
\context {
\Staff
- \override NoteSpacing #'stem-spacing-correction = #0.6
+ \override NoteSpacing.stem-spacing-correction = #0.6
}
}
}
<<
\new Staff \with {
fontSize = #-4
- \override StaffSymbol #'staff-space = #(magstep -4)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -4)
+ \override StaffSymbol.thickness = #(magstep -3)
}
\relative c' {
\global
\clef "bass"
<<
{
- \once \override DynamicText #'X-offset = #-3
+ \once \override DynamicText.X-offset = #-3
<ees g c>2.~->^\f
<ees g c>4.~ <ees g c>8
} \\ {
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[( f] g[ a b d,)] r4
e8[( f] g[ a b d,)] r4
}
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(1.5 . 1)
+ \once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
}
@end lilypond
@lilypond
\relative c {
\clef bass
- \once \override Slur #'positions = #'(2 . 3)
+ \once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
}
@end lilypond
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
@c KEEP LY
@lilypond
-collide = \once \override NoteColumn #'force-hshift = #0
+collide = \once \override NoteColumn.force-hshift = #0
\score {
<<
\change Staff = "LH" \oneVoice
\stemUp g,( c}
r4
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #12
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #12
<fis, b>) r\fermata
}
>>
\score {
\relative c' {
\stemDown <e g b>4_>-\arpeggio
- \override Arpeggio #'direction = #RIGHT
+ \override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
\layout {
\context {
\Score
- \override SpacingSpanner #'spacing-increment = #3
- \override TimeSignature #'transparent = ##t
+ \override SpacingSpanner.spacing-increment = #3
+ \override TimeSignature.transparent = ##t
}
}
}
<<
\new Staff \fragment
\new Staff \with {
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #0.5
- \override Bar #'thickness = #3.6
- \override Tie #'thickness = #2.2
- \override StaffSymbol #'thickness = #3.0
- \override Tie #'extra-offset = #'(0 . 0.3)
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #0.5
+ \override Bar.thickness = #3.6
+ \override Tie.thickness = #2.2
+ \override StaffSymbol.thickness = #3.0
+ \override Tie.extra-offset = #'(0 . 0.3)
}
\fragment
>>
\set autoBeaming = ##f
\time 2/4
<d f g>4
- \once \override NoteHead #'stencil = #note-head::brew-ez-stencil
- \once \override NoteHead #'font-size = #-7
- \once \override NoteHead #'font-family = #'sans
- \once \override NoteHead #'font-series = #'bold
+ \once \override NoteHead.stencil = #note-head::brew-ez-stencil
+ \once \override NoteHead.font-size = #-7
+ \once \override NoteHead.font-family = #'sans
+ \once \override NoteHead.font-series = #'bold
<d f g>4
- \once \override NoteHead #'style = #'cross
+ \once \override NoteHead.style = #'cross
<d f g>4
\applyOutput #'Voice #mc-squared
<d f g>4
\time 4/8
\key c \minor
<< {
- \revert Stem #'direction
+ \revert Stem.direction
\change Staff = down
\set subdivideBeams = ##t
g16.[
\clef bass
\key c \minor
\set subdivideBeams = ##f
- \override Stem #'french-beaming = ##t
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #4.0
+ \override Stem.french-beaming = ##t
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #4.0
g'16[ b16 fis16 g16]
<< \makeClusters {
as16 <as b>
<g b>
<g cis>
} \\ {
- \override Staff.Arpeggio #'arpeggio-direction =#down
+ \override Staff.Arpeggio.arpeggio-direction =#down
<cis, e, gis, b, cis>4\arpeggio
}
>> }
}
\context {
\PianoStaff
- \override StaffGrouper #'staff-staff-spacing #'padding = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #1
}
}
}
(parser location beg-end)
(pair?)
#@{
- \once \override Beam #'positions = #beg-end
+ \once \override Beam.positions = #beg-end
#@})
\relative c' @{
(parser location beg end)
(number? number?)
#{
- \once \override Beam #'positions = #(cons beg end)
+ \once \override Beam.positions = #(cons beg end)
#})
\relative c' {
(parser location mag)
(number?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#})
AltOff = {
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
}
\relative c' {
(parser location mag music)
(number? ly:music?)
#{
- \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag)))
#music
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
#})
\relative c' {
(parser location)
()
(if (eq? #t (ly:get-option 'display-bar-numbers))
- #@{ \once \override Score.BarNumber #'break-visibility = ##f #@}
+ #@{ \once \override Score.BarNumber.break-visibility = ##f #@}
#@{#@}))
@end example
ici@tie{}:
@example
-\override Stem #'thickness = #2.0
+\override Stem.thickness = #2.0
@end example
Une procédure Scheme peut aussi se charger de modifier des
propriétés@tie{}:
@lilypond[fragment,verbatim,quote,relative=2]
-\override Stem #'thickness = #(lambda (grob)
+\override Stem.thickness = #(lambda (grob)
(if (= UP (ly:grob-property grob 'direction))
2.0
7.0))
À REVOIR : l'exemple de cette rubrique n'est pas des plus judicieux puisque
@example
-F = -\tweak #'font-size #-3 -\flageolet
+F = -\tweak font-size #-3 -\flageolet
@end example
(notez le @samp{-} qui qualifie d'événement postérieur) fonctionne
correctement dans ce cas d'espèce. En attendant un remaniement de cette
sa syntaxe. Par exemple, le code suivant produit une erreur.
@example
-F = \tweak #'font-size #-3 -\flageolet
+F = \tweak font-size #-3 -\flageolet
\relative c'' @{
c4^\F c4_\F
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
\relative c'' {
- \override Tie #'after-line-breaking =
+ \override Tie.after-line-breaking =
#my-callback
c1 ~ \break
c2 ~ c
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Jean-Charles Malahieude
LilyPond :
@example
-\override Stem #'thickness = #2.6
+\override Stem.thickness = #2.6
@end example
Cette instruction ajuste l'apparence des hampes. Une entrée
(coordonnée Y).
@example
-\override TextScript #'extra-offset = #'(1 . 2)
+\override TextScript.extra-offset = #'(1 . 2)
@end example
Cette clause affecte la paire @code{(1 . 2)} à la propriété
We have seen how LilyPond output can be heavily modified using
commands like
-@code{\override TextScript #'extra-offset = ( 1 . -1)}. But
+@code{\override TextScript.extra-offset = ( 1 . -1)}. But
we have even more power if we use Scheme. For a full explanation
of this, see the @ref{Scheme tutorial}, and
@ref{Interfaces for programmers}.
@lilypond[quote,verbatim,ragged-right]
padText = #(define-music-function (parser location padding) (number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
tempoPadded = #(define-music-function (parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: John Mandereau
\\ % Voice two
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No voice three
\\ % Voice four
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
\\ % Voice two
{ \voiceTwoStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No Voice three (we want stems down)
\\ % Voice four
{ \voiceThreeStyle
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
@}
>> % fin du contexte de la portée ManuelUn
\new Staff = "ManuelDeux" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\ArmureMetrique
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp =_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
Vous noterez que la syntaxe de @code{\tweak} est différente de
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex couleur, exemple d'utilisation de la propriété
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
Nous obtenons :
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
N'oublions pas le @code{#'} qui doit précéder le nom de la propriété et
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% Revert thickness of all following slurs to default of 1.2
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
est :
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
correcte est donc :
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{Dans la saisie des paroles, pensez à toujours laisser une
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% Don't print clefs in this staff
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% Don't print time signatures in this staff
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
celle-ci pour les têtes de notes (@code{NoteHead}) :
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
soit nous changeons la taille de toutes les polices à la fois grâce à la
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% Reduce all font sizes by ~24%
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% Reduce stem length and line spacing to match
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4 g c a |
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a |
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a |
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a |
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5 |
@end lilypond
@code{Fingering} étant @code{-5}, essayons @code{-7} :
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
% Place following Ottava Bracket below Text Spanners
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% Start Ottava Bracket
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8 |
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8 |
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8 |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Text1"
c2^"Text2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Text3"
c2^"Text4" |
@end lilypond
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Long Text " c'' |
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % and turn on textLengthOn
c,,2^"Long Text " % Spaces at end are honored
c''2 |
indications de nuances est :
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 staff space
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
% This will not work, see below:
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4=120
c1 |
% This works:
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4=80
d1 |
@end lilypond
\relative c'' {
c4
% This prints a sesquisharp but the spacing is too small
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% This improves the spacing
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 |
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 unit
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% Align dynamics to a base line 2 units above staff
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
<a\2>
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
<a\2>
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{ c'1 ~ c'2. e'8 f' }
\\
{
- \override Beam #'positions = #'(-1 . -1)
+ \override Beam.positions = #'(-1 . -1)
e''8 e'' e'' e'' e'' e'' e'' e'' f''2 g''
}
>>
\\
{
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\
\\
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
liaison vers le haut de 3,5 demi-intervalles de lignes au-dessus de la
ligne médiane :
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
Cela s'adjoint à la deuxième mesure, pour donner :
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
@code{\revert} ?
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
Là encore, ce serait extrêmement pénible à saisir, surtout s'il y avait
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\relative c' {
% Arrange to obtain color from color-notehead procedure
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Jean-Charles Malahieude
\context {
\Staff
\consists "Custos_engraver"
- \override Custos #'style = #'mensural
+ \override Custos.style = #'mensural
}
}
}
\score {
<<
\new MensuralVoice = "discantus" \transpose c c' {
- \override Score.BarNumber #'transparent = ##t {
+ \override Score.BarNumber.transparent = ##t {
c'1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c'\breve d'\melismaEnd \]
@tab
@lilypond[relative=1,notime]
\clef "mensural-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-f"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-f3"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@end multitable
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter default }
- \override Staff.TimeSignature #'style = #'numbered
+ \override Staff.TimeSignature.style = #'numbered
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter numbered }
- \override Staff.TimeSignature #'style = #'mensural
+ \override Staff.TimeSignature.style = #'mensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter mensural }
- \override Staff.TimeSignature #'style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter neomensural }
- \override Staff.TimeSignature #'style = #'single-digit
+ \override Staff.TimeSignature.style = #'single-digit
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter single-digit }
}
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
\autoBeamOff
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\maxima a'\longa a'\breve a'1 a'2 a'4 a'8 a'16 a'
-\override NoteHead #'style = #'semipetrucci
+\override NoteHead.style = #'semipetrucci
a'\breve*5/6
-\override NoteHead #'style = #'blackpetrucci
+\override NoteHead.style = #'blackpetrucci
a'8*4/3 a'
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\longa
@end lilypond
@code{mensural}.
@lilypond[quote,fragment,ragged-right,verbatim]
-\override Flag #'style = #'mensural
-\override Stem #'thickness = #1.0
-\override NoteHead #'style = #'mensural
+\override Flag.style = #'mensural
+\override Stem.thickness = #1.0
+\override NoteHead.style = #'mensural
\autoBeamOff
c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
-\override Rest #'style = #'classical
+\override Rest.style = #'classical
r\longa^"classical" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'mensural
+\override Rest.style = #'mensural
r\longa^"mensural" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'neomensural
+\override Rest.style = #'neomensural
r\longa^"neomensural" r\breve r1 r2 r4 r8 r16
@end lilypond
et @code{KeySignature}, comme ceci :
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
@c @example
@c \set Score.timing = ##f
@c \set Score.defaultBarType = "-"
-@c \override NoteHead #'style = #'neomensural
-@c \override Staff.TimeSignature #'style = #'neomensural
+@c \override NoteHead.style = #'neomensural
+@c \override Staff.TimeSignature.style = #'neomensural
@c \clef "petrucci-g"
@c \[ c'\maxima g \]
@c \[ d\longa c\breve f e d \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
@code{vaticana-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-do2"
c
@end lilypond
@code{vaticana-fa1}, @code{vaticana-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-fa2"
c
@end lilypond
@code{medicaea-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-do2"
c
@end lilypond
@code{medicaea-fa1}, @code{medicaea-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-fa2"
c
@end lilypond
@code{hufnagel-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do2"
c
@end lilypond
@code{hufnagel-fa1}, @code{hufnagel-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-fa2"
c
@end lilypond
@code{hufnagel-do-fa}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do-fa"
c
@end lilypond
et @code{KeySignature}, comme ceci :
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
\score {
<<
\context VaticanaVoice {
- \override TextScript #'padding = #3
+ \override TextScript.padding = #3
g a g
s^\markup { "divisio minima" }
\divisioMinima
\include "gregorian.ly"
\score {
\new VaticanaVoice {
- \override TextScript #'font-family = #'typewriter
- \override TextScript #'font-shape = #'upright
- \override Script #'padding = #-0.1
+ \override TextScript.font-family = #'typewriter
+ \override TextScript.font-shape = #'upright
+ \override Script.padding = #-0.1
a\ictus_"ictus " \bar "" \break
a\circulus_"circulus " \bar "" \break
a\semicirculus_"semicirculus " \bar "" \break
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim]
\autoBeamOff
\cadenzaOn
-\override NoteHead #'style = #'kievan
+\override NoteHead.style = #'kievan
b'1 b'2 b'4 b'8 b'\breve b'\longa
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
-\override NoteHead #'style = #'kievan
-\override Accidental #'glyph-name-alist =
+\override NoteHead.style = #'kievan
+\override Accidental.glyph-name-alist =
#alteration-kievan-glyph-name-alist
bes' dis,
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c \bar "k"
@end lilypond
}
verba = \lyricmode {
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"Noctem quietam et" fi -- nem per -- fec -- tum
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"concedat nobis Dominus" om -- ni -- po -- tens.
}
\score {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
chant = \relative c' {
\clef "G_8"
\set Score.timing = ##f
- c\breve \override NoteHead #'transparent = ##t c c c c c
- \revert NoteHead #'transparent
- \override Stem #'transparent = ##f \stemUp c4 b4 a
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t c2 c4 \divisioMaior
- c\breve \override NoteHead #'transparent = ##t c c c c c c c
- \revert NoteHead #'transparent c4 c f, f \finalis
+ c\breve \override NoteHead.transparent = ##t c c c c c
+ \revert NoteHead.transparent
+ \override Stem.transparent = ##f \stemUp c4 b4 a
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t c2 c4 \divisioMaior
+ c\breve \override NoteHead.transparent = ##t c c c c c c c
+ \revert NoteHead.transparent c4 c f, f \finalis
}
verba = \lyricmode {
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'transparent = ##t
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override BarLine.transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
@lilypond[verbatim,quote]
spiritus = \relative c' {
\time 1/4
- \override Lyrics.LyricText #'X-extent = #'(0 . 3)
+ \override Lyrics.LyricText.X-extent = #'(0 . 3)
d4 \times 2/3 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\times 2/3 { g8 f d } e f g a g4
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'X-extent = #'(-1 . 1)
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Beam #'transparent = ##t
- \override BarLine #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override BarLine.X-extent = #'(-1 . 1)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Beam.transparent = ##t
+ \override BarLine.transparent = ##t
+ \override TupletNumber.transparent = ##t
}
}
}
\layout {
\context {
\Staff
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
}
}
\layout {
\accidentalStyle dodecaphonic
\set fontSize = #-4
- \override Voice.Stem #'thickness = #4.0
+ \override Voice.Stem.thickness = #4.0
}
}
@end lilypond
\new Staff {
\new Voice
\with {
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
{
\relative c'' {
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
}
\context { \Staff
aucune hampe :
@example
-\override NoteHead #'style = #'slash
-\override Stem #'transparent = ##t
-\override Flag #'transparent = ##t
+\override NoteHead.style = #'slash
+\override Stem.transparent = ##t
+\override Flag.transparent = ##t
@end example
Afin que tous ces graveurs puissent travailler de concert, on leur
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
@}
@end example
vide entre la note et le doigté :
@example
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
@end example
En ajoutant cette commande avant la création du doigté (de l'objet
suivant :
@lilypond[quote,relative=2,verbatim]
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
c-2
\stemUp
f
La commande suivante :
@verbatim
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
@end verbatim
@noindent
@lilypond[quote,verbatim,relative=2,fragment]
c4
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
c4
c4
c4
@lilypond[quote,fragment,verbatim,relative=2]
c4
-\once \override Stem #'thickness = #4.0
+\once \override Stem.thickness = #4.0
c4
c4
@end lilypond
créé.
@lilypond[quote,fragment,verbatim,relative=2]
-\override Slur #'thickness = #3.0
+\override Slur.thickness = #3.0
c8[( c
-\override Beam #'beam-thickness = #0.6
+\override Beam.beam-thickness = #0.6
c8 c])
@end lilypond
est sans effet.
@example
-\override Voice.Stem #'thickness = #4.0
-\revert Staff.Stem #'thickness
+\override Voice.Stem.thickness = #4.0
+\revert Staff.Stem.thickness
@end example
Il existe, à l'intérieur même de certaines propriétés, des options que
Ainsi, par exemple :
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@end ignore
@lilypond[quote,verbatim,relative=2]
c4 c
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
@end lilypond
celle-ci s'appliquera au contexte le plus bas :
@lilypond[quote,verbatim,relative=2]
-{ \override Staff.Stem #'thickness = #3.0
+{ \override Staff.Stem.thickness = #3.0
<<
{
e4 e
- \override Stem #'thickness = #0.5
+ \override Stem.thickness = #0.5
e4 e
} \\ {
c4 c c c
@lilypond[quote,verbatim,relative=2]
c4
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
-\revert Voice.Stem #'thickness
+\revert Voice.Stem.thickness
c4
@end lilypond
<<
{
e4
- \override Staff.Stem #'thickness = #3.0
+ \override Staff.Stem.thickness = #3.0
e4 e e
} \\ {
c4 c c
- \revert Staff.Stem #'thickness
+ \revert Staff.Stem.thickness
c4
}
>>
{
<<
{
- \override Stem #'thickness = #3.0
+ \override Stem.thickness = #3.0
e4 e e e
} \\ {
c4
- \once \override Stem #'thickness = #3.0
+ \once \override Stem.thickness = #3.0
c4 c c
}
>>
ressemblent en général à
@example
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
@end example
@noindent
propriété. La commande devient alors :
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@cindex documentation exhaustive
@lilypond[relative=2,verbatim,ragged-right]
<
c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
>4
--\tweak #'padding #8
+-\tweak padding #8
-^
@end lilypond
pourquoi le code suivant ne sera d'aucun effet :
@example
-\tweak #'color #red c4
+\tweak color #red c4
@end example
@noindent
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
@end lilypond
liaison :
@lilypond[verbatim,quote,relative=1]
-c-\tweak #'thickness #5 ( d e f)
+c-\tweak thickness #5 ( d e f)
@end lilypond
La commande @code{\tweak} ne sera pleinement fonctionnelle que si elle
@code{EventChord} (un événement d'accord) :
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
-\tweak #'color #red <c e>4
-<\tweak #'color #red c>4
+\tweak color #red c4
+\tweak color #red <c e>4
+<\tweak color #red c>4
@end lilypond
La commande @code{\tweak} simple ne saurait servir à modifier un élément
@lilypond[verbatim,quote,relative=1]
c
--\tweak #'style #'dashed-line
--\tweak #'dash-fraction #0.2
--\tweak #'thickness #3
--\tweak #'color #red
+-\tweak style #'dashed-line
+-\tweak dash-fraction #0.2
+-\tweak thickness #3
+-\tweak color #red
\glissando
f'
@end lilypond
% reduced space between staves
\new PianoStaff \with {
% this is the nested declaration
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #7
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #7
} <<
\new Staff { \clef treble c''1 }
\new Staff { \clef bass c1 }
@lilypond[quote,verbatim]
\new PianoStaff \with {
- \override StaffGrouper #'staff-staff-spacing =
+ \override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 0)
(padding . 0)
équivalentes.
@example
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7))
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7)
(minimum-distance . 0)
(padding . 0)
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(7 3 0 -4 -6 -7)
+ \override StaffSymbol.line-positions = #'(7 3 0 -4 -6 -7)
}
{ a4 e' f b | d1 }
@end lilypond
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'width = #23
+ \override StaffSymbol.width = #23
}
{ a4 e' f b | d1 }
@end lilypond
a~a
a
% increase the length of the tie
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
~a
@end lilypond
\compressFullBarRests
R1*23
% increase the length of the rest bar
-\once \override MultiMeasureRest #'minimum-length = #20
+\once \override MultiMeasureRest.minimum-length = #20
R1*23
a1
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a \!
% increase the length of the hairpin
-\override Hairpin #'minimum-length = #20
+\override Hairpin.minimum-length = #20
a \< a a a \!
@end lilypond
@lilypond[verbatim,quote,relative=2]
a( a)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
( a)
a\( a\)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
\( a\)
@end lilypond
e \glissando c'
% not effective alone
-\once \override Glissando #'minimum-length = #20
+\once \override Glissando.minimum-length = #20
e, \glissando c'
% effective only when both overrides are present
-\once \override Glissando #'minimum-length = #20
-\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Glissando.minimum-length = #20
+\once \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
e, \glissando c'
@end lilypond
@lilypond[verbatim,quote,relative=1]
% not effective alone
-\once \override Beam #'minimum-length = #20
+\once \override Beam.minimum-length = #20
e8 e e e
% effective only when both overrides are present
-\once \override Beam #'minimum-length = #20
-\once \override Beam #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Beam.minimum-length = #20
+\once \override Beam.springs-and-rods = #ly:spanner::set-spacing-rods
e8 e e e
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a a \! a a a \break
-\override Hairpin #'to-barline = ##f
+\override Hairpin.to-barline = ##f
a \< a a a a \! a a a
@end lilypond
@lilypond[relative=2,quote,verbatim]
e2 \glissando b
-\once \override Glissando #'(bound-details left Y) = #3
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.left.Y = #3
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando b
@end lilypond
ci-dessous :
@lilypond[relative=2,ragged-right,verbatim,quote]
-\override Glissando #'breakable = ##t
-\override Glissando #'(bound-details right-broken Y) = #-3
+\override Glissando.breakable = ##t
+\override Glissando.bound-details.right-broken.Y = #-3
c1 \glissando \break
f1
@end lilypond
un extenseur horizontal.
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan
@end lilypond
le symbole verticalement par rapport au coin de la ligne :
@lilypond[relative=1,quote,verbatim]
-\override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #-2
-\override TextSpanner
- #'(bound-details right stencil-align-dir-y) = #UP
-
-\override TextSpanner
- #'(bound-details left text) = #"ggg"
-\override TextSpanner
- #'(bound-details right text) = #"hhh"
+\override TextSpanner.bound-details.left.stencil-align-dir-y = #-2
+\override TextSpanner.bound-details.right.stencil-align-dir-y = #UP
+
+\override TextSpanner.bound-details.left.text = #"ggg"
+\override TextSpanner.bound-details.right.text = #"hhh"
c4^\startTextSpan c c c \stopTextSpan
@end lilypond
@lilypond[quote,verbatim,relative=1]
a1 a
-\override Score.BarLine #'stencil = ##f
+\override Score.BarLine.stencil = ##f
a a
-\revert Score.BarLine #'stencil
+\revert Score.BarLine.stencil
a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
a4 a
-\once \override NoteHead #'transparent = ##t
+\once \override NoteHead.transparent = ##t
a a
@end lilypond
un fantôme de l'objet blanchi comme ci-dessous :
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
+\override Staff.Clef.color = #white
a1
@end lilypond
pouvoir être dessiné avant.
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
-\override Staff.Clef #'layer = #-1
+\override Staff.Clef.color = #white
+\override Staff.Clef.layer = #-1
a1
@end lilypond
f4 g a b
f4 g a b
% Remove bar line at the end of the current line
-\once \override Score.BarLine #'break-visibility = #'#(#f #t #t)
+\once \override Score.BarLine.break-visibility = #'#(#f #t #t)
\break
f4 g a b
f4 g a b
\key g \major
f4 g a b
% Try to remove all key signatures
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b
\break
\key g \major
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.printKeyCancellation = ##f
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
@lilypond[relative=2,ragged-right,verbatim,quote]
d2 \glissando d'2
-\once \override Glissando #'style = #'dashed-line
+\once \override Glissando.style = #'dashed-line
d,2 \glissando d'2
-\override Glissando #'style = #'dotted-line
+\override Glissando.style = #'dotted-line
d,2 \glissando d'2
-\override Glissando #'style = #'zigzag
+\override Glissando.style = #'zigzag
d,2 \glissando d'2
-\override Glissando #'style = #'trill
+\override Glissando.style = #'trill
d,2 \glissando d'2
@end lilypond
@c TODO Complete
@lilypond[relative=2,ragged-right,verbatim,quote]
e2 \glissando f
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando f
@end lilypond
@lilypond[quote,verbatim,relative=1]
g4\< e' d' f\!
-\override Hairpin #'rotation = #'(20 -1 0)
+\override Hairpin.rotation = #'(20 -1 0)
g,,4\< e' d' f\!
@end lilypond
@c KEEP LY
@lilypond[quote,verbatim,relative=1]
-\override TextScript #'outside-staff-priority = ##f
+\override TextScript.outside-staff-priority = ##f
g4^\markup { \rotate #30 "un sol" }
b^\markup { \rotate #30 "un si" }
des^\markup { \rotate #30 "un ré bémol" }
@lilypond[verbatim,quote,relative=2]
a-3
a
--\tweak #'X-offset #0
--\tweak #'Y-offset #0
+-\tweak X-offset #0
+-\tweak Y-offset #0
-3
a
--\tweak #'X-offset #-1
--\tweak #'Y-offset #1
+-\tweak X-offset #-1
+-\tweak Y-offset #1
-3
@end lilypond
@lilypond[quote,verbatim,relative=1]
a'
--\tweak #'self-alignment-X #-1
+-\tweak self-alignment-X #-1
^"left-aligned"
--\tweak #'self-alignment-X #0
+-\tweak self-alignment-X #0
^"center-aligned"
--\tweak #'self-alignment-X #RIGHT
+-\tweak self-alignment-X #RIGHT
^"right-aligned"
--\tweak #'self-alignment-X #-2.5
+-\tweak self-alignment-X #-2.5
^"aligned further to the right"
@end lilypond
@lilypond[quote,verbatim,relative=2]
a
--\tweak #'self-alignment-X #0.5 % move horizontally left
--\tweak #'Y-offset #ly:self-alignment-interface::y-aligned-on-self
--\tweak #'self-alignment-Y #-1 % move vertically up
+-\tweak self-alignment-X #0.5 % move horizontally left
+-\tweak Y-offset #ly:self-alignment-interface::y-aligned-on-self
+-\tweak self-alignment-Y #-1 % move vertically up
-3 % third finger
@end lilypond
@lilypond[verbatim,quote,relative=1]
% The rehearsal mark will be centered above the Clef
-\override Score.RehearsalMark #'break-align-symbols = #'(clef)
+\override Score.RehearsalMark.break-align-symbols = #'(clef)
\key a \major
\clef treble
\mark "↓"
e1
% The rehearsal mark will be centered above the Time Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(time-signature)
\key a \major
\clef treble
\time 3/4
\mark "↓"
e2.
% The rehearsal mark will be centered above the Breath Mark
-\override Score.RehearsalMark #'break-align-symbols = #'(breathing-sign)
+\override Score.RehearsalMark.break-align-symbols = #'(breathing-sign)
\key a \major
\clef treble
\time 4/4
@lilypond[verbatim,quote,relative=1]
% The rehearsal mark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
e1
% The rehearsal mark will be centered above the Clef
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef bass
\mark "↓"
% The rehearsal mark will be centered above the Bar Line
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.explicitClefVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\key a \major
\clef treble
\time 4/4
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the Key Signature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+\once \override Score.KeySignature.break-align-anchor-alignment = #LEFT
\mark "↓"
\key a \major
e1
% The RehearsalMark will be aligned with the right edge of the Key Signature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+\once \override Score.KeySignature.break-align-anchor-alignment = #RIGHT
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be aligned with the left edge of the Key Signature
% and then shifted right by 3.5 staff-spaces
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
-\once \override Score.KeySignature #'break-align-anchor = #3.5
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
+\once \override Score.KeySignature.break-align-anchor = #3.5
\key a \major
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the Key Signature
% and then shifted left by 2 staff-spaces
-\once \override Score.KeySignature #'break-align-anchor = #-2
+\once \override Score.KeySignature.break-align-anchor = #-2
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote]
XinO = {
- \once \override NoteHead #'stencil = #ly:text-interface::print
- \once \override NoteHead #'text = \markup {
+ \once \override NoteHead.stencil = #ly:text-interface::print
+ \once \override NoteHead.text = \markup {
\combine
\halign #-0.7 \draw-circle #0.85 #0.2 ##f
\musicglyph #"noteheads.s2cross"
@lilypond[verbatim,quote,relative=1]
<<
{
- \once \override Tie
- #'control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
+ \once \override Tie.control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
e1 ~ e
}
\\
'(-0.5 . 0.5)))))
squareLineCircleSpace = {
- \override NoteHead #'stencil = #square-line-circle-space
+ \override NoteHead.stencil = #square-line-circle-space
}
smartSquareLineCircleSpace = {
\squareLineCircleSpace
- \override NoteHead #'Y-extent =
+ \override NoteHead.Y-extent =
#(ly:make-unpure-pure-container
ly:grob::stencil-height
(lambda (grob start end) (ly:grob::stencil-height grob)))
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
(parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave
@c Translation checkers: Jean-Charles Malahieude
@tab
@lilypond[relative=2,notime]
\set Staff.autoBeaming = ##f
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c1 c2 c8 c16
@end lilypond
@tab notes pointées
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c4. c4..
@end lilypond
@tab chiffre de mesure, métrique
@tab
@lilypond[relative=1]
-\override Staff.Clef #'stencil = #empty-stencil
+\override Staff.Clef.stencil = #empty-stencil
\time 3/4
s4_" "
\time 4/4
@tab silences
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
r4 r8
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave,Jean-Charles Malahieude
@c Translation checkers: Jean-Charles Malahieude, John Mandereau
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:m c:m7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:dim c:dim7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:aug
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:maj c:maj7
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Jean-Charles Malahieude
@lilypond[verbatim,quote,relative=2]
\set fontSize = #3
c4.-> d8---3
-\override NoteHead #'font-size = #-4
+\override NoteHead.font-size = #-4
c4.-> d8---3
-\override Script #'font-size = #2
+\override Script.font-size = #2
c4.-> d8---3
-\override Stem #'font-size = #-5
+\override Stem.font-size = #-5
c4.-> d8---3
@end lilypond
@ref{Liste des couleurs}.
@lilypond[verbatim,quote,relative=2]
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
c4 c
-\override NoteHead #'color = #(x11-color 'LimeGreen)
+\override NoteHead.color = #(x11-color 'LimeGreen)
d
-\override Stem #'color = #blue
+\override Stem.color = #blue
e
@end lilypond
façon évidente au vu de la partition finale.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
gis8 a
-\override Beam #'color = #(x11-color "medium turquoise")
+\override Beam.color = #(x11-color "medium turquoise")
gis a
-\override Accidental #'color = #(x11-color 'DarkRed)
+\override Accidental.color = #(x11-color 'DarkRed)
gis a
-\override NoteHead #'color = #(x11-color "LimeGreen")
+\override NoteHead.color = #(x11-color "LimeGreen")
gis a
% this is deliberate nonsense; note that the stems remain black
-\override Stem #'color = #(x11-color 'Boggle)
+\override Stem.color = #(x11-color 'Boggle)
b2 cis
@end lilypond
l'exemple suivant correspond à 128).
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
-\override Stem #'color = #(rgb-color 0 0 0)
+\override Stem.color = #(rgb-color 0 0 0)
gis8 a
-\override Stem #'color = #(rgb-color 1 1 1)
+\override Stem.color = #(rgb-color 1 1 1)
gis8 a
-\override Stem #'color = #(rgb-color 0 0 0.5)
+\override Stem.color = #(rgb-color 0 0 0.5)
gis4 a
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: Jean-Charles Malahieude, John Mandereau
multimesures}.
@lilypond[verbatim,quote,relative=2]
-\override Script #'color = #red
-\override MultiMeasureRestText #'color = #blue
+\override Script.color = #red
+\override MultiMeasureRestText.color = #blue
a2\fermata r\fermata
R1\fermataMarkup
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Matthieu Jacquot
@c Translation checkers: Jean-Charles Malahieude
l'activation de @code{restrainOpenStrings}.
@lilypond[quote,ragged-right,verbatim]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
\new StaffGroup <<
\new Staff \relative c {
\clef "treble_8"
peuvent être ajoutés aux tablatures.
@lilypond[verbatim,quote]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
firstHarmonic = {
d'4\4\harmonic
g'4\3\harmonic
@lilypond[quote,ragged-right,verbatim]
<<
\new Voice \with {
- \override StringNumber #'stencil = ##f
+ \override StringNumber.stencil = ##f
} {
\clef "bass_8"
\relative c, {
}
}
\context Staff {
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
\clef "treble_8"
<c e g c' e'>1^\markup {
\fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
}
\context Staff {
\clef "treble_8"
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
<f, c f a c' f'>1^\markup {
\fret-diagram-verbose #'(
(place-fret 6 1)
\clef "treble_8"
b16 d g b e
\textSpannerDown
-\override TextSpanner #'(bound-details left text) = #"XII "
+\override TextSpanner.bound-details.left.text = #"XII "
g16\startTextSpan
b16 e g e b g\stopTextSpan
e16 b g d
@lilypond[quote,ragged-right,verbatim]
\relative c' {
\clef "treble_8"
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: Jean-Charles Malahieude, John Mandereau
\new Staff = "up" {
\voiceOne
% Make space for fingering in the cross-staff voice
- \once\override DynamicLineSpanner #'staff-padding = #3.4
+ \once\override DynamicLineSpanner.staff-padding = #3.4
e''2\p\< d''\>
c1\!
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: John Mandereau
<< \new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics \nam
>>
\layout {
\context {
\Score
- \override LyricText #'font-family = #'typewriter
- \override BarNumber #'transparent =##T
+ \override LyricText.font-family = #'typewriter
+ \override BarNumber.transparent =##T
}
}
}
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
- \override StaffSymbol #'line-count = #2
- \override StaffSymbol #'staff-space = #2
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
+ \override StaffSymbol.line-count = #2
+ \override StaffSymbol.staff-space = #2
+ \override VerticalAxisGroup.minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\remove "Bar_engraver"
\remove "Time_signature_engraver"
drumStyleTable = #congas-style
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
drumStyleTable = #bongos-style
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with{
\remove "Bar_engraver"
drumStyleTable = #percussion-style
- \override StaffSymbol #'line-count = #1
+ \override StaffSymbol.line-count = #1
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
woodstaff = {
% This defines a staff with only two lines.
% It also defines the positions of the two lines.
- \override Staff.StaffSymbol #'line-positions = #'(-2 3)
+ \override Staff.StaffSymbol.line-positions = #'(-2 3)
% This is necessary; if not entered, the barline would be too short!
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
Vous aurez remarqué ici l'allongement des barres de mesures par
l'instruction
-@w{@code{\override Staff.BarLine #'bar-extent #'(de . à)}}. Il faut
+@w{@code{\override Staff.BarLine.bar-extent #'(de . à)}}. Il faut
aussi définir la position des deux lignes de la portée -- voir à ce
sujet la rubrique @ref{Symbole de la portée}.
#(define mydrums '((tambourine default #t 0)))
tambustaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
#(define mydrums '((tamtam default #t 0)))
tamtamstaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
(cowbell default #t -2)))
bellstaff = {
- \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
+ \override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
@lilypond[verbatim,quote,relative=2]
c4 b
-\override NoteHead #'style = #'cross
+\override NoteHead.style = #'cross
c4 b
-\revert NoteHead #'style
+\revert NoteHead.style
a b
-\override NoteHead #'style = #'harmonic
+\override NoteHead.style = #'harmonic
a b
-\revert NoteHead #'style
+\revert NoteHead.style
c4 d e f
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Frédéric Chiasson, Jean-Charles Malahieude
@c Translation checkers: Valentin Villenave, François Martin, Xavier Scheuer
permet d'obtenir une meilleure lisibilité.
@lilypond[verbatim,quote,ragged-right,relative=2]
-\override Tie #'layer = #-2
-\override Staff.TimeSignature #'layer = #-1
-\override Staff.KeySignature #'layer = #-1
-\override Staff.TimeSignature #'whiteout = ##t
-\override Staff.KeySignature #'whiteout = ##t
+\override Tie.layer = #-2
+\override Staff.TimeSignature.layer = #-1
+\override Staff.KeySignature.layer = #-1
+\override Staff.TimeSignature.whiteout = ##t
+\override Staff.KeySignature.whiteout = ##t
b2 b~
\time 3/4
\key a \major
\new Staff {
% These two lines are just to prettify this example
\time 16/1
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
% Print a maxima rest, equal to four breves
r\maxima
% Print a longa rest, equal to two breves
@c KEEP LY
@lilypond[quote,verbatim,relative=2]
% Ceci échouera : il y a erreur quant à l'objet spécifié
-\override TextScript #'padding = #5
+\override TextScript.padding = #5
R1^"pas bon !"
% Formulation correcte, qui fonctionnera
-\override MultiMeasureRestText #'padding = #5
+\override MultiMeasureRestText.padding = #5
R1^"ça marche !"
@end lilypond
@lilypond[verbatim,relative=2,quote]
% Show all bar numbers
-\override Score.BarNumber #'break-visibility = #all-visible
+\override Score.BarNumber.break-visibility = #all-visible
c4 d e d
\cadenzaOn
c4 c d8[ d d] f4 g4.
quatre dernières gardent un tempo régulier.
@lilypond[relative=1,verbatim,quote]
-\override Beam #'grow-direction = #LEFT
+\override Beam.grow-direction = #LEFT
\featherDurations #(ly:make-moment 2 1)
{ c16[ c c c c c c c] }
-\override Beam #'grow-direction = #RIGHT
+\override Beam.grow-direction = #RIGHT
\featherDurations #(ly:make-moment 2 3)
{ c32[ d e f] }
% revert to non-feathered beams
-\override Beam #'grow-direction = #'()
+\override Beam.grow-direction = #'()
{ g32[ a b c] }
@end lilypond
numéros de mesure :
@lilypond[verbatim,quote,relative=1]
-\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+\override Score.BarNumber.break-visibility = #'#(#t #t #t)
\set Score.currentBarNumber = #11
% Permit first bar number to be printed
\bar ""
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Frédéric Chiasson, Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: Jean-Charles Malahieude, John Mandereau
désactivé par une clause
@example
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
@end example
Ceci n'aura pas pour seule conséquence que ce message ne sera plus
@cindex collisions, ignorer
@knownissues
-Une clause @code{\override NoteColumn #'ignore-collision = ##t} aura
+Une clause @code{\override NoteColumn.ignore-collision = ##t} aura
pour effet une fusion incorrecte des têtes de note différentes à partir
de voix différentes.
@lilypond[quote,relative=1,verbatim]
\mergeDifferentlyHeadedOn
<< { c16 a' b a } \\ { c,2 } >>
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
<< { c16 a' b a } \\ { c,2 } >>
@end lilypond
Could we add a sentence:
"Use instead the pair fontSize = #@var{N}
- \override StaffSymbol #'staff-space = #(magstep @var{N})
+ \override StaffSymbol.staff-space = #(magstep @var{N})
inside the Staff context to change the size of the font and the
distance between staff lines accordingly."
indent = 2\cm
\context @{
\StaffGroup
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #8
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #8
@}
\context @{
\Voice
- \override TextScript #'padding = #1
- \override Glissando #'thickness = #3
+ \override TextScript.padding = #1
+ \override Glissando.thickness = #3
@}
@}
@end example
\layout @{
\context @{
\Voice
- \override TextScript #'color = #magenta
- \override Glissando #'thickness = #1.5
+ \override TextScript.color = #magenta
+ \override Glissando.thickness = #1.5
@}
@}
@end example
layoutVariable = \layout @{
\context @{
\Voice
- \override NoteHead #'font-size = #4
+ \override NoteHead.font-size = #4
@}
@}
@end example
\layoutVariable
\context @{
\Voice
- \override NoteHead #'color = #red
+ \override NoteHead.color = #red
@}
@}
@end example
Selon le même principe, un saut de ligne ne peut intervenir alors qu'une
ligature s'étend sur deux mesures consécutives. Il faut en ce cas là
-introduire la dérogation @w{@code{\override Beam #'breakable = ##t}}.
+introduire la dérogation @w{@code{\override Beam.breakable = ##t}}.
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Beam #'breakable = ##t
+\override Beam.breakable = ##t
c2. c8[ c | \break
c8 c] c2. |
@end lilypond
avec ces deux instructions dérogatoires :
@example
-\override NonMusicalPaperColumn #'line-break-permission = ##f
-\override NonMusicalPaperColumn #'page-break-permission = ##f
+\override NonMusicalPaperColumn.line-break-permission = ##f
+\override NonMusicalPaperColumn.page-break-permission = ##f
@end example
Lorsque vous désactivez @code{line-break-permission}, LilyPond
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-permission = ##f
- \override NonMusicalPaperColumn #'page-break-permission = ##f
+ \override NonMusicalPaperColumn.line-break-permission = ##f
+ \override NonMusicalPaperColumn.page-break-permission = ##f
}
}
}
\score {
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1 * 2 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 35))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 35))
s1 * 3 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 70))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 70))
s1 * 6 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 105))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 105))
s1 * 5 \break
}
\new Voice {
#(define zero-space '((padding . -inf.0) (basic-distance . 0)))
alignToZero = \with {
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #zero-space
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #zero-space
}
lowerCaseChords = \with {
chordNameLowercaseMinor = ##t
}
staffAffinityDown = \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
labelContext =
#(define-music-function
\lowerCaseChords }
\context { \FretBoards \alignToZero \staffAffinityDown }
\context { \Score
- \override BarLine #'stencil = ##f
- \override DynamicText #'self-alignment-X = #-1
- \override FretBoard #'X-offset = #1.75
- \override InstrumentName #'minimum-Y-extent = #'(-2 . 2)
- \override InstrumentName #'extra-offset = #'(0 . -0.5)
- \override TextScript #'minimum-Y-extent = #'(-2 . 3)
- \override TimeSignature #'stencil = ##f
+ \override BarLine.stencil = ##f
+ \override DynamicText.self-alignment-X = #-1
+ \override FretBoard.X-offset = #1.75
+ \override InstrumentName.minimum-Y-extent = #'(-2 . 2)
+ \override InstrumentName.extra-offset = #'(0 . -0.5)
+ \override TextScript.minimum-Y-extent = #'(-2 . 3)
+ \override TimeSignature.stencil = ##f
}
}
@example
\new Staff \with @{
- \override VerticalAxisGroup #'staff-staff-spacing #'basic-distance = #10
+ \override VerticalAxisGroup.staff-staff-spacing.basic-distance = #10
@} @{ @dots{} @}
\new Staff \with @{
- \override VerticalAxisGroup #'staff-staff-spacing =
+ \override VerticalAxisGroup.staff-staff-spacing =
#'(('basic-distance . 10)
(minimum-distance . 9)
(padding . 1)
\layout @{
\context @{
\Staff
- \override VerticalAxisGroup #'staff-staff-spacing #'basic-distance = #10
+ \override VerticalAxisGroup.staff-staff-spacing.basic-distance = #10
@}
@}
@end example
\layout {
\context {
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 8)
(minimum-distance . 7)
(padding . 1))
% By setting 'padding to a negative value, staves can be made to
% collide. The lowest acceptable value for 'basic-distance is 0.
\new Staff \with {
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 3.5)
(padding . -10))
} { \clef bass g2 r | }
\layout {
\context {
\Score
- \override StaffGrouper #'staff-staff-spacing #'padding = #0
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #0
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #1
}
}
<<
\new PianoStaff \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} <<
\new Staff { c'1 }
\new Staff { c'1 }
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup
- #'nonstaff-nonstaff-spacing #'stretchability = #1000
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.stretchability = #1000
}
}
\new StaffGroup
<<
\new Staff \with {
- \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 30))
+ \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 30))
} { c'1 }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #UP
+ \override VerticalAxisGroup.staff-affinity = #UP
} \lyricmode { up }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #CENTER
+ \override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricmode { center }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
} \lyricmode { down }
\new Staff { c'1 }
>>
de la commande @code{\overrideProperty} :
@example
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (15)))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (15)))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40)
(alignment-distances . (15)))
@end example
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 80))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 80))
s1*5 \break
}
\new Voice { \repeat unfold 15 { c'4 c' c' c' } }
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 20)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 20)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (15)))
s1*5 \break
}
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0)
(alignment-distances . (30 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (10 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (10 30)))
s1*5 \break
}
@lilypond[quote,ragged-right,relative=2,verbatim]
c4_"Text"\pp
r2.
-\once \override TextScript #'outside-staff-priority = #1
+\once \override TextScript.outside-staff-priority = #1
c4_"Text"\pp % this time the text will be closer to the staff
r2.
% by setting outside-staff-priority to a non-number,
% we disable the automatic collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
-\once \override DynamicLineSpanner #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
+\once \override DynamicLineSpanner.outside-staff-priority = ##f
c4_"Text"\pp % now they will collide
@end lilypond
@c KEEP LY
@lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
-\once \override TextScript #'outside-staff-padding = #0
+\once \override TextScript.outside-staff-padding = #0
a'^"Ce texte est placé au plus près de la note"
-\once \override TextScript #'outside-staff-padding = #3
+\once \override TextScript.outside-staff-padding = #3
c^"Ce texte est décalé par rapport au texte précédent"
c^"Ce texte est accolé au texte précédent"
@end lilypond
c''2
% setting outside-staff-horizontal-padding fixes this
R1
-\once \override TextScript #'outside-staff-horizontal-padding = #1
+\once \override TextScript.outside-staff-horizontal-padding = #1
c,,4^"Text"
c4
c''2
{
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
- \override Staff.NoteSpacing #'stem-spacing-correction = #1.5
- \override Staff.StaffSpacing #'stem-spacing-correction = #1.5
+ \override Staff.NoteSpacing.stem-spacing-correction = #1.5
+ \override Staff.StaffSpacing.stem-spacing-correction = #1.5
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
}
suffit d'ajuster la valeur du décalage @emph{(padding)} autant que de
besoin.
@example
- \override Score.NonMusicalPaperColumn #'padding = #10
+ \override Score.NonMusicalPaperColumn.padding = #10
@end example
Il n'y a aucun moyen de diminuer l'espacement.
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
}
\layout {
\context {
\Score
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
d'ornement qui pourraient apparaître :
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Score.SpacingSpanner #'strict-note-spacing = ##t
+\override Score.SpacingSpanner.strict-note-spacing = ##t
\new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
@end lilypond
@item @code{\remove "Separating_line_group_engraver"}
-@item @code{\override PaperColumn #'used = ##t}
+@item @code{\override PaperColumn.used = ##t}
@end itemize
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1 20)
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
\new Staff {
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
c''8
réglages en usage dans la notation proportionnelle comme, entre autres,
@itemize
-@item @code{\override SpacingSpanner #'strict-grace-spacing = ##t}
+@item @code{\override SpacingSpanner.strict-grace-spacing = ##t}
@item @code{tupletFullLength = ##t}
-@item @code{\override Beam #'breakable = ##t}
-@item @code{\override Glissando #'breakable = ##t}
-@item @code{\override TextSpanner #'breakable = ##t}
+@item @code{\override Beam.breakable = ##t}
+@item @code{\override Glissando.breakable = ##t}
+@item @code{\override TextSpanner.breakable = ##t}
@item @code{\remove "Forbid_line_break_engraver" (dans un contexte de voix}
@end itemize
@lilypond[verbatim,quote,relative=1]
e4 c g\f c
-e4 c g-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 \f c
+e4 c g-\tweak X-offset #-2.7 -\tweak Y-offset #2.5 \f c
@end lilypond
@item
\layout {
\context {
\Score
- \override SpacingSpanner
- #'common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
}
}
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: John Mandereau
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-count = #2
+\override Staff.StaffSymbol.line-count = #2
\startStaff g, e |
f'4 d \stopStaff
-\revert Staff.StaffSymbol #'line-count
+\revert Staff.StaffSymbol.line-count
\startStaff g, e |
@end lilypond
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(1 3 5 -1 -3)
+\override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
\startStaff g, e |
f'4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(8 6.5 -6 -8 -0.5)
+\override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
\startStaff g, e
@end lilypond
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'thickness = #3
+ \override StaffSymbol.thickness = #3
}
{ e4 d c b }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #2
- \override StaffSymbol #'ledger-line-thickness = #'(0.5 . 0.4)
+ \override StaffSymbol.thickness = #2
+ \override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-positions = #'(-3 -2 -1 2 5 6)
+ \override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-extra = #4
+ \override StaffSymbol.ledger-extra = #4
}
{ f'4 a, d, f, }
@end lilypond
@code{\override} qui s'applique à l'intégralité du @code{StaffSymbol}.
@lilypond[fragment,quote,relative=1]
-\override Staff.StaffSymbol #'line-positions = #'(-8 0 2 4)
+\override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
d4 e f g
\stopStaff
\startStaff
-\override Staff.StaffSymbol #'ledger-positions = #'(-8 -6 (-4 -2) 0)
+\override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
d4 e f g
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.staff-space = #1.5
}
{ f'4 d, g, e, }
@end lilypond
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
firstClef = ##f
}
{ e4 d f e }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
}
{ \stopStaff s1*6 }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
} \relative c'' {
R1*3
c4 e8 d c2
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
@end lilypond
graveur, recourir aux dérogations suivantes :
@example
-\override StaffSymbol #'stencil = ##f
-\override NoteHead #'no-ledgers = ##t
+\override StaffSymbol.stencil = ##f
+\override NoteHead.no-ledgers = ##t
@end example
En ce qui concerne les désagréments et messages liés à l'utilisation de
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Jean-Charles Malahieude
@c Translation checkers: Valentin Villenave, John Mandereau
vous pouvez toutefois vous en affranchir en ajoutant
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
entre deux notes à l'aide de la syntaxe suivante :
@lilypond[verbatim,quote,relative=2]
-\override TextSpanner #'(bound-details left text) = "rit."
+\override TextSpanner.bound-details.left.text = "rit."
b1\startTextSpan
e,\stopTextSpan
@end lilypond
voir @ref{Mise en forme du texte}.
@lilypond[quote,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text) =
+\override TextSpanner.bound-details.left.text =
\markup { \upright "rit." }
b1\startTextSpan c
e,\stopTextSpan
défaut.
@lilypond[quote,verbatim,relative=2]
-\override Score.RehearsalMark #'font-family = #'typewriter
+\override Score.RehearsalMark.font-family = #'typewriter
\mark \markup "Ouverture"
-\override Voice.TextScript #'font-shape = #'italic
-\override Voice.TextScript #'font-series = #'bold
+\override Voice.TextScript.font-shape = #'italic
+\override Voice.TextScript.font-series = #'bold
d2.^\markup "Allegro"
-\override Voice.TextScript #'font-size = #-3
+\override Voice.TextScript.font-size = #-3
c4^smaller
@end lilypond
respectez la syntaxe suivante :
@lilypond[quote,verbatim,relative=2]
-\override Staff.TimeSignature #'font-name = #"Bitstream Charter"
-\override Staff.TimeSignature #'font-size = #2
+\override Staff.TimeSignature.font-name = #"Bitstream Charter"
+\override Staff.TimeSignature.font-size = #2
\time 3/4
a1_\markup {
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Valentin Villenave, Jean-Charles Malahieude
@c Translation checkers: Jean-Jacques Gerbaud
d'une commande. En d'autres termes, @strong{ne saisissez pas}
@example
-\override Score.LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
@noindent
mais plutôt
@example
-\override Score . LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
Pour utiliser des lettres accentuées ou des caractères spéciaux
<<
\new Lyrics = "lyrics" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "melody" {
\new Lyrics = "sopranos"
\new Lyrics = "contraltos" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "contraltos" {
@lilypond[relative=1,verbatim,quote,ragged-right]
{
c c c c
- \override Lyrics.LyricSpace #'minimum-distance = #1.0
+ \override Lyrics.LyricSpace.minimum-distance = #1.0
c c c c
}
\addlyrics {
\layout {
\context {
\Lyrics
- \override LyricSpace #'minimum-distance = #1.0
+ \override LyricSpace.minimum-distance = #1.0
}
}
}
fonctionnalité en ajoutant
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
Pour s'assurer que les paroles ne seront pas traversées par des barres
\Lyrics
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
@}
@}
@end example
\voiceOne
\times 2/3 {
% show associations clearly.
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
\layout {
\context {
\Score
- \override DynamicText #'direction = #UP
- \override DynamicLineSpanner #'direction = #UP
+ \override DynamicText.direction = #UP
+ \override DynamicLineSpanner.direction = #UP
}
}
}
% position name of cue-ing instrument just before the cue notes,
% and above the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
\set instrumentCueName = "Flute"
}
\cueDuring "flute" #UP { g4 bes4 }
\transposition c'
% position name of cue-ing instrument below the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
- \override InstrumentSwitch #'direction = #DOWN
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
+ \override InstrumentSwitch.direction = #DOWN
\set instrumentCueName = "Clar."
}
\cueDuring "clarinet" #DOWN { c4. g8 }
\score {
<<
\new Lyrics \with {
- \override LyricText #'font-shape = #'italic
- \override LyricText #'self-alignment-X = #LEFT
+ \override LyricText.font-shape = #'italic
+ \override LyricText.self-alignment-X = #LEFT
}
{ \dialogue }
\new Staff {
rythme et l'accentuation des paroles elles-mêmes.
@lilypond[verbatim,quote]
-stemOff = { \override Staff.Stem #'transparent = ##t }
+stemOff = { \override Staff.Stem.transparent = ##t }
\relative c' {
\stemOff
@lilypond[verbatim,quote]
divisioMinima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maxima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
finalis = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
}
\context {
\Staff
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Jean-Charles Malahieude
@c Translation checkers:
les notes, placées sur la portée inférieure, restent en noir.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
une portée, à l'aide de l'instruction
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
@noindent
@c -*- coding: utf-8; mode: texinfo; -*-
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Alapfogalmak
@chapter Alapfogalmak
@translationof Fundamental concepts
\\ % Voice four
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>> |
\\ % Voice four
{ \voiceThreeStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>>
@c TODO Avoid padtext - not needed with skylining
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp=_\markup { \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p }
violin = \relative c'' {
\repeat volta 2 {
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{ \dynamic f \italic \small @{ 2nd @}
\hspace #0.1 \dynamic p @}
padText =
#(define-music-function (parser location padding) (number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@c -*- coding: utf-8; mode: texinfo; -*-
-@c \version "2.16.0"
+@c \version "2.17.6"
@node A kimenet finomhangolása
@chapter A kimenet finomhangolása
@translationof Tweaking output
@c line-width ensures no break
@c line-width ensures no break
@c ode{staff-position} property, which is specified in half staff
-@c ode{\once \override Tie #'staff-position = #3.5}
+@c ode{\once \override Tie.staff-position = #3.5}
@c line-width ensures no break
@c line-width ensures no break
@c index Tie, example of overriding
@c index variables, using for tweaks
@c index using variables for tweaks
@c index tweaks, using variables for
-@c ode{\override Lyrics . LyricText #'font-shape = #'italic}
-@c ode{\override Lyrics . LyricText #'font-series = #'bold}
-@c ode{\revert Lyrics . LyricText #'font-shape}
-@c ode{\revert Lyrics . LyricText #'font-series}
+@c ode{\override Lyrics.LyricText.font-shape = #'italic}
+@c ode{\override Lyrics.LyricText.font-series = #'bold}
+@c ode{\revert Lyrics.LyricText.font-shape}
+@c ode{\revert Lyrics.LyricText.font-series}
@c index LyricText, example of overriding
@c index font-shape property, example
@c index font-series property, example
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node A lilypond használata
színű, fekete kottafejek lesznek.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
-\version "2.16.0"
+\version "2.17.6"
#(define (filter-instrument instrument-name tuning-alist)
(filter (lambda (entry)
{
\new Staff {
\textLengthOn
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\mark \markup {\left-align "Guitar tunings"}
\clef "treble_8"
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
myStaffSize = 20
{
\set Staff.instrumentName = #"Gonv override"
c2^\trill c
- \override NoteHead #'font-family = #'gonville
- \override Script #'font-family = #'gonville
+ \override NoteHead.font-family = #'gonville
+ \override Script.font-family = #'gonville
c^\trill c
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
pattern = <<
\new Voice {
- \override Stem #'direction = #UP
+ \override Stem.direction = #UP
e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4 \bar "||"
}
\new Voice {
- \override Stem #'direction = #DOWN
+ \override Stem.direction = #DOWN
a4 a2. a1 a\breve*1/2 a\longa*1/4 \bar "||"
}
>>
\transpose c c {
\clef C
- \override Staff.NoteHead #'style = #'default
+ \override Staff.NoteHead.style = #'default
s1*0^\markup { "default" }
\pattern
- \override Staff.NoteHead #'style = #'altdefault
+ \override Staff.NoteHead.style = #'altdefault
s1*0^\markup { "altdefault" }
\pattern
\break
- \override Staff.NoteHead #'style = #'baroque
+ \override Staff.NoteHead.style = #'baroque
s1*0^\markup { "baroque" }
\pattern
- \override Staff.NoteHead #'style = #'neomensural
+ \override Staff.NoteHead.style = #'neomensural
s1*0^\markup { "neomensural" }
\pattern
\break
- \override Staff.NoteHead #'style = #'mensural
+ \override Staff.NoteHead.style = #'mensural
s1*0^\markup { "mensural" }
\pattern
- \override Staff.NoteHead #'style = #'petrucci
+ \override Staff.NoteHead.style = #'petrucci
s1*0^\markup { "petrucci" }
\pattern
\break
- \override Staff.NoteHead #'style = #'harmonic
+ \override Staff.NoteHead.style = #'harmonic
s1*0^\markup { "harmonic" }
\pattern
- \override Staff.NoteHead #'style = #'harmonic-black
+ \override Staff.NoteHead.style = #'harmonic-black
s1*0^\markup { "harmonic-black" }
\pattern
\break
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
s1*0^\markup { "harmonic-mixed" }
\pattern
- \override Staff.NoteHead #'style = #'diamond
+ \override Staff.NoteHead.style = #'diamond
s1*0^\markup { "diamond" }
\pattern
\break
- \override Staff.NoteHead #'style = #'cross
+ \override Staff.NoteHead.style = #'cross
s1*0^\markup { "cross" }
\pattern
- \override Staff.NoteHead #'style = #'xcircle
+ \override Staff.NoteHead.style = #'xcircle
s1*0^\markup { "xcircle" }
\pattern
\break
- \override Staff.NoteHead #'style = #'triangle
+ \override Staff.NoteHead.style = #'triangle
s1*0^\markup { "triangle" }
\pattern
- \override Staff.NoteHead #'style = #'slash
+ \override Staff.NoteHead.style = #'slash
s1*0^\markup { "slash" }
\pattern
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc ="@cindex Feta scripts
\Score
timing = ##f
barAlways = ##t
- \override NonMusicalPaperColumn #'padding = #2.5
- \override PaperColumn #'keep-inside-line = ##t
+ \override NonMusicalPaperColumn.padding = #2.5
+ \override PaperColumn.keep-inside-line = ##t
}
\context {
\RhythmicStaff
\remove "Time_signature_engraver"
- \override BarLine #'transparent = ##t
- \override Stem #'direction = #down
+ \override BarLine.transparent = ##t
+ \override Stem.direction = #down
}
\context {
\Lyrics
- \override LyricText #'font-family = #'typewriter
- \override LyricText #'font-shape = #'upright
+ \override LyricText.font-family = #'typewriter
+ \override LyricText.font-shape = #'upright
}
\context {
\VaticanaVoice
- \override Script #'padding = #0
+ \override Script.padding = #0
}
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Concetti fondamentali
@chapter Concetti fondamentali
\\ % Voice two
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No voice three
\\ % Voice four
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
\\ % Voice two
{ \voiceTwoStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No Voice three (we want stems down)
\\ % Voice four
{ \voiceThreeStyle
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
@}
>> % fine del contesto ManualOne Staff
\new Staff = "ManualTwo" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp =_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
Si noti che la sintassi di @code{\tweak} è diversa da quella di
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex colore, esempio
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
spessore, per essere sicuri che il comando funzioni:
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
Non dimenticare il @code{#'} che precede il nome della
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Aumenta lo spessore solo della legatura che segue
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Aumenta lo spessore solo della legatura che segue
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% Aumenta lo spessore solo della legatura che segue
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% Aumenta lo spessore di tutte le legature di portamento che seguono da 1.2 a 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% Ripristina lo spessore di tutte le legature di portamento che seguono al valore predefinito 1.2
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
Quindi il comando @code{\override} che rende il testo corsivo è:
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
l'interprete non sarà in grado di distinguerli. Dunque il comando sarà:
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{Nel testo bisogna lasciare sempre uno spazio bianco tra l'ultima
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% Nasconde le chiavi di questo rigo
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% Nasconde le indicazioni di tempo di questo rigo
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
(@code{NoteHead}) con un comando di questo tipo
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
oppure possiamo modificare la dimensione di tutti i tipi di carattere usando
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% Riduce la dimensione di tutti i tipi di carattere di circa il 24%
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% Riduce proporzionalmente la lunghezza dei gambi e la spaziatura tra le linee
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4 g c a |
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a |
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a |
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a |
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5 |
@end lilypond
con @w{@code{-7}}:
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Imposta i dettagli per l'estensione del testo vocale seguente
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Posiziona le indicazione dinamiche sopra il rigo
\dynamicUp
% Posiziona l'estensione del segno d'ottava sotto il testo vocale
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% Inizia l'estensione del segno d'ottava
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8 |
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8 |
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8 |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Testo1"
c2^"Testo2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Testo3"
c2^"Testo4" |
@end lilypond
R1 |
% Disattiva l'elusione delle collisioni
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Testo Lungo " c'' |
R1 |
% Disattiva l'elusione delle collisioni
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % e attiva textLengthOn
c,,2^"Testo Lungo " % Gli spazi finali vengono rispettati
c''2 |
comando che lo fa sul testo della dinamica:
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Aumenta la larghezza di 1 spazio rigo
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
% Questo non funziona, vedi sotto
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4 = 120
c1 |
% Questo funziona
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4 = 80
d1 |
@end lilypond
\relative c'' {
c4
% Mostra un triesis (alterazione ascendente di tre quarti di tono) ma lo spazio è troppo stretto
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% Ecco come migliorare lo spazio
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 |
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Aumenta la larghezza di 1 unità
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% Allinea le dinamiche alla base posta 2 unità sopra il rigo
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
<a\2>
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
<a\2>
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{ c'1 ~ c'2. e'8 f' }
\\
{
- \override Beam #'positions = #'(-1 . -1)
+ \override Beam.positions = #'(-1 . -1)
e''8 e'' e'' e'' e'' e'' e'' e'' f''2 g''
}
>>
\\
{
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\
\\
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
posizionata proprio prima della prima nota della legatura sposta la legatura
3.5 mezzi spazi di rigo sopra la linea centrale:
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
Questo completa la seconda battuta:
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Riposiziona il c2 a destra della nota unita
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Sposta il c2 fuori dalla colonna della nota principale
% in modo che l'unione di note funzioni
\shiftOnn
% Indicazione di tempo visibile
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Indicazione di tempo invisibile per allungare la fermata nel MIDI
\tempo 4=80
a4\fermata |
% Indicazione di tempo visibile
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Indicazione di tempo invisibile per allungare la fermata nel MIDI
\tempo 4=80
a4\fermata |
alternativa possiamo usare i comandi @code{\override} e @code{\revert}?
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
Anche questi sarebbero molto noiosi da inserire se ci fossero
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\relative c' {
% Fa sì che il colore sia preso dalla procedura color-notehead
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
@lilypond[verbatim,quote,relative=2]
c4 b
-\override NoteHead #'style = #'cross
+\override NoteHead.style = #'cross
c4 b
-\revert NoteHead #'style
+\revert NoteHead.style
a b
-\override NoteHead #'style = #'harmonic
+\override NoteHead.style = #'harmonic
a b
-\revert NoteHead #'style
+\revert NoteHead.style
c4 d e f
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Eseguire lilypond
conserva il colore nero predefinito per le teste delle note.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
come un rigo inserendo
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
@noindent
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
\\ % Voice two
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No voice three
\\ % Voice four
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
\\ % Voice two
{ \voiceTwoStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No Voice three (we want stems down)
\\ % Voice four
{ \voiceThreeStyle
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
@}
>> % ManualOne Staff コンテキストの終了
\new Staff = "ManualTwo" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % ManualOne Staff コンテキストの終了
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp =_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
@code{\tweak} の構文は @code{\override} コマンドの構文とは@c
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex color property, example (color プロパティの例)
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
実行するコマンドは以下のようになります:
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
プロパティ名の前に @code{#'} を付けること、@c
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% 直後にあるスラーのみを太くします
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% 直後にあるスラーのみを太くします
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% 直後にあるスラーのみを太くします
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% 以後のスラーの太さを 1.2 から 5.0 に増やします
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% 以後のスラーの太さをデフォルトの 1.2 に戻します
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
@code{\override} コマンドは以下のようになります:
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
そのため、コマンドは以下のようにすべきです:
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{歌詞の中では、最後の音節と終端の波括弧の間に常にスペースを@c
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% この譜には音部記号を譜刻しません
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% この譜には拍子記号を譜刻しません
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
フォント サイズを変更する:
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
あるいは、@code{\set} を使って特別なプロパティ @code{fontSize} を設定するか、@c
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% すべてのフォント サイズを約 24% 減らします
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% 符幹の長さと譜線の間隔を減らします
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4 g c a |
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a |
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a |
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a |
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5 |
@end lilypond
@w{@code{-5}} であることがわかるので、@w{@code{-7}} にセットしてみましょう:
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@c KEEP LY
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% 以降のテキスト スパナの詳細を設定します
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% 強弱記号を譜の上に配置します
\dynamicUp
@c KEEP LY
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% 以降のテキスト スパナの詳細を設定します
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% 強弱記号を譜の上に配置します
\dynamicUp
% 以降のオッターバ囲みをテキスト スパナの下に配置します
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% オッターバ囲みの開始
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8 |
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8 |
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8 |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Text1"
c2^"Text2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Text3"
c2^"Text4" |
@end lilypond
R1 |
% 衝突回避を OFF にします
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Long Text " c'' |
R1 |
% 衝突回避を OFF にします
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % そして textLengthOn を ON にします
c,,2^"Long Text " % 後ろにスペースが付け加えられます
c''2 |
以下は強弱記号テキストに対してこれを行うコマンドです:
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 staff space
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@c KEEP LY
@lilypond[quote,fragment,relative=1,verbatim]
% これは機能しません。この下を見てください
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4 = 120
c1 |
% これは機能します
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4 = 80
d1 |
@end lilypond
\relative c'' {
c4
% これは 1.5 倍シャープを譜刻しますが、スペースが小さすぎます
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% これはスペースを改善しています
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 |
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% 幅を 1 単位広げます
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% 強弱記号を譜から 2 単位上のベース ラインに揃えます
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
<a\2>
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
<a\2>
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{ c'1 ~ c'2. e'8 f' }
\\
{
- \override Beam #'positions = #'(-1 . -1)
+ \override Beam.positions = #'(-1 . -1)
e''8 e'' e'' e'' e'' e'' e'' e'' f''2 g''
}
>>
\\
{
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\
\\
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% マージされる音符の右にある c2 を再配置します
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% c2 をメインの音符列から外したため、
% マージが機能します
\shiftOnn
ですから、以下の以下のオーバライドをタイで結ばれる最初の音符の前に置けば、@c
タイは中央線から 3.5 半譜スペースだけ上の位置に移動させられます:
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
これで第 2 小節の修正も完了で、以下のようになります:
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% マージされる音符の右にある c2 を再配置します
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% c2 をメインの音符列から外したため、マージが機能します
\shiftOnn
c2
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
使うことはできないでしょうか?
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
これらも、強調する必要のある単語がたくさんある場合、入力するのが@c
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\relative c' {
% Arrange to obtain color from color-notehead procedure
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
\layout {
\context {
\Staff
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
}
}
\layout {
\accidentalStyle dodecaphonic
\set fontSize = #-4
- \override Voice.Stem #'thickness = #4.0
+ \override Voice.Stem.thickness = #4.0
}
}
@end lilypond
\new Staff {
\new Voice
\with {
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
{
\relative c'' {
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
}
\context { \Staff
音符はスラッシュで、符幹を持ちません:
@example
-\override NoteHead #'style = #'slash
-\override Stem #'transparent = ##t
-\override Flag #'transparent = ##t
+\override NoteHead.style = #'slash
+\override Stem.transparent = ##t
+\override Flag.transparent = ##t
@end example
これらのプラグインすべてが共同する必要があり、@c
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
@}
@end example
以下のコマンドは、音符と運指記号の間に 3 譜スペースを挿入します:
@example
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
@end example
このコマンドを @code{Fingering} オブジェクトが作成される前に挿入する
-- つまり @code{c2} の前に挿入する -- と、以下のような結果が得られます:
@lilypond[quote,relative=2,fragment,verbatim]
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
c-2
\stemUp
f
The command
@verbatim
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
@end verbatim
@noindent
@lilypond[quote,verbatim,relative=2,fragment]
c4
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
c4
c4
c4
@lilypond[quote,fragment,verbatim,relative=2]
c4
-\once \override Stem #'thickness = #4.0
+\once \override Stem.thickness = #4.0
c4
c4
@end lilypond
when the object is created. In this example,
@lilypond[quote,fragment,verbatim,relative=2]
-\override Slur #'thickness = #3.0
+\override Slur.thickness = #3.0
c8[( c
-\override Beam #'thickness = #0.6
+\override Beam.thickness = #0.6
c8 c])
@end lilypond
@code{\revert} in the next example does not do anything.
@example
-\override Voice.Stem #'thickness = #4.0
-\revert Staff.Stem #'thickness
+\override Voice.Stem.thickness = #4.0
+\revert Staff.Stem.thickness
@end example
Some tweakable options are called @q{subproperties} and reside inside
such as
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@end ignore
@lilypond[quote,verbatim,relative=2]
c4 c
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
@end lilypond
context is used:
@lilypond[quote,verbatim,relative=2]
-{ \override Staff.Stem #'thickness = #3.0
+{ \override Staff.Stem.thickness = #3.0
<<
{
e4 e
- \override Stem #'thickness = #0.5
+ \override Stem.thickness = #0.5
e4 e
} \\ {
c4 c c c
@lilypond[quote,verbatim,relative=2]
c4
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
-\revert Voice.Stem #'thickness
+\revert Voice.Stem.thickness
c4
@end lilypond
<<
{
e4
- \override Staff.Stem #'thickness = #3.0
+ \override Staff.Stem.thickness = #3.0
e4 e e
} \\ {
c4 c c
- \revert Staff.Stem #'thickness
+ \revert Staff.Stem.thickness
c4
}
>>
{
<<
{
- \override Stem #'thickness = #3.0
+ \override Stem.thickness = #3.0
e4 e e e
} \\ {
c4
- \once \override Stem #'thickness = #3.0
+ \once \override Stem.thickness = #3.0
c4 c c
}
>>
Commands which change output generally look like
@example
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
@end example
@noindent
properties. To tweak those, use commands in the form
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@cindex internal documentation
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
--\tweak #'padding #8
+-\tweak padding #8
-^
@end lilypond
So, this works:
@lilypond[relative=2,verbatim,quote]
-<\tweak #'color #red c>4
+<\tweak color #red c>4
@end lilypond
@noindent
but this does not:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
+\tweak color #red c4
@end lilypond
@end ignore
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
@end lilypond
@code{\tweak} を用いて、スラーを変更することができます:
@lilypond[verbatim,quote,relative=1]
-c-\tweak #'thickness #5 ( d e f)
+c-\tweak thickness #5 ( d e f)
@end lilypond
からです:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
-\tweak #'color #red <c e>4
-<\tweak #'color #red c e>4
+\tweak color #red c4
+\tweak color #red <c e>4
+<\tweak color #red c e>4
@end lilypond
単純な @code{\tweak} コマンドでは入力から直接作成されないオブジェクトを@c
@lilypond[verbatim,quote,relative=1]
c
--\tweak #'style #'dashed-line
--\tweak #'dash-fraction #0.2
--\tweak #'thickness #3
--\tweak #'color #red
+-\tweak style #'dashed-line
+-\tweak dash-fraction #0.2
+-\tweak thickness #3
+-\tweak color #red
\glissando
f'
@end lilypond
% 譜間スペースを減らします
\new PianoStaff \with {
% this is the nested declaration
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #7
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #7
} <<
\new Staff { \clef treble c''1 }
\new Staff { \clef bass c1 }
@lilypond[quote,verbatim]
\new PianoStaff \with {
- \override StaffGrouper #'staff-staff-spacing =
+ \override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 0)
(padding . 0)
このため、以下の 2 つの宣言は等価です:
@example
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7))
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7)
(minimum-distance . 0)
(padding . 0)
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(7 3 0 -4 -6 -7)
+ \override StaffSymbol.line-positions = #'(7 3 0 -4 -6 -7)
}
{ a4 e' f b | d1 }
@end lilypond
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'width = #23
+ \override StaffSymbol.width = #23
}
{ a4 e' f b | d1 }
@end lilypond
a~a
a
% タイの長さを増加させます
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
~a
@end lilypond
\compressFullBarRests
R1*23
% 休符バーの長さを増加させます
-\once \override MultiMeasureRest #'minimum-length = #20
+\once \override MultiMeasureRest.minimum-length = #20
R1*23
a1
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a \!
% ヘアピンの長さを増加させます
-\override Hairpin #'minimum-length = #20
+\override Hairpin.minimum-length = #20
a \< a a a \!
@end lilypond
@lilypond[verbatim,quote,relative=2]
a( a)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
( a)
a\( a\)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
\( a\)
@end lilypond
e \glissando c'
% 単独では効果を持ちません
-\once \override Glissando #'minimum-length = #20
+\once \override Glissando.minimum-length = #20
e, \glissando c'
% 以下の両方のオーバライドが存在する場合にのみ、効果を持ちます
-\once \override Glissando #'minimum-length = #20
-\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Glissando.minimum-length = #20
+\once \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
e, \glissando c'
@end lilypond
@c KEEP LY
@lilypond[verbatim,quote,relative=1]
% 単独では効果を持ちません
-\once \override Beam #'minimum-length = #20
+\once \override Beam.minimum-length = #20
e8 e e e
% 以下の両方のオーバライドが存在する場合にのみ、効果を持ちます
-\once \override Beam #'minimum-length = #20
-\once \override Beam #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Beam.minimum-length = #20
+\once \override Beam.springs-and-rods = #ly:spanner::set-spacing-rods
e8 e e e
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a a \! a a a \break
-\override Hairpin #'to-barline = ##f
+\override Hairpin.to-barline = ##f
a \< a a a a \! a a a
@end lilypond
@lilypond[relative=2,quote,verbatim]
e2 \glissando b
-\once \override Glissando #'(bound-details left Y) = #3
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.left.Y = #3
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando b
@end lilypond
例を示します:
@lilypond[relative=2,ragged-right,verbatim,fragment]
-\override Glissando #'breakable = ##t
-\override Glissando #'(bound-details right-broken Y) = #-3
+\override Glissando.breakable = ##t
+\override Glissando.bound-details.right-broken.Y = #-3
c1 \glissando \break
f1
@end lilypond
水平スパナに @i{cresc.}, @i{tr} それに他のテキストを配置するために使用されます。
@lilypond[quote,ragged-right,fragment,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan
@end lilypond
記号が上下します:
@lilypond[relative=1,fragment,verbatim]
-\override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #-2
-\override TextSpanner
- #'(bound-details right stencil-align-dir-y) = #UP
-
-\override TextSpanner
- #'(bound-details left text) = #"ggg"
-\override TextSpanner
- #'(bound-details right text) = #"hhh"
+\override TextSpanner.bound-details.left.stencil-align-dir-y = #-2
+\override TextSpanner.bound-details.right.stencil-align-dir-y = #UP
+
+\override TextSpanner.bound-details.left.text = #"ggg"
+\override TextSpanner.bound-details.right.text = #"hhh"
c4^\startTextSpan c c c \stopTextSpan
@end lilypond
@lilypond[quote,verbatim,relative=1]
a1 a
-\override Score.BarLine #'stencil = ##f
+\override Score.BarLine.stencil = ##f
a a
-\revert Score.BarLine #'stencil
+\revert Score.BarLine.stencil
a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
a4 a
-\once \override NoteHead #'transparent = ##t
+\once \override NoteHead.transparent = ##t
a a
@end lilypond
白いオブジェクトの画像が幽霊のように浮かび上がることがあります:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
+\override Staff.Clef.color = #white
a1
@end lilypond
音部記号を先に描画させる必要があります:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
-\override Staff.Clef #'layer = #-1
+\override Staff.Clef.color = #white
+\override Staff.Clef.layer = #-1
a1
@end lilypond
f4 g a b
f4 g a b
% カレント行の最後で小節線を削除します
-\once \override Score.BarLine #'break-visibility = #'#(#f #t #t)
+\once \override Score.BarLine.break-visibility = #'#(#f #t #t)
\break
f4 g a b
f4 g a b
\key g \major
f4 g a b
% すべての調号を削除しようと試みます
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b
\break
\key g \major
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.printKeyCancellation = ##f
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
@lilypond[relative=2,ragged-right,verbatim,fragment]
d2 \glissando d'2
-\once \override Glissando #'style = #'dashed-line
+\once \override Glissando.style = #'dashed-line
d,2 \glissando d'2
-\override Glissando #'style = #'dotted-line
+\override Glissando.style = #'dotted-line
d,2 \glissando d'2
-\override Glissando #'style = #'zigzag
+\override Glissando.style = #'zigzag
d,2 \glissando d'2
-\override Glissando #'style = #'trill
+\override Glissando.style = #'trill
d,2 \glissando d'2
@end lilypond
@c TODO Complete
@lilypond[relative=2,ragged-right,verbatim,quote]
e2 \glissando f
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando f
@end lilypond
@lilypond[quote,verbatim,relative=1]
g4\< e' d' f\!
-\override Hairpin #'rotation = #'(20 -1 0)
+\override Hairpin.rotation = #'(20 -1 0)
g,,4\< e' d' f\!
@end lilypond
そうしなければテキストのいくつかは高く押し上げられてしまいます。
@lilypond[quote,verbatim,relative=1]
-\override TextScript #'outside-staff-priority = ##f
+\override TextScript.outside-staff-priority = ##f
g4^\markup { \rotate #30 "a G" }
b^\markup { \rotate #30 "a B" }
des^\markup { \rotate #30 "a D-Flat" }
@lilypond[verbatim,quote,relative=2]
a-3
a
--\tweak #'X-offset #0
--\tweak #'Y-offset #0
+-\tweak X-offset #0
+-\tweak Y-offset #0
-3
a
--\tweak #'X-offset #-1
--\tweak #'Y-offset #1
+-\tweak X-offset #-1
+-\tweak Y-offset #1
-3
@end lilypond
@lilypond[quote,verbatim,relative=1]
a'
--\tweak #'self-alignment-X #-1
+-\tweak self-alignment-X #-1
^"left-aligned"
--\tweak #'self-alignment-X #0
+-\tweak self-alignment-X #0
^"center-aligned"
--\tweak #'self-alignment-X #RIGHT
+-\tweak self-alignment-X #RIGHT
^"right-aligned"
--\tweak #'self-alignment-X #-2.5
+-\tweak self-alignment-X #-2.5
^"aligned further to the right"
@end lilypond
@c KEEP LY
@lilypond[quote,verbatim,relative=2]
a
--\tweak #'self-alignment-X #0.5 % 左方向に移動させます
--\tweak #'Y-offset #ly:self-alignment-interface::y-aligned-on-self
--\tweak #'self-alignment-Y #-1 % 上方向に移動させます
+-\tweak self-alignment-X #0.5 % 左方向に移動させます
+-\tweak Y-offset #ly:self-alignment-interface::y-aligned-on-self
+-\tweak self-alignment-Y #-1 % 上方向に移動させます
-3 % 3 の指
@end lilypond
@c KEEP LY
@lilypond[verbatim,quote,relative=1]
% リハーサル記号は音部記号の上に中央揃えされます
-\override Score.RehearsalMark #'break-align-symbols = #'(clef)
+\override Score.RehearsalMark.break-align-symbols = #'(clef)
\key a \major
\clef treble
\mark "↓"
e1
% リハーサル記号は拍子記号の上に中央揃えされます
-\override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(time-signature)
\key a \major
\clef treble
\time 3/4
\mark "↓"
e2.
% リハーサル記号はブレス記号の上に中央揃えされます
-\override Score.RehearsalMark #'break-align-symbols = #'(breathing-sign)
+\override Score.RehearsalMark.break-align-symbols = #'(breathing-sign)
\key a \major
\clef treble
\time 4/4
@c KEEP LY
@lilypond[verbatim,quote,relative=1]
% リハーサル記号は調号の上に中央揃えされます
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
e1
% リハーサル記号は音部記号の上に中央揃えされます
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \minor
\clef bass
\mark "↓"
% リハーサル記号は小節線の上に中央揃えされます
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.explicitClefVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
@c KEEP LY
@lilypond[verbatim,quote,relative=1]
% RehearsalMark は KeySignature の上に中央揃えされます
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\key a \major
\clef treble
\time 4/4
\mark "↓"
e1
% RehearsalMark は KeySignature の左端に揃えられます
-\once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+\once \override Score.KeySignature.break-align-anchor-alignment = #LEFT
\mark "↓"
\key a \major
e
% RehearsalMark は KeySignature の右端に揃えられます
-\once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+\once \override Score.KeySignature.break-align-anchor-alignment = #RIGHT
\key a \major
\mark "↓"
e
@lilypond[verbatim,quote,relative=1]
% リハーサル記号は調号の左端に揃えられて
% さらに 3.5 譜スペース右にずらされます
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
-\once \override Score.KeySignature #'break-align-anchor = #3.5
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
+\once \override Score.KeySignature.break-align-anchor = #3.5
\key a \major
\mark "↓"
e1
% リハーサル記号は調号の左端に揃えられて
% さらに 2 譜スペース左にずらされます
-\once \override Score.KeySignature #'break-align-anchor = #-2
+\once \override Score.KeySignature.break-align-anchor = #-2
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote]
XinO = {
- \once \override NoteHead #'stencil = #ly:text-interface::print
- \once \override NoteHead #'text = \markup {
+ \once \override NoteHead.stencil = #ly:text-interface::print
+ \once \override NoteHead.text = \markup {
\combine
\halign #-0.7 \draw-circle #0.85 #0.2 ##f
\musicglyph #"noteheads.s2cross"
@lilypond[verbatim,quote,relative=1]
<<
{
- \once \override Tie
- #'control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
+ \once \override Tie.control-points = #'((1 . -1) (3 . 0.6) (12.5 . 0.6) (14.5 . -1))
e1 ~ e
}
\\
'(-0.5 . 0.5)))))
squareLineCircleSpace = {
- \override NoteHead #'stencil = #square-line-circle-space
+ \override NoteHead.stencil = #square-line-circle-space
}
smartSquareLineCircleSpace = {
\squareLineCircleSpace
- \override NoteHead #'Y-extent =
+ \override NoteHead.Y-extent =
#(ly:make-unpure-pure-container
ly:grob::stencil-height
(lambda (grob start end) (ly:grob::stencil-height grob)))
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = $padding
+ \once \override TextScript.padding = $padding
#})
\relative c''' {
(parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = $padding
+ \once \override Score.MetronomeMark.padding = $padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@tab
@lilypond[fragment,relative=2,notime]
\set Staff.autoBeaming = ##f
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c1 c2 c8 c16
@end lilypond
@tab 増音の付点
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c4. c4..
@end lilypond
@tab 拍子記号
@tab
@lilypond[fragment]
-\override Staff.Clef #'transparent = ##t
+\override Staff.Clef.transparent = ##t
\time 3/4
s4_" "
\time 4/4
@tab 休符
@tab
@lilypond[relative=2,notime,fragment]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
r4 r8
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:m c:m7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:dim c:dim7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:aug
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:maj c:maj7
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@lilypond[verbatim,quote,relative=2]
\set fontSize = #3
c4.-> d8---3
-\override NoteHead #'font-size = #-4
+\override NoteHead.font-size = #-4
c4.-> d8---3
-\override Script #'font-size = #2
+\override Script.font-size = #2
c4.-> d8---3
-\override Stem #'font-size = #-5
+\override Stem.font-size = #-5
c4.-> d8---3
@end lilypond
有効なカラー名は @ref{List of colors} でリストアップされています。
@lilypond[verbatim,quote,relative=2]
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
c4 c
-\override NoteHead #'color = #(x11-color 'LimeGreen)
+\override NoteHead.color = #(x11-color 'LimeGreen)
d
-\override Stem #'color = #blue
+\override Stem.color = #blue
e
@end lilypond
@c KEEP LY
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
gis8 a
-\override Beam #'color = #(x11-color "medium turquoise")
+\override Beam.color = #(x11-color "medium turquoise")
gis a
-\override Accidental #'color = #(x11-color 'DarkRed)
+\override Accidental.color = #(x11-color 'DarkRed)
gis a
-\override NoteHead #'color = #(x11-color "LimeGreen")
+\override NoteHead.color = #(x11-color "LimeGreen")
gis a
% 以下は意図的に意味をなさない色を指定しています。符幹が黒のままであることに注意してください
-\override Stem #'color = #(x11-color 'Boggle)
+\override Stem.color = #(x11-color 'Boggle)
b2 cis
@end lilypond
厳密な RGB カラーを指定することができます。
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
-\override Stem #'color = #(rgb-color 0 0 0)
+\override Stem.color = #(rgb-color 0 0 0)
gis8 a
-\override Stem #'color = #(rgb-color 1 1 1)
+\override Stem.color = #(rgb-color 1 1 1)
gis8 a
-\override Stem #'color = #(rgb-color 0 0 0.5)
+\override Stem.color = #(rgb-color 0 0 0.5)
gis4 a
@end lilypond
version that you are working on. For details, see the Contributors'
Guide, node Updating translation committishes..@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
このコマンドは @code{MultiMeasureRestText} オブジェクトを作成します。
@lilypond[verbatim,quote,relative=2]
-\override Script #'color = #red
-\override MultiMeasureRestText #'color = #blue
+\override Script.color = #red
+\override MultiMeasureRestText.color = #blue
a2\fermata r\fermata
R1\fermataMarkup
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
変更することができます。
@lilypond[quote,ragged-right,verbatim]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
\new StaffGroup <<
\new Staff \relative c {
\clef "treble_8"
ハーモニック指示を演奏するピッチとしてタブ譜に付け加えることができます:
@lilypond[verbatim,quote]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
firstHarmonic = {
d'4\4\harmonic
g'4\3\harmonic
@lilypond[quote,ragged-right,verbatim]
<<
\new Voice \with {
- \override StringNumber #'stencil = ##f
+ \override StringNumber.stencil = ##f
} {
\clef "bass_8"
\relative c, {
}
}
\context Staff {
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
\clef "treble_8"
<c e g c' e'>1^\markup {
\fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
}
\context Staff {
\clef "treble_8"
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
<f, c f a c' f'>1^\markup {
\fret-diagram-verbose #'(
(place-fret 6 1)
\clef "treble_8"
b16 d g b e
\textSpannerDown
-\override TextSpanner #'(bound-details left text) = #"XII "
+\override TextSpanner.bound-details.left.text = #"XII "
g16\startTextSpan
b16 e g e b g\stopTextSpan
e16 b g d
@lilypond[quote,ragged-right,verbatim]
\relative c' {
\clef "treble_8"
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
@item Scheme 表記要素を区切る空白。
@item @code{lyricmode} モードの @code{\override} と @code{\set} コマンドの@c
中にある単語を区切る空白。@c
-特に、@code{\override Score . LyricText #'font-size = #5} のように、@c
+特に、@code{\override Score.LyricText.font-size = #5} のように、@c
コマンドの中のドットとイコール記号の前後、コマンド全体の前後に@c
空白を挿入することを忘れないで下さい。
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
\new Staff = "up" {
\voiceOne
% 譜を跨ぐボイスの中にある運指記号のためのスペースを作ります
- \once\override DynamicLineSpanner #'staff-padding = #3.4
+ \once\override DynamicLineSpanner.staff-padding = #3.4
e''2\p\< d''\>
c''1\!
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
<< \new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics \nam
>>
\layout {
\context {
\Score
- \override LyricText #'font-family = #'typewriter
- \override BarNumber #'transparent =##T
+ \override LyricText.font-family = #'typewriter
+ \override BarNumber.transparent =##T
}
}
}
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
- \override StaffSymbol #'line-count = #2
- \override StaffSymbol #'staff-space = #2
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
+ \override StaffSymbol.line-count = #2
+ \override StaffSymbol.staff-space = #2
+ \override VerticalAxisGroup.minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\remove "Bar_engraver"
\remove "Time_signature_engraver"
drumStyleTable = #congas-style
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
drumStyleTable = #bongos-style
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with{
\remove "Bar_engraver"
drumStyleTable = #percussion-style
- \override StaffSymbol #'line-count = #1
+ \override StaffSymbol.line-count = #1
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
woodstaff = {
% 以下は二線の譜を定義します。
% また、二線の位置も定義します。
- \override Staff.StaffSymbol #'line-positions = #'(-2 3)
+ \override Staff.StaffSymbol.line-positions = #'(-2 3)
% 以下の行が必要です。この行を省略すると、小節線は短すぎます!
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
@end lilypond
上記の特殊なケースでは、@c
-小節線の長さを @code{\override Staff.BarLine #'bar-extent #'(from . to)}
+小節線の長さを @code{\override Staff.BarLine.bar-extent #'(from . to)}
で変更する必要があります。@c
さもないと、小節線の長さが短すぎます。@c
また、2 本の譜線の位置を定義する必要があります。@c
#(define mydrums '((tambourine default #t 0)))
tambustaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
#(define mydrums '((tamtam default #t 0)))
tamtamstaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
(cowbell default #t -2)))
bellstaff = {
- \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
+ \override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
@lilypond[verbatim,quote,relative=2]
c4 b
-\override NoteHead #'style = #'cross
+\override NoteHead.style = #'cross
c4 b
-\revert NoteHead #'style
+\revert NoteHead.style
a b
-\override NoteHead #'style = #'harmonic
+\override NoteHead.style = #'harmonic
a b
-\revert NoteHead #'style
+\revert NoteHead.style
c4 d e f
@end lilypond
version that you are working on. See TRANSLATION for details.
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
オーバライドしてください。
@lilypond[verbatim,quote,ragged-right,relative=2]
-\override Tie #'layer = #-2
-\override Staff.TimeSignature #'layer = #-1
-\override Staff.KeySignature #'layer = #-1
-\override Staff.TimeSignature #'whiteout = ##t
-\override Staff.KeySignature #'whiteout = ##t
+\override Tie.layer = #-2
+\override Staff.TimeSignature.layer = #-1
+\override Staff.KeySignature.layer = #-1
+\override Staff.TimeSignature.whiteout = ##t
+\override Staff.KeySignature.whiteout = ##t
b2 b~
\time 3/4
\key a \major
\new Staff {
% この 2 本線には意味はありません
\time 16/1
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
% 八全休符を譜刻します。二全休符 4 つと等価です
r\maxima
% 四全休符を譜刻します。二全休符 2 つと等価です
@c KEEP LY
@lilypond[quote,verbatim,relative=2]
% この例は誤ったオブジェクト名を指定しているため失敗します
-\override TextScript #'padding = #5
+\override TextScript.padding = #5
R1^"wrong"
% この例は正しいオブジェクト名が指定されています
-\override MultiMeasureRestText #'padding = #5
+\override MultiMeasureRestText.padding = #5
R1^"right"
@end lilypond
@lilypond[verbatim,relative=2,quote]
% すべての小節番号を表示します
-\override Score.BarNumber #'break-visibility = #all-visible
+\override Score.BarNumber.break-visibility = #all-visible
c4 d e d
\cadenzaOn
c4 c d8[ d d] f4 g4.
最後の 4 つの 32 分音符は一定のテンポです。
@lilypond[relative=1,verbatim,quote]
-\override Beam #'grow-direction = #LEFT
+\override Beam.grow-direction = #LEFT
\featherDurations #(ly:make-moment 2 1)
{ c16[ c c c c c c c] }
-\override Beam #'grow-direction = #RIGHT
+\override Beam.grow-direction = #RIGHT
\featherDurations #(ly:make-moment 2 3)
{ c32[ d e f] }
% revert to non-feathered beams
-\override Beam #'grow-direction = #'()
+\override Beam.grow-direction = #'()
{ g32[ a b c] }
@end lilypond
以下の例では、譜刻可能な場所すべてに小節番号を譜刻しています:
@lilypond[verbatim,quote,relative=1]
-\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+\override Score.BarNumber.break-visibility = #'#(#t #t #t)
\set Score.currentBarNumber = #11
% Permit first bar number to be printed
\bar ""
version that you are working on. See TRANSLATION for details.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
以下でこのメッセージを表示させなくすることができます:
@example
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
@end example
しかしながら、これは警告を非表示にするだけでなく、@c
@cindex collisions, ignoring (衝突を無視する)
@knownissues
-@code{\override NoteColumn #'ignore-collision = ##t} を使うと@c
+@code{\override NoteColumn.ignore-collision = ##t} を使うと@c
異なるボイスにある符頭が異なる音符を不適切にマージします。
@lilypond[quote,relative=1,verbatim]
\mergeDifferentlyHeadedOn
<< { c16 a' b a } \\ { c,2 } >>
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
<< { c16 a' b a } \\ { c,2 } >>
@end lilypond
Could we add a sentence:
"Use instead the pair fontSize = #@var{N}
- \override StaffSymbol #'staff-space = #(magstep
+ \override StaffSymbol.staff-space = #(magstep
@var{N})
inside the Staff context to change the size of the font and the
distance between
indent = 2\cm
\context @{
\StaffGroup
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #8
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #8
@}
\context @{
\Voice
- \override TextScript #'padding = #1
- \override Glissando #'thickness = #3
+ \override TextScript.padding = #1
+ \override Glissando.thickness = #3
@}
@}
@end example
\layout @{
\context @{
\Voice
- \override TextScript #'color = #magenta
- \override Glissando #'thickness = #1.5
+ \override TextScript.color = #magenta
+ \override Glissando.thickness = #1.5
@}
@}
@end example
layoutVariable = \layout @{
\context @{
\Voice
- \override NoteHead #'font-size = #4
+ \override NoteHead.font-size = #4
@}
@}
@end example
\layoutVariable
\context @{
\Voice
- \override NoteHead #'color = #red
+ \override NoteHead.color = #red
@}
@}
@end example
@end lilypond
同様に、通常は連桁が小節線を跨いでいる場合も、改行は禁止されます。@c
-この振る舞いは、@code{\override Beam #'breakable = ##t} により、@c
+この振る舞いは、@code{\override Beam.breakable = ##t} により、@c
変更することができます:
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Beam #'breakable = ##t
+\override Beam.breakable = ##t
c2. c8[ c | \break
c8 c] c2. |
@end lilypond
この振る舞いを上書きするための 2 つのコマンドがあります:
@example
-\override NonMusicalPaperColumn #'line-break-permission = ##f
-\override NonMusicalPaperColumn #'page-break-permission = ##f
+\override NonMusicalPaperColumn.line-break-permission = ##f
+\override NonMusicalPaperColumn.page-break-permission = ##f
@end example
@code{line-break-permission} が偽に上書きされた場合、@c
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-permission = ##f
- \override NonMusicalPaperColumn #'page-break-permission = ##f
+ \override NonMusicalPaperColumn.line-break-permission = ##f
+ \override NonMusicalPaperColumn.page-break-permission = ##f
}
}
}
\score {
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1 * 2 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 35))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 35))
s1 * 3 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 70))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 70))
s1 * 6 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 105))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 105))
s1 * 5 \break
}
\new Voice {
#(define zero-space '((padding . -inf.0) (basic-distance . 0)))
alignToZero = \with {
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #zero-space
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #zero-space
}
lowerCaseChords = \with {
chordNameLowercaseMinor = ##t
}
staffAffinityDown = \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
labelContext =
#(define-music-function
\lowerCaseChords }
\context { \FretBoards \alignToZero \staffAffinityDown }
\context { \Score
- \override BarLine #'stencil = ##f
- \override DynamicText #'self-alignment-X = #-1
- \override FretBoard #'X-offset = #1.75
- \override InstrumentName #'minimum-Y-extent = #'(-2 . 2)
- \override InstrumentName #'extra-offset = #'(0 . -0.5)
- \override TextScript #'minimum-Y-extent = #'(-2 . 3)
- \override TimeSignature #'stencil = ##f
+ \override BarLine.stencil = ##f
+ \override DynamicText.self-alignment-X = #-1
+ \override FretBoard.X-offset = #1.75
+ \override InstrumentName.minimum-Y-extent = #'(-2 . 2)
+ \override InstrumentName.extra-offset = #'(0 . -0.5)
+ \override TextScript.minimum-Y-extent = #'(-2 . 3)
+ \override TimeSignature.stencil = ##f
}
}
@example
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@} @{ @dots{} @}
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 10)
(minimum-distance . 9)
(padding . 1)
\layout @{
\context @{
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@}
@}
@end example
\layout {
\context {
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 8)
(minimum-distance . 7)
(padding . 1))
% 'padding に負の値を設定することにより、譜を重ねることができます。
% 'basic-distance が取り得る最小の値は 0 です。
\new Staff \with {
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 3.5)
(padding . -10))
} { \clef bass g2 r | }
\layout {
\context {
\Score
- \override StaffGrouper #'staff-staff-spacing #'padding = #0
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #0
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #1
}
}
<<
\new PianoStaff \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} <<
\new Staff { c'1 }
\new Staff { c'1 }
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup
- #'nonstaff-nonstaff-spacing #'stretchability = #1000
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.stretchability = #1000
}
}
\new StaffGroup
<<
\new Staff \with {
- \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 30))
+ \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 30))
} { c'1 }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #UP
+ \override VerticalAxisGroup.staff-affinity = #UP
} \lyricmode { up }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #CENTER
+ \override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricmode { center }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
} \lyricmode { down }
\new Staff { c'1 }
>>
@code{NonMusicalPaperColumn} を上書きする例をいくつか挙げます:
@example
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (15)))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (15)))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40)
(alignment-distances . (15)))
@end example
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 80))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 80))
s1*5 \break
}
\new Voice { \repeat unfold 15 { c'4 c' c' c' } }
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 20)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 20)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (15)))
s1*5 \break
}
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0)
(alignment-distances . (30 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (10 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (10 30)))
s1*5 \break
}
@lilypond[quote,ragged-right,relative=2,verbatim]
c4_"Text"\pp
r2.
-\once \override TextScript #'outside-staff-priority = #1
+\once \override TextScript.outside-staff-priority = #1
c4_"Text"\pp % ここでは、テキストが譜の近くに配置されます
r2.
% outside-staff-priority に数ではない値を設定することにより、
% 自動衝突回避を無効にします
-\once \override TextScript #'outside-staff-priority = ##f
-\once \override DynamicLineSpanner #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
+\once \override DynamicLineSpanner.outside-staff-priority = ##f
c4_"Text"\pp % ここでは、2 つのオブジェクトが衝突します
@end lilypond
@c KEEP LY
@lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
-\once \override TextScript #'outside-staff-padding = #0
+\once \override TextScript.outside-staff-padding = #0
a'^"このテキストは音符のすぐ近くに配置されます。"
-\once \override TextScript #'outside-staff-padding = #3
+\once \override TextScript.outside-staff-padding = #3
c^"このテキストは前のテキストから離れた位置に配置されます"
c^"この手キスとは前にテキストの近くに配置されます"
@end lilypond
c''2
% outside-staff-horizontal-padding を設定することで修正します
R1
-\once \override TextScript #'outside-staff-horizontal-padding = #1
+\once \override TextScript.outside-staff-horizontal-padding = #1
c,,4^"Text"
c4
c''2
{
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
- \override Staff.NoteSpacing #'stem-spacing-correction = #1.5
- \override Staff.StaffSpacing #'stem-spacing-correction = #1.5
+ \override Staff.NoteSpacing.stem-spacing-correction = #1.5
+ \override Staff.StaffSpacing.stem-spacing-correction = #1.5
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
}
-- 必要に応じて、パディングの値を調整しています。
@example
- \override Score.NonMusicalPaperColumn #'padding = #10
+ \override Score.NonMusicalPaperColumn.padding = #10
@end example
スペースを減らすための手段はありません。
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
}
\layout {
\context {
\Score
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
音符にスペースが割り当てられます。
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Score.SpacingSpanner #'strict-note-spacing = ##t
+\override Score.SpacingSpanner.strict-note-spacing = ##t
\new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
@end lilypond
@item @code{uniform-stretching}
@item @code{strict-note-spacing}
@item @code{\remove "Separating_line_group_engraver"}
-@item @code{\override PaperColumn #'used = ##t}
+@item @code{\override PaperColumn.used = ##t}
@end itemize
以下の例では、@c
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1 20)
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
\new Staff {
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
c''8
以下のような設定です:
@itemize
-@item @code{\override SpacingSpanner #'strict-grace-spacing = ##t}
+@item @code{\override SpacingSpanner.strict-grace-spacing = ##t}
@item @code{tupletFullLength = ##t}
-@item @code{\override Beam #'breakable = ##t}
-@item @code{\override Glissando #'breakable = ##t}
-@item @code{\override TextSpanner #'breakable = ##t}
+@item @code{\override Beam.breakable = ##t}
+@item @code{\override Glissando.breakable = ##t}
+@item @code{\override TextSpanner.breakable = ##t}
@item @code{\remove "Forbid_line_break_engraver" in the Voice context}
@end itemize
@lilypond[verbatim,quote,relative=1]
e4 c g\f c
-e4 c g-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 \f c
+e4 c g-\tweak X-offset #-2.7 -\tweak Y-offset #2.5 \f c
@end lilypond
@item
\layout {
\context {
\Score
- \override SpacingSpanner
- #'common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
}
}
}
version that you are working on. See TRANSLATION for details.
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-count = #2
+\override Staff.StaffSymbol.line-count = #2
\startStaff g, e |
f'4 d \stopStaff
-\revert Staff.StaffSymbol #'line-count
+\revert Staff.StaffSymbol.line-count
\startStaff g, e |
@end lilypond
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(1 3 5 -1 -3)
+\override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
\startStaff g, e |
f'4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(8 6.5 -6 -8 -0.5)
+\override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
\startStaff g, e
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #3
+ \override StaffSymbol.thickness = #3
}
{ f4 d g, e }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #2
- \override StaffSymbol #'ledger-line-thickness = #'(0.5 . 0.4)
+ \override StaffSymbol.thickness = #2
+ \override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-positions = #'(-3 -2 -1 2 5 6)
+ \override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-extra = #4
+ \override StaffSymbol.ledger-extra = #4
}
{ f'4 a, d, f, }
@end lilypond
@code{\stopStaff} を行う必要があります。
@lilypond[fragment,quote,relative=1]
-\override Staff.StaffSymbol #'line-positions = #'(-8 0 2 4)
+\override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
d4 e f g
\stopStaff
\startStaff
-\override Staff.StaffSymbol #'ledger-positions = #'(-8 -6 (-4 -2) 0)
+\override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
d4 e f g
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.staff-space = #1.5
}
{ f'4 d, g, e, }
@end lilypond
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
firstClef = ##f
}
{ e4 d f e }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
}
{ \stopStaff s1*6 }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
} \relative c'' {
R1*3
c4 e8 d c2
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
@end lilypond
以下のオーバライドを使用してください:
@example
-\override StaffSymbol #'stencil = ##f
-\override NoteHead #'no-ledgers = ##t
+\override StaffSymbol.stencil = ##f
+\override NoteHead.no-ledgers = ##t
@end example
@code{\Staff \RemoveEmptyStaves} に関連する既知の問題と警告は
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
処理速度を上げる必要がある場合は、以下を用います:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
ある音符から他の音符までの範囲に作成することができます:
@lilypond[verbatim,quote,relative=2]
-\override TextSpanner #'(bound-details left text) = "rit."
+\override TextSpanner.bound-details.left.text = "rit."
b1\startTextSpan
e,\stopTextSpan
@end lilypond
@code{\markup} ブロックを用いることで他の書体にすることができます。
@lilypond[quote,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text) =
+\override TextSpanner.bound-details.left.text =
\markup { \upright "rit." }
b1\startTextSpan c
e,\stopTextSpan
@code{font-size} に提供する値が必要となります。
@lilypond[quote,verbatim,relative=2]
-\override Score.RehearsalMark #'font-family = #'typewriter
+\override Score.RehearsalMark.font-family = #'typewriter
\mark \markup "Ouverture"
-\override Voice.TextScript #'font-shape = #'italic
-\override Voice.TextScript #'font-series = #'bold
+\override Voice.TextScript.font-shape = #'italic
+\override Voice.TextScript.font-series = #'bold
d2.^\markup "Allegro"
-\override Voice.TextScript #'font-size = #-3
+\override Voice.TextScript.font-size = #-3
c4^smaller
@end lilypond
楽譜の中で使用することができます:
@lilypond[quote,verbatim,relative=2]
-\override Staff.TimeSignature #'font-name = #"Bitstream Charter"
-\override Staff.TimeSignature #'font-size = #2
+\override Staff.TimeSignature.font-name = #"Bitstream Charter"
+\override Staff.TimeSignature.font-size = #2
\time 3/4
a1_\markup {
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
以下のように記述しないでください
@example
-\override Score.LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
@noindent
以下のように記述してください
@example
-\override Score . LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
句読点、アクセントが付いた文字を持つ歌詞、英語以外の言語の文字、@c
<<
\new Lyrics = "lyrics" \with {
% 譜の上に配置する歌詞は以下のオーバライドを行う必要があります
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "melody" {
\new Lyrics = "contraltos" \with {
% 譜の上に配置する歌詞は以下のオーバライドを行う必要があります
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "contraltos" {
@lilypond[relative=1,verbatim,quote,ragged-right]
{
c c c c
- \override Lyrics.LyricSpace #'minimum-distance = #1.0
+ \override Lyrics.LyricSpace.minimum-distance = #1.0
c c c c
}
\addlyrics {
\layout {
\context {
\Lyrics
- \override LyricSpace #'minimum-distance = #1.0
+ \override LyricSpace.minimum-distance = #1.0
}
}
}
この機能を無効にすることで、処理をわずかにスピードアップすることができます:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
歌詞が小節線を避けるようにするには、以下を使います:
\Lyrics
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
@}
@}
@end example
\voiceOne
\times 2/3 {
% show associations clearly.
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
\layout {
\context {
\Score
- \override DynamicText #'direction = #UP
- \override DynamicLineSpanner #'direction = #UP
+ \override DynamicText.direction = #UP
+ \override DynamicLineSpanner.direction = #UP
}
}
}
c4. g8
% 合図音符の楽器名を、合図音符の直前、かつ譜の上に配置します
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
\set instrumentCueName = "Flute"
}
\cueDuring "flute" #UP { g4 bes4 }
\transposition c'
% 合図音符の楽器名を譜の下に配置します
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
- \override InstrumentSwitch #'direction = #DOWN
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
+ \override InstrumentSwitch.direction = #DOWN
\set instrumentCueName = "Clar."
}
\cueDuring "clarinet" #DOWN { c4. g8 }
\score {
<<
\new Lyrics \with {
- \override LyricText #'font-shape = #'italic
- \override LyricText #'self-alignment-X = #LEFT
+ \override LyricText.font-shape = #'italic
+ \override LyricText.self-alignment-X = #LEFT
}
{ \dialogue }
\new Staff {
リズムは単語の音声リズムから取ります。
@lilypond[verbatim,quote]
-stemOff = { \override Staff.Stem #'transparent = ##t }
+stemOff = { \override Staff.Stem.transparent = ##t }
\relative c' {
\stemOff
@lilypond[verbatim,quote]
divisioMinima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maxima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
finalis = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
}
\context {
\Staff
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
結果は 2 つの譜が表示され、下の譜の符頭の色はデフォルトの黒のままとなります。
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
譜として振舞うコンテキストを作ることで回避できます:
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
@noindent
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Fundamental concepts
@chapter Fundamental concepts
\\ % Voice two
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No voice three
\\ % Voice four
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
\\ % Voice two
{ \voiceTwoStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\ % No Voice three (we want stems down)
\\ % Voice four
{ \voiceThreeStyle
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
@}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp =_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\override NoteHead #'color = #green
+\override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b4 c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
c4 d
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
e4 f |
-\once \override NoteHead #'color = #green
+\once \override NoteHead.color = #green
g4 a
-\revert NoteHead #'color
+\revert NoteHead.color
b c |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-\once \override NoteHead #'font-size = #-3
+\once \override NoteHead.font-size = #-3
<c e g>4
<c e g>4
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
<c e g>4
-<c \tweak #'font-size #-3 e g>4
+<c \tweak font-size #-3 e g>4
@end lilypond
Note that the syntax of @code{\tweak} is different from that of the
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4^"Black"
- -\tweak #'color #red ^"Red"
- -\tweak #'color #green _"Green"
+ -\tweak color #red ^"Red"
+ -\tweak color #green _"Green"
@end lilypond
@noindent
@cindex color property, example
@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
-\tweak #'direction #up
+\tweak direction #up
\times 4/3 {
- \tweak #'color #red
+ \tweak color #red
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
@c See issue 509
@lilypond[quote,ragged-right,verbatim,fragment,relative=1]
\times 2/3 { c8[ c c] }
-\once \override TupletNumber
- #'text = #tuplet-number::calc-fraction-text
+\once \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 {
c8[ c]
c8[ c]
- \once \override TupletNumber #'transparent = ##t
+ \once \override TupletNumber.transparent = ##t
\times 2/3 { c8[ c c] }
\times 2/3 { c8[ c c] }
}
at first, so we can be sure the command is working. We get:
@example
-\override Slur #'thickness = #5.0
+\override Slur.thickness = #5.0
@end example
Don't forget the @code{#'} preceding the
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes8[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
{
r4 bes8
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
bes[( g]) g |
% Increase thickness of immediately following slur only
- \once \override Slur #'thickness = #5.0
+ \once \override Slur.thickness = #5.0
g8[( es]) es d[( f]) as |
as8 g
}
{
r4 bes8
% Increase thickness of all following slurs from 1.2 to 5.0
- \override Slur #'thickness = #5.0
+ \override Slur.thickness = #5.0
bes[( g]) g |
g8[( es]) es
% Revert thickness of all following slurs to default of 1.2
- \revert Slur #'thickness
+ \revert Slur.thickness
d8[( f]) as |
as8 g
}
in italics is:
@example
-\override LyricText #'font-shape = #'italic
+\override LyricText.font-shape = #'italic
@end example
@noindent
as8 g
}
\addlyrics {
- \override LyricText #'font-shape = #'italic
+ \override LyricText.font-shape = #'italic
The man who | feels love's sweet e -- | mo -- tion
}
}
the interpreter cannot recognize them. So the command should be:
@example
-\override Lyrics . LyricText #'font-shape = #'italic
+\override Lyrics.LyricText.font-shape = #'italic
@end example
@warning{In lyrics always leave whitespace between the final
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override BarLine #'stencil = ##f
+ \override BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'stencil = ##f
+ \override Staff.BarLine.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,verbatim,relative=2]
{
c4 c
- \once \override NoteHead #'stencil = #point-stencil
+ \once \override NoteHead.stencil = #point-stencil
c4 c
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'break-visibility = #'#(#f #f #f)
+ \override Staff.BarLine.break-visibility = #'#(#f #f #f)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'transparent = ##t
+ \override Staff.TimeSignature.transparent = ##t
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #white
+ \override Staff.BarLine.color = #white
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(x11-color 'white)
+ \override Staff.BarLine.color = #(x11-color 'white)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.BarLine #'color = #(rgb-color 1 1 1)
+ \override Staff.BarLine.color = #(rgb-color 1 1 1)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
{
\time 12/16
- \override Staff.StaffSymbol #'color = #(x11-color 'grey30)
- \override Staff.TimeSignature #'color = #(x11-color 'grey60)
- \override Staff.Clef #'color = #(x11-color 'grey60)
- \override Voice.NoteHead #'color = #(x11-color 'grey85)
- \override Voice.Stem #'color = #(x11-color 'grey85)
- \override Staff.BarLine #'color = #(x11-color 'grey10)
+ \override Staff.StaffSymbol.color = #(x11-color 'grey30)
+ \override Staff.TimeSignature.color = #(x11-color 'grey60)
+ \override Staff.Clef.color = #(x11-color 'grey60)
+ \override Voice.NoteHead.color = #(x11-color 'grey85)
+ \override Voice.Stem.color = #(x11-color 'grey85)
+ \override Staff.BarLine.color = #(x11-color 'grey10)
c4 b8 c d16 c d8 |
g,8 a16 b8 c d4 e16 |
e8
alignAboveContext = #"main"
}
{
- \override Staff.Clef #'stencil = ##f
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.Clef.stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
{ f8 f c }
}
>>
\new Staff \with {
alignAboveContext = #"main"
% Don't print clefs in this staff
- \override Clef #'stencil = ##f
+ \override Clef.stencil = ##f
% Don't print time signatures in this staff
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
{ f8 f c }
>>
like
@example
-\override NoteHead #'font-size = #-2
+\override NoteHead.font-size = #-2
@end example
or we can change the size of all fonts by setting a special
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
% Reduce all font sizes by ~24%
fontSize = #-2
}
{ f8 c c }
\new Staff \with {
alignAboveContext = #"main"
- \override Clef #'stencil = ##f
- \override TimeSignature #'stencil = ##f
+ \override Clef.stencil = ##f
+ \override TimeSignature.stencil = ##f
fontSize = #-2
% Reduce stem length and line spacing to match
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
}
{ f8 f c }
>>
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
a4 g c a |
-\override Stem #'direction = #DOWN
+\override Stem.direction = #DOWN
a4 g c a |
-\override Stem #'direction = #UP
+\override Stem.direction = #UP
a4 g c a |
-\revert Stem #'direction
+\revert Stem.direction
a4 g c a |
@end lilypond
@lilypond[quote,verbatim,relative=2]
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #DOWN
+\override Fingering.direction = #DOWN
c4-5 a-3 f-1 c'-5 |
-\override Fingering #'direction = #UP
+\override Fingering.direction = #UP
c4-5 a-3 f-1 c'-5 |
@end lilypond
try @w{@code{-7}}:
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
-\override Fingering #'font-size = #-7
+\override Fingering.font-size = #-7
\set fingeringOrientations = #'(left)
<f-2>4
<c-1 e-2 g-3 b-5>4
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
@lilypond[quote,fragment,ragged-right,verbatim,relative=1]
% Set details for later Text Spanner
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
% Place dynamics above staff
\dynamicUp
% Place following Ottava Bracket below Text Spanners
-\once \override Staff.OttavaBracket #'outside-staff-priority = #340
+\once \override Staff.OttavaBracket.outside-staff-priority = #340
% Start Ottava Bracket
\ottava #1
c'4 \startTextSpan
@lilypond[quote,verbatim,relative=2]
c4( c^\markup { \tiny \sharp } d4.) c8 |
c4(
-\once \override TextScript #'avoid-slur = #'inside
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.avoid-slur = #'inside
+\once \override TextScript.outside-staff-priority = ##f
c4^\markup { \tiny \sharp } d4.) c8 |
-\once \override Slur #'outside-staff-priority = #500
+\once \override Slur.outside-staff-priority = #500
c4( c^\markup { \tiny \sharp } d4.) c8 |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
c2^"Text1"
c2^"Text2" |
-\once \override TextScript #'outside-staff-priority = #500
+\once \override TextScript.outside-staff-priority = #500
c2^"Text3"
c2^"Text4" |
@end lilypond
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
c,,2^"Long Text " c'' |
R1 |
% Turn off collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
\textLengthOn % and turn on textLengthOn
c,,2^"Long Text " % Spaces at end are honored
c''2 |
the command to do this for dynamic text:
@example
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
@end example
@noindent
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
-\override DynamicText #'extra-spacing-width = #'(0 . 0)
+\override DynamicText.extra-spacing-width = #'(0 . 0)
a4\f b\mf c\mp b\p |
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 staff space
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
c2\fermata
-\override Script #'padding = #3
+\override Script.padding = #3
b2\fermata
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
% This will not work, see below
-\override MetronomeMark #'padding = #3
+\override MetronomeMark.padding = #3
\tempo 4 = 120
c1 |
% This works
-\override Score.MetronomeMark #'padding = #3
+\override Score.MetronomeMark.padding = #3
\tempo 4 = 80
d1 |
@end lilypond
\relative c'' {
c4
% This prints a sesquisharp but the spacing is too small
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 c
% This improves the spacing
- \once \override Score.AccidentalPlacement #'right-padding = #0.6
- \once \override Accidental
- #'stencil = #ly:text-interface::print
- \once \override Accidental #'text = #sesquisharp
+ \once \override Score.AccidentalPlacement.right-padding = #0.6
+ \once \override Accidental.stencil = #ly:text-interface::print
+ \once \override Accidental.text = #sesquisharp
cis4 |
}
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=2]
\dynamicUp
% Extend width by 1 unit
-\override DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
+\override DynamicText.extra-spacing-width = #'(-0.5 . 0.5)
% Align dynamics to a base line 2 units above staff
-\override DynamicLineSpanner #'staff-padding = #2
+\override DynamicLineSpanner.staff-padding = #2
a4\f b\mf c\mp b\p
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim,relative=3]
\voiceOne
<a\2>
-\once \override StringNumber #'self-alignment-X = #RIGHT
+\once \override StringNumber.self-alignment-X = #RIGHT
<a\2>
@end lilypond
<<
{ c4 c c c }
\\
- \override MultiMeasureRest #'staff-position = #-8
+ \override MultiMeasureRest.staff-position = #-8
{ R1 }
>>
@end lilypond
@lilypond[quote,fragment,relative=1,verbatim]
\stemUp
f4-5
-\once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
+\once \override Fingering.extra-offset = #'(-0.3 . -1.8)
f4-5
@end lilypond
@lilypond[quote,verbatim,fragment,ragged-right,relative=1]
r4
-\once \override PhrasingSlur #'positions = #'(-4 . -3)
+\once \override PhrasingSlur.positions = #'(-4 . -3)
\acciaccatura e8\( d8 c~ c d c d\)
@end lilypond
{ c'1 ~ c'2. e'8 f' }
\\
{
- \override Beam #'positions = #'(-1 . -1)
+ \override Beam.positions = #'(-1 . -1)
e''8 e'' e'' e'' e'' e'' e'' e'' f''2 g''
}
>>
\\
{
<ees, c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
\\
\\
{
- \override NoteColumn #'force-hshift = #0
+ \override NoteColumn.force-hshift = #0
aes'2 f4 fes
}
>> |
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
override placed just before the first tied note would move the tie up
to 3.5 half staff spaces above the center line:
-@code{\once \override Tie #'staff-position = #3.5}
+@code{\once \override Tie.staff-position = #3.5}
This completes bar two, giving:
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
rhMusic = \relative c'' {
\new Voice {
r2 c4.\( g8 |
- \once \override Tie #'staff-position = #3.5
+ \once \override Tie.staff-position = #3.5
bes1~ |
\bar "||"
\time 6/4
\voiceTwo
c,8~
% Reposition the c2 to the right of the merged note
- \once \override NoteColumn #'force-hshift = #1.0
+ \once \override NoteColumn.force-hshift = #1.0
% Move the c2 out of the main note column
% so the merge will work
\shiftOnn
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'transparent = ##t
+ \once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
% Visible tempo marking
\tempo 4=120
a4 a a
- \once \override Score.MetronomeMark #'stencil = ##f
+ \once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
a4\fermata |
alternative can we use @code{\override} and @code{\revert} commands?
@example
-@code{\override Lyrics . LyricText #'font-shape = #'italic}
-@code{\override Lyrics . LyricText #'font-series = #'bold}
+@code{\override Lyrics.LyricText.font-shape = #'italic}
+@code{\override Lyrics.LyricText.font-series = #'bold}
-@code{\revert Lyrics . LyricText #'font-shape}
-@code{\revert Lyrics . LyricText #'font-series}
+@code{\revert Lyrics.LyricText.font-shape}
+@code{\revert Lyrics.LyricText.font-series}
@end example
These would also be extremely tedious to enter if there were many
@lilypond[quote,verbatim]
emphasize = {
- \override Lyrics.LyricText #'font-shape = #'italic
- \override Lyrics.LyricText #'font-series = #'bold
+ \override Lyrics.LyricText.font-shape = #'italic
+ \override Lyrics.LyricText.font-series = #'bold
}
normal = {
- \revert Lyrics.LyricText #'font-shape
- \revert Lyrics.LyricText #'font-series
+ \revert Lyrics.LyricText.font-shape
+ \revert Lyrics.LyricText.font-series
}
global = { \key c \major \time 4/4 \partial 4 }
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context {
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context {
\Staff
- \override TimeSignature #'style = #'numbered
+ \override TimeSignature.style = #'numbered
}
\context {
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
\layout@{
\context @{
\Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
@}
\context @{
\Staff
@}
\context @{
\Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
@}
@}
@end example
\layout{
\context { \Score
- \override MetronomeMark #'extra-offset = #'(-9 . 0)
- \override MetronomeMark #'padding = #'3
+ \override MetronomeMark.extra-offset = #'(-9 . 0)
+ \override MetronomeMark.padding = #'3
}
\context { \Voice
- \override Glissando #'thickness = #3
- \override Glissando #'gap = #0.1
+ \override Glissando.thickness = #3
+ \override Glissando.gap = #0.1
}
}
@example
tieDotted = @{
- \override Tie #'dash-period = #0.75
- \override Tie #'dash-fraction = #0.1
+ \override Tie.dash-period = #0.75
+ \override Tie.dash-fraction = #0.1
@}
@end example
\relative c' {
% Arrange to obtain color from color-notehead procedure
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
}
@end lilypond
-\version "2.16.0"
+\version "2.17.6"
\include "example-header.ily"
\paper {
%%%%%%%%%%% INCIPIT DEFS %%%%%%%%%%
incipitGlobal = {
- \override NoteHead #'style = #'mensural
- \override Accidental #'style = #'mensural
- \override KeySignature #'style = #'mensural
- \override Rest #'style = #'mensural
-% \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'mensural
+ \override Accidental.style = #'mensural
+ \override KeySignature.style = #'mensural
+ \override Rest.style = #'mensural
+% \override Staff.TimeSignature.style = #'mensural
\cadenzaOn
- \override Score.Clef #'extra-offset = #'(-0.0 . 0.5)
- \override Score.Clef #'font-size = #3
+ \override Score.Clef.extra-offset = #'(-0.0 . 0.5)
+ \override Score.Clef.font-size = #3
\clef "vaticana-do1"
}
incipitBassus = \markup{
\score{ {
\set Staff.instrumentName = "Bassus "
- \override NoteHead #'style = #'neomensural
- \override Accidental #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Staff.TimeSignature #'style = #'neomensural
+ \override NoteHead.style = #'neomensural
+ \override Accidental.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\cadenzaOn
\clef "petrucci-f3"
\key f \major
#(ly:set-option 'point-and-click #f)
global = {
- \override Staff.TimeSignature #'stencil = #(lambda (grob)
+ \override Staff.TimeSignature.stencil = #(lambda (grob)
(bracketify-stencil (ly:time-signature::print grob) Y 0.1 0.2 0.1))
\time 3/4
- \override Staff.BarLine #'transparent = ##t
- \override HorizontalBracket #'direction = #UP
- \override HorizontalBracket #'bracket-flare = #'(0 . 0)
+ \override Staff.BarLine.transparent = ##t
+ \override HorizontalBracket.direction = #UP
+ \override HorizontalBracket.bracket-flare = #'(0 . 0)
}
%%%%%%%%% MACRO FOR MAKING SLASHES THROUGH STEMS %%%%%%%%%%
(number? number? number? number? number?
pair?)
#{
-\once \override Voice.Stem #'text = \markup {
+\once \override Voice.Stem.text = \markup {
\postscript #(let ((x-off (car offset))
(y-off (cdr offset)))
(string-append
270 90 arc "
" gsave fill grestore stroke")) }
-\once \override Voice.Stem #'stencil = #(lambda (grob)
+\once \override Voice.Stem.stencil = #(lambda (grob)
(let* ((sten1 (ly:stem::print grob))
(sten2 (ly:text-interface::print grob))
(extent1 (ly:stencil-extent sten1 Y))
\clef "treble_8"
%\set Staff.midiInstrument = "flute"
% \global
- \override StemTremolo #'beam-thickness = #.125
- \override StemTremolo #'slope = #1.0
+ \override StemTremolo.beam-thickness = #.125
+ \override StemTremolo.slope = #1.0
f8 f4 e8 d c f f f | % 1
% the \scaleDurations command below makes 5 notes last the
% duration of a dotted quarter
% 'Add color...' sections are not the original author's, but added
% afterwards specifically for illustration in LilyPond's Documentation.
-I = \once \override NoteColumn #'ignore-collision = ##t
+I = \once \override NoteColumn.ignore-collision = ##t
-\version "2.16.0"
+\version "2.17.6"
staffPiano = \new PianoStaff {
\set Score.timing = ##f
\clef treble
\key g \major
\relative c'' {
- \override Staff.NoteCollision
- #'merge-differently-headed = ##t
+ \override Staff.NoteCollision.merge-differently-headed = ##t
<<
{
- \override Beam #'positions = #'(8 . 8)
- \override NoteHead #'transparent = ##t
- \override NoteHead #'duration-log = #1
+ \override Beam.positions = #'(8 . 8)
+ \override NoteHead.transparent = ##t
+ \override NoteHead.duration-log = #1
s1 b8[^\markup {
\override #'(baseline-skip . 0.5)
% Add color to markup in top staff
\column { \with-color #red \small { ^ 1 } }
}
s4.
- \revert Beam #'positions
- \revert NoteHead #'transparent
- \revert NoteHead #'duration-log
+ \revert Beam.positions
+ \revert NoteHead.transparent
+ \revert NoteHead.duration-log
}
\\
{
% Add color to both Dashed Slurs in top staff
- \override Slur #'color = #(x11-color "purple")
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Slur.color = #(x11-color "purple")
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
s1
- \once \override Slur #'height-limit = #6
- \once \override Slur #'extra-offset = #'(1.25 . 0)
+ \once \override Slur.height-limit = #6
+ \once \override Slur.extra-offset = #'(1.25 . 0)
\slurDashed
\I b2_( s2
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
b4) s
- \once \override Slur #'height-limit = #3.25
- \once \override Slur #'extra-offset = #'(.75 . 0)
+ \once \override Slur.height-limit = #3.25
+ \once \override Slur.extra-offset = #'(.75 . 0)
a2_( s4
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
a4) g2
- \revert Stem #'transparent
- \revert Flag #'transparent
+ \revert Stem.transparent
+ \revert Flag.transparent
}
\\
- \override Staff.NoteCollision
- #'merge-differently-headed = ##t
+ \override Staff.NoteCollision.merge-differently-headed = ##t
{
- \override Beam #'positions = #'(4 . -3.25)
+ \override Beam.positions = #'(4 . -3.25)
\stemUp
g8[ s s4 s2
\stemDown
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
\I b8] s8
- \override Beam #'positions = #'(3 . -2.25)
+ \override Beam.positions = #'(3 . -2.25)
\stemUp
a8[ s s4
\stemDown
\\
{
% Add color to all remaining Slurs in top staff
- \override Slur #'color = #(x11-color "violet")
- \override PhrasingSlur #'color = #(x11-color "violet")
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'length = #0
+ \override Slur.color = #(x11-color "violet")
+ \override PhrasingSlur.color = #(x11-color "violet")
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.length = #0
% Add color to text markups in top staff
g4_\( fis^(_\markup { \with-color #blue \tiny N } g)\)
a^(^\markup { \with-color #blue \tiny P } b2)
b4^(^\markup { \with-color #blue \tiny P }
\stemUp
- \revert Stem #'transparent
- \revert Flag #'transparent
- \override Stem #'length = #10
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \override Stem.length = #10
c8)^( s
- \override Stem #'length = #14
+ \override Stem.length = #14
b4) s s
- \override Stem #'length = #0
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \once \override Slur #'extra-offset = #'(0 . 0.35)
+ \override Stem.length = #0
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \once \override Slur.extra-offset = #'(0 . 0.35)
% Add color to remaining text markup in top staff
c4^\( b_(_\markup { \with-color #blue \tiny P } a)\) s2
- \revert Stem #'length
+ \revert Stem.length
}
\\
{
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override NoteHead #'transparent = ##t
- \override Stem #'length = #0
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override NoteHead.transparent = ##t
+ \override Stem.length = #0
s1 s4 e4 s
\change Staff = "LH"
fis,4 s2
- \revert Stem #'transparent
- \revert Flag #'transparent
- \revert NoteHead #'transparent
- \revert Stem #'length
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \revert NoteHead.transparent
+ \revert Stem.length
}
\\
{
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override NoteHead #'transparent = ##t
- \override Stem #'length = #0
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override NoteHead.transparent = ##t
+ \override Stem.length = #0
s1 s s2
fis'4 s
\change Staff = "LH"
g,4 s s2
- \revert Stem #'transparent
- \revert Flag #'transparent
- \revert NoteHead #'transparent
- \revert Stem #'length
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \revert NoteHead.transparent
+ \revert Stem.length
}
>>
\bar "|."
\clef bass
\key g \major
\relative c' {
- \override Staff.NoteCollision
- #'merge-differently-headed = ##t
+ \override Staff.NoteCollision.merge-differently-headed = ##t
<<
{
- \override Beam #'positions = #'(-8 . -8)
- \override NoteHead #'transparent = ##t
+ \override Beam.positions = #'(-8 . -8)
+ \override NoteHead.transparent = ##t
\stemDown
% Add color to long beam text markups in bottom staff
\I g8[_\markup { \with-color #(x11-color 'LawnGreen) \bold I }
s4.
\I g,8]_\markup { \with-color #(x11-color 'LawnGreen) \bold I }
s4.
- \revert Beam #'positions
- \revert NoteHead #'transparent
+ \revert Beam.positions
+ \revert NoteHead.transparent
}
\\
{
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\stemDown
- \override TextScript #'extra-offset = #'(-11.75 . -12.25)
+ \override TextScript.extra-offset = #'(-11.75 . -12.25)
\I g'2 s1 s s2 \I d2 g,2
- \revert Stem #'transparent
- \revert Flag #'transparent
+ \revert Stem.transparent
+ \revert Flag.transparent
}
\\
{
% Add color to all single-note Slurs in bottom staff
- \override Slur #'color = #(x11-color "violet")
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \once \override NoteHead #'transparent = ##t
- \override Stem #'length = #0
+ \override Slur.color = #(x11-color "violet")
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \once \override NoteHead.transparent = ##t
+ \override Stem.length = #0
g'4
- \once \override TextScript #'padding = #0.25
+ \once \override TextScript.padding = #0.25
% Add color to text markups in bottom staff
a4_(^\markup { \with-color #blue \tiny P } b)
fis4^(^\markup { \with-color #blue \tiny P } e)
- \once \override NoteHead #'transparent = ##t
- \once \override Slur #'height-limit = #1.5
+ \once \override NoteHead.transparent = ##t
+ \once \override Slur.height-limit = #1.5
% Add color to remaining text markup in bottom staff
c4^( d)^\markup { \with-color #blue \tiny N }
- \once \override NoteHead #'transparent = ##t
- \once \override Slur #'extra-offset = #'(0 . 0.5)
+ \once \override NoteHead.transparent = ##t
+ \once \override Slur.extra-offset = #'(0 . 0.5)
\I fis,4_(
- \revert Stem #'transparent
- \revert Flag #'transparent
- \override Stem #'length = #10
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \override Stem.length = #10
\stemDown
g4) s
- \once \override Slur #'extra-offset = #'(0 . 0.25)
+ \once \override Slur.extra-offset = #'(0 . 0.25)
\I c8_( s
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \revert Stem #'length
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \revert Stem.length
a4)
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
\I d4^( d,4) s2
}
\\
{
% Add color to all two-note Slurs in bottom staff
- \override Slur #'color = #(x11-color "violet")
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override NoteHead #'transparent = ##t
+ \override Slur.color = #(x11-color "violet")
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override NoteHead.transparent = ##t
\I g'4^( s b) s2
- \revert Stem #'transparent
- \revert Flag #'transparent
- \revert NoteHead #'transparent
- \override Beam #'positions = #'(-4 . 1)
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \revert NoteHead.transparent
+ \override Beam.positions = #'(-4 . 1)
\stemDown
c,8[ s s4
\stemUp
fis,8] s
- \override Beam #'positions = #'(1 . -4)
+ \override Beam.positions = #'(1 . -4)
g8[ s
\stemDown
b8] s
- \revert Beam #'positions
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override NoteHead #'transparent = ##t
+ \revert Beam.positions
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override NoteHead.transparent = ##t
c4^( s d4) s s2
}
\\
{
% Add color to four-note Slur in bottom staff
- \override Slur #'color = #(x11-color "violet")
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override NoteHead #'transparent = ##t
- \override Stem #'length = #0
+ \override Slur.color = #(x11-color "violet")
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override NoteHead.transparent = ##t
+ \override Stem.length = #0
\stemDown
- \once \override Slur #'height-limit = #3
- \once \override Slur #'extra-offset = #'(0 . 0.25)
+ \once \override Slur.height-limit = #3
+ \once \override Slur.extra-offset = #'(0 . 0.25)
\I g4_( s2. e4) s2. s2 s1 s2
- \revert Stem #'transparent
- \revert Flag #'transparent
- \revert NoteHead #'transparent
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \revert NoteHead.transparent
}
\\
{
% Add color to dashed Slur in bottom staff
- \override Slur #'color = #(x11-color "purple")
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override NoteHead #'transparent = ##t
+ \override Slur.color = #(x11-color "purple")
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override NoteHead.transparent = ##t
\slurDashed
- \once \override Slur #'height-limit = #6.0
- \once \override Slur #'extra-offset = #'(0.5 . -0.25)
- \override Stem #'length = #0
+ \once \override Slur.height-limit = #6.0
+ \once \override Slur.extra-offset = #'(0.5 . -0.25)
+ \override Stem.length = #0
g4_( s2. s1 g,4) s s1 s2
- \revert Stem #'transparent
- \revert Flag #'transparent
- \revert NoteHead #'transparent
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \revert NoteHead.transparent
}
>>
\bar "|."
-\version "2.16.0"
+\version "2.17.6"
\layout {
indent = #0
\Score
proportionalNotationDuration = #(ly:make-moment 1 64)
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
autoBeaming = ##f
tupletFullLength = ##t
- \override BarNumber #'transparent = ##t
- \override BarLine #'transparent = ##t
- \override SpanBar #'transparent = ##t
- \override Beam #'break-overshoot = #'(-0.5 . 1.0)
- \override TextScript #'staff-padding = #6
- \override Glissando #'thickness = #3
- \override SpacingSpanner #'strict-grace-spacing = ##t
- \override TupletBracket #'bracket-visibility = ##t
- \override NoteColumn #'ignore-collision = ##t
+ \override BarNumber.transparent = ##t
+ \override BarLine.transparent = ##t
+ \override SpanBar.transparent = ##t
+ \override Beam.break-overshoot = #'(-0.5 . 1.0)
+ \override TextScript.staff-padding = #6
+ \override Glissando.thickness = #3
+ \override SpacingSpanner.strict-grace-spacing = ##t
+ \override TupletBracket.bracket-visibility = ##t
+ \override NoteColumn.ignore-collision = ##t
}
}
)
fraction = #(define-music-function (parser location music) (ly:music?)
- #{ \tweak #'text #tuplet-number::calc-fraction-text #music #})
+ #{ \tweak text #tuplet-number::calc-fraction-text #music #})
triangle = #(define-music-function (parser location music) (ly:music?)
#{ \once \set shapeNoteStyles = #'#(do do do do do do do) #music #})
#{ \once \set shapeNoteStyles = #'#(cross cross cross cross cross cross cross) #music #})
white = #(define-music-function (parser location music) (ly:music?)
- #{ \once \override NoteHead #'duration-log = #1 #music #})
+ #{ \once \override NoteHead.duration-log = #1 #music #})
-\version "2.16.0"
+\version "2.17.6"
% the example header file caused the head to be chopped off
%\include "example-header.ily"
\new StaffGroup <<
\new Staff \with {
- \override Stem #'direction = #down
- \override Beam #'positions = #'(-7 . -7)
- \override TupletBracket #'direction = #down
- \override TupletBracket #'staff-padding = #5
- \override TupletBracket #'padding = #2.25
+ \override Stem.direction = #down
+ \override Beam.positions = #'(-7 . -7)
+ \override TupletBracket.direction = #down
+ \override TupletBracket.staff-padding = #5
+ \override TupletBracket.padding = #2.25
} <<
\new Voice {
- \override Score.MetronomeMark #'extra-offset = #'(0 . 6)
- \override Score.MetronomeMark #'font-size = #3
+ \override Score.MetronomeMark.extra-offset = #'(0 . 6)
+ \override Score.MetronomeMark.font-size = #3
\tempo 8=42
\time 5/16 s4 ~ s16 \noBreak % measure 6
\time 4/8 s2 \noBreak % measure 7
>>
\new Staff \with {
- \override Clef #'transparent = ##t
- \override StaffSymbol #'line-positions = #'(-4 -2 2 4)
- \override Stem #'direction = #down
- \override TupletBracket #'staff-padding = #5
- \override TupletBracket #'padding = #2.25
+ \override Clef.transparent = ##t
+ \override StaffSymbol.line-positions = #'(-4 -2 2 4)
+ \override Stem.direction = #down
+ \override TupletBracket.staff-padding = #5
+ \override TupletBracket.padding = #2.25
} <<
\new Voice \with {
\remove "Forbid_line_break_engraver"
- \override Stem #'direction = #up
- \override Flag #'stroke-style = #"grace"
- \override Stem #'font-size = #-3
- \override Rest #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
- \override Dots #'transparent = ##t
- \override TupletBracket #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override Stem.direction = #up
+ \override Flag.stroke-style = #"grace"
+ \override Stem.font-size = #-3
+ \override Rest.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
+ \override Dots.transparent = ##t
+ \override TupletBracket.transparent = ##t
+ \override TupletNumber.transparent = ##t
} {
% measure 6
\new Voice \with {
\remove "Forbid_line_break_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Rest #'transparent = ##t
- \override Rest #'staff-position = #-0.5
- \override Dots #'transparent = ##t
- \override Beam #'transparent = ##t
- \override TupletBracket #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Rest.transparent = ##t
+ \override Rest.staff-position = #-0.5
+ \override Dots.transparent = ##t
+ \override Beam.transparent = ##t
+ \override TupletBracket.transparent = ##t
+ \override TupletNumber.transparent = ##t
} {
% measure 6
\new Voice \with {
\remove "Forbid_line_break_engraver"
- \override Stem #'direction = #down
- \override Stem #'font-size = #-3
- \override Flag #'stroke-style = #"grace"
- \override Rest #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
- \override Dots #'transparent = ##t
- \override TupletBracket #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override Stem.direction = #down
+ \override Stem.font-size = #-3
+ \override Flag.stroke-style = #"grace"
+ \override Rest.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
+ \override Dots.transparent = ##t
+ \override TupletBracket.transparent = ##t
+ \override TupletNumber.transparent = ##t
} {
% measure 6
\new Voice \with {
\remove "Forbid_line_break_engraver"
- \override Stem #'direction = #down
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
- \override Rest #'staff-position = #-18
- \override Stem #'length = #10
- \override Beam #'positions = #'(-13 . -13)
- \override DynamicLineSpanner #'staff-padding = #18
- \override TextSpanner #'(bound-details left text) = #(markup (#:italic "covered"))
- \override TextSpanner #'dash-period = #1
- \override TextSpanner #'dash-fraction = #0.2
- \override TextSpanner #'(bound-details left padding) = #0.5
- \override TextSpanner #'(bound-details right padding) = #0.5
- \override TextSpanner #'staff-padding = #4
+ \override Stem.direction = #down
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
+ \override Rest.staff-position = #-18
+ \override Stem.length = #10
+ \override Beam.positions = #'(-13 . -13)
+ \override DynamicLineSpanner.staff-padding = #18
+ \override TextSpanner.bound-details.left.text = #(markup (#:italic "covered"))
+ \override TextSpanner.dash-period = #1
+ \override TextSpanner.dash-fraction = #0.2
+ \override TextSpanner.bound-details.left.padding = #0.5
+ \override TextSpanner.bound-details.right.padding = #0.5
+ \override TextSpanner.staff-padding = #4
} {
% measure 6
-\version "2.16.0"
+\version "2.17.6"
\include "example-header.ily"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
global = {
\time 3/4
\set fontSize = #1
- \override Beam #'thickness = #0.5
- \override NoteColumn #'ignore-collision = ##t
+ \override Beam.thickness = #0.5
+ \override NoteColumn.ignore-collision = ##t
}
upperVoiceOne = \relative c'' {
\voiceOne
- \override TupletBracket #'transparent = ##t
+ \override TupletBracket.transparent = ##t
<aes f'>8\([ \times 4/5{g'32( aes g f g]) }
<es aes>8[ \times 4/5{<d bes'>32( c' bes aes bes]) }
<es, aes es'>8 <d fis b d>\) | % end m. 1
\voiceTwo
s8 c8\< <bes, f'>[ <bes aes'> c' <bes, d fis>\!]
s32 s32_\appassmolto s8. \voiceOne r8 <bes'' es bes'>-> s4
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #28
- \override Flag #'style = #'no-flag
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #28
+ \override Flag.style = #'no-flag
s8 \voiceTwo g,8 aes4 s4
}
middleVoiceOne = \relative c' {
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #32
- \override Flag #'style = #'no-flag
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #32
+ \override Flag.style = #'no-flag
d!8\noBeam s8 s8 s8_\crmolto s4 % 1
s4 <g bes\arpeggio>8[ <es' g>] \voiceOne e,8( dis16 e) | % 2
- \revert Stem #'length
- \revert Stem #'cross-staff
+ \revert Stem.length
+ \revert Stem.cross-staff
\showStaffSwitch
\csh \stemUp f4 s2
%s2. % beginning m. 3
middleVoiceTwo = \relative c' {
s2. | % 1
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #24
- \override Flag #'style = #'no-flag
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #24
+ \override Flag.style = #'no-flag
s2 \voiceTwo e!4 | % 2
s4 \voiceTwo <bes c es f>8 <f' aes es'>16 d' <bes, f' aes c>8 <bes' fis'> | % 3
}
lowerVoiceOne = \relative c, {
- \override Staff.NoteCollision #'merge-differently-headed = ##t
- \override Staff.NoteCollision #'merge-differently-dotted = ##t
+ \override Staff.NoteCollision.merge-differently-headed = ##t
+ \override Staff.NoteCollision.merge-differently-dotted = ##t
bes8 \csm \stemDown <bes'' c es>8 s2
\csl \stemUp
\set subdivideBeams = ##t
\voiceTwo
bes2.
\csh
- \once \override Beam #'damping = #+inf.0
+ \once \override Beam.damping = #+inf.0
<bes'' es g>8 \csl \slurUp
- %\once\override Slur #'extra-offset = #'(0 . 4)
+ %\once\override Slur.extra-offset = #'(0 . 4)
es,,64 bes' es g s32.
c64
s4 <bes des>
\score {
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
-% \override PianoStaff.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
+% \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff = "high" <<
\global
\context Voice = "upperVoiceOne" { \upperVoiceOne }
\layout {
\context {
\Score
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
\remove "Bar_number_engraver"
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
tagline = ##f
moltocr = {
\set crescendoText = \markup { \italic "Molto cresc." }
\set crescendoSpanner = #'text
- \override DynamicTextSpanner #'style = #'dotted-line
+ \override DynamicTextSpanner.style = #'dotted-line
}
offCr = {
\unset crescendoText
\unset crescendoSpanner
- \revert DynamicTextSpanner #'style
+ \revert DynamicTextSpanner.style
}
%% Layout for piano dynamics
\layout {
\context {
\Voice
- \override Glissando #'breakable = ##t
- \override TextSpanner #'breakable = ##t
- \override DynamicLineSpanner #'breakable = ##t
- \override DynamicTextSpanner #'breakable = ##t
- \override TrillSpanner #'breakable = ##t
+ \override Glissando.breakable = ##t
+ \override TextSpanner.breakable = ##t
+ \override DynamicLineSpanner.breakable = ##t
+ \override DynamicTextSpanner.breakable = ##t
+ \override TrillSpanner.breakable = ##t
}
}
\consists "Text_engraver"
\consists "Text_spanner_engraver"
\consists "Font_size_engraver"
- \override VerticalAxisGroup #'staff-affinity = #DOWN
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'padding = #2
- \override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding = #5
- \override TextSpanner #'breakable = ##t
+ \override VerticalAxisGroup.staff-affinity = #DOWN
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #2
+ \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.padding = #5
+ \override TextSpanner.breakable = ##t
}
\context {
\Score
\context {
\MarkLine
\name "SmallMarkLine"
- \override MetronomeMark #'outside-staff-priority = #800
- \override RehearsalMark #'outside-staff-priority = #1200
+ \override MetronomeMark.outside-staff-priority = #800
+ \override RehearsalMark.outside-staff-priority = #1200
}
\context {
\Score
-\version "2.16.0"
+\version "2.17.6"
#(set-global-staff-size 22.45)
\new Staff = "guitar" <<
\context Voice = "upper guitar" {
\clef "G_8" \voiceOne
- \override Glissando #'gap = #0.5
- \override Glissando #'extra-offset = #'(-0.5 . 0)
- \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
- \override Glissando #'minimum-length = #4
- \override Glissando #'extra-dy = #glissando::calc-extra-dy
+ \override Glissando.gap = #0.5
+ \override Glissando.extra-offset = #'(-0.5 . 0)
+ \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
+ \override Glissando.minimum-length = #4
+ \override Glissando.extra-dy = #glissando::calc-extra-dy
\upper
}
\context Voice = "lower guitar" {
\clef "G_8" \voiceTwo
- \override Glissando #'bound-details #'right #'padding = #1
- \override Glissando #'bound-details #'left #'padding = #0.2
+ \override Glissando.bound-details.right.padding = #1
+ \override Glissando.bound-details.left.padding = #0.2
\lower
}
>>
\layout {
\context {
\Staff
- \override StringNumber #'transparent = ##t
+ \override StringNumber.transparent = ##t
}
\context {
\TabStaff
- \revert Arpeggio #'stencil
+ \revert Arpeggio.stencil
}
}
}
@c Translation checker:
@c Translation checker committish:
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Fundamentele concepten
@translationof Fundamental concepts
\\ % Voice four
{
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>> |
\\ % Voice four
{ \voiceThreeStyle
% Ignore these for now - they are explained in Ch 4
- \once \override NoteColumn #'force-hshift = #0
+ \once \override NoteColumn.force-hshift = #0
<ees c>2
- \once \override NoteColumn #'force-hshift = #0.5
+ \once \override NoteColumn.force-hshift = #0.5
des2
}
>> |
@}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with @{
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
@} <<
\keyTime
\clef "bass"
}
>> % end ManualOne Staff context
\new Staff = "ManualTwo" \with {
- \override VerticalAxisGroup
- #'staff-staff-spacing #'stretchability = 5
+ \override VerticalAxisGroup.staff-staff-spacing.stretchability = 5
} <<
\keyTime
\clef "bass"
@lilypond[quote,verbatim,ragged-right]
dolce = \markup { \italic \bold dolce }
-padText = { \once \override TextScript #'padding = #5.0 }
+padText = { \once \override TextScript.padding = #5.0 }
fthenp =_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
violin = \relative c'' @{
\repeat volta 2 @{
c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
- \once \override TextScript #'padding = #5.0
+ \once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
\dynamic f \italic \small @{ 2nd @} \hspace #0.1 \dynamic p
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = $padding
+ \once \override TextScript.padding = $padding
#})
\relative c''' {
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@node Ancient notation
\context {
\Staff
\consists "Custos_engraver"
- \override Custos #'style = #'mensural
+ \override Custos.style = #'mensural
}
}
}
\score {
<<
\new MensuralVoice = "discantus" \transpose c c' {
- \override Score.BarNumber #'transparent = ##t {
+ \override Score.BarNumber.transparent = ##t {
c'1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c'\breve d'\melismaEnd \]
@tab
@lilypond[relative=1,notime]
\clef "mensural-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-f"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "mensural-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-c2"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-f3"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@tab
@lilypond[relative=1,notime]
\clef "petrucci-g"
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
c
@end lilypond
@end multitable
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter default }
- \override Staff.TimeSignature #'style = #'numbered
+ \override Staff.TimeSignature.style = #'numbered
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter numbered }
- \override Staff.TimeSignature #'style = #'mensural
+ \override Staff.TimeSignature.style = #'mensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter mensural }
- \override Staff.TimeSignature #'style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter neomensural }
- \override Staff.TimeSignature #'style = #'single-digit
+ \override Staff.TimeSignature.style = #'single-digit
\time 2/2
c1^\markup { \hspace #-2.0 \typewriter single-digit }
}
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
\autoBeamOff
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\maxima a'\longa a'\breve a'1 a'2 a'4 a'8 a'16 a'
-\override NoteHead #'style = #'semipetrucci
+\override NoteHead.style = #'semipetrucci
a'\breve*5/6
-\override NoteHead #'style = #'blackpetrucci
+\override NoteHead.style = #'blackpetrucci
a'8*4/3 a'
-\override NoteHead #'style = #'petrucci
+\override NoteHead.style = #'petrucci
a'\longa
@end lilypond
only the @code{mensural} style is supported.
@lilypond[quote,fragment,ragged-right,verbatim]
-\override Flag #'style = #'mensural
-\override Stem #'thickness = #1.0
-\override NoteHead #'style = #'mensural
+\override Flag.style = #'mensural
+\override Stem.thickness = #1.0
+\override NoteHead.style = #'mensural
\autoBeamOff
c'8 d'8 e'8 f'8 c'16 d'16 e'16 f'16 c'32 d'32 e'32 f'32 s8
c''8 d''8 e''8 f''8 c''16 d''16 e''16 f''16 c''32 d''32 e''32 f''32
@lilypond[quote,fragment,ragged-right,verbatim]
\set Score.skipBars = ##t
-\override Rest #'style = #'classical
+\override Rest.style = #'classical
r\longa^"classical" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'mensural
+\override Rest.style = #'mensural
r\longa^"mensural" r\breve r1 r2 r4 r8 r16 s \break
-\override Rest #'style = #'neomensural
+\override Rest.style = #'neomensural
r\longa^"neomensural" r\breve r1 r2 r4 r8 r16
@end lilypond
@code{KeySignature}, respectively; e.g.:
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
@c @example
@c \set Score.timing = ##f
@c \set Score.defaultBarType = "-"
-@c \override NoteHead #'style = #'neomensural
-@c \override Staff.TimeSignature #'style = #'neomensural
+@c \override NoteHead.style = #'neomensural
+@c \override Staff.TimeSignature.style = #'neomensural
@c \clef "petrucci-g"
@c \[ c'\maxima g \]
@c \[ d\longa c\breve f e d \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
\transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
- \override NoteHead #'style = #'petrucci
- \override Staff.TimeSignature #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
\[ c'\maxima g \]
\[ d\longa
- \override NoteHead #'ligature-flexa = ##t
- \once \override NoteHead #'flexa-width = #3.2
+ \override NoteHead.ligature-flexa = ##t
+ \once \override NoteHead.flexa-width = #3.2
c\breve f e d \]
\[ c'\maxima d'\longa \]
\[ e'1 a g\breve \]
@code{vaticana-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-do2"
c
@end lilypond
@code{vaticana-fa1}, @code{vaticana-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'vaticana.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
\clef "vaticana-fa2"
c
@end lilypond
@code{medicaea-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-do2"
c
@end lilypond
@code{medicaea-fa1}, @code{medicaea-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-fa2"
c
@end lilypond
@code{hufnagel-do3}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do2"
c
@end lilypond
@code{hufnagel-fa1}, @code{hufnagel-fa2}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'line-count = #4
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.line-count = #4
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-fa2"
c
@end lilypond
@code{hufnagel-do-fa}
@tab
@lilypond[relative=1,notime]
- \override Staff.StaffSymbol #'color = #red
- \override Staff.LedgerLineSpanner #'color = #red
- \override Voice.Stem #'transparent = ##t
- \override Voice.Flag #'transparent = ##t
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.StaffSymbol.color = #red
+ \override Staff.LedgerLineSpanner.color = #red
+ \override Voice.Stem.transparent = ##t
+ \override Voice.Flag.transparent = ##t
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-do-fa"
c
@end lilypond
@code{KeySignature}, respectively; e.g.:
@example
-\override Staff.Accidental #'glyph-name-alist =
+\override Staff.Accidental.glyph-name-alist =
#alteration-mensural-glyph-name-alist
@end example
\score {
<<
\context VaticanaVoice {
- \override TextScript #'padding = #3
+ \override TextScript.padding = #3
g a g
s^\markup { "divisio minima" }
\divisioMinima
\include "gregorian.ly"
\score {
\new VaticanaVoice {
- \override TextScript #'font-family = #'typewriter
- \override TextScript #'font-shape = #'upright
- \override Script #'padding = #-0.1
+ \override TextScript.font-family = #'typewriter
+ \override TextScript.font-shape = #'upright
+ \override Script.padding = #-0.1
a\ictus_"ictus " \bar "" \break
a\circulus_"circulus " \bar "" \break
a\semicirculus_"semicirculus " \bar "" \break
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c
@end lilypond
@lilypond[quote,fragment,ragged-right,verbatim]
\autoBeamOff
\cadenzaOn
-\override NoteHead #'style = #'kievan
+\override NoteHead.style = #'kievan
b'1 b'2 b'4 b'8 b'\breve b'\longa
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
-\override NoteHead #'style = #'kievan
-\override Accidental #'glyph-name-alist =
+\override NoteHead.style = #'kievan
+\override Accidental.glyph-name-alist =
#alteration-kievan-glyph-name-alist
bes' dis,
@end lilypond
@lilypond[quote,relative=1,notime,verbatim]
\clef "kievan-do"
- \override NoteHead #'style = #'kievan
+ \override NoteHead.style = #'kievan
c \bar "k"
@end lilypond
However, in some transcription styles, stems are used
occasionally, for example to indicate the transition from a
single-tone recitative to a fixed melodic gesture. In these cases,
-one can use either @code{\override Stem #'transparent = ##t} or
-@code{\override Stem #'length = #0} instead, and restore the stem
-when needed with the corresponding @code{\once \override Stem
-#'transparent = ##f} (see example below). When using stems that
-carry flags, make sure to set @code{\override Flag #'transparent
+one can use either @code{\override Stem.transparent = ##t} or
+@code{\override Stem.length = #0} instead, and restore the stem
+when needed with the corresponding @code{\once \override Stem.transparent = ##f} (see example below). When using stems that
+carry flags, make sure to set @code{\override Flag.transparent
= ##t} as well.
@b{Timing.} For unmetered chant, there are several alternatives.
To remove the bar lines, the radical approach is to @code{\remove}
the Bar_engraver from the Staff context. Again, one may want to
-use @code{\override BarLine #'transparent = ##t} instead, if an
+use @code{\override BarLine.transparent = ##t} instead, if an
occasional barline is wanted.
A common type of transcription is recitativic chant where the
}
verba = \lyricmode {
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"Noctem quietam et" fi -- nem per -- fec -- tum
- \once \override LyricText #'self-alignment-X = #-1
+ \once \override LyricText.self-alignment-X = #-1
"concedat nobis Dominus" om -- ni -- po -- tens.
}
\score {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
chant = \relative c' {
\clef "G_8"
\set Score.timing = ##f
- c\breve \override NoteHead #'transparent = ##t c c c c c
- \revert NoteHead #'transparent
- \override Stem #'transparent = ##f \stemUp c4 b4 a
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t c2 c4 \divisioMaior
- c\breve \override NoteHead #'transparent = ##t c c c c c c c
- \revert NoteHead #'transparent c4 c f, f \finalis
+ c\breve \override NoteHead.transparent = ##t c c c c c
+ \revert NoteHead.transparent
+ \override Stem.transparent = ##f \stemUp c4 b4 a
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t c2 c4 \divisioMaior
+ c\breve \override NoteHead.transparent = ##t c c c c c c c
+ \revert NoteHead.transparent c4 c f, f \finalis
}
verba = \lyricmode {
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'transparent = ##t
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override BarLine.transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
}
@lilypond[verbatim,quote]
spiritus = \relative c' {
\time 1/4
- \override Lyrics.LyricText #'X-extent = #'(0 . 3)
+ \override Lyrics.LyricText.X-extent = #'(0 . 3)
d4 \times 2/3 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\times 2/3 { g8 f d } e f g a g4
\context {
\Staff
\remove "Time_signature_engraver"
- \override BarLine #'X-extent = #'(-1 . 1)
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Beam #'transparent = ##t
- \override BarLine #'transparent = ##t
- \override TupletNumber #'transparent = ##t
+ \override BarLine.X-extent = #'(-1 . 1)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Beam.transparent = ##t
+ \override BarLine.transparent = ##t
+ \override TupletNumber.transparent = ##t
}
}
}
\layout {
\context {
\Staff
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
}
}
\layout {
\accidentalStyle dodecaphonic
\set fontSize = #-4
- \override Voice.Stem #'thickness = #4.0
+ \override Voice.Stem.thickness = #4.0
}
}
@end lilypond
\new Staff {
\new Voice
\with {
- \override Stem #'thickness = #4.0
+ \override Stem.thickness = #4.0
}
{
\relative c'' {
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
}
\context { \Staff
The notes look like a slash, and have no stem,
@example
-\override NoteHead #'style = #'slash
-\override Stem #'transparent = ##t
-\override Flag #'transparent = ##t
+\override NoteHead.style = #'slash
+\override Stem.transparent = ##t
+\override Flag.transparent = ##t
@end example
All these plug-ins have to cooperate, and this is achieved with a
\consists "Text_engraver"
\consists "Pitch_squash_engraver"
squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
\alias Voice
@}
@end example
3 staff spaces of white
between the note and the fingering:
@example
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
@end example
Inserting this command before the Fingering object is created,
i.e., before @code{c2}, yields the following result:
@lilypond[quote,relative=2,verbatim]
-\once \override Voice.Fingering #'padding = #3
+\once \override Voice.Fingering.padding = #3
c-2
\stemUp
f
The command
@verbatim
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
@end verbatim
@noindent
@lilypond[quote,verbatim,relative=2]
c4
-\override Staff.Stem #'thickness = #4.0
+\override Staff.Stem.thickness = #4.0
c4
c4
c4
@lilypond[quote,verbatim,relative=2]
c4
-\once \override Stem #'thickness = #4.0
+\once \override Stem.thickness = #4.0
c4
c4
@end lilypond
when the object is created. In this example,
@lilypond[quote,verbatim,relative=2]
-\override Slur #'thickness = #3.0
+\override Slur.thickness = #3.0
c8[( c
-\override Beam #'beam-thickness = #0.6
+\override Beam.beam-thickness = #0.6
c8 c])
@end lilypond
@code{\revert} in the next example does not do anything.
@example
-\override Voice.Stem #'thickness = #4.0
-\revert Staff.Stem #'thickness
+\override Voice.Stem.thickness = #4.0
+\revert Staff.Stem.thickness
@end example
Some tweakable options are called @q{subproperties} and reside inside
such as
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@end ignore
@lilypond[quote,verbatim,relative=2]
c4 c
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
@end lilypond
context is used:
@lilypond[quote,verbatim,relative=2]
-{ \override Staff.Stem #'thickness = #3.0
+{ \override Staff.Stem.thickness = #3.0
<<
{
e4 e
- \override Stem #'thickness = #0.5
+ \override Stem.thickness = #0.5
e4 e
} \\ {
c4 c c c
@lilypond[quote,verbatim,relative=2]
c4
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
c4 c
-\revert Voice.Stem #'thickness
+\revert Voice.Stem.thickness
c4
@end lilypond
<<
{
e4
- \override Staff.Stem #'thickness = #3.0
+ \override Staff.Stem.thickness = #3.0
e4 e e
} \\ {
c4 c c
- \revert Staff.Stem #'thickness
+ \revert Staff.Stem.thickness
c4
}
>>
{
<<
{
- \override Stem #'thickness = #3.0
+ \override Stem.thickness = #3.0
e4 e e e
} \\ {
c4
- \once \override Stem #'thickness = #3.0
+ \once \override Stem.thickness = #3.0
c4 c c
}
>>
Commands which change output generally look like
@example
-\override Voice.Stem #'thickness = #3.0
+\override Voice.Stem.thickness = #3.0
@end example
@noindent
properties. To tweak those, use commands in the form
@example
-\override Stem #'(details beamed-lengths) = #'(4 4 3)
+\override Stem.details.beamed-lengths = #'(4 4 3)
@end example
@cindex internal documentation
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
--\tweak #'padding #8
+-\tweak padding #8
-^
@end lilypond
So, this works:
@lilypond[relative=2,verbatim,quote]
-<\tweak #'color #red c>4
+<\tweak color #red c>4
@end lilypond
@noindent
but this does not:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
+\tweak color #red c4
@end lilypond
@end ignore
@lilypond[relative=2,verbatim,quote]
< c
- \tweak #'color #red
+ \tweak color #red
d
g
- \tweak #'duration-log #1
+ \tweak duration-log #1
a
> 4
@end lilypond
@code{\tweak} can be used to modify slurs:
@lilypond[verbatim,quote,relative=1]
-c-\tweak #'thickness #5 ( d e f)
+c-\tweak thickness #5 ( d e f)
@end lilypond
inside of the @code{EventChord}:
@lilypond[relative=2,verbatim,quote]
-\tweak #'color #red c4
-\tweak #'color #red <c e>4
-<\tweak #'color #red c e>4
+\tweak color #red c4
+\tweak color #red <c e>4
+<\tweak color #red c e>4
@end lilypond
The simple @code{\tweak} command cannot be used to modify any object
@lilypond[verbatim,quote,relative=1]
c
--\tweak #'style #'dashed-line
--\tweak #'dash-fraction #0.2
--\tweak #'thickness #3
--\tweak #'color #red
+-\tweak style #'dashed-line
+-\tweak dash-fraction #0.2
+-\tweak thickness #3
+-\tweak color #red
\glissando
f'
@end lilypond
% reduced space between staves
\new PianoStaff \with {
% this is the nested declaration
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #7
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #7
} <<
\new Staff { \clef treble c''1 }
\new Staff { \clef bass c1 }
@lilypond[quote,verbatim]
\new PianoStaff \with {
- \override StaffGrouper #'staff-staff-spacing =
+ \override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 0)
(padding . 0)
declarations are equivalent:
@example
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7))
-\override StaffGrouper #'staff-staff-spacing =
+\override StaffGrouper.staff-staff-spacing =
#'((basic-distance . 7)
(minimum-distance . 0)
(padding . 0)
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(7 3 0 -4 -6 -7)
+ \override StaffSymbol.line-positions = #'(7 3 0 -4 -6 -7)
}
{ a4 e' f b | d1 }
@end lilypond
@lilypond[verbatim,quote,relative=1]
\new Staff \with {
- \override StaffSymbol #'width = #23
+ \override StaffSymbol.width = #23
}
{ a4 e' f b | d1 }
@end lilypond
a~a
a
% increase the length of the tie
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
~a
@end lilypond
\compressFullBarRests
R1*23
% increase the length of the rest bar
-\once \override MultiMeasureRest #'minimum-length = #20
+\once \override MultiMeasureRest.minimum-length = #20
R1*23
a1
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a \!
% increase the length of the hairpin
-\override Hairpin #'minimum-length = #20
+\override Hairpin.minimum-length = #20
a \< a a a \!
@end lilypond
@lilypond[verbatim,quote,relative=2]
a( a)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
( a)
a\( a\)
a
--\tweak #'minimum-length #5
+-\tweak minimum-length #5
\( a\)
@end lilypond
e \glissando c'
% not effective alone
-\once \override Glissando #'minimum-length = #20
+\once \override Glissando.minimum-length = #20
e, \glissando c'
% effective only when both overrides are present
-\once \override Glissando #'minimum-length = #20
-\once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Glissando.minimum-length = #20
+\once \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
e, \glissando c'
@end lilypond
@lilypond[verbatim,quote,relative=1]
% not effective alone
-\once \override Beam #'minimum-length = #20
+\once \override Beam.minimum-length = #20
e8 e e e
% effective only when both overrides are present
-\once \override Beam #'minimum-length = #20
-\once \override Beam #'springs-and-rods = #ly:spanner::set-spacing-rods
+\once \override Beam.minimum-length = #20
+\once \override Beam.springs-and-rods = #ly:spanner::set-spacing-rods
e8 e e e
@end lilypond
@lilypond[verbatim,quote,relative=2]
a \< a a a a \! a a a \break
-\override Hairpin #'to-barline = ##f
+\override Hairpin.to-barline = ##f
a \< a a a a \! a a a
@end lilypond
@lilypond[relative=2,quote,verbatim]
e2 \glissando b
-\once \override Glissando #'(bound-details left Y) = #3
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.left.Y = #3
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando b
@end lilypond
sub-lists of @code{bound-details}. For example:
@lilypond[relative=2,ragged-right,verbatim,quote]
-\override Glissando #'breakable = ##t
-\override Glissando #'(bound-details right-broken Y) = #-3
+\override Glissando.breakable = ##t
+\override Glissando.bound-details.right-broken.Y = #-3
c1 \glissando \break
f1
@end lilypond
to put @i{cresc.}, @i{tr} and other text on horizontal spanners.
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text)
+\override TextSpanner.bound-details.left.text
= \markup { \small \bold Slower }
c2\startTextSpan b c a\stopTextSpan
@end lilypond
relative to the end point of the line:
@lilypond[relative=1,quote,verbatim]
-\override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #-2
-\override TextSpanner
- #'(bound-details right stencil-align-dir-y) = #UP
-
-\override TextSpanner
- #'(bound-details left text) = #"ggg"
-\override TextSpanner
- #'(bound-details right text) = #"hhh"
+\override TextSpanner.bound-details.left.stencil-align-dir-y = #-2
+\override TextSpanner.bound-details.right.stencil-align-dir-y = #UP
+
+\override TextSpanner.bound-details.left.text = #"ggg"
+\override TextSpanner.bound-details.right.text = #"hhh"
c4^\startTextSpan c c c \stopTextSpan
@end lilypond
@lilypond[quote,verbatim,relative=1]
a1 a
-\override Score.BarLine #'stencil = ##f
+\override Score.BarLine.stencil = ##f
a a
-\revert Score.BarLine #'stencil
+\revert Score.BarLine.stencil
a a a
@end lilypond
@lilypond[quote,verbatim,relative=2]
a4 a
-\once \override NoteHead #'transparent = ##t
+\once \override NoteHead.transparent = ##t
a a
@end lilypond
here:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
+\override Staff.Clef.color = #white
a1
@end lilypond
@code{layer}, say @w{@code{-1}}, so that it is drawn earlier:
@lilypond[quote,verbatim,relative=2]
-\override Staff.Clef #'color = #white
-\override Staff.Clef #'layer = #-1
+\override Staff.Clef.color = #white
+\override Staff.Clef.layer = #-1
a1
@end lilypond
f4 g a b
f4 g a b
% Remove bar line at the end of the current line
-\once \override Score.BarLine #'break-visibility = #'#(#f #t #t)
+\once \override Score.BarLine.break-visibility = #'#(#f #t #t)
\break
f4 g a b
f4 g a b
\key g \major
f4 g a b
% Try to remove all key signatures
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b
\break
\key g \major
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
f4 g a b
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.printKeyCancellation = ##f
-\override Staff.KeySignature #'break-visibility = #all-invisible
+\override Staff.KeySignature.break-visibility = #all-invisible
\key bes \major
f4 g a b \break
f4 g a b
@lilypond[relative=2,ragged-right,verbatim,quote]
d2 \glissando d'2
-\once \override Glissando #'style = #'dashed-line
+\once \override Glissando.style = #'dashed-line
d,2 \glissando d'2
-\override Glissando #'style = #'dotted-line
+\override Glissando.style = #'dotted-line
d,2 \glissando d'2
-\override Glissando #'style = #'zigzag
+\override Glissando.style = #'zigzag
d,2 \glissando d'2
-\override Glissando #'style = #'trill
+\override Glissando.style = #'trill
d,2 \glissando d'2
@end lilypond
@c TODO Complete
@lilypond[relative=2,ragged-right,verbatim,quote]
e2 \glissando f
-\once \override Glissando #'(bound-details right Y) = #-2
+\once \override Glissando.bound-details.right.Y = #-2
e2 \glissando f
@end lilypond
@lilypond[quote,verbatim,relative=1]
g4\< e' d' f\!
-\override Hairpin #'rotation = #'(20 -1 0)
+\override Hairpin.rotation = #'(20 -1 0)
g,,4\< e' d' f\!
@end lilypond
of the text too high.
@lilypond[quote,verbatim,relative=1]
-\override TextScript #'outside-staff-priority = ##f
+\override TextScript.outside-staff-priority = ##f
g4^\markup { \rotate #30 "a G" }
b^\markup { \rotate #30 "a B" }
des^\markup { \rotate #30 "a D-Flat" }
@lilypond[verbatim,quote,relative=2]
a-3
a
--\tweak #'X-offset #0
--\tweak #'Y-offset #0
+-\tweak X-offset #0
+-\tweak Y-offset #0
-3
a
--\tweak #'X-offset #-1
--\tweak #'Y-offset #1
+-\tweak X-offset #-1
+-\tweak Y-offset #1
-3
@end lilypond
@lilypond[quote,verbatim,relative=1]
a'
--\tweak #'self-alignment-X #-1
+-\tweak self-alignment-X #-1
^"left-aligned"
--\tweak #'self-alignment-X #0
+-\tweak self-alignment-X #0
^"center-aligned"
--\tweak #'self-alignment-X #RIGHT
+-\tweak self-alignment-X #RIGHT
^"right-aligned"
--\tweak #'self-alignment-X #-2.5
+-\tweak self-alignment-X #-2.5
^"aligned further to the right"
@end lilypond
@lilypond[quote,verbatim,relative=2]
a
--\tweak #'self-alignment-X #0.5 % move horizontally left
--\tweak #'Y-offset #ly:self-alignment-interface::y-aligned-on-self
--\tweak #'self-alignment-Y #-1 % move vertically up
+-\tweak self-alignment-X #0.5 % move horizontally left
+-\tweak Y-offset #ly:self-alignment-interface::y-aligned-on-self
+-\tweak self-alignment-Y #-1 % move vertically up
-3 % third finger
@end lilypond
@lilypond[verbatim,quote,relative=1]
% The rehearsal mark will be centered above the Clef
-\override Score.RehearsalMark #'break-align-symbols = #'(clef)
+\override Score.RehearsalMark.break-align-symbols = #'(clef)
\key a \major
\clef treble
\mark "↓"
e1
% The rehearsal mark will be centered above the Time Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(time-signature)
\key a \major
\clef treble
\time 3/4
\mark "↓"
e2.
% The rehearsal mark will be centered above the Breath Mark
-\override Score.RehearsalMark #'break-align-symbols = #'(breathing-sign)
+\override Score.RehearsalMark.break-align-symbols = #'(breathing-sign)
\key a \major
\clef treble
\time 4/4
@lilypond[verbatim,quote,relative=1]
% The rehearsal mark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
e1
% The rehearsal mark will be centered above the Clef
\set Staff.explicitKeySignatureVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef bass
\mark "↓"
% The rehearsal mark will be centered above the Bar Line
\set Staff.explicitKeySignatureVisibility = #all-invisible
\set Staff.explicitClefVisibility = #all-invisible
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature clef)
\key a \major
\clef treble
\mark "↓"
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be centered above the Key Signature
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\key a \major
\clef treble
\time 4/4
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the Key Signature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+\once \override Score.KeySignature.break-align-anchor-alignment = #LEFT
\mark "↓"
\key a \major
e1
% The RehearsalMark will be aligned with the right edge of the Key Signature
-\once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+\once \override Score.KeySignature.break-align-anchor-alignment = #RIGHT
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote,relative=1]
% The RehearsalMark will be aligned with the left edge of the Key Signature
% and then shifted right by 3.5 staff-spaces
-\override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
-\once \override Score.KeySignature #'break-align-anchor = #3.5
+\override Score.RehearsalMark.break-align-symbols = #'(key-signature)
+\once \override Score.KeySignature.break-align-anchor = #3.5
\key a \major
\mark "↓"
e1
% The RehearsalMark will be aligned with the left edge of the Key Signature
% and then shifted left by 2 staff-spaces
-\once \override Score.KeySignature #'break-align-anchor = #-2
+\once \override Score.KeySignature.break-align-anchor = #-2
\key a \major
\mark "↓"
e1
@lilypond[verbatim,quote]
XinO = {
- \once \override NoteHead #'stencil = #ly:text-interface::print
- \once \override NoteHead #'text = \markup {
+ \once \override NoteHead.stencil = #ly:text-interface::print
+ \once \override NoteHead.text = \markup {
\combine
\halign #-0.7 \draw-circle #0.85 #0.2 ##f
\musicglyph #"noteheads.s2cross"
g2
% create a slur and move it to a new position
% the <> is just an empty chord to carry the slur termination
- -\tweak #'control-points #'((-2 . 3.8) (-1 . 3.9) (0 . 4) (1 . 3.4)) ( <> )
+ -\tweak control-points #'((-2 . 3.8) (-1 . 3.9) (0 . 4) (1 . 3.4)) ( <> )
f,
}
{
e'2
% create a slur and move it to a new position
- -\tweak #'control-points #'((-2 . 3) (-1 . 3.1) (0 . 3.2) (1 . 2.4)) ( <> )
+ -\tweak control-points #'((-2 . 3) (-1 . 3.1) (0 . 3.2) (1 . 2.4)) ( <> )
f,
}
}
'(-0.5 . 0.5)))))
squareLineCircleSpace = {
- \override NoteHead #'stencil = #square-line-circle-space
+ \override NoteHead.stencil = #square-line-circle-space
}
smartSquareLineCircleSpace = {
\squareLineCircleSpace
- \override NoteHead #'Y-extent =
+ \override NoteHead.Y-extent =
#(ly:make-unpure-pure-container
ly:grob::stencil-height
(lambda (grob start end) (ly:grob::stencil-height grob)))
(parser location padding)
(number?)
#{
- \once \override TextScript #'padding = #padding
+ \once \override TextScript.padding = #padding
#})
\relative c''' {
(parser location padding tempotext)
(number? markup?)
#{
- \once \override Score.MetronomeMark #'padding = #padding
+ \once \override Score.MetronomeMark.padding = #padding
\tempo \markup { \bold #tempotext }
#})
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@c TODO: add tablature.
@tab
@lilypond[relative=2,notime]
\set Staff.autoBeaming = ##f
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c1 c2 c8 c16
@end lilypond
@tab augmentation dots
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
c4. c4..
@end lilypond
@tab time signature
@tab
@lilypond[relative=1]
-\override Staff.Clef #'stencil = #empty-stencil
+\override Staff.Clef.stencil = #empty-stencil
\time 3/4
s4_" "
\time 4/4
@tab rest
@tab
@lilypond[relative=2,notime]
-\override Staff.Clef #'break-visibility = #all-invisible
+\override Staff.Clef.break-visibility = #all-invisible
r4 r8
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Chord notation
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:m c:m7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:dim c:dim7
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:aug
}
@end lilypond
@tab
@lilypond[line-width=4\cm, noragged-right]
\chordmode {
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
c1:maj c:maj7
}
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Editorial annotations
@section Editorial annotations
@lilypond[verbatim,quote,relative=2]
\set fontSize = #3
c4.-> d8---3
-\override NoteHead #'font-size = #-4
+\override NoteHead.font-size = #-4
c4.-> d8---3
-\override Script #'font-size = #2
+\override Script.font-size = #2
c4.-> d8---3
-\override Stem #'font-size = #-5
+\override Stem.font-size = #-5
c4.-> d8---3
@end lilypond
are listed in the @ref{List of colors}.
@lilypond[verbatim,quote,relative=2]
-\override NoteHead #'color = #red
+\override NoteHead.color = #red
c4 c
-\override NoteHead #'color = #(x11-color 'LimeGreen)
+\override NoteHead.color = #(x11-color 'LimeGreen)
d
-\override Stem #'color = #blue
+\override Stem.color = #blue
e
@end lilypond
color returned defaults to black.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
gis8 a
-\override Beam #'color = #(x11-color "medium turquoise")
+\override Beam.color = #(x11-color "medium turquoise")
gis a
-\override Accidental #'color = #(x11-color 'DarkRed)
+\override Accidental.color = #(x11-color 'DarkRed)
gis a
-\override NoteHead #'color = #(x11-color "LimeGreen")
+\override NoteHead.color = #(x11-color "LimeGreen")
gis a
% this is deliberate nonsense; note that the stems remain black
-\override Stem #'color = #(x11-color 'Boggle)
+\override Stem.color = #(x11-color 'Boggle)
b2 cis
@end lilypond
@code{rgb-color}.
@lilypond[verbatim,quote,relative=2]
-\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2)
+\override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2)
\set Staff.instrumentName = \markup {
\with-color #(x11-color 'navy) "Clarinet"
}
-\override Stem #'color = #(rgb-color 0 0 0)
+\override Stem.color = #(rgb-color 0 0 0)
gis8 a
-\override Stem #'color = #(rgb-color 1 1 1)
+\override Stem.color = #(rgb-color 1 1 1)
gis8 a
-\override Stem #'color = #(rgb-color 0 0 0.5)
+\override Stem.color = #(rgb-color 0 0 0.5)
gis4 a
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Expressive marks
@section Expressive marks
creates a @code{MultiMeasureRestText} object.
@lilypond[verbatim,quote,relative=2]
-\override Script #'color = #red
-\override MultiMeasureRestText #'color = #blue
+\override Script.color = #red
+\override MultiMeasureRestText.color = #blue
a2\fermata r\fermata
R1\fermataMarkup
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Fretted string instruments
@section Fretted string instruments
to @code{#t}.
@lilypond[quote,ragged-right,verbatim]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
\new StaffGroup <<
\new Staff \relative c {
\clef "treble_8"
pitches:
@lilypond[verbatim,quote]
-\layout { \override Voice.StringNumber #'stencil = ##f }
+\layout { \override Voice.StringNumber.stencil = ##f }
firstHarmonic = {
d'4\4\harmonic
g'4\3\harmonic
@lilypond[quote,ragged-right,verbatim]
<<
\new Voice \with {
- \override StringNumber #'stencil = ##f
+ \override StringNumber.stencil = ##f
} {
\clef "bass_8"
\relative c, {
}
}
\context Staff {
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
\clef "treble_8"
<c e g c' e'>1^\markup {
\fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
}
\context Staff {
\clef "treble_8"
- \override Voice.TextScript
- #'(fret-diagram-details finger-code) = #'below-string
+ \override Voice.TextScript.fret-diagram-details.finger-code = #'below-string
<f, c f a c' f'>1^\markup {
\fret-diagram-verbose #'(
(place-fret 6 1)
\clef "treble_8"
b16 d g b e
\textSpannerDown
-\override TextSpanner #'(bound-details left text) = #"XII "
+\override TextSpanner.bound-details.left.text = #"XII "
g16\startTextSpan
b16 e g e b g\stopTextSpan
e16 b g d
@lilypond[quote,ragged-right,verbatim]
\relative c' {
\clef "treble_8"
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
@item In @code{lyricmode} to separate all the terms in both
@code{\override} and @code{\set} commands. In particular, spaces
must be used around the dot and the equals sign in commands like
-@code{\override Score . LyricText #'font-size = #5} and before and
+@code{\override Score.LyricText.font-size = #5} and before and
after the entire command.
@end itemize
\footnote \markup { \super "$" } #'(0.5 . 1)
\markup { \super "$" \italic " The second note" }
e c4
- \once \override Score.FootnoteItem #'annotation-line = ##f
+ \once \override Score.FootnoteItem.annotation-line = ##f
b-\footnote \markup \tiny "+" #'(0.1 . 0.1)
\markup { \super "+" \italic " Editorial" } \p
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Keyboard and other multi-staff instruments
@section Keyboard and other multi-staff instruments
\new Staff = "up" {
\voiceOne
% Make space for fingering in the cross-staff voice
- \once\override DynamicLineSpanner #'staff-padding = #3.4
+ \once\override DynamicLineSpanner.staff-padding = #3.4
e''2\p\< d''\>
c''1\!
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Percussion
@section Percussion
<< \new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics \nam
>>
\layout {
\context {
\Score
- \override LyricText #'font-family = #'typewriter
- \override BarNumber #'transparent =##T
+ \override LyricText.font-family = #'typewriter
+ \override BarNumber.transparent =##T
}
}
}
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
- \override StaffSymbol #'line-count = #2
- \override StaffSymbol #'staff-space = #2
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-3.0 . 4.0)
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
+ \override StaffSymbol.line-count = #2
+ \override StaffSymbol.staff-space = #2
+ \override VerticalAxisGroup.minimum-Y-extent = #'(-3.0 . 4.0)
drumStyleTable = #timbales-style
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\remove "Bar_engraver"
\remove "Time_signature_engraver"
drumStyleTable = #congas-style
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with {
\remove "Bar_engraver"
\remove "Time_signature_engraver"
- \override StaffSymbol #'line-count = #2
+ \override StaffSymbol.line-count = #2
drumStyleTable = #bongos-style
%% this sucks; it will lengthen stems.
- \override StaffSymbol #'staff-space = #2
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override StaffSymbol.staff-space = #2
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
\new DrumStaff \with{
\remove "Bar_engraver"
drumStyleTable = #percussion-style
- \override StaffSymbol #'line-count = #1
+ \override StaffSymbol.line-count = #1
\remove "Time_signature_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Stem #'Y-extent = ##f
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Stem.Y-extent = ##f
} \mus
\new Lyrics {
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
\nam
}
>>
woodstaff = {
% This defines a staff with only two lines.
% It also defines the positions of the two lines.
- \override Staff.StaffSymbol #'line-positions = #'(-2 3)
+ \override Staff.StaffSymbol.line-positions = #'(-2 3)
% This is necessary; if not entered, the barline would be too short!
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
}
\new DrumStaff {
@end lilypond
Note that in this special case the length of the barline must
-altered with @code{\override Staff.BarLine #'bar-extent #'(from . to)}.
+altered with @code{\override Staff.BarLine.bar-extent #'(from . to)}.
Otherwise it would be too short. And you have also to define the
positions of the two stafflines. For more information about these
delicate things have a look at @ref{Staff symbol}.
#(define mydrums '((tambourine default #t 0)))
tambustaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tambourine"
}
#(define mydrums '((tamtam default #t 0)))
tamtamstaff = {
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Tamtam"
}
(cowbell default #t -2)))
bellstaff = {
- \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3)
+ \override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
- \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5)
+ \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\set DrumStaff.instrumentName = #"Different Bells"
}
@lilypond[fragment,quote,relative=1]
\new Staff \with {
- \override OctavateEight #'color = #red
- \override Clef #'color = #blue
+ \override OctavateEight.color = #red
+ \override Clef.color = #blue
}
\clef "treble_8" c4
position.
@lilypond[verbatim, quote,relative=0]
-\override Staff.KeySignature #'flat-positions = #'((-5 . 5))
-\override Staff.KeyCancellation #'flat-positions = #'((-5 . 5))
+\override Staff.KeySignature.flat-positions = #'((-5 . 5))
+\override Staff.KeyCancellation.flat-positions = #'((-5 . 5))
\clef bass \key es\major es g bes d
\clef treble \bar "||" \key es\major es g bes d
-\override Staff.KeySignature #'sharp-positions = #'(2)
+\override Staff.KeySignature.sharp-positions = #'(2)
\bar "||" \key b\major b fis b2
@end lilypond
@lilypond[verbatim,quote,relative=2]
c4 b
-\override NoteHead #'style = #'cross
+\override NoteHead.style = #'cross
c4 b
-\revert NoteHead #'style
+\revert NoteHead.style
a b
-\override NoteHead #'style = #'harmonic
+\override NoteHead.style = #'harmonic
a b
-\revert NoteHead #'style
+\revert NoteHead.style
c4 d e f
@end lilypond
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@node Rhythms
@section Rhythms
collide with other objects in a staff.
@lilypond[verbatim,quote,ragged-right,relative=2]
-\override Tie #'layer = #-2
-\override Staff.TimeSignature #'layer = #-1
-\override Staff.KeySignature #'layer = #-1
-\override Staff.TimeSignature #'whiteout = ##t
-\override Staff.KeySignature #'whiteout = ##t
+\override Tie.layer = #-2
+\override Staff.TimeSignature.layer = #-1
+\override Staff.KeySignature.layer = #-1
+\override Staff.TimeSignature.whiteout = ##t
+\override Staff.KeySignature.whiteout = ##t
b2 b~
\time 3/4
\key a \major
\new Staff {
% These two lines are just to prettify this example
\time 16/1
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
% Print a maxima rest, equal to four breves
r\maxima
% Print a longa rest, equal to two breves
@lilypond[quote,verbatim,relative=2]
% This fails, as the wrong object name is specified
-\override TextScript #'padding = #5
+\override TextScript.padding = #5
R1^"wrong"
% This is the correct object name to be specified
-\override MultiMeasureRestText #'padding = #5
+\override MultiMeasureRestText.padding = #5
R1^"right"
@end lilypond
@lilypond[verbatim,relative=2,quote]
% Show all bar numbers
-\override Score.BarNumber #'break-visibility = #all-visible
+\override Score.BarNumber.break-visibility = #all-visible
c4 d e d
\cadenzaOn
c4 c d8[ d d] f4 g4.
the last four 32nd notes are at a constant tempo.
@lilypond[relative=1,verbatim,quote]
-\override Beam #'grow-direction = #LEFT
+\override Beam.grow-direction = #LEFT
\featherDurations #(ly:make-moment 2 1)
{ c16[ c c c c c c c] }
-\override Beam #'grow-direction = #RIGHT
+\override Beam.grow-direction = #RIGHT
\featherDurations #(ly:make-moment 2 3)
{ c32[ d e f] }
% revert to non-feathered beams
-\override Beam #'grow-direction = #'()
+\override Beam.grow-direction = #'()
{ g32[ a b c] }
@end lilypond
example bar numbers are printed at all possible places:
@lilypond[verbatim,quote,relative=1]
-\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+\override Score.BarNumber.break-visibility = #'#(#t #t #t)
\set Score.currentBarNumber = #11
% Permit first bar number to be printed
\bar ""
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Simultaneous notes
will appear during compilation. This message can be suppressed by:
@example
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
@end example
However, this not only suppresses the warning but will prevent any
@cindex collisions, ignoring
@knownissues
-Using @code{\override NoteColumn #'ignore-collision = ##t} will cause
+Using @code{\override NoteColumn.ignore-collision = ##t} will cause
differently headed notes in different voices to merge incorrectly.
@lilypond[quote,relative=1,verbatim]
\mergeDifferentlyHeadedOn
<< { c16 a' b a } \\ { c,2 } >>
-\override NoteColumn #'ignore-collision = ##t
+\override NoteColumn.ignore-collision = ##t
<< { c16 a' b a } \\ { c,2 } >>
@end lilypond
Could we add a sentence:
"Use instead the pair fontSize = #@var{N}
- \override StaffSymbol #'staff-space = #(magstep
+ \override StaffSymbol.staff-space = #(magstep
@var{N})
inside the Staff context to change the size of the font and the
distance between
indent = 2\cm
\context @{
\StaffGroup
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #8
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #8
@}
\context @{
\Voice
- \override TextScript #'padding = #1
- \override Glissando #'thickness = #3
+ \override TextScript.padding = #1
+ \override Glissando.thickness = #3
@}
@}
@end example
\layout @{
\context @{
\Voice
- \override TextScript #'color = #magenta
- \override Glissando #'thickness = #1.5
+ \override TextScript.color = #magenta
+ \override Glissando.thickness = #1.5
@}
@}
@end example
layoutVariable = \layout @{
\context @{
\Voice
- \override NoteHead #'font-size = #4
+ \override NoteHead.font-size = #4
@}
@}
@end example
\layoutVariable
\context @{
\Voice
- \override NoteHead #'color = #red
+ \override NoteHead.color = #red
@}
@}
@end example
Similarly, line breaks are normally forbidden when beams cross bar
lines. This behavior can be changed by setting
-@code{\override Beam #'breakable = ##t}:
+@code{\override Beam.breakable = ##t}:
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Beam #'breakable = ##t
+\override Beam.breakable = ##t
c2. c8[ c | \break
c8 c] c2. |
@end lilypond
commands. There are two commands to override this behavior:
@example
-\override NonMusicalPaperColumn #'line-break-permission = ##f
-\override NonMusicalPaperColumn #'page-break-permission = ##f
+\override NonMusicalPaperColumn.line-break-permission = ##f
+\override NonMusicalPaperColumn.page-break-permission = ##f
@end example
When @code{line-break-permission} is overridden to false, Lily will insert
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-permission = ##f
- \override NonMusicalPaperColumn #'page-break-permission = ##f
+ \override NonMusicalPaperColumn.line-break-permission = ##f
+ \override NonMusicalPaperColumn.page-break-permission = ##f
}
}
}
\score {
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1 * 2 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 35))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 35))
s1 * 3 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 70))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 70))
s1 * 6 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 105))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 105))
s1 * 5 \break
}
\new Voice {
#(define zero-space '((padding . -inf.0) (basic-distance . 0)))
alignToZero = \with {
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #zero-space
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #zero-space
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #zero-space
}
lowerCaseChords = \with {
chordNameLowercaseMinor = ##t
}
staffAffinityDown = \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
labelContext =
#(define-music-function
\lowerCaseChords }
\context { \FretBoards \alignToZero \staffAffinityDown }
\context { \Score
- \override BarLine #'stencil = ##f
- \override DynamicText #'self-alignment-X = #-1
- \override FretBoard #'X-offset = #1.75
- \override InstrumentName #'minimum-Y-extent = #'(-2 . 2)
- \override InstrumentName #'extra-offset = #'(0 . -0.5)
- \override TextScript #'minimum-Y-extent = #'(-2 . 3)
- \override TimeSignature #'stencil = ##f
+ \override BarLine.stencil = ##f
+ \override DynamicText.self-alignment-X = #-1
+ \override FretBoard.X-offset = #1.75
+ \override InstrumentName.minimum-Y-extent = #'(-2 . 2)
+ \override InstrumentName.extra-offset = #'(0 . -0.5)
+ \override TextScript.minimum-Y-extent = #'(-2 . 3)
+ \override TimeSignature.stencil = ##f
}
}
@example
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@} @{ @dots{} @}
\new Staff \with @{
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 10)
(minimum-distance . 9)
(padding . 1)
\layout @{
\context @{
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing
- #'basic-distance = #10
+ \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
@}
@}
@end example
\layout {
\context {
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 8)
(minimum-distance . 7)
(padding . 1))
% By setting 'padding to a negative value, staves can be made to
% collide. The lowest acceptable value for 'basic-distance is 0.
\new Staff \with {
- \override VerticalAxisGroup #'default-staff-staff-spacing =
+ \override VerticalAxisGroup.default-staff-staff-spacing =
#'((basic-distance . 3.5)
(padding . -10))
} { \clef bass g2 r | }
\layout {
\context {
\Score
- \override StaffGrouper #'staff-staff-spacing #'padding = #0
- \override StaffGrouper #'staff-staff-spacing #'basic-distance = #1
+ \override StaffGrouper.staff-staff-spacing.padding = #0
+ \override StaffGrouper.staff-staff-spacing.basic-distance = #1
}
}
<<
\new PianoStaff \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} <<
\new Staff { c'1 }
\new Staff { c'1 }
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup
- #'nonstaff-nonstaff-spacing #'stretchability = #1000
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.stretchability = #1000
}
}
\new StaffGroup
<<
\new Staff \with {
- \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 30))
+ \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 30))
} { c'1 }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #UP
+ \override VerticalAxisGroup.staff-affinity = #UP
} \lyricmode { up }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #CENTER
+ \override VerticalAxisGroup.staff-affinity = #CENTER
} \lyricmode { center }
\new Lyrics \with {
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
} \lyricmode { down }
\new Staff { c'1 }
>>
@code{\overrideProperty} command:
@example
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (15)))
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (15)))
-\overrideProperty NonMusicalPaperColumn
- #'line-break-system-details #'((X-offset . 20)
+\overrideProperty NonMusicalPaperColumn.line-break-system-details #'((X-offset . 20)
(Y-offset . 40)
(alignment-distances . (15)))
@end example
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 40))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 40))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 80))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 80))
s1*5 \break
}
\new Voice { \repeat unfold 15 { c'4 c' c' c' } }
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 20)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 20)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (15)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (15)))
s1*5 \break
}
<<
\new Staff <<
\new Voice {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 0)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 0)
(alignment-distances . (30 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 60)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 60)
(alignment-distances . (10 10)))
s1*5 \break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((Y-offset . 100)
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((Y-offset . 100)
(alignment-distances . (10 30)))
s1*5 \break
}
@lilypond[quote,ragged-right,relative=2,verbatim]
c4_"Text"\pp
r2.
-\once \override TextScript #'outside-staff-priority = #1
+\once \override TextScript.outside-staff-priority = #1
c4_"Text"\pp % this time the text will be closer to the staff
r2.
% by setting outside-staff-priority to a non-number,
% we disable the automatic collision avoidance
-\once \override TextScript #'outside-staff-priority = ##f
-\once \override DynamicLineSpanner #'outside-staff-priority = ##f
+\once \override TextScript.outside-staff-priority = ##f
+\once \override DynamicLineSpanner.outside-staff-priority = ##f
c4_"Text"\pp % now they will collide
@end lilypond
@code{outside-staff-padding}.
@lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
-\once \override TextScript #'outside-staff-padding = #0
+\once \override TextScript.outside-staff-padding = #0
a'^"This text is placed very close to the note"
-\once \override TextScript #'outside-staff-padding = #3
+\once \override TextScript.outside-staff-padding = #3
c^"This text is padded away from the previous text"
c^"This text is placed close to the previous text"
@end lilypond
c''2
% setting outside-staff-horizontal-padding fixes this
R1
-\once \override TextScript #'outside-staff-horizontal-padding = #1
+\once \override TextScript.outside-staff-horizontal-padding = #1
c,,4^"Text"
c4
c''2
{
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
- \override Staff.NoteSpacing #'stem-spacing-correction = #1.5
- \override Staff.StaffSpacing #'stem-spacing-correction = #1.5
+ \override Staff.NoteSpacing.stem-spacing-correction = #1.5
+ \override Staff.StaffSpacing.stem-spacing-correction = #1.5
c'4 e''4 e'4 b'4 |
b'4 e''4 b'4 e''4 |
}
adjusting the padding value as necessary.
@example
- \override Score.NonMusicalPaperColumn #'padding = #10
+ \override Score.NonMusicalPaperColumn.padding = #10
@end example
No work-around exists for decreasing the amount of space.
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
}
\layout {
\context {
\Score
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
regard for clefs, bar lines, and grace notes,
@lilypond[quote,ragged-right,relative=2,verbatim]
-\override Score.SpacingSpanner #'strict-note-spacing = ##t
+\override Score.SpacingSpanner.strict-note-spacing = ##t
\new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
@end lilypond
@item @code{uniform-stretching}
@item @code{strict-note-spacing}
@item @code{\remove "Separating_line_group_engraver"}
-@item @code{\override PaperColumn #'used = ##t}
+@item @code{\override PaperColumn.used = ##t}
@end itemize
In the examples that follow, we explore these five different
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1 20)
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
}
\new Staff {
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
c''8
c''8
c''8
that frequently appear in proportional scores. These include:
@itemize
-@item @code{\override SpacingSpanner #'strict-grace-spacing = ##t}
+@item @code{\override SpacingSpanner.strict-grace-spacing = ##t}
@item @code{tupletFullLength = ##t}
-@item @code{\override Beam #'breakable = ##t}
-@item @code{\override Glissando #'breakable = ##t}
-@item @code{\override TextSpanner #'breakable = ##t}
+@item @code{\override Beam.breakable = ##t}
+@item @code{\override Glissando.breakable = ##t}
+@item @code{\override TextSpanner.breakable = ##t}
@item @code{\remove "Forbid_line_break_engraver" in the Voice context}
@end itemize
@lilypond[verbatim,quote,relative=1]
e4 c g\f c
-e4 c g-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 \f c
+e4 c g-\tweak X-offset #-2.7 -\tweak Y-offset #2.5 \f c
@end lilypond
@item
\layout {
\context {
\Score
- \override SpacingSpanner
- #'common-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
}
}
}
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Staff notation
@section Staff notation
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-count = #2
+\override Staff.StaffSymbol.line-count = #2
\startStaff g, e |
f'4 d \stopStaff
-\revert Staff.StaffSymbol #'line-count
+\revert Staff.StaffSymbol.line-count
\startStaff g, e |
@end lilypond
@lilypond[verbatim,quote,relative=2]
f4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(1 3 5 -1 -3)
+\override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
\startStaff g, e |
f'4 d \stopStaff
-\override Staff.StaffSymbol #'line-positions = #'(8 6.5 -6 -8 -0.5)
+\override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
\startStaff g, e
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #3
+ \override StaffSymbol.thickness = #3
}
{ f4 d g, e }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'thickness = #2
- \override StaffSymbol #'ledger-line-thickness = #'(0.5 . 0.4)
+ \override StaffSymbol.thickness = #2
+ \override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-positions = #'(-3 -2 -1 2 5 6)
+ \override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
}
{ f'4 a, a,, f }
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'ledger-extra = #4
+ \override StaffSymbol.ledger-extra = #4
}
{ f'4 a, d, f, }
@end lilypond
@code{\override} for the whole @code{StaffSymbol}.
@lilypond[fragment,quote,relative=1]
-\override Staff.StaffSymbol #'line-positions = #'(-8 0 2 4)
+\override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
d4 e f g
\stopStaff
\startStaff
-\override Staff.StaffSymbol #'ledger-positions = #'(-8 -6 (-4 -2) 0)
+\override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
d4 e f g
@end lilypond
@lilypond[verbatim,quote,relative=2]
\new Staff \with {
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.staff-space = #1.5
}
{ f'4 d, g, e, }
@end lilypond
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
firstClef = ##f
}
{ e4 d f e }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
}
{ \stopStaff s1*6 }
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \override Clef #'transparent = ##t
+ \override Clef.transparent = ##t
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3)
} \relative c'' {
R1*3
c4 e8 d c2
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
@end lilypond
engraver:
@example
-\override StaffSymbol #'stencil = ##f
-\override NoteHead #'no-ledgers = ##t
+\override StaffSymbol.stencil = ##f
+\override NoteHead.no-ledgers = ##t
@end example
For the Known issues and warnings associated with
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Text
@section Text
performance is desired, use
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
following syntax:
@lilypond[verbatim,quote,relative=2]
-\override TextSpanner #'(bound-details left text) = "rit."
+\override TextSpanner.bound-details.left.text = "rit."
b1\startTextSpan
e,\stopTextSpan
@end lilypond
@ref{Formatting text}.
@lilypond[quote,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text) =
+\override TextSpanner.bound-details.left.text =
\markup { \upright "rit." }
b1\startTextSpan c
e,\stopTextSpan
required change from the default size.
@lilypond[quote,verbatim,relative=2]
-\override Score.RehearsalMark #'font-family = #'typewriter
+\override Score.RehearsalMark.font-family = #'typewriter
\mark \markup "Ouverture"
-\override Voice.TextScript #'font-shape = #'italic
-\override Voice.TextScript #'font-series = #'bold
+\override Voice.TextScript.font-shape = #'italic
+\override Voice.TextScript.font-series = #'bold
d2.^\markup "Allegro"
-\override Voice.TextScript #'font-size = #-3
+\override Voice.TextScript.font-size = #-3
c4^smaller
@end lilypond
FontConfig may be used in a score, using the following syntax:
@lilypond[quote,verbatim,relative=2]
-\override Staff.TimeSignature #'font-name = #"Bitstream Charter"
-\override Staff.TimeSignature #'font-size = #2
+\override Staff.TimeSignature.font-name = #"Bitstream Charter"
+\override Staff.TimeSignature.font-size = #2
\time 3/4
a1_\markup {
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.5"
+@c \version "2.17.6"
@node Vocal music
@section Vocal music
Do @emph{not} write
@example
-\override Score.LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
@noindent
but instead use
@example
-\override Score . LyricText #'font-shape = #'italic
+\override Score.LyricText.font-shape = #'italic
@end example
Punctuation, lyrics with accented characters, characters from
<<
\new Lyrics = "lyrics" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "melody" {
\new Lyrics = "sopranos"
\new Lyrics = "contraltos" \with {
% lyrics above a staff should have this override
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff {
\new Voice = "contraltos" {
@lilypond[relative=1,verbatim,quote,ragged-right]
{
c c c c
- \override Lyrics.LyricSpace #'minimum-distance = #1.0
+ \override Lyrics.LyricSpace.minimum-distance = #1.0
c c c c
}
\addlyrics {
\layout {
\context {
\Lyrics
- \override LyricSpace #'minimum-distance = #1.0
+ \override LyricSpace.minimum-distance = #1.0
}
}
}
feature can be disabled:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
To make lyrics avoid bar lines as well, use
\Lyrics
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
@}
@}
@end example
\voiceOne
\times 2/3 {
% show associations clearly.
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
\layout {
\context {
\Score
- \override DynamicText #'direction = #UP
- \override DynamicLineSpanner #'direction = #UP
+ \override DynamicText.direction = #UP
+ \override DynamicLineSpanner.direction = #UP
}
}
}
% position name of cue-ing instrument just before the cue notes,
% and above the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
\set instrumentCueName = "Flute"
}
\cueDuring "flute" #UP { g4 bes4 }
\transposition c'
% position name of cue-ing instrument below the staff
\new CueVoice {
- \override InstrumentSwitch #'self-alignment-X = #RIGHT
- \override InstrumentSwitch #'direction = #DOWN
+ \override InstrumentSwitch.self-alignment-X = #RIGHT
+ \override InstrumentSwitch.direction = #DOWN
\set instrumentCueName = "Clar."
}
\cueDuring "clarinet" #DOWN { c4. g8 }
\score {
<<
\new Lyrics \with {
- \override LyricText #'font-shape = #'italic
- \override LyricText #'self-alignment-X = #LEFT
+ \override LyricText.font-shape = #'italic
+ \override LyricText.self-alignment-X = #LEFT
}
{ \dialogue }
\new Staff {
with the rhythm being taken from the spoken rhythm of the words.
@lilypond[verbatim,quote]
-stemOff = { \override Staff.Stem #'transparent = ##t }
+stemOff = { \override Staff.Stem.transparent = ##t }
\relative c' {
\stemOff
@lilypond[verbatim,quote]
divisioMinima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maxima
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
finalis = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+ \once \override BreathingSign.Y-offset = #0
\breathe
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
}
\context {
\Staff
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, chords, contexts-and-engravers"
}
continuo = \figuremode {
<_>4 <6>4 <5/>4
- \override Staff.BassFigureAlignmentPositioning #'direction = #UP
+ \override Staff.BassFigureAlignmentPositioning.direction = #UP
%\bassFigureStaffAlignmentUp
< _+ >4 <6>
\set Staff.useBassFigureExtenders = ##t
- \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
+ \override Staff.BassFigureAlignmentPositioning.direction = #DOWN
%\bassFigureStaffAlignmentDown
<4>4. <4>8 <_+>4
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "pitches, staff-notation, vocal-music"
\new Voice \with {
\consists "Ambitus_engraver"
} \relative c'' {
- \override Ambitus #'X-offset = #2.0
+ \override Ambitus.X-offset = #2.0
\voiceOne
c4 a d e
f1
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "breaks, contexts-and-engravers, staff-notation, workaround"
<< { c1 | c }
\new Staff {
\key f \major
- \once \override Staff.TimeSignature #'stencil = ##f
+ \once \override Staff.TimeSignature.stencil = ##f
c1 | c
}
>>
\new Staff {
\once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible
\key f \major
- \once \override Staff.TimeSignature #'stencil = ##f
+ \once \override Staff.TimeSignature.stencil = ##f
c1 | c
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contexts-and-engravers, really-simple, staff-notation"
c1 | d
}
\new Staff {
- \once \override Staff.TimeSignature #'stencil = ##f
+ \once \override Staff.TimeSignature.stencil = ##f
c1 | b
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "chords, specific-notation"
\new ChordNames \with {
- \override BarLine #'bar-extent = #'(-2 . 2)
+ \override BarLine.bar-extent = #'(-2 . 2)
\consists "Bar_engraver"
}
\chordmode {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "percussion, preparing-parts, really-simple, rhythms, specific-notation"
<<
\new DrumStaff \with {
drumStyleTable = #timbales-style
- \override StaffSymbol #'line-count = #2
- \override BarLine #'bar-extent = #'(-1 . 1)
+ \override StaffSymbol.line-count = #2
+ \override BarLine.bar-extent = #'(-1 . 1)
} <<
\set Staff.instrumentName = #"timbales"
\timb
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, symbols-and-glyphs, vocal-music"
}
splitStaffBarLine = {
- \once \override Staff.BarLine #'stencil =
+ \once \override Staff.BarLine.stencil =
#(lambda (grob)
(ly:stencil-combine-at-edge
(ly:bar-line::print grob)
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, vocal-music"
(string? string? ly:dir? ly:music?)
#{
\cueDuring $instrument #dir {
- \once \override TextScript #'self-alignment-X = #RIGHT
- \once \override TextScript #'direction = $dir
+ \once \override TextScript.self-alignment-X = #RIGHT
+ \once \override TextScript.direction = $dir
<>-\markup { \tiny #name }
$music
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, workaround"
\relative c' {
c2-\parenthesize ->
- \override ParenthesesItem #'padding = #0.1
- \override ParenthesesItem #'font-size = #-4
+ \override ParenthesesItem.padding = #0.1
+ \override ParenthesesItem.font-size = #-4
<d \parenthesize f a>2
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
glissandoSkipOn = {
- \override NoteColumn #'glissando-skip = ##t
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
+ \override NoteColumn.glissando-skip = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
}
glissandoSkipOff = {
- \revert NoteColumn #'glissando-skip
- \revert NoteHead #'transparent
- \revert NoteHead #'no-ledgers
+ \revert NoteColumn.glissando-skip
+ \revert NoteHead.transparent
+ \revert NoteHead.no-ledgers
}
\relative c'' {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\relative c'' {
c8
\graceNotes
- \override Score.GraceSpacing #'spacing-increment = #2.0
+ \override Score.GraceSpacing.spacing-increment = #2.0
\graceNotes
- \revert Score.GraceSpacing #'spacing-increment
+ \revert Score.GraceSpacing.spacing-increment
\graceNotes
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "correction-wanted, spacing, text, vocal-music, workaround"
}
% Reducing the minimum space below the staff and above the lyrics:
\new Lyrics \with {
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #'((basic-distance . 1))
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((basic-distance . 1))
}
\lyricsto melody { aa aa aa aa aa aa aa aa aa }
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
} % begin verbatim
\relative c'' {
- \override Score.SpacingSpanner #'shortest-duration-space = #4.0
+ \override Score.SpacingSpanner.shortest-duration-space = #4.0
c2-\bendAfter #5
c2-\bendAfter #-4.75
c2-\bendAfter #8.5
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "paper-and-layout, text, titles"
\score {
\new StaffGroup <<
\new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #LEFT
+ \override Staff.InstrumentName.self-alignment-X = #LEFT
\set Staff.instrumentName = \markup \left-column {
"Left aligned"
"instrument name"
c''1
}
\new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #CENTER
+ \override Staff.InstrumentName.self-alignment-X = #CENTER
\set Staff.instrumentName = \markup \center-column {
Centered
"instrument name"
g'1
}
\new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #RIGHT
+ \override Staff.InstrumentName.self-alignment-X = #RIGHT
\set Staff.instrumentName = \markup \right-column {
"Right aligned"
"instrument name"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c' {
\set Score.currentBarNumber = #111
- \override Score.BarNumber #'break-visibility = #all-visible
+ \override Score.BarNumber.break-visibility = #all-visible
% Increase the size of the bar number by 2
- \override Score.BarNumber #'font-size = #2
+ \override Score.BarNumber.font-size = #2
% Print a bar number every second measure
\set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
c1 | c1
% Center-align bar numbers
- \override Score.BarNumber #'self-alignment-X = #CENTER
+ \override Score.BarNumber.self-alignment-X = #CENTER
c1 | c1
% Left-align bar numbers
- \override Score.BarNumber #'self-alignment-X = #LEFT
+ \override Score.BarNumber.self-alignment-X = #LEFT
c1 | c1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "text"
e1
% the RehearsalMark will be centered above the Clef
- \override Score.RehearsalMark #'break-align-symbols = #'(clef)
+ \override Score.RehearsalMark.break-align-symbols = #'(clef)
\key a \major
\clef treble
\mark \markup { \char ##x2193 }
e1
% the RehearsalMark will be centered above the TimeSignature
- \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+ \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
\key a \major
\clef treble
\time 3/4
e2.
% the RehearsalMark will be centered above the KeySignature
- \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+ \override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\key a \major
\clef treble
\time 4/4
e1
% the RehearsalMark will be aligned with the left edge of the KeySignature
- \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+ \once \override Score.KeySignature.break-align-anchor-alignment = #LEFT
\mark \markup { \char ##x2193 }
\key a \major
e1
% the RehearsalMark will be aligned with the right edge of the KeySignature
- \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+ \once \override Score.KeySignature.break-align-anchor-alignment = #RIGHT
\key a \major
\mark \markup { \char ##x2193 }
e1
% the RehearsalMark will be aligned with the left edge of the KeySignature
% and then shifted right by one unit.
- \once \override Score.KeySignature #'break-align-anchor = #1
+ \once \override Score.KeySignature.break-align-anchor = #1
\key a \major
\mark \markup { \char ##x2193 }
e1
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "text"
\relative c' {
c1 \mark "(Center)"
c1
- \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \once \override Score.RehearsalMark.self-alignment-X = #LEFT
\mark "(Left)"
c4 c c c
c4 c c c
- \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
+ \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
\mark "(Right)"
c1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, fretted-strings, spacing, specific-notation"
\relative c' {
<c-1 e-2 g-3 b-5>2
- \override Fingering #'staff-padding = #'()
+ \override Fingering.staff-padding = #'()
<c-1 e-2 g-3 b-5>4 <g'-0>
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "pitches, tweaks-and-overrides"
\relative c'' {
- \override Stem #'(details beamed-lengths) = #'(2)
+ \override Stem.details.beamed-lengths = #'(2)
a8[ a] a16[ a] a32[ a]
- \override Stem #'(details beamed-lengths) = #'(8 10 12)
+ \override Stem.details.beamed-lengths = #'(8 10 12)
a8[ a] a16[ a] a32[ a] r8
- \override Stem #'(details beamed-lengths) = #'(8)
+ \override Stem.details.beamed-lengths = #'(8)
a8[ a]
- \override Stem #'(details beamed-lengths) = #'(8.5)
+ \override Stem.details.beamed-lengths = #'(8.5)
a8[ a]
- \revert Stem #'details
+ \revert Stem.details
a8[ a] a16[ a] a32[ a] r16
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, rhythms"
\relative c'' {
\time 4/2
c\breve |
- \override Staff.NoteHead #'style = #'altdefault
+ \override Staff.NoteHead.style = #'altdefault
b\breve
- \revert Staff.NoteHead #'style
+ \revert Staff.NoteHead.style
a\breve
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, really-simple, tweaks-and-overrides"
}
}
\relative c'' {
- \once \override HorizontalBracket #'direction = #UP
+ \once \override HorizontalBracket.direction = #UP
c2\startGroup
d2\stopGroup
}
% This file is in the public domain.
%% Note: this file works from version 2.16.0
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, symbols-and-glyphs"
\context VaticanaVoice <<
\transpose c c {
- \override NoteHead #'style = #'vaticana.punctum
+ \override NoteHead.style = #'vaticana.punctum
\key es \major
\clef "vaticana-fa2"
c1 des e f ges
- \override NoteHead #'style = #'vaticana.inclinatum
+ \override NoteHead.style = #'vaticana.inclinatum
a! b ces'
\bar "|"
% \break % 1 (8*1)
- \override NoteHead #'style = #'vaticana.quilisma
+ \override NoteHead.style = #'vaticana.quilisma
b! des'! ges! fes!
\breathe
\clef "vaticana-fa1"
- \override NoteHead #'style = #'vaticana.plica
+ \override NoteHead.style = #'vaticana.plica
es d
- \override NoteHead #'style = #'vaticana.reverse.plica
+ \override NoteHead.style = #'vaticana.reverse.plica
c d
\bar "|"
% \break %2 (8*1)
- \override NoteHead #'style = #'vaticana.punctum.cavum
+ \override NoteHead.style = #'vaticana.punctum.cavum
es f
- \override NoteHead #'style = #'vaticana.lpes
+ \override NoteHead.style = #'vaticana.lpes
g as
- \override NoteHead #'style = #'vaticana.upes
+ \override NoteHead.style = #'vaticana.upes
bes as
- \override NoteHead #'style = #'vaticana.vupes
+ \override NoteHead.style = #'vaticana.vupes
g f
- \override NoteHead #'style = #'vaticana.linea.punctum
- \once \override Staff.BarLine #'bar-extent = #'(-1 . 1) \bar "|"
+ \override NoteHead.style = #'vaticana.linea.punctum
+ \once \override Staff.BarLine.bar-extent = #'(-1 . 1) \bar "|"
% \break % 3 (8*1)
es d
- \override NoteHead #'style = #'vaticana.epiphonus
+ \override NoteHead.style = #'vaticana.epiphonus
c d
- \override NoteHead #'style = #'vaticana.cephalicus
+ \override NoteHead.style = #'vaticana.cephalicus
es f
- \override Staff.KeySignature #'glyph-name-alist = #alteration-medicaea-glyph-name-alist
- \override Staff.Accidental #'glyph-name-alist = #alteration-medicaea-glyph-name-alist
- \override Staff.Custos #'style = #'medicaea
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.KeySignature.glyph-name-alist = #alteration-medicaea-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-medicaea-glyph-name-alist
+ \override Staff.Custos.style = #'medicaea
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-fa2"
ces des
\bar "|"
e! f! ges
\clef "medicaea-do2"
- \override NoteHead #'style = #'medicaea.inclinatum
+ \override NoteHead.style = #'medicaea.inclinatum
a! b! ces'
- \override NoteHead #'style = #'medicaea.virga
+ \override NoteHead.style = #'medicaea.virga
b! a!
\bar "|"
% \break % 5 (8*1)
ges fes
\clef "medicaea-fa1"
- \override NoteHead #'style = #'medicaea.rvirga
+ \override NoteHead.style = #'medicaea.rvirga
e des ces
- \override Staff.KeySignature #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist
- \override Staff.Accidental #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist
- \override Staff.Custos #'style = #'hufnagel
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.KeySignature.glyph-name-alist = #alteration-hufnagel-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-hufnagel-glyph-name-alist
+ \override Staff.Custos.style = #'hufnagel
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-fa2"
ces des es
\bar "|"
fes ges
\clef "hufnagel-do2"
- \override NoteHead #'style = #'hufnagel.lpes
+ \override NoteHead.style = #'hufnagel.lpes
as! bes! ces'
- \override NoteHead #'style = #'hufnagel.virga
+ \override NoteHead.style = #'hufnagel.virga
bes! as!
\bar "|"
% \break % 7 (8*1)
ges! fes!
\clef "hufnagel-do-fa"
- \override NoteHead #'style = #'hufnagel.punctum
+ \override NoteHead.style = #'hufnagel.punctum
es! des ces des! es! fes!
\bar "||"
% \break % 8 (8*1)
r2
\clef "mensural-g"
r4 r8 r16 r16
- \override NoteHead #'style = #'mensural
- \override Rest #'style = #'mensural
+ \override NoteHead.style = #'mensural
+ \override Rest.style = #'mensural
\clef "petrucci-f"
c8 b, c16 b, c32 b, c64 b, c64 b,
d8 e d16 e d32 e d64 e d64 e
}
\context {
\MensuralVoice
- \override NoteHead #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Flag #'style = #'mensural
- \override Stem #'thickness = #1.0
+ \override NoteHead.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Flag.style = #'mensural
+ \override Stem.thickness = #1.0
}
\context {
\MensuralStaff
- \revert BarLine #'transparent
- \override KeySignature #'glyph-name-alist = #alteration-mensural-glyph-name-alist
+ \revert BarLine.transparent
+ \override KeySignature.glyph-name-alist = #alteration-mensural-glyph-name-alist
clefGlyph = #"clefs.petrucci.c2"
}
\context {
\VaticanaStaff
- \revert BarLine #'transparent
- \override StaffSymbol #'thickness = #2.0
- \override KeySignature #'glyph-name-alist = #alteration-vaticana-glyph-name-alist
- \override Custos #'neutral-position = #4
+ \revert BarLine.transparent
+ \override StaffSymbol.thickness = #2.0
+ \override KeySignature.glyph-name-alist = #alteration-vaticana-glyph-name-alist
+ \override Custos.neutral-position = #4
}
}
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "vocal-music, ancient-notation, template"
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
\context {
\Voice
- \override Stem #'length = #0
+ \override Stem.length = #0
}
\context {
\Score
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, real-music, really-cool, template"
\set Score.skipBars = ##t
% incipit
- \once \override Score.SystemStartBracket #'transparent = ##t
+ \once \override Score.SystemStartBracket.transparent = ##t
% Set tight spacing
- \override Score.SpacingSpanner #'spacing-increment = #1.0
+ \override Score.SpacingSpanner.spacing-increment = #1.0
\key f \major
\time 2/2
- \once \override Staff.TimeSignature #'style = #'neomensural
- \override Voice.NoteHead #'style = #'neomensural
- \override Voice.Rest #'style = #'neomensural
+ \once \override Staff.TimeSignature.style = #'neomensural
+ \override Voice.NoteHead.style = #'neomensural
+ \override Voice.Rest.style = #'neomensural
\set Staff.printKeyCancellation = ##f
\cadenzaOn % turn off bar lines
\skip 1*10
- \once \override Staff.BarLine #'transparent = ##f
+ \once \override Staff.BarLine.transparent = ##f
\bar "||"
\skip 1*1 % need this extra \skip such that clef change comes
% after bar line
% main
\cadenzaOff % turn bar lines on again
- \once \override Staff.Clef #'full-size-change = ##t
+ \once \override Staff.Clef.full-size-change = ##t
\set Staff.forceClef = ##t
\key g \major
\time 4/4
- \override Voice.NoteHead #'style = #'default
- \override Voice.Rest #'style = #'default
+ \override Voice.NoteHead.style = #'default
+ \override Voice.Rest.style = #'default
% Setting printKeyCancellation back to #t must not
% occur in the first bar after the incipit. Dto. for forceClef.
\skip 1*7 % the actual music
% let finis bar go through all staves
- \override Staff.BarLine #'transparent = ##f
+ \override Staff.BarLine.transparent = ##f
% finis bar
\bar "|."
c'4 e'4.( d'8 c' b |
a4) b a2 |
b4.( c'8 d'4) c'4 |
- \once \override NoteHead #'transparent = ##t c'1 |
+ \once \override NoteHead.transparent = ##t c'1 |
b\breve |
}
}
a2 g4 e |
fis g4.( fis16 e fis4) |
g1 |
- \once \override NoteHead #'transparent = ##t g1 |
+ \once \override NoteHead.transparent = ##t g1 |
g\breve |
}
}
R1 |
R1 |
r2 d'2. d'4 b e' | % two bars
- \once \override NoteHead #'transparent = ##t e'1 |
+ \once \override NoteHead.transparent = ##t e'1 |
d'\breve |
}
}
R1 |
R1 |
g2. e4 |
- \once \override NoteHead #'transparent = ##t e1 |
+ \once \override NoteHead.transparent = ##t e1 |
g\breve |
}
}
\Score
% no bars in staves
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
% incipit should not start with a start delimiter
\remove "System_start_delimiter_engraver"
\Voice
% no slurs
- \override Slur #'transparent = ##t
+ \override Slur.transparent = ##t
% The command below can be commented out in
% short scores, but especially for large scores you
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation"
{
- \override Staff.TimeSignature #'style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
s1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "template, vocal-music"
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 2)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 2)
}
\context {
\Staff
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\stemDown
\slurUp
\slurNotes
- \once \override Slur #'eccentricity = #3.0
+ \once \override Slur.eccentricity = #3.0
\slurNotes
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "chords, editorial-annotations, rhythms, tweaks-and-overrides"
% Corrected to avoid collisions
r8
- \override Fingering #'add-stem-support = ##t
+ \override Fingering.add-stem-support = ##t
<f c'-5>8
- \override StringNumber #'add-stem-support = ##t
+ \override StringNumber.add-stem-support = ##t
<f c'\5>8
- \override StrokeFinger #'add-stem-support = ##t
+ \override StrokeFinger.add-stem-support = ##t
<f c'-\rightHandFinger #2 >8
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "chords, fretted-strings"
(cons (make-music 'TextSpanEvent 'span-direction 1)
(ly:music-property last-element 'articulations))))))
#{
- \once \override TextSpanner #'font-size = #-2
- \once \override TextSpanner #'font-shape = #'upright
- \once \override TextSpanner #'staff-padding = #3
- \once \override TextSpanner #'style = #'line
- \once \override TextSpanner #'to-barline = ##f
- \once \override TextSpanner #'bound-details =
+ \once \override TextSpanner.font-size = #-2
+ \once \override TextSpanner.font-shape = #'upright
+ \once \override TextSpanner.staff-padding = #3
+ \once \override TextSpanner.style = #'line
+ \once \override TextSpanner.to-barline = ##f
+ \once \override TextSpanner.bound-details =
#`((left
(text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . 2)))
%% uncomment this line for make full barred
- % \once \override TextSpanner #'bound-details #'left #'text = \markup { "B" #str }
+ % \once \override TextSpanner.bound-details.left.text = \markup { "B" #str }
$music
#})
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c'' {
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
c8 c[ c] c[ c] c[ c] c[ \break
c8] c[ c] c[ c] c[ c] c
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, really-cool, text"
\layout { ragged-right = ##f }
\relative c' {
- \override TextScript #'extra-offset = #'(2 . 4)
+ \override TextScript.extra-offset = #'(2 . 4)
c2-\markup { \whiteout \pad-markup #0.5 "middle C" } c
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, symbols-and-glyphs"
<< { g4 as g } \\ { es4 bes es } >> |
% Modern notation:
% by default, \breathe uses the rcomma, just as if saying:
- % \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rcomma")
+ % \override BreathingSign.text = #(make-musicglyph-markup "scripts.rcomma")
<< { g4 as g } \\ { es4 \breathe bes es } >> |
% rvarcomma and lvarcomma are variations of the default rcomma and lcomma
% N.B.: must use Staff context here, since we start a Voice below
- \override Staff.BreathingSign #'text = \markup { \musicglyph #"scripts.rvarcomma" }
+ \override Staff.BreathingSign.text = \markup { \musicglyph #"scripts.rvarcomma" }
<< { g4 as g } \\ { es4 \breathe bes es } >> |
% vee
- \override BreathingSign #'text = \markup { \musicglyph #"scripts.upbow" }
+ \override BreathingSign.text = \markup { \musicglyph #"scripts.upbow" }
es8[ d es f g] \breathe f |
% caesura
- \override BreathingSign #'text = \markup { \musicglyph #"scripts.caesura.curved" }
+ \override BreathingSign.text = \markup { \musicglyph #"scripts.caesura.curved" }
es8[ d] \breathe es[ f g f] |
es2 r4 \bar "||"
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, expressive-marks, symbols-and-glyphs"
<<
{
\dynamicUp
- \override DynamicLineSpanner #'staff-padding = #4
+ \override DynamicLineSpanner.staff-padding = #4
r2 r16 c'8.\pp r4
}
\\
{
- \override DynamicLineSpanner #'layer = #0
+ \override DynamicLineSpanner.layer = #0
des,2\mf\< ~
- \override TextScript #'layer = #2
+ \override TextScript.layer = #2
des16_\markup {
\postscript #"
1.9 -8 translate
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, symbols-and-glyphs, tweaks-and-overrides"
\relative c'' {
c2.
% construct the symbol
- \override BreathingSign #'text = \markup {
+ \override BreathingSign.text = \markup {
\line {
\musicglyph #"scripts.caesura.curved"
\translate #'(-1.75 . 1.6)
}
\breathe c4
% set the breathe mark back to normal
- \revert BreathingSign #'text
+ \revert BreathingSign.text
c2. \breathe c4
\bar "|."
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, really-cool, scheme-language, text"
hairpinWithCenteredText =
#(define-music-function (parser location text) (markup?)
#{
- \once \override Voice.Hairpin #'after-line-breaking =
+ \once \override Voice.Hairpin.after-line-breaking =
#(lambda (grob)
(let* ((stencil (ly:hairpin::print grob))
(par-y (ly:grob-parent grob Y))
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "text, tweaks-and-overrides, contexts-and-engravers"
\context {
\Voice
\consists #Text_align_engraver
- \override TextScript #'X-offset =
+ \override TextScript.X-offset =
#ly:self-alignment-interface::aligned-on-x-parent
- \override TextScript #'self-alignment-X = #CENTER
+ \override TextScript.self-alignment-X = #CENTER
}
}
\new Staff <<
\relative c'' {
- \override NoteColumn #'force-hshift = #3
+ \override NoteColumn.force-hshift = #3
c1-\markup { \arrow-head #Y #DOWN ##t }
}
\\
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, really-simple, simultaneous-notes, specific-notation, tweaks-and-overrides"
\relative c' {
- <\tweak #'font-size #+2 c e g c \tweak #'font-size #-2 e>1^\markup { A tiny e }_\markup { A big c }
+ <\tweak font-size #+2 c e g c \tweak font-size #-2 e>1^\markup { A tiny e }_\markup { A big c }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
{
f8 f''8 f8 f''8
- \override Beam #'auto-knee-gap = #6
+ \override Beam.auto-knee-gap = #6
f8 f''8 f8 f''8
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\relative c'' {
\compressFullBarRests
R1*2 | R1*5 | R1*9
- \override MultiMeasureRest #'expand-limit = #3
+ \override MultiMeasureRest.expand-limit = #3
R1*2 | R1*5 | R1*9
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
\new FretBoards {
\chordmode {
c1
- \override FretBoard #'(fret-diagram-details orientation) =
+ \override FretBoard.fret-diagram-details.orientation =
#'landscape
c1
- \override FretBoard #'(fret-diagram-details orientation) =
+ \override FretBoard.fret-diagram-details.orientation =
#'opposing-landscape
c1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "really-simple, vocal-music"
Hi, my name is Bert.
}
\addlyrics {
- \override StanzaNumber #'font-name = #"DejaVu"
+ \override StanzaNumber.font-name = #"DejaVu"
\set stanza = #"2. "
- \override LyricText #'font-family = #'typewriter
+ \override LyricText.font-family = #'typewriter
Oh, ché -- ri, je t'aime
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c'' {
\set crescendoText = \markup { \italic { cresc. poco } }
\set crescendoSpanner = #'text
- \override DynamicTextSpanner #'style = #'dotted-line
+ \override DynamicTextSpanner.style = #'dotted-line
a2\< a
a2 a
a2 a
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "pitches"
\new Staff {
\time 2/4
- \override AmbitusLine #'gap = #0
+ \override AmbitusLine.gap = #0
c'4 g''
}
\new Staff {
\time 2/4
- \override AmbitusLine #'gap = #1
+ \override AmbitusLine.gap = #1
c'4 g''
}
\new Staff {
\time 2/4
- \override AmbitusLine #'gap = #1.5
+ \override AmbitusLine.gap = #1.5
c'4 g''
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
\relative c'' {
c2
- \override BreathingSign #'text =
+ \override BreathingSign.text =
\markup { \musicglyph #"scripts.rvarcomma" }
\breathe
d2
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, rhythms"
\relative c' {
c4.. a16 r2 |
- \override Dots #'dot-count = #4
+ \override Dots.dot-count = #4
c4.. a16 r2 |
- \override Dots #'dot-count = #0
+ \override Dots.dot-count = #0
c4.. a16 r2 |
- \revert Dots #'dot-count
+ \revert Dots.dot-count
c4.. a16 r2 |
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "specific-notation, staff-notation"
\upper
}
\new Staff {
- \override Staff.StaffSymbol #'line-count = #4
+ \override Staff.StaffSymbol.line-count = #4
\lower
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "paper-and-layout, staff-notation, tweaks-and-overrides"
}
\new Staff \with {
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
} {
\clef bass
c8 c c c c\f c c c
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c'' {
\times 2/3 { c8 c c }
\times 2/3 { c8 c c }
- \override TupletNumber #'text = #tuplet-number::calc-fraction-text
+ \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 2/3 { c8 c c }
- \override TupletNumber #'stencil = ##f
+ \override TupletNumber.stencil = ##f
\times 2/3 { c8 c c }
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, vocal-music, ancient-notation, contexts-and-engravers, specific-notation"
stemOn = {
- \revert Staff.Stem #'transparent
- \revert Staff.Flag #'transparent
+ \revert Staff.Stem.transparent
+ \revert Staff.Flag.transparent
}
stemOff = {
- \override Staff.Stem #'transparent = ##t
- \override Staff.Flag #'transparent = ##t
+ \override Staff.Stem.transparent = ##t
+ \override Staff.Flag.transparent = ##t
}
\score {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.17.6
+%% Note: this file works from version 2.16.0
\version "2.17.6"
\header {
}
\context {
\Voice
- \override StanzaNumber #'padding = #1.8
+ \override StanzaNumber.padding = #1.8
}
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, pitches, really-cool"
\score {
\new Staff \relative c' {
- \override NoteHead #'color = #color-notehead
+ \override NoteHead.color = #color-notehead
c8 b d dis ees f g aes
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "simultaneous-notes, syntax-and-expressions, text"
indent = 6.0\cm
\context {
\Score
- \override SystemStartBar #'collapse-height = #30
+ \override SystemStartBar.collapse-height = #30
}
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
(#:column (two num)))))))
\relative c' {
- \override Staff.TimeSignature #'stencil = #(compound-time "2" "3" "8")
+ \override Staff.TimeSignature.stencil = #(compound-time "2" "3" "8")
\time 5/8
\set Staff.beatStructure = #'(2 3)
c8 d e fis gis
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
} % begin verbatim
consistentlyLeftAlignedBarNumbers = {
- \override Score.BarNumber #'break-visibility = #end-of-line-invisible
- \override Score.BarNumber #'self-alignment-X =
+ \override Score.BarNumber.break-visibility = #end-of-line-invisible
+ \override Score.BarNumber.self-alignment-X =
#(lambda (grob)
(let ((break-dir (ly:item-break-dir grob)))
(if (= break-dir RIGHT) RIGHT LEFT)))
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, expressive-marks, specific-notation"
\relative c'' {
\time 3/4
- \override Glissando #'style = #'zigzag
+ \override Glissando.style = #'zigzag
c4 c
\cadenzaOn
c4\glissando
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\paper { ragged-right = ##t }
\relative c'' {
- \override Hairpin #'to-barline = ##f
- \override Glissando #'breakable = ##t
+ \override Hairpin.to-barline = ##f
+ \override Glissando.breakable = ##t
% show hairpin
- \override Hairpin #'after-line-breaking = ##t
+ \override Hairpin.after-line-breaking = ##t
% hide text span
- \override TextSpanner #'after-line-breaking =
+ \override TextSpanner.after-line-breaking =
#ly:spanner::kill-zero-spanned-time
e2\<\startTextSpan
% show glissando
- \override Glissando #'after-line-breaking = ##t
+ \override Glissando.after-line-breaking = ##t
f2\glissando
\break
f,1\!\stopTextSpan
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c''' {
- \once \override TextScript #'script-priority = #-100
+ \once \override TextScript.script-priority = #-100
a2^\prall^\markup { \sharp }
- \once \override Script #'script-priority = #-100
+ \once \override Script.script-priority = #-100
a2^\prall^\markup { \sharp }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\new Voice {
\relative c' {
<< \music s4^"default" >>
- \override TupletBracket #'bracket-visibility = #'if-no-beam
+ \override TupletBracket.bracket-visibility = #'if-no-beam
<< \music s4^"'if-no-beam" >>
- \override TupletBracket #'bracket-visibility = ##t
+ \override TupletBracket.bracket-visibility = ##t
<< \music s4^"#t" >>
- \override TupletBracket #'bracket-visibility = ##f
+ \override TupletBracket.bracket-visibility = ##f
<< \music s4^"#f" >>
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
\relative c'' {
- \once \override TextScript #'avoid-slur = #'inside
- \once \override TextScript #'outside-staff-priority = ##f
+ \once \override TextScript.avoid-slur = #'inside
+ \once \override TextScript.outside-staff-priority = ##f
c2(^\markup \tiny \override #'(baseline-skip . 1) {
\halign #-4
\center-column {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, expressive-marks, scheme-language, staff-notation, tweaks-and-overrides"
\relative c' {
% optional override to remove warnings for fingerings larger than 5
- \override Fingering #'text = #calc-finger-without-warning
+ \override Fingering.text = #calc-finger-without-warning
c1\ten
c1\fifty
c1-\finger #36
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, text, tweaks-and-overrides"
{
\key a \major
\set Score.markFormatter = #format-mark-box-letters
- \once \override Score.RehearsalMark #'outside-staff-priority = #5000
- \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
- \once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+ \once \override Score.RehearsalMark.outside-staff-priority = #5000
+ \once \override Score.RehearsalMark.self-alignment-X = #LEFT
+ \once \override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\mark \markup { \bold { Senza denti } }
% the hidden measure and bar line
% \cadenzaOn turns off automatic calculation of bar numbers
\cadenzaOn
- \once \override Score.TimeSignature #'stencil = ##f
+ \once \override Score.TimeSignature.stencil = ##f
\time 1/16
s16 \bar ""
\cadenzaOff
\time 4/4
- \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \once \override Score.RehearsalMark.self-alignment-X = #LEFT
\mark \markup { \box \bold Intro }
d'1
\mark \default
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, text, tweaks-and-overrides"
\paper { ragged-right = ##f }
\relative c'' {
- \override TextSpanner #'(bound-details left text) = #"bla"
- \override TextSpanner #'(bound-details right text) = #"blu"
+ \override TextSpanner.bound-details.left.text = #"bla"
+ \override TextSpanner.bound-details.right.text = #"blu"
a4 \startTextSpan
b4 c
a4 \stopTextSpan
- \override TextSpanner #'style = #'line
- \once \override TextSpanner
- #'(bound-details left stencil-align-dir-y) = #CENTER
+ \override TextSpanner.style = #'line
+ \once \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
a4 \startTextSpan
b4 c
a4 \stopTextSpan
- \override TextSpanner #'style = #'dashed-line
- \override TextSpanner #'(bound-details left text) =
+ \override TextSpanner.style = #'dashed-line
+ \override TextSpanner.bound-details.left.text =
\markup { \draw-line #'(0 . 1) }
- \override TextSpanner #'(bound-details right text) =
+ \override TextSpanner.bound-details.right.text =
\markup { \draw-line #'(0 . -2) }
- \once \override TextSpanner #'(bound-details right padding) = #-2
+ \once \override TextSpanner.bound-details.right.padding = #-2
a4 \startTextSpan
b4 c
a4 \stopTextSpan
\set Staff.middleCPosition = #-13
- \override TextSpanner #'dash-period = #10
- \override TextSpanner #'dash-fraction = #0.5
- \override TextSpanner #'thickness = #10
+ \override TextSpanner.dash-period = #10
+ \override TextSpanner.dash-fraction = #0.5
+ \override TextSpanner.thickness = #10
a4 \startTextSpan
b4 c
a4 \stopTextSpan
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "chords, keyboards, tweaks-and-overrides, workaround"
avoidance then arise. If the stems from the lower staff were used in
the following example, it would be necessary to change the automatic
beam collision avoidance settings so that it doesn't detect collisions
-between staves using @code{\\override Staff.Beam #'collision-voice-only
+between staves using @code{\\override Staff.Beam.collision-voice-only
= ##t}
"
\relative c' {
<<
{ r4
- \override Stem #'cross-staff = ##t
- \override Stem #'length = #19 % this is in half-spaces,
+ \override Stem.cross-staff = ##t
+ \override Stem.length = #19 % this is in half-spaces,
% so it makes stems 9.5 staffspaces long
- \override Stem #'Y-offset = #-6 % stems are normally lengthened
+ \override Stem.Y-offset = #-6 % stems are normally lengthened
% upwards, so here we must lower the stem by the amount
% equal to the lengthening - in this case (19 - 7) / 2
% (7 is default stem length)
e e e }
{ s4
\change Staff = "bottom"
- \override NoteColumn #'ignore-collision = ##t
+ \override NoteColumn.ignore-collision = ##t
c, c c
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, specific-notation, symbols-and-glyphs, tweaks-and-overrides"
\layout { ragged-right = ##t }
\new Staff \with { \consists "Custos_engraver" } \relative c' {
- \override Staff.Custos #'neutral-position = #4
+ \override Staff.Custos.neutral-position = #4
- \override Staff.Custos #'style = #'hufnagel
+ \override Staff.Custos.style = #'hufnagel
c1^"hufnagel" \break
<d a' f'>1
- \override Staff.Custos #'style = #'medicaea
+ \override Staff.Custos.style = #'medicaea
c1^"medicaea" \break
<d a' f'>1
- \override Staff.Custos #'style = #'vaticana
+ \override Staff.Custos.style = #'vaticana
c1^"vaticana" \break
<d a' f'>1
- \override Staff.Custos #'style = #'mensural
+ \override Staff.Custos.style = #'mensural
c1^"mensural" \break
<d a' f'>1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
}
\new FretBoards {
% Set global properties of fret diagram
- \override FretBoards.FretBoard #'size = #'1.2
- \override FretBoard
- #'(fret-diagram-details finger-code) = #'in-dot
- \override FretBoard
- #'(fret-diagram-details dot-color) = #'white
+ \override FretBoards.FretBoard.size = #'1.2
+ \override FretBoard.fret-diagram-details.finger-code = #'in-dot
+ \override FretBoard.fret-diagram-details.dot-color = #'white
\chordmode {
c
- \once \override FretBoard #'size = #'1.0
- \once \override FretBoard
- #'(fret-diagram-details barre-type) = #'straight
- \once \override FretBoard
- #'(fret-diagram-details dot-color) = #'black
- \once \override FretBoard
- #'(fret-diagram-details finger-code) = #'below-string
+ \once \override FretBoard.size = #'1.0
+ \once \override FretBoard.fret-diagram-details.barre-type = #'straight
+ \once \override FretBoard.fret-diagram-details.dot-color = #'black
+ \once \override FretBoard.fret-diagram-details.finger-code = #'below-string
c'
- \once \override FretBoard
- #'(fret-diagram-details barre-type) = #'none
- \once \override FretBoard
- #'(fret-diagram-details number-type) = #'arabic
- \once \override FretBoard
- #'(fret-diagram-details orientation) = #'landscape
- \once \override FretBoard
- #'(fret-diagram-details mute-string) = #"M"
- \once \override FretBoard
- #'(fret-diagram-details label-dir) = #LEFT
- \once \override FretBoard
- #'(fret-diagram-details dot-color) = #'black
+ \once \override FretBoard.fret-diagram-details.barre-type = #'none
+ \once \override FretBoard.fret-diagram-details.number-type = #'arabic
+ \once \override FretBoard.fret-diagram-details.orientation = #'landscape
+ \once \override FretBoard.fret-diagram-details.mute-string = #"M"
+ \once \override FretBoard.fret-diagram-details.label-dir = #LEFT
+ \once \override FretBoard.fret-diagram-details.dot-color = #'black
c'
- \once \override FretBoard
- #'(fret-diagram-details finger-code) = #'below-string
- \once \override FretBoard
- #'(fret-diagram-details dot-radius) = #0.35
- \once \override FretBoard
- #'(fret-diagram-details dot-position) = #0.5
- \once \override FretBoard
- #'(fret-diagram-details fret-count) = #3
+ \once \override FretBoard.fret-diagram-details.finger-code = #'below-string
+ \once \override FretBoard.fret-diagram-details.dot-radius = #0.35
+ \once \override FretBoard.fret-diagram-details.dot-position = #0.5
+ \once \override FretBoard.fret-diagram-details.fret-count = #3
d
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
\new Voice = "mel" {
\textLengthOn
% Set global properties of fret diagram
- \override TextScript #'size = #'1.2
- \override TextScript
- #'(fret-diagram-details finger-code) = #'in-dot
- \override TextScript
- #'(fret-diagram-details dot-color) = #'white
+ \override TextScript.size = #'1.2
+ \override TextScript.fret-diagram-details.finger-code = #'in-dot
+ \override TextScript.fret-diagram-details.dot-color = #'white
%% C major for guitar, no barre, using defaults
% terse style
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations"
\relative c'' {
a4 b c b
- \override Stem #'neutral-direction = #up
+ \override Stem.neutral-direction = #up
a4 b c b
- \override Stem #'neutral-direction = #down
+ \override Stem.neutral-direction = #down
a4 b c b
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
\set Staff.stringTunings = #cuatroTuning
% \override FretBoard
% #'(fret-diagram-details string-count) = #'4
- \override FretBoard
- #'(fret-diagram-details finger-code) = #'in-dot
+ \override FretBoard.fret-diagram-details.finger-code = #'in-dot
\primeros
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'base-shortest-duration = #(ly:make-moment 1 16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
\midi { }
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, tweaks-and-overrides"
\score {
\new StaffGroup <<
% Must be lower than the actual number of staff lines
- \override StaffGroup.SystemStartBracket #'collapse-height = #1
- \override Score.SystemStartBar #'collapse-height = #1
+ \override StaffGroup.SystemStartBracket.collapse-height = #1
+ \override Score.SystemStartBar.collapse-height = #1
\new Staff {
c'1
}
\null
\score {
\new PianoStaff <<
- \override PianoStaff.SystemStartBrace #'collapse-height = #1
- \override Score.SystemStartBar #'collapse-height = #1
+ \override PianoStaff.SystemStartBrace.collapse-height = #1
+ \override Score.SystemStartBar.collapse-height = #1
\new Staff {
c'1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "chords, simultaneous-notes, workaround"
} % begin verbatim
fixA = {
- \once \override Stem #'length = #9
+ \once \override Stem.length = #9
}
fixB = {
- \once \override NoteHead #'X-offset = #1.7
- \once \override Stem #'rotation = #'(45 0 0)
- \once \override Stem #'extra-offset = #'(-0.2 . -0.2)
- \once \override Flag #'style = #'no-flag
- \once \override Accidental #'extra-offset = #'(4 . 0)
+ \once \override NoteHead.X-offset = #1.7
+ \once \override Stem.rotation = #'(45 0 0)
+ \once \override Stem.extra-offset = #'(-0.2 . -0.2)
+ \once \override Flag.style = #'no-flag
+ \once \override Accidental.extra-offset = #'(4 . 0)
}
\relative c' {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "devel, scheme-language, tweaks-and-overrides"
@{
- \\once \\override NoteHead #'before-line-breaking = #display-ancestry
+ \\once \\override NoteHead.before-line-breaking = #display-ancestry
c @}
(format-ancestry (get-ancestry grob) 0)))
\relative c' {
- \once \override NoteHead #'before-line-breaking = #display-ancestry
+ \once \override NoteHead.before-line-breaking = #display-ancestry
f4
- \once \override Accidental #'before-line-breaking = #display-ancestry
- \once \override Arpeggio #'before-line-breaking = #display-ancestry
+ \once \override Accidental.before-line-breaking = #display-ancestry
+ \once \override Arpeggio.before-line-breaking = #display-ancestry
<f as c>4\arpeggio
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, scheme-language, tweaks-and-overrides"
\relative c'' {
- \override TextScript #'stencil =
+ \override TextScript.stencil =
#(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
c'4^"foo"
- \override Stem #'stencil =
+ \override Stem.stencil =
#(make-stencil-boxer 0.05 0.25 ly:stem::print)
- \override Score.RehearsalMark #'stencil =
+ \override Score.RehearsalMark.stencil =
#(make-stencil-boxer 0.15 0.3 ly:text-interface::print)
b8
- \revert Stem #'stencil
+ \revert Stem.stencil
- \revert Flag #'stencil
+ \revert Flag.stencil
c4. c4
\mark "F"
c1
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations"
} % begin verbatim
circle =
-\once \override NoteHead #'stencil = #(lambda (grob)
+\once \override NoteHead.stencil = #(lambda (grob)
(let* ((note (ly:note-head::print grob))
(combo-stencil (ly:stencil-add
note
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, scheme-language, tweaks-and-overrides"
\circle \finger 2
}
}
- \override Score.BarNumber #'break-visibility = #all-visible
- \override Score.BarNumber #'stencil =
+ \override Score.BarNumber.break-visibility = #all-visible
+ \override Score.BarNumber.stencil =
#(make-stencil-circler 0.1 0.25 ly:text-interface::print)
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
|
e'4-2
r8
- \once \override Script #'script-priority = #-100
+ \once \override Script.script-priority = #-100
\afterGrace
f'8 ( \trill ^ \markup { \finger "3-2" }
{ e'16 [ f'16 ] }
\new Staff {
\key af \major
\clef treble
- \override Fingering #'direction = #down
+ \override Fingering.direction = #down
\set Staff.fingeringOrientations = #'(down)
\partial 8
<af' af>8 \staccato
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c' {
<c e g>2~ <c e g>
- \override TieColumn #'tie-configuration =
+ \override TieColumn.tie-configuration =
#'((0.0 . 1) (-2.0 . 1) (-4.0 . 1))
<c e g>2~ <c e g>
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "repeats, rhythms"
\relative c'' {
\repeat tremolo 8 { a32 f }
- \override Beam #'gap-count = #1
+ \override Beam.gap-count = #1
\repeat tremolo 8 { a32 f }
- \override Beam #'gap-count = #2
+ \override Beam.gap-count = #2
\repeat tremolo 8 { a32 f }
- \override Beam #'gap-count = #3
+ \override Beam.gap-count = #3
\repeat tremolo 8 { a32 f }
- \override Beam #'gap-count = #3
- \override Beam #'gap = #1.33
+ \override Beam.gap-count = #3
+ \override Beam.gap = #1.33
\repeat tremolo 8 { a32 f }
- \override Beam #'gap = #1
+ \override Beam.gap = #1
\repeat tremolo 8 { a32 f }
- \override Beam #'gap = #0.67
+ \override Beam.gap = #0.67
\repeat tremolo 8 { a32 f }
- \override Beam #'gap = #0.33
+ \override Beam.gap = #0.33
\repeat tremolo 8 { a32 f }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
%\layout {
% \context {
% \Score
-% \override SpacingSpanner #'base-shortest-duration =
+% \override SpacingSpanner.base-shortest-duration =
% #(ly:make-moment 1 20)
% }
%}
\key g \major
\time 6/8
\partial 2
- \once \override TextScript #'staff-padding = #2
+ \once \override TextScript.staff-padding = #2
d'8 \staccato
^ \markup { \column {
RONDO
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
\new FiguredBass \figuremode {
\set figuredBassAlterationDirection = #RIGHT
\set figuredBassPlusDirection = #RIGHT
- \override BassFigureAlignment #'stacking-dir = #DOWN
+ \override BassFigureAlignment.stacking-dir = #DOWN
s8 |
s4 <6>4 <_+>4 <6>4 |
<6 4\+ 2>8 <6>8 <_+> s8 s2 |
\layout {
\context {
\Score
- \override RehearsalMark #'break-align-symbols = #'(time-signature)
- \override RehearsalMark #'self-alignment-X = #LEFT
- \override TimeSignature #'break-align-anchor-alignment = #LEFT
+ \override RehearsalMark.break-align-symbols = #'(time-signature)
+ \override RehearsalMark.self-alignment-X = #LEFT
+ \override TimeSignature.break-align-anchor-alignment = #LEFT
}
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "keyboards, tweaks-and-overrides"
\relative c'' {
c2\sostenutoOn c
c2\sostenutoOff c
- \once \override Staff.PianoPedalBracket #'shorten-pair = #'(-7 . -2)
+ \once \override Staff.PianoPedalBracket.shorten-pair = #'(-7 . -2)
c2\sostenutoOn c
c2\sostenutoOff c
- \once \override Staff.PianoPedalBracket #'edge-height = #'(0 . 3)
+ \once \override Staff.PianoPedalBracket.edge-height = #'(0 . 3)
c2\sostenutoOn c
c2\sostenutoOff c
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "symbols-and-glyphs, winds"
} % begin verbatim
centermarkup = {
- \once \override TextScript #'self-alignment-X = #CENTER
- \once \override TextScript #'X-offset =#(ly:make-simple-closure
+ \once \override TextScript.self-alignment-X = #CENTER
+ \once \override TextScript.X-offset =#(ly:make-simple-closure
`(,+
,(ly:make-simple-closure (list
ly:self-alignment-interface::centered-on-x-parent))
{\relative c'
{
g\open
- \once \override TextScript #'staff-padding = #-1.0 \centermarkup
+ \once \override TextScript.staff-padding = #-1.0 \centermarkup
g^\markup{\combine \musicglyph #"scripts.open" \musicglyph
#"scripts.tenuto"}
\centermarkup g^\markup{\combine \musicglyph #"scripts.open"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings, specific-notation, stylesheet, version-specific"
% Just handy :)
tupletOff = {
- \once \override TupletNumber #'stencil = ##f
- \once \override TupletBracket #'stencil = ##f
+ \once \override TupletNumber.stencil = ##f
+ \once \override TupletBracket.stencil = ##f
}
tupletsOff = {
- \override TupletNumber #'stencil = ##f
- \override TupletBracket #'bracket-visibility = #'if-no-beam
+ \override TupletNumber.stencil = ##f
+ \override TupletBracket.bracket-visibility = #'if-no-beam
}
tupletsOn = {
- \override TupletBracket #'bracket-visibility = #'default
- \revert TupletNumber #'stencil
+ \override TupletBracket.bracket-visibility = #'default
+ \revert TupletNumber.stencil
}
headsOff = {
- \override TabNoteHead #'transparent = ##t
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
+ \override TabNoteHead.transparent = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
}
headsOn = {
- \override TabNoteHead #'transparent = ##f
- \override NoteHead #'transparent = ##f
- \override NoteHead #'no-ledgers = ##f
+ \override TabNoteHead.transparent = ##f
+ \override NoteHead.transparent = ##f
+ \override NoteHead.no-ledgers = ##f
}
%%%%%%% Cut here ----- End 'flamenco.ly'
}
\tupletsOff
- \override Beam #'positions = #'(2 . 2)
+ \override Beam.positions = #'(2 . 2)
\times 2/3 {
a8^\markup{ \small p }
<e' a>^\strokeUpGolpe
}
\tupletsOn
- \once \override TextScript #'extra-offset = #'(0 . -1)
+ \once \override TextScript.extra-offset = #'(0 . -1)
<g, b f'>1_\golpe^\mUp
\bar "|."
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, winds"
slap =
#(define-music-function (parser location music) (ly:music?)
#{
- \override NoteHead #'stencil =
+ \override NoteHead.stencil =
#(lambda (grob)
(grob-interpret-markup grob
(markup #:musicglyph "scripts.sforzato")))
- \override NoteHead #'stem-attachment =
+ \override NoteHead.stem-attachment =
#(lambda (grob)
(let* ((thickness (ly:staff-symbol-line-thickness grob))
(stem (ly:grob-object grob 'stem))
0)
(/ thickness 2)))))
$music
- \revert NoteHead #'stencil
- \revert NoteHead #'stem-attachment
+ \revert NoteHead.stencil
+ \revert NoteHead.stem-attachment
#})
\relative c' {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "simultaneous-notes, tweaks-and-overrides"
\\
{
<b f'>2
- \once \override NoteColumn #'force-hshift = #1.7
+ \once \override NoteColumn.force-hshift = #1.7
<b f'>2
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "vocal-music"
}
\addlyrics {
syl -- lab word word
- \override LyricHyphen #'minimum-distance = #1.0
+ \override LyricHyphen.minimum-distance = #1.0
syl -- lab word word
- \override LyricHyphen #'minimum-distance = #2.0
+ \override LyricHyphen.minimum-distance = #2.0
syl -- lab word word
- \revert LyricHyphen #'minimum-distance
+ \revert LyricHyphen.minimum-distance
syl -- lab word word
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, workaround"
R1
R1
- \override Score.MetronomeMark #'extra-spacing-width = #'(0 . 0)
+ \override Score.MetronomeMark.extra-spacing-width = #'(0 . 0)
\example
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
\new Voice = "mel" {
\textLengthOn
% Set global properties of fret diagram
- \override TextScript #'size = #1.2
- \override TextScript
- #'fret-diagram-details #'finger-code = #'below-string
- \override TextScript #'fret-diagram-details #'dot-color = #'black
+ \override TextScript.size = #1.2
+ \override TextScript.fret-diagram-details.finger-code = #'below-string
+ \override TextScript.fret-diagram-details.dot-color = #'black
%% A chord for ukulele
a'2^\markup {
}
% These chords will be in landscape orientation
- \override TextScript
- #'fret-diagram-details #'orientation = #'landscape
+ \override TextScript.fret-diagram-details.orientation = #'landscape
%% C major for guitar, barred on third fret
% verbose style
}
% These chords will be in opposing-landscape orientation
- \override TextScript #'fret-diagram-details
- #'orientation = #'opposing-landscape
+ \override TextScript.fret-diagram-details.orientation = #'opposing-landscape
%% C major for guitar, barred on third fret
% verbose style
% on melodies from Bellini's "Norma" %
%*****************************************************************%
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
% define fingering offset
FO = #(define-music-function (parser location offsetX offsetY) (number? number?)
#{
- \once \override Voice.Fingering #'extra-offset = #(cons offsetX offsetY)
+ \once \override Voice.Fingering.extra-offset = #(cons offsetX offsetY)
#})
% markups
%% new section starts here in A minor
\set Score.beamExceptions = #'()
- \once \override TextScript #'staff-padding = #1.7
+ \once \override TextScript.staff-padding = #1.7
\times 2/3 { a8\p^\andantino e' a c a e a, e' a c a e } | % m. 5
\times 2/3 { a,8\pdolce e' a c a e } % beg m. 6
\layout {
\context {
\Score
- \override Fingering #'staff-padding = #'()
- \override TupletNumber #'stencil = ##f
- \override TupletBracket #'bracket-visibility = ##f
+ \override Fingering.staff-padding = #'()
+ \override TupletNumber.stencil = ##f
+ \override TupletBracket.bracket-visibility = ##f
}
}
\midi { }
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
pinchedHarmonics = {
\textSpannerDown
- \override TextSpanner #'bound-details #'left #'text =
+ \override TextSpanner.bound-details.left.text =
\markup {\halign #-0.5 \teeny "PH" }
- \override TextSpanner #'style =
+ \override TextSpanner.style =
#'dashed-line
- \override TextSpanner #'dash-period = #0.6
- \override TextSpanner #'bound-details #'right #'attach-dir = #1
- \override TextSpanner #'bound-details #'right #'text =
+ \override TextSpanner.dash-period = #0.6
+ \override TextSpanner.bound-details.right.attach-dir = #1
+ \override TextSpanner.bound-details.right.text =
\markup { \draw-line #'(0 . 1) }
- \override TextSpanner #'bound-details #'right #'padding = #-0.5
+ \override TextSpanner.bound-details.right.padding = #-0.5
}
harmonics = {
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
snippetexamplenotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 }
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 1/4
\mark "Normal flags"
\snippetexamplenotes
\mark "Custom flag: inverted"
- \override Flag #'stencil = #inverted-flag
+ \override Flag.stencil = #inverted-flag
\snippetexamplenotes
\mark "Custom flag: weight"
- \override Flag #'stencil = #weight-flag
+ \override Flag.stencil = #weight-flag
\snippetexamplenotes
\mark "Revert to normal"
- \revert Flag #'stencil
+ \revert Flag.stencil
\snippetexamplenotes
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
\relative c' {
a2 \glissando
- \once \override NoteColumn #'glissando-skip = ##t
+ \once \override NoteColumn.glissando-skip = ##t
f''4 d,
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations"
\new Staff {
\relative c {
% this moves them up one staff space from the default position
- \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
+ \override Score.GridLine.extra-offset = #'(0.0 . 1.0)
\stemDown
\clef bass
- \once \override Score.GridLine #'thickness = #5.0
+ \once \override Score.GridLine.thickness = #5.0
c4
- \once \override Score.GridLine #'thickness = #1.0
+ \once \override Score.GridLine.thickness = #1.0
g'4
- \once \override Score.GridLine #'thickness = #3.0
+ \once \override Score.GridLine.thickness = #3.0
f4
- \once \override Score.GridLine #'thickness = #5.0
+ \once \override Score.GridLine.thickness = #5.0
e4
}
}
\Score
\consists "Grid_line_span_engraver"
% this moves them to the right half a staff space
- \override NoteColumn #'X-offset = #-0.5
+ \override NoteColumn.X-offset = #-0.5
}
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations"
\new Staff {
% hides staff and notes so that only the grid lines are visible
\hideNotes
- \override Staff.BarLine #'transparent = ##t
- \override Staff.StaffSymbol #'line-count = #0
- \override Staff.TimeSignature #'transparent = ##t
- \override Staff.Clef #'transparent = ##t
+ \override Staff.BarLine.transparent = ##t
+ \override Staff.StaffSymbol.line-count = #0
+ \override Staff.TimeSignature.transparent = ##t
+ \override Staff.Clef.transparent = ##t
% dummy notes to force regular note spacing
- \once \override Score.GridLine #'thickness = #4.0
+ \once \override Score.GridLine.thickness = #4.0
c8 c c
- \once \override Score.GridLine #'thickness = #3.0
+ \once \override Score.GridLine.thickness = #3.0
c8 c c
- \once \override Score.GridLine #'thickness = #4.0
+ \once \override Score.GridLine.thickness = #4.0
c8 c c
- \once \override Score.GridLine #'thickness = #3.0
+ \once \override Score.GridLine.thickness = #3.0
c8 c c
}
>>
\Score
\consists "Grid_line_span_engraver"
% center grid lines horizontally below note heads
- \override NoteColumn #'X-offset = #-0.5
+ \override NoteColumn.X-offset = #-0.5
}
\context {
\Staff
% set line length and positioning:
% two staff spaces above center line on hidden staff
% to four spaces below center line on visible staff
- \override GridPoint #'Y-extent = #'(2 . -4)
+ \override GridPoint.Y-extent = #'(2 . -4)
}
ragged-right = ##t
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
%% Hide fret number: useful to draw slide into/from a casual point of
%% the fretboard.
hideFretNumber = {
- \once \override TabNoteHead #'transparent = ##t
- \once \override NoteHead #'transparent = ##t
- \once \override Stem #'transparent = ##t
- \once \override Flag #'transparent = ##t
- \once \override NoteHead #'no-ledgers = ##t
- \once \override Glissando #'(bound-details left padding) = #0.3
+ \once \override TabNoteHead.transparent = ##t
+ \once \override NoteHead.transparent = ##t
+ \once \override Stem.transparent = ##t
+ \once \override Flag.transparent = ##t
+ \once \override NoteHead.no-ledgers = ##t
+ \once \override Glissando.bound-details.left.padding = #0.3
}
music= \relative c' {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c' {
c2\< c\!
- \override Hairpin #'style = #'dashed-line
+ \override Hairpin.style = #'dashed-line
c2\< c\!
- \override Hairpin #'style = #'dotted-line
+ \override Hairpin.style = #'dotted-line
c2\< c\!
- \override Hairpin #'style = #'line
+ \override Hairpin.style = #'line
c2\< c\!
- \override Hairpin #'style = #'trill
+ \override Hairpin.style = #'trill
c2\< c\!
- \override Hairpin #'style = #'zigzag
+ \override Hairpin.style = #'zigzag
c2\< c\!
- \revert Hairpin #'style
+ \revert Hairpin.style
c2\< c\!
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.5"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, percussion, real-music, rhythms"
\set Staff.instrumentName = #"Bb Sop."
\key g \major
\time #'(3 2 2 3 2 2 2 2 3 2 2) 25/8
- \override Staff.TimeSignature #'stencil =
+ \override Staff.TimeSignature.stencil =
#(custom-time-signature "3" "2" "2" "3" "2" "2"
"2" "2" "3" "2" "2" "8")
c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "pitches"
} % begin verbatim
\relative c'' {
- \override Accidental #'hide-tied-accidental-after-break = ##t
+ \override Accidental.hide-tied-accidental-after-break = ##t
cis1~ cis~
\break
cis
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
\relative c'' {
- \override DynamicTextSpanner #'style = #'none
+ \override DynamicTextSpanner.style = #'none
\crescTextCresc
c1\< | d | b | c\!
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "correction-wanted, expressive-marks, tweaks-and-overrides, version-specific"
To correctly align the @qq{sempre pp} horizontally, so that it is
aligned as if it were only the \\pp, there are several approaches:
-* Simply use @code{\\once\\override DynamicText #'X-offset = #-9.2}
+* Simply use @code{\\once\\override DynamicText.X-offset = #-9.2}
before the note with the dynamics to manually shift it to the correct
position. Drawback: This has to be done manually each time you use that
dynamic markup... * Add some padding (@code{#:hspace 7.1}) into the
\set Staff.instrumentName = \markup \column { Explicit shifting }
\relative c'' {
\key es \major
- \once \override DynamicText #'X-offset = #-9.2
+ \once \override DynamicText.X-offset = #-9.2
c4\semppK c\p c c
c4\ff c
- \once \override DynamicText #'X-offset = #-9.2
+ \once \override DynamicText.X-offset = #-9.2
c4\semppK c
}
>>
\relative c'' {
\key es \major
% Setting to ##f (false) gives the same result
- \override DynamicText #'X-offset = #0
+ \override DynamicText.X-offset = #0
c4\semppMII c\p c c | c\ff c c\semppMII c
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings, specific-notation, tweaks-and-overrides"
{
a8:13
% THE FOLLOWING IS THE COMMAND TO MOVE THE CHORD NAME
- \once \override ChordNames.ChordName #'extra-offset = #'(10 . 0)
+ \once \override ChordNames.ChordName.extra-offset = #'(10 . 0)
b8:13 s2.
% THIS LINE IS THE SECOND METHOD
s4 s4 b4:13
\context Staff
{a8^\markup { \fret-diagram #"6-x;5-0;4-2;3-0;2-0;1-2;" }
% THE FOLLOWING IS THE COMMAND TO MOVE THE FRET DIAGRAM
- \once \override TextScript #'extra-offset = #'(10 . 0)
+ \once \override TextScript.extra-offset = #'(10 . 0)
b4.~^\markup { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" } b4. a8\break
% HERE IS THE SECOND METHOD
<<
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, expressive-marks, staff-notation, tweaks-and-overrides"
\relative c'{
c d e f |
- \once \override Score.RehearsalMark #'extra-offset = #'(0 . -8.5)
- \once \override Score.RehearsalMark #'baseline-skip = #9
+ \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5)
+ \once \override Score.RehearsalMark.baseline-skip = #9
\mark \markup \center-column { \circle 1 \box A }
g f e d |
- \once \override Score.RehearsalMark #'extra-offset = #'(0 . -8.5)
- \once \override Score.RehearsalMark #'baseline-skip = #9
+ \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5)
+ \once \override Score.RehearsalMark.baseline-skip = #9
\mark \markup \center-column { \flat { \bold \small \italic Fine. } }
g f e d |
- \once \override Score.RehearsalMark #'extra-offset = #'(0 . -8.5)
- \once \override Score.RehearsalMark #'baseline-skip = #9
- \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
+ \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5)
+ \once \override Score.RehearsalMark.baseline-skip = #9
+ \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible
\mark \markup \center-column { \musicglyph #"scripts.ufermata" \box z }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, expressive-marks, staff-notation, tweaks-and-overrides"
\new Voice \with {
\consists Mark_engraver
\consists "Staff_collecting_engraver"
- \override RehearsalMark #'direction = #DOWN
+ \override RehearsalMark.direction = #DOWN
}
{ s4 s s s
\mark \markup { \circle 1 }
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, ancient-notation, really-cool"
incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
#{
- \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
- \once \override Staff.InstrumentName #'self-alignment-Y = #UP
- \once \override Staff.InstrumentName #'Y-offset =
+ \once \override Staff.InstrumentName.self-alignment-X = #RIGHT
+ \once \override Staff.InstrumentName.self-alignment-Y = #UP
+ \once \override Staff.InstrumentName.Y-offset =
#(lambda (grob)
(+ 4 (system-start-text::calc-y-offset grob)))
- \once \override Staff.InstrumentName #'padding = #0.3
- \once \override Staff.InstrumentName #'stencil =
+ \once \override Staff.InstrumentName.padding = #0.3
+ \once \override Staff.InstrumentName.stencil =
#(lambda (grob)
(let* ((instrument-name (ly:grob-property grob 'long-text)))
(set! (ly:grob-property grob 'long-text)
{
{ \context MensuralStaff \with {
instrumentName = #instrument-name
- \override VerticalAxisGroup
- #'Y-extent = #'(-4 . 4)
+ \override VerticalAxisGroup.Y-extent = #'(-4 . 4)
} $incipit-music
}
\layout { $(ly:grob-layout grob)
\skip 1*8
% let finis bar go through all staves
- \override Staff.BarLine #'transparent = ##f
+ \override Staff.BarLine.transparent = ##f
% finis bar
\bar "|."
c'4 e'4.( d'8 c' b |
a4) b a2 |
b4.( c'8 d'4) c'4 |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
c'1 |
b\breve |
}
a2 g4 e |
fis g4.( fis16 e fis4) |
g1 |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
g1 |
g\breve |
}
R1 |
% two measures
r2 d'2. d'4 b e' |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
e'1 |
d'\breve |
}
R1 |
R1 |
g2. e4 |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
e1 |
g\breve |
}
\context {
\Score
%% no bar lines in staves or lyrics
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
}
%% the next two instructions keep the lyrics between the bar lines
\context {
\context {
\Voice
%% no slurs
- \override Slur #'transparent = ##t
+ \override Slur.transparent = ##t
%% Comment in the below "\remove" command to allow line
%% breaking also at those bar lines where a note overlaps
%% into the next measure. The command is commented out in this
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "keyboards, real-music"
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
- \override PianoStaff.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
+ \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
\new Staff {
\relative c' {
\key b \major
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c'' {
- \override BreathingSign #'text = \markup {
+ \override BreathingSign.text = \markup {
\musicglyph #"scripts.caesura.straight"
}
c8 e4. \breathe g8. e16 c4
- \override BreathingSign #'text = \markup {
+ \override BreathingSign.text = \markup {
\musicglyph #"scripts.caesura.curved"
}
g8 e'4. \breathe g8. e16 c4
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
sl = {
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
nsl = {
- \revert NoteHead #'style
- \revert Stem #'transparent
- \revert Flag #'transparent
+ \revert NoteHead.style
+ \revert Stem.transparent
+ \revert Flag.transparent
}
-crOn = \override NoteHead #'style = #'cross
-crOff = \revert NoteHead #'style
+crOn = \override NoteHead.style = #'cross
+crOff = \revert NoteHead.style
%% insert chord name style stuff here.
\context { \Staff \RemoveEmptyStaves }
\context {
\Score
- \override BarNumber #'padding = #3
- \override RehearsalMark #'padding = #2
+ \override BarNumber.padding = #3
+ \override RehearsalMark.padding = #2
skipBars = ##t
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "pitches, tweaks-and-overrides"
c1
\clef "treble"
c1
- \override Staff.Clef #'full-size-change = ##t
+ \override Staff.Clef.full-size-change = ##t
\clef "bass"
c1
\clef "treble"
c1
- \revert Staff.Clef #'full-size-change
+ \revert Staff.Clef.full-size-change
\clef "bass"
c1
\clef "treble"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
>>
\clef bass
<ds b! es'>4 ( ^ \markup \bold { Rall. }
- \override Script #'stencil = #(lambda (grob)
+ \override Script.stencil = #(lambda (grob)
(grob-interpret-markup grob fermataLong))
<ds' as'>8 ) \fermata
\noBeam
\clef treble
\slurUp
- \once \override Hairpin #'to-barline = ##f
+ \once \override Hairpin.to-barline = ##f
<as fs'>8 ( \pp \>
|
<gs b cs'>4. \! ) ^\markup \bold { a Tempo }
|
s4. \!
\slurUp
- \once \override Script #'direction = #UP
+ \once \override Script.direction = #UP
<a bs e'>8 ( \accent
|
<as! cs' gs'>4. )
- \once \override Hairpin #'to-barline = ##f
+ \once \override Hairpin.to-barline = ##f
<a' bs'>8 \ppp \>
|
s8 \!
\stemDown
- \once \override Script #'direction = #UP
+ \once \override Script.direction = #UP
\ottava #1
\voiceOne
- \once \override PianoStaff.Arpeggio #'padding = #0.8
+ \once \override PianoStaff.Arpeggio.padding = #0.8
<cs''' as''' cs''''>4. \arpeggio \fermata
\ottava #0
\bar "|."
cs'8
< ds as >8 ] )
|
- \once \override Script #'outside-staff-priority = #100
- \once \override TextScript #'outside-staff-priority = #500
+ \once \override Script.outside-staff-priority = #100
+ \once \override TextScript.outside-staff-priority = #500
<cs, gs,>4. \fermata _\markup \italic { ped. }
<fs, cs>8 (
|
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "connecting-notes, contemporary-notation, expressive-marks, fretted-strings, keyboards, specific-notation"
<c d f g>4\laissezVibrer r <c d f g>4.\laissezVibrer r8
<c d e f>4\laissezVibrer r
- \override LaissezVibrerTieColumn #'tie-configuration
+ \override LaissezVibrerTieColumn.tie-configuration
= #`((-7 . ,DOWN)
(-5 . ,DOWN)
(-3 . ,UP)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c'' {
- \override TextSpanner #'bound-padding = #1.0
- \override TextSpanner #'style = #'line
- \override TextSpanner #'(bound-details right arrow) = ##t
- \override TextSpanner #'(bound-details left text) = #"fof"
- \override TextSpanner #'(bound-details right text) = #"gag"
- \override TextSpanner #'(bound-details right padding) = #0.6
-
- \override TextSpanner #'(bound-details right stencil-align-dir-y) = #CENTER
- \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
-
- \override Glissando #'(bound-details right arrow) = ##t
- \override Glissando #'arrow-length = #0.5
- \override Glissando #'arrow-width = #0.25
+ \override TextSpanner.bound-padding = #1.0
+ \override TextSpanner.style = #'line
+ \override TextSpanner.bound-details.right.arrow = ##t
+ \override TextSpanner.bound-details.left.text = #"fof"
+ \override TextSpanner.bound-details.right.text = #"gag"
+ \override TextSpanner.bound-details.right.padding = #0.6
+
+ \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
+ \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
+
+ \override Glissando.bound-details.right.arrow = ##t
+ \override Glissando.arrow-length = #0.5
+ \override Glissando.arrow-width = #0.25
a8\startTextSpan gis a4 b\glissando b,
g'4 c\stopTextSpan c2
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "really-simple, text, vocal-music"
c1
}
\addlyrics {
- \once \override LyricText #'self-alignment-X = #LEFT
+ \once \override LyricText.self-alignment-X = #LEFT
"This is left-aligned"
- \once \override LyricText #'self-alignment-X = #CENTER
+ \once \override LyricText.self-alignment-X = #CENTER
"This is centered"
- \once \override LyricText #'self-alignment-X = #1
+ \once \override LyricText.self-alignment-X = #1
"This is right-aligned"
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
\time 2/4
<<
{
- \once \override Stem #'transparent = ##t
- \once \override Stem #'length = #8
+ \once \override Stem.transparent = ##t
+ \once \override Stem.length = #8
b8 ~ b\noBeam
- \once \override Stem #'transparent = ##t
- \once \override Stem #'length = #8
+ \once \override Stem.transparent = ##t
+ \once \override Stem.length = #8
g8 ~ g\noBeam
}
\\
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, tweaks-and-overrides"
glissandoSkipOn = {
- \override NoteColumn #'glissando-skip = ##t
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
+ \override NoteColumn.glissando-skip = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
}
\relative c'' {
- \override Glissando #'breakable = ##t
- \override Glissando #'after-line-breaking = ##t
+ \override Glissando.breakable = ##t
+ \override Glissando.after-line-breaking = ##t
f1\glissando |
\break
a4 r2. |
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, rhythms"
\relative c' {
\once \override
- Slur #'dash-definition = #'((0 0.3 0.1 0.75)
+ Slur.dash-definition = #'((0 0.3 0.1 0.75)
(0.3 0.6 1 1)
(0.65 1.0 0.4 0.75))
c4( d e f)
\once \override
- Slur #'dash-definition = #'((0 0.25 1 1)
+ Slur.dash-definition = #'((0 0.25 1 1)
(0.3 0.7 0.4 0.75)
(0.75 1.0 1 1))
c4( d e f)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, really-cool, staff-notation, workaround"
} % begin verbatim
{
- \override Staff.StaffSymbol #'line-positions =
+ \override Staff.StaffSymbol.line-positions =
#'(-4 -2 -0.2 0 0.2 2 4)
d'4 e' f' g'
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "connecting-notes, rhythms, tweaks-and-overrides"
\relative c' {
\time 2/4
% from upper staff-line (position 2) to center (position 0)
- \override Beam #'positions = #'(2 . 0)
+ \override Beam.positions = #'(2 . 0)
c8 c
% from center to one above center (position 1)
- \override Beam #'positions = #'(0 . 1)
+ \override Beam.positions = #'(0 . 1)
c8 c
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, editorial-annotations, vocal-music, workaround"
speakOn = {
- \override Stem #'stencil =
+ \override Stem.stencil =
#(lambda (grob)
(let* ((x-parent (ly:grob-parent grob X))
(is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
}
speakOff = {
- \revert Stem #'stencil
- \revert Flag #'stencil
+ \revert Stem.stencil
+ \revert Flag.stencil
}
\score {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, repeats, staff-notation, workaround"
}
\context Voice = "foo" {
\set countPercentRepeats = ##t
- \override PercentRepeat #'transparent = ##t
- \override PercentRepeatCounter #'staff-padding = #1
+ \override PercentRepeat.transparent = ##t
+ \override PercentRepeatCounter.staff-padding = #1
\repeat percent 4 { s1 }
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, contexts-and-engravers, staff-notation, tweaks-and-overrides"
global = {
- \override Staff.BarLine #'transparent = ##t
+ \override Staff.BarLine.transparent = ##t
s1 s
% the final bar line is not interrupted
- \revert Staff.BarLine #'transparent
+ \revert Staff.BarLine.transparent
\bar "|."
}
\new StaffGroup \relative c'' {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "really-simple, rhythms, version-specific"
} % begin verbatim
-normalPos = \revert MultiMeasureRest #'staff-position
+normalPos = \revert MultiMeasureRest.staff-position
{
<<
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
\new Staff \relative c' <<
{ f2. f4
- \override Staff.NoteCollision #'prefer-dotted-right = ##f
+ \override Staff.NoteCollision.prefer-dotted-right = ##f
f2. f4
- \override Staff.NoteCollision #'prefer-dotted-right = ##t
+ \override Staff.NoteCollision.prefer-dotted-right = ##t
f2. f4
}
\\
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c' {
\stemDown
e4( a)
- \override Slur #'positions = #'(1 . 1)
+ \override Slur.positions = #'(1 . 1)
e4( a)
- \override Slur #'positions = #'(2 . 2)
+ \override Slur.positions = #'(2 . 2)
e4( a)
- \override Slur #'positions = #'(3 . 3)
+ \override Slur.positions = #'(3 . 3)
e4( a)
- \override Slur #'positions = #'(4 . 4)
+ \override Slur.positions = #'(4 . 4)
e4( a)
- \override Slur #'positions = #'(5 . 5)
+ \override Slur.positions = #'(5 . 5)
e4( a)
- \override Slur #'positions = #'(0 . 5)
+ \override Slur.positions = #'(0 . 5)
e4( a)
- \override Slur #'positions = #'(5 . 0)
+ \override Slur.positions = #'(5 . 0)
e4( a)
\stemUp
- \override Slur #'positions = #'(-5 . -5)
+ \override Slur.positions = #'(-5 . -5)
e4( a)
\stemDown
- \revert Slur #'positions
+ \revert Slur.positions
e4( a)
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, vocal-music"
(string? string? ly:dir? ly:music?)
#{
\cueDuring $instrument #dir {
- \once \override TextScript #'self-alignment-X = #RIGHT
- \once \override TextScript #'direction = $dir
+ \once \override TextScript.self-alignment-X = #RIGHT
+ \once \override TextScript.direction = $dir
<>-\markup { \tiny #name }
$music
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
}
glissandoSkipOn = {
- \override NoteColumn #'glissando-skip = ##t
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
+ \override NoteColumn.glissando-skip = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
}
glissandoSkipOff = {
- \revert NoteColumn #'glissando-skip
- \revert NoteHead #'transparent
- \revert NoteHead #'no-ledgers
+ \revert NoteColumn.glissando-skip
+ \revert NoteHead.transparent
+ \revert NoteHead.no-ledgers
}
\relative c'' {
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, symbols-and-glyphs"
\context VaticanaVoice <<
\transpose c c {
- \override NoteHead #'style = #'vaticana.punctum
+ \override NoteHead.style = #'vaticana.punctum
\key es \major
\clef "vaticana-fa2"
c1 des e f ges
- \override NoteHead #'style = #'vaticana.inclinatum
+ \override NoteHead.style = #'vaticana.inclinatum
a! b ces'
\bar "|"
% \break % 1 (8*1)
- \override NoteHead #'style = #'vaticana.quilisma
+ \override NoteHead.style = #'vaticana.quilisma
b! des'! ges! fes!
\breathe
\clef "vaticana-fa1"
- \override NoteHead #'style = #'vaticana.plica
+ \override NoteHead.style = #'vaticana.plica
es d
- \override NoteHead #'style = #'vaticana.reverse.plica
+ \override NoteHead.style = #'vaticana.reverse.plica
c d
\bar "|"
% \break %2 (8*1)
- \override NoteHead #'style = #'vaticana.punctum.cavum
+ \override NoteHead.style = #'vaticana.punctum.cavum
es f
- \override NoteHead #'style = #'vaticana.lpes
+ \override NoteHead.style = #'vaticana.lpes
g as
- \override NoteHead #'style = #'vaticana.upes
+ \override NoteHead.style = #'vaticana.upes
bes as
- \override NoteHead #'style = #'vaticana.vupes
+ \override NoteHead.style = #'vaticana.vupes
g f
- \override NoteHead #'style = #'vaticana.linea.punctum
- \once \override Staff.BarLine #'bar-extent = #'(-1 . 1) \bar "|"
+ \override NoteHead.style = #'vaticana.linea.punctum
+ \once \override Staff.BarLine.bar-extent = #'(-1 . 1) \bar "|"
% \break % 3 (8*1)
es d
- \override NoteHead #'style = #'vaticana.epiphonus
+ \override NoteHead.style = #'vaticana.epiphonus
c d
- \override NoteHead #'style = #'vaticana.cephalicus
+ \override NoteHead.style = #'vaticana.cephalicus
es f
- \override Staff.KeySignature #'glyph-name-alist = #alteration-medicaea-glyph-name-alist
- \override Staff.Accidental #'glyph-name-alist = #alteration-medicaea-glyph-name-alist
- \override Staff.Custos #'style = #'medicaea
- \override NoteHead #'style = #'medicaea.punctum
+ \override Staff.KeySignature.glyph-name-alist = #alteration-medicaea-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-medicaea-glyph-name-alist
+ \override Staff.Custos.style = #'medicaea
+ \override NoteHead.style = #'medicaea.punctum
\clef "medicaea-fa2"
ces des
\bar "|"
e! f! ges
\clef "medicaea-do2"
- \override NoteHead #'style = #'medicaea.inclinatum
+ \override NoteHead.style = #'medicaea.inclinatum
a! b! ces'
- \override NoteHead #'style = #'medicaea.virga
+ \override NoteHead.style = #'medicaea.virga
b! a!
\bar "|"
% \break % 5 (8*1)
ges fes
\clef "medicaea-fa1"
- \override NoteHead #'style = #'medicaea.rvirga
+ \override NoteHead.style = #'medicaea.rvirga
e des ces
- \override Staff.KeySignature #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist
- \override Staff.Accidental #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist
- \override Staff.Custos #'style = #'hufnagel
- \override NoteHead #'style = #'hufnagel.punctum
+ \override Staff.KeySignature.glyph-name-alist = #alteration-hufnagel-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-hufnagel-glyph-name-alist
+ \override Staff.Custos.style = #'hufnagel
+ \override NoteHead.style = #'hufnagel.punctum
\clef "hufnagel-fa2"
ces des es
\bar "|"
fes ges
\clef "hufnagel-do2"
- \override NoteHead #'style = #'hufnagel.lpes
+ \override NoteHead.style = #'hufnagel.lpes
as! bes! ces'
- \override NoteHead #'style = #'hufnagel.virga
+ \override NoteHead.style = #'hufnagel.virga
bes! as!
\bar "|"
% \break % 7 (8*1)
ges! fes!
\clef "hufnagel-do-fa"
- \override NoteHead #'style = #'hufnagel.punctum
+ \override NoteHead.style = #'hufnagel.punctum
es! des ces des! es! fes!
\bar "||"
% \break % 8 (8*1)
r2
\clef "mensural-g"
r4 r8 r16 r16
- \override NoteHead #'style = #'mensural
- \override Rest #'style = #'mensural
+ \override NoteHead.style = #'mensural
+ \override Rest.style = #'mensural
\clef "petrucci-f"
c8 b, c16 b, c32 b, c64 b, c64 b,
d8 e d16 e d32 e d64 e d64 e
}
\context {
\MensuralVoice
- \override NoteHead #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Flag #'style = #'mensural
- \override Stem #'thickness = #1.0
+ \override NoteHead.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Flag.style = #'mensural
+ \override Stem.thickness = #1.0
}
\context {
\MensuralStaff
- \revert BarLine #'transparent
- \override KeySignature #'glyph-name-alist = #alteration-mensural-glyph-name-alist
+ \revert BarLine.transparent
+ \override KeySignature.glyph-name-alist = #alteration-mensural-glyph-name-alist
clefGlyph = #"clefs.petrucci.c2"
}
\context {
\VaticanaStaff
- \revert BarLine #'transparent
- \override StaffSymbol #'thickness = #2.0
- \override KeySignature #'glyph-name-alist = #alteration-vaticana-glyph-name-alist
- \override Custos #'neutral-position = #4
+ \revert BarLine.transparent
+ \override StaffSymbol.thickness = #2.0
+ \override KeySignature.glyph-name-alist = #alteration-vaticana-glyph-name-alist
+ \override Custos.neutral-position = #4
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "vocal-music, ancient-notation, template"
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
\context {
\Voice
- \override Stem #'length = #0
+ \override Stem.length = #0
}
\context {
\Score
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "chords, fretted-strings"
(cons (make-music 'TextSpanEvent 'span-direction 1)
(ly:music-property last-element 'articulations))))))
#{
- \once \override TextSpanner #'font-size = #-2
- \once \override TextSpanner #'font-shape = #'upright
- \once \override TextSpanner #'staff-padding = #3
- \once \override TextSpanner #'style = #'line
- \once \override TextSpanner #'to-barline = ##f
- \once \override TextSpanner #'bound-details =
+ \once \override TextSpanner.font-size = #-2
+ \once \override TextSpanner.font-shape = #'upright
+ \once \override TextSpanner.staff-padding = #3
+ \once \override TextSpanner.style = #'line
+ \once \override TextSpanner.to-barline = ##f
+ \once \override TextSpanner.bound-details =
#`((left
(text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . 2)))
%% uncomment this line for make full barred
- % \once \override TextSpanner #'bound-details #'left #'text = \markup { "B" #str }
+ % \once \override TextSpanner.bound-details.left.text = \markup { "B" #str }
$music
#})
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "text, tweaks-and-overrides, contexts-and-engravers"
\context {
\Voice
\consists #Text_align_engraver
- \override TextScript #'X-offset =
+ \override TextScript.X-offset =
#ly:self-alignment-interface::aligned-on-x-parent
- \override TextScript #'self-alignment-X = #CENTER
+ \override TextScript.self-alignment-X = #CENTER
}
}
\new Staff <<
\relative c'' {
- \override NoteColumn #'force-hshift = #3
+ \override NoteColumn.force-hshift = #3
c1-\markup { \arrow-head #Y #DOWN ##t }
}
\\
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, vocal-music, ancient-notation, contexts-and-engravers, specific-notation"
}
stemOn = {
- \revert Staff.Stem #'transparent
- \revert Staff.Flag #'transparent
+ \revert Staff.Stem.transparent
+ \revert Staff.Flag.transparent
}
stemOff = {
- \override Staff.Stem #'transparent = ##t
- \override Staff.Flag #'transparent = ##t
+ \override Staff.Stem.transparent = ##t
+ \override Staff.Flag.transparent = ##t
}
\score {
}
\context {
\Voice
- \override StanzaNumber #'padding = #1.8
+ \override StanzaNumber.padding = #1.8
}
}
}
% on melodies from Bellini's "Norma" %
%*****************************************************************%
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
% define fingering offset
FO = #(define-music-function (parser location offsetX offsetY) (number? number?)
#{
- \once \override Voice.Fingering #'extra-offset = #(cons offsetX offsetY)
+ \once \override Voice.Fingering.extra-offset = #(cons offsetX offsetY)
#})
% markups
%% new section starts here in A minor
\set Score.beamExceptions = #'()
- \once \override TextScript #'staff-padding = #1.7
+ \once \override TextScript.staff-padding = #1.7
\times 2/3 { a8\p^\andantino e' a c a e a, e' a c a e } | % m. 5
\times 2/3 { a,8\pdolce e' a c a e } % beg m. 6
\layout {
\context {
\Score
- \override Fingering #'staff-padding = #'()
- \override TupletNumber #'stencil = ##f
- \override TupletBracket #'bracket-visibility = ##f
+ \override Fingering.staff-padding = #'()
+ \override TupletNumber.stencil = ##f
+ \override TupletBracket.bracket-visibility = ##f
}
}
\midi { }
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
snippetexamplenotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 }
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 1/4
\mark "Normal flags"
\snippetexamplenotes
\mark "Custom flag: inverted"
- \override Flag #'stencil = #inverted-flag
+ \override Flag.stencil = #inverted-flag
\snippetexamplenotes
\mark "Custom flag: weight"
- \override Flag #'stencil = #weight-flag
+ \override Flag.stencil = #weight-flag
\snippetexamplenotes
\mark "Revert to normal"
- \revert Flag #'stencil
+ \revert Flag.stencil
\snippetexamplenotes
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
\relative c' {
a2 \glissando
- \once \override NoteColumn #'glissando-skip = ##t
+ \once \override NoteColumn.glissando-skip = ##t
f''4 d,
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
%% Hide fret number: useful to draw slide into/from a casual point of
%% the fretboard.
hideFretNumber = {
- \once \override TabNoteHead #'transparent = ##t
- \once \override NoteHead #'transparent = ##t
- \once \override Stem #'transparent = ##t
- \once \override Flag #'transparent = ##t
- \once \override NoteHead #'no-ledgers = ##t
- \once \override Glissando #'(bound-details left padding) = #0.3
+ \once \override TabNoteHead.transparent = ##t
+ \once \override NoteHead.transparent = ##t
+ \once \override Stem.transparent = ##t
+ \once \override Flag.transparent = ##t
+ \once \override NoteHead.no-ledgers = ##t
+ \once \override Glissando.bound-details.left.padding = #0.3
}
music= \relative c' {
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, ancient-notation, really-cool"
incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
#{
- \once \override Staff.InstrumentName #'self-alignment-X = #RIGHT
- \once \override Staff.InstrumentName #'self-alignment-Y = #UP
- \once \override Staff.InstrumentName #'Y-offset =
+ \once \override Staff.InstrumentName.self-alignment-X = #RIGHT
+ \once \override Staff.InstrumentName.self-alignment-Y = #UP
+ \once \override Staff.InstrumentName.Y-offset =
#(lambda (grob)
(+ 4 (system-start-text::calc-y-offset grob)))
- \once \override Staff.InstrumentName #'padding = #0.3
- \once \override Staff.InstrumentName #'stencil =
+ \once \override Staff.InstrumentName.padding = #0.3
+ \once \override Staff.InstrumentName.stencil =
#(lambda (grob)
(let* ((instrument-name (ly:grob-property grob 'long-text)))
(set! (ly:grob-property grob 'long-text)
{
{ \context MensuralStaff \with {
instrumentName = #instrument-name
- \override VerticalAxisGroup
- #'Y-extent = #'(-4 . 4)
+ \override VerticalAxisGroup.Y-extent = #'(-4 . 4)
} $incipit-music
}
\layout { $(ly:grob-layout grob)
\skip 1*8
% let finis bar go through all staves
- \override Staff.BarLine #'transparent = ##f
+ \override Staff.BarLine.transparent = ##f
% finis bar
\bar "|."
c'4 e'4.( d'8 c' b |
a4) b a2 |
b4.( c'8 d'4) c'4 |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
c'1 |
b\breve |
}
a2 g4 e |
fis g4.( fis16 e fis4) |
g1 |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
g1 |
g\breve |
}
R1 |
% two measures
r2 d'2. d'4 b e' |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
e'1 |
d'\breve |
}
R1 |
R1 |
g2. e4 |
- \once \override NoteHead #'transparent = ##t
+ \once \override NoteHead.transparent = ##t
e1 |
g\breve |
}
\context {
\Score
%% no bar lines in staves or lyrics
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
}
%% the next two instructions keep the lyrics between the bar lines
\context {
\context {
\Voice
%% no slurs
- \override Slur #'transparent = ##t
+ \override Slur.transparent = ##t
%% Comment in the below "\remove" command to allow line
%% breaking also at those bar lines where a note overlaps
%% into the next measure. The command is commented out in this
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
sl = {
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
nsl = {
- \revert NoteHead #'style
- \revert Stem #'transparent
- \revert Flag #'transparent
+ \revert NoteHead.style
+ \revert Stem.transparent
+ \revert Flag.transparent
}
-crOn = \override NoteHead #'style = #'cross
-crOff = \revert NoteHead #'style
+crOn = \override NoteHead.style = #'cross
+crOff = \revert NoteHead.style
%% insert chord name style stuff here.
\context { \Staff \RemoveEmptyStaves }
\context {
\Score
- \override BarNumber #'padding = #3
- \override RehearsalMark #'padding = #2
+ \override BarNumber.padding = #3
+ \override RehearsalMark.padding = #2
skipBars = ##t
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
\time 2/4
<<
{
- \once \override Stem #'transparent = ##t
- \once \override Stem #'length = #8
+ \once \override Stem.transparent = ##t
+ \once \override Stem.length = #8
b8 ~ b\noBeam
- \once \override Stem #'transparent = ##t
- \once \override Stem #'length = #8
+ \once \override Stem.transparent = ##t
+ \once \override Stem.length = #8
g8 ~ g\noBeam
}
\\
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, tweaks-and-overrides"
}
glissandoSkipOn = {
- \override NoteColumn #'glissando-skip = ##t
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
+ \override NoteColumn.glissando-skip = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
}
\relative c'' {
- \override Glissando #'breakable = ##t
- \override Glissando #'after-line-breaking = ##t
+ \override Glissando.breakable = ##t
+ \override Glissando.after-line-breaking = ##t
f1\glissando |
\break
a4 r2. |
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
% Multi-measure rests by default are set under the fourth line
R1
% They can be moved using an override
- \override MultiMeasureRest #'staff-position = #-2
+ \override MultiMeasureRest.staff-position = #-2
R1
- \override MultiMeasureRest #'staff-position = #0
+ \override MultiMeasureRest.staff-position = #0
R1
- \override MultiMeasureRest #'staff-position = #2
+ \override MultiMeasureRest.staff-position = #2
R1
- \override MultiMeasureRest #'staff-position = #3
+ \override MultiMeasureRest.staff-position = #3
R1
- \override MultiMeasureRest #'staff-position = #6
+ \override MultiMeasureRest.staff-position = #6
R1
- \revert MultiMeasureRest #'staff-position
+ \revert MultiMeasureRest.staff-position
\break
% In two Voices, odd-numbered voices are under the top line
% Separating multi-measure rests in more than two voices
% requires an override
<< { R1 } \\ { R1 } \\
- \once \override MultiMeasureRest #'staff-position = #0
+ \once \override MultiMeasureRest.staff-position = #0
{ R1 }
>>
% in all voices to avoid multiple instances being printed
\compressFullBarRests
<<
- \revert MultiMeasureRest #'staff-position
+ \revert MultiMeasureRest.staff-position
{ R1*3 }
\\
- \revert MultiMeasureRest #'staff-position
+ \revert MultiMeasureRest.staff-position
{ R1*3 }
>>
}
-\version "2.17.5"
+\version "2.17.6"
\header {
lsrtags = "repeats, tweaks-and-overrides"
\relative c'' {
- \once \override Score.BreakAlignment #'break-align-orders =
+ \once \override Score.BreakAlignment.break-align-orders =
#(make-vector 3 '(instrument-name
left-edge
ambitus
time-signature
staff-bar
custos))
- \once \override Staff.TimeSignature #'space-alist =
+ \once \override Staff.TimeSignature.space-alist =
#'((first-note . (fixed-space . 2.0))
(right-edge . (extra-space . 0.5))
;; free up some space between time signature
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
startAcciaccaturaMusic = {
<>(
- \override Flag #'stroke-style = #"grace"
+ \override Flag.stroke-style = #"grace"
\slurDashed
}
stopAcciaccaturaMusic = {
- \revert Flag #'stroke-style
+ \revert Flag.stroke-style
\slurSolid
<>)
}
bes1
}
-NoStem = { \override Stem #'transparent = ##t \override Flag #'transparent = ##t }
-NoNoteHead = \override NoteHead #'transparent = ##t
-ZeroBeam = \override Beam #'positions = #'(0 . 0)
+NoStem = { \override Stem.transparent = ##t \override Flag.transparent = ##t }
+NoNoteHead = \override NoteHead.transparent = ##t
+ZeroBeam = \override Beam.positions = #'(0 . 0)
staffTabLine = \new Staff \with {
\remove "Time_signature_engraver"
\remove "Clef_engraver"
} {
- \override Staff.StaffSymbol #'line-positions = #'(0)
+ \override Staff.StaffSymbol.line-positions = #'(0)
% Shows one horizontal line. The vertical line (simulating a bar-line) is simulated with a gridline
\set Staff.midiInstrument = #"choir aahs"
\key c \major
{
% disable the following line to see the the noteheads while writing the song
\NoNoteHead
- \override NoteHead #'no-ledgers = ##t
+ \override NoteHead.no-ledgers = ##t
% The beam between 8th-notes is used to draw the push-line
%How to fast write the push-lines:
\consists "Grid_point_engraver"
gridInterval = #(ly:make-moment 4 4) % 4/4 - tact. How many beats per bar
% The following line has to be adjusted O-F-T-E-N.
- \override GridPoint #'Y-extent = #'(-2 . -21)
+ \override GridPoint.Y-extent = #'(-2 . -21)
}
\context {
\ChoirStaff
AltOn =
#(define-music-function (parser location mag) (number?)
- #{ \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ #{ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag))) #})
AltOff = {
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
}
BassRhytm = {s4 s8 | c2 c2 | c2 s8 }
\new Staff = staffbass \with { \remove "Clef_engraver" } {
% This is not a RhythmicStaff because it must be possible to append lyrics.
- \override Score.GridLine #'extra-offset = #'( 13.0 . 0.0 ) % x.y
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
+ \override Score.GridLine.extra-offset = #'( 13.0 . 0.0 ) % x.y
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
% Shows one horizontal line. The vertical line (simulating a bar-line) is simulated by a grid
% Search for 'grid' in this page to find all related functions
\time 4/4
-\version "2.16.0"
+\version "2.17.6"
\include "catalan.ly"
\header {
\key mib \major
\time 2/4
R2^\markup { \italic Comodo } |
- r8 \once \override TextScript #'padding = #2.0
+ r8 \once \override TextScript.padding = #2.0
sib16-.^\markup {\dynamic p \italic grazioso} do-. mib( re)-. do-. sib-. |
re8-. r8 re4->( |
re8) do16-. re-. mib( re) do-. re-. |
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language"
stringNumberSpanner =
#(define-music-function (parser location StringNumber) (string?)
#{
- \override TextSpanner #'style = #'solid
- \override TextSpanner #'font-size = #-5
- \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
- \override TextSpanner #'(bound-details left text) = \markup { \circle \number #StringNumber }
+ \override TextSpanner.style = #'solid
+ \override TextSpanner.font-size = #-5
+ \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
+ \override TextSpanner.bound-details.left.text = \markup { \circle \number #StringNumber }
#})
-\version "2.17.4"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
c2
\breathe
d2
- \override BreathingSign #'Y-offset = #2.6
- \override BreathingSign #'text =
+ \override BreathingSign.Y-offset = #2.6
+ \override BreathingSign.text =
\markup { \musicglyph #"scripts.tickmark" }
c2
\breathe
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\time 2/4
\testnotes
- \override Flag #'stencil = #modern-straight-flag
+ \override Flag.stencil = #modern-straight-flag
\testnotes
- \override Flag #'stencil = #old-straight-flag
+ \override Flag.stencil = #old-straight-flag
\testnotes
- \revert Flag #'stencil
+ \revert Flag.stencil
\testnotes
}
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
}
\relative c'' {
- \override Flag #'stroke-style = #"grace"
+ \override Flag.stroke-style = #"grace"
c8( d2) e8( f4)
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
} % begin verbatim
\relative c'' {
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::non-default-tuplet-denominator-text 7)
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::non-default-tuplet-fraction-text 12 7)
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::append-note-wrapper
(tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::append-note-wrapper
tuplet-number::calc-denominator-text "4")
\times 2/3 { c8 c8 c8 c8 c8 c8 }
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::append-note-wrapper
tuplet-number::calc-fraction-text "4")
\times 2/3 { c8 c8 c8 c8 c8 c8 }
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::fraction-with-notes "4." "8")
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text =
+ \once \override TupletNumber.text =
#(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
\times 2/3 { c4. c4. c4. c4. }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "vocal-music"
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup #'staff-affinity = ##f
- \override VerticalAxisGroup #'staff-staff-spacing =
+ \override VerticalAxisGroup.staff-affinity = ##f
+ \override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2)
(padding . 2))
}
\context {
\Staff
- \override VerticalAxisGroup #'staff-staff-spacing =
+ \override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2)
(padding . 2))
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "really-simple, scheme-language, text, titles"
\score {
\new Lyrics {
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\mark #(string-append "Processed with LilyPond version " (lilypond-version))
s2
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "spacing"
\mark "B" \label #'markB
d2 d
d2 d
- \once \override Score.RehearsalMark #'break-visibility =
+ \once \override Score.RehearsalMark.break-visibility =
#begin-of-line-invisible
\mark "C" \label #'markC
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, version-specific"
% Permit line breaks within tuplets
\remove "Forbid_line_break_engraver"
% Allow beams to be broken at line breaks
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
}
}
\relative c'' {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
% RH Voice 2
\new Voice {
\voiceTwo
- \override Staff.DynamicLineSpanner #'staff-padding = #2.5
+ \override Staff.DynamicLineSpanner.staff-padding = #2.5
<e'' b'>2 \p
<ds'' a'>4
<cs'' gs'>4
<bs' fs'>2
e'2
|
- \once \override TextScript #'staff-padding = #2.5
+ \once \override TextScript.staff-padding = #2.5
<b'! a'>2 _ \markup \italic { cresc. }
b'4
<e'' cs''>4
% LH Staff
\new Staff {
- \override Staff.SustainPedalLineSpanner #'staff-padding = #5
+ \override Staff.SustainPedalLineSpanner.staff-padding = #5
<gs' e'>2 ( \sustainOn
<fs' ds' b>4 \sustainOff
<e' cs'>4
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c' {
<c e g b>1\arpeggio
- \once \override Arpeggio #'positions = #'(-5 . 0)
+ \once \override Arpeggio.positions = #'(-5 . 0)
<c e g b>1\arpeggio
- \once \override Arpeggio #'positions = #'(0 . 5)
+ \once \override Arpeggio.positions = #'(0 . 5)
<c e g b>1\arpeggio
- \once \override Arpeggio #'positions = #'(-5 . 5)
+ \once \override Arpeggio.positions = #'(-5 . 5)
<c e g b>1\arpeggio
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations"
\relative c' {
\set fingeringOrientations = #'(left)
<c-1 d-2 a'-5>4
- <c-1 d-\tweak #'extra-offset #'(0 . 0.7)-2 a'-5>4
+ <c-1 d-\tweak extra-offset #'(0 . 0.7)-2 a'-5>4
\set fingeringOrientations = #'(down)
<c-1 d-2 a'-5>4
- <c-1 d-\tweak #'extra-offset #'(-1.2 . 0)-2 a'-5>4
+ <c-1 d-\tweak extra-offset #'(-1.2 . 0)-2 a'-5>4
\set fingeringOrientations = #'(down right up)
<c-1 d-2 a'-5>4
- <c-1 d-\tweak #'extra-offset #'(-1 . 1.2)-2 a'-5>4
+ <c-1 d-\tweak extra-offset #'(-1 . 1.2)-2 a'-5>4
\set fingeringOrientations = #'(up)
<c-1 d-2 a'-5>4
- <c-1 d-\tweak #'extra-offset #'(-1.2 . 0)-2 a'-5>4
+ <c-1 d-\tweak extra-offset #'(-1.2 . 0)-2 a'-5>4
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
f8[ e]
\grace {
f8[ e]
- \override Stem #'no-stem-extend = ##f
+ \override Stem.no-stem-extend = ##f
f8[ e]
- \revert Stem #'no-stem-extend
+ \revert Stem.no-stem-extend
}
f8[ e]
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c'' {
<<
- \override Score.SpacingSpanner #'strict-grace-spacing = ##t
+ \override Score.SpacingSpanner.strict-grace-spacing = ##t
\new Staff \new Voice {
\afterGrace c4 { c16[ c8 c16] }
c8[ \grace { b16[ d] } c8]
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
% Multi-measure rests by default are set under the fourth line
R1
% They can be moved using an override
- \override MultiMeasureRest #'staff-position = #-2
+ \override MultiMeasureRest.staff-position = #-2
R1
- \override MultiMeasureRest #'staff-position = #0
+ \override MultiMeasureRest.staff-position = #0
R1
- \override MultiMeasureRest #'staff-position = #2
+ \override MultiMeasureRest.staff-position = #2
R1
- \override MultiMeasureRest #'staff-position = #3
+ \override MultiMeasureRest.staff-position = #3
R1
- \override MultiMeasureRest #'staff-position = #6
+ \override MultiMeasureRest.staff-position = #6
R1
- \revert MultiMeasureRest #'staff-position
+ \revert MultiMeasureRest.staff-position
\break
% In two Voices, odd-numbered voices are under the top line
% Separating multi-measure rests in more than two voices
% requires an override
<< { R1 } \\ { R1 } \\
- \once \override MultiMeasureRest #'staff-position = #0
+ \once \override MultiMeasureRest.staff-position = #0
{ R1 }
>>
% in all voices to avoid multiple instances being printed
\compressFullBarRests
<<
- \revert MultiMeasureRest #'staff-position
+ \revert MultiMeasureRest.staff-position
{ R1*3 }
\\
- \revert MultiMeasureRest #'staff-position
+ \revert MultiMeasureRest.staff-position
{ R1*3 }
>>
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "breaks, repeats, symbols-and-glyphs, workaround"
}
% Set segno sign as rehearsal mark and adjust size if needed
- % \once \override Score.RehearsalMark #'font-size = #3
+ % \once \override Score.RehearsalMark.font-size = #3
\mark \markup { \musicglyph #"scripts.segno" }
\repeat unfold 2 {
c4 c c c
}
% Set coda sign as rehearsal mark and adjust size if needed
- \once \override Score.RehearsalMark #'font-size = #4
+ \once \override Score.RehearsalMark.font-size = #4
\mark \markup { \musicglyph #"scripts.coda" }
\repeat unfold 2 {
c4 c c c
\bar "||"
% Set segno sign as rehearsal mark and adjust size if needed
- \once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
- % \once \override Score.RehearsalMark #'font-size = #3
+ \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible
+ % \once \override Score.RehearsalMark.font-size = #3
\mark \markup { \musicglyph #"scripts.segno" }
% Here begins the trickery!
% text line-aligned
% ==================
% Move text to the desired position
- % \once \override TextScript #'extra-offset = #'( 2 . -3.5 )
+ % \once \override TextScript.extra-offset = #'( 2 . -3.5 )
% | s1*0^\markup { D.S. al Coda } }
% text center-aligned
% ====================
% Move text to the desired position
- % \once \override TextScript #'extra-offset = #'( 6 . -5.0 )
+ % \once \override TextScript.extra-offset = #'( 6 . -5.0 )
% | s1*0^\markup { \center-column { D.S. "al Coda" } }
% text and symbols center-aligned
s1
\bar ""
}
- \once \override TextScript #'extra-offset = #'( 0 . -3.0 )
- \once \override TextScript #'word-space = #1.5
+ \once \override TextScript.extra-offset = #'( 0 . -3.0 )
+ \once \override TextScript.word-space = #1.5
<>^\markup { \center-column { "D.S. al Coda" \line { \musicglyph #"scripts.coda" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda"} } }
% Increasing the unfold counter will expand the staff-free space
\break
% Show up, you clef and key!
- \once \override Staff.KeySignature #'break-visibility = #end-of-line-invisible
- \once \override Staff.Clef #'break-visibility = #end-of-line-invisible
+ \once \override Staff.KeySignature.break-visibility = #end-of-line-invisible
+ \once \override Staff.Clef.break-visibility = #end-of-line-invisible
% Set coda sign as rehearsal mark and adjust size and position
% Put the coda sign ontop of the (treble-)clef dependend on coda's line-position
% Coda NOT on new line, use this:
- % \once \override Score.RehearsalMark #'extra-offset = #'( -2 . 1.75 )
+ % \once \override Score.RehearsalMark.extra-offset = #'( -2 . 1.75 )
% Coda on new line, use this:
- \once \override Score.RehearsalMark #'extra-offset = #'( -4.5 . 0 )
+ \once \override Score.RehearsalMark.extra-offset = #'( -4.5 . 0 )
- \once \override Score.RehearsalMark #'font-size = #5
+ \once \override Score.RehearsalMark.font-size = #5
\mark \markup { \musicglyph #"scripts.coda" }
% The coda
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
\relative c'' {
- \override TextScript #'avoid-slur = #'inside
- \override TextScript #'outside-staff-priority = ##f
+ \override TextScript.avoid-slur = #'inside
+ \override TextScript.outside-staff-priority = ##f
c2(^\markup { \halign #-10 \natural } d4.) c8
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\times 2/3 { c'16 c'16 c'16 }
\times 2/3 { c'16 c'16 c'16 }
\times 2/3 { c'16 c'16 c'16 }
- \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
- \override Score.RehearsalMark #'direction = #DOWN
- \override Score.RehearsalMark #'self-alignment-X = #RIGHT
+ \override Score.RehearsalMark.break-visibility = #'#(#t #t #t)
+ \override Score.RehearsalMark.direction = #DOWN
+ \override Score.RehearsalMark.self-alignment-X = #RIGHT
% due to issue 2362 the following line is commented
% \mark "Composed Feb 2007 - Feb 2008"
% and a shorter mark is used.
\new Staff {
\set tupletFullLength = ##t
- \override TupletBracket #'full-length-to-extent = ##f
+ \override TupletBracket.full-length-to-extent = ##f
\time 1/8
\times 2/3 { c'16 c'16 c'16 }
\times 2/3 { c'16 c'16 c'16 }
\times 2/3 { c'16 c'16 c'16 }
- \override Score.RehearsalMark #'break-visibility = #'#(#t #t #t)
- \override Score.RehearsalMark #'direction = #DOWN
- \override Score.RehearsalMark #'self-alignment-X = #RIGHT
+ \override Score.RehearsalMark.break-visibility = #'#(#t #t #t)
+ \override Score.RehearsalMark.direction = #DOWN
+ \override Score.RehearsalMark.self-alignment-X = #RIGHT
% due to issue 2362 the following line is commented
% \mark "Composed Feb 2007 - Feb 2008"
% and a shorter mark is used.
%
% This file is in the public domain.
%% Note: this file works from version 2.17.5
-\version "2.17.5"
+\version "2.17.6"
\header {
lsrtags = "repeats, tweaks-and-overrides"
\relative c'' {
- \once \override Score.BreakAlignment #'break-align-orders =
+ \once \override Score.BreakAlignment.break-align-orders =
#(make-vector 3 '(instrument-name
left-edge
ambitus
time-signature
staff-bar
custos))
- \once \override Staff.TimeSignature #'space-alist =
+ \once \override Staff.TimeSignature.space-alist =
#'((first-note . (fixed-space . 2.0))
(right-edge . (extra-space . 0.5))
;; free up some space between time signature
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c' {
- \override Score.BarNumber #'break-visibility = #end-of-line-invisible
+ \override Score.BarNumber.break-visibility = #end-of-line-invisible
\set Score.currentBarNumber = #11
% Permit first bar number to be printed
\bar ""
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\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 "|."
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
\relative c'' {
- \override Hairpin #'circled-tip = ##t
+ \override Hairpin.circled-tip = ##t
c2\< c\!
c4\> c\< c2\!
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "text"
\relative c'' {
g2 c
d,2 a'
- \once \override Score.RehearsalMark #'break-visibility = #end-of-line-visible
- \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
+ \once \override Score.RehearsalMark.break-visibility = #end-of-line-visible
+ \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
\mark "D.C. al Fine"
\break
g2 b,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, rhythms, tweaks-and-overrides"
{
% Metronome marks below the staff
- \override Score.MetronomeMark #'direction = #DOWN
+ \override Score.MetronomeMark.direction = #DOWN
\tempo 8. = 120
c''1
% Rehearsal marks below the staff
- \override Score.RehearsalMark #'direction = #DOWN
+ \override Score.RehearsalMark.direction = #DOWN
\mark \default
c''1
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, percussion, real-music, really-cool, rhythms"
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
\remove "Bar_number_engraver"
- \override SpacingSpanner #'uniform-stretching = ##t
- \override SpacingSpanner #'strict-note-spacing = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
+ \override SpacingSpanner.strict-note-spacing = ##t
proportionalNotationDuration = #(ly:make-moment 1 64)
}
\context {
Bassklarinette = \new Staff \with {
\consists "Bar_number_engraver"
barNumberVisibility = #(every-nth-bar-number-visible 2)
- \override BarNumber #'break-visibility = #end-of-line-invisible
+ \override BarNumber.break-visibility = #end-of-line-invisible
} <<
\global {
\bar "|"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "spacing, tweaks-and-overrides"
\relative c'' <<
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation, text, vocal-music"
texidoc = "
Lyrics can be moved vertically to place them inside the staff. The
-lyrics are moved with @code{\\override LyricText #'extra-offset = #'(0
+lyrics are moved with @code{\\override LyricText.extra-offset = #'(0
. dy)} and there are similar commands to move the extenders and
hyphens. The offset needed is established with trial and error.
\new Voice = "voc" \relative c' { \stemDown a bes c8 b c4 }
>>
\new Lyrics \with {
- \override LyricText #'extra-offset = #'(0 . 8.6)
- \override LyricExtender #'extra-offset = #'(0 . 8.6)
- \override LyricHyphen #'extra-offset = #'(0 . 8.6)
+ \override LyricText.extra-offset = #'(0 . 8.6)
+ \override LyricExtender.extra-offset = #'(0 . 8.6)
+ \override LyricHyphen.extra-offset = #'(0 . 8.6)
} \lyricsto "voc" { La la -- la __ _ la }
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "staff-notation"
original = \relative c'' {
c8 d s2
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
es8 gis8
}
\new Voice {
s4
\set fontSize = #-4
- \override Stem #'length-fraction = #(magstep -4)
+ \override Stem.length-fraction = #(magstep -4)
\quoteDuring #"quoteMe" { \skip 2. }
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "winds"
% range chart for paetzold contrabass recorder
centermarkup = {
- \once \override TextScript #'self-alignment-X = #CENTER
- \once \override TextScript #'X-offset =#(ly:make-simple-closure
+ \once \override TextScript.self-alignment-X = #CENTER
+ \once \override TextScript.X-offset =#(ly:make-simple-closure
`(,+
,(ly:make-simple-closure (list
ly:self-alignment-interface::centered-on-x-parent))
\score {
\new Staff \with {
\remove "Time_signature_engraver"
- \override Stem #'stencil = ##f
- \override Flag #'stencil = ##f
+ \override Stem.stencil = ##f
+ \override Flag.stencil = ##f
\consists "Horizontal_bracket_engraver"
}
{
gis'1*1/4
\stemDown a'4^\markup{1)}
\centermarkup
- \once \override TextScript #'padding = #2
+ \once \override TextScript.padding = #2
bes'1*1/4_\markup{\override #'(baseline-skip . 1.7) \column
{ \fontsize #-5 \slashed-digit #0 \finger 1 \finger 2 \finger 3 \finger 4
\finger 5 \finger 6 \finger 7} }
b'1*1/4
c''4^\markup{1)}
\centermarkup
- \once \override TextScript #'padding = #2
+ \once \override TextScript.padding = #2
cis''1*1/4
deh''1*1/4
\centermarkup
- \once \override TextScript #'padding = #2
- \once \override Staff.HorizontalBracket #'direction = #UP
+ \once \override TextScript.padding = #2
+ \once \override Staff.HorizontalBracket.direction = #UP
e''1*1/4_\markup{\override #'(baseline-skip . 1.7) \column
{ \fontsize #-5 \slashed-digit #0 \finger 1 \finger 2 \finger 4
\finger 5} }\startGroup
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
startAcciaccaturaMusic = {
<>(
- \override Flag #'stroke-style = #"grace"
+ \override Flag.stroke-style = #"grace"
\slurDashed
}
stopAcciaccaturaMusic = {
- \revert Flag #'stroke-style
+ \revert Flag.stroke-style
\slurSolid
<>)
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\new StaffGroup <<
\new Staff {
e1 | e
- \once \override Staff.BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
e1 | e | e
}
\new Staff {
c1 | c | c
- \once \override Staff.BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
c1 | c
}
\new Staff {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "breaks, staff-notation, tweaks-and-overrides"
\context {
\Staff \RemoveEmptyStaves
% To use the setting globally, uncomment the following line:
- % \override VerticalAxisGroup #'remove-first = ##t
+ % \override VerticalAxisGroup.remove-first = ##t
}
}
\new StaffGroup <<
\new Staff {
% To use the setting globally, comment this line,
% uncomment the line in the \layout block above
- \override Staff.VerticalAxisGroup #'remove-first = ##t
+ \override Staff.VerticalAxisGroup.remove-first = ##t
R1 \break
R
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, rhythms, symbols-and-glyphs, tweaks-and-overrides"
\new Staff \relative c {
\cadenzaOn
- \override Staff.Rest #'style = #'mensural
+ \override Staff.Rest.style = #'mensural
r\maxima^\markup \typewriter { mensural }
r\longa r\breve r1 r2 r4 r8 r16 s32 s64 s128 s128
\bar ""
- \override Staff.Rest #'style = #'neomensural
+ \override Staff.Rest.style = #'neomensural
r\maxima^\markup \typewriter { neomensural }
r\longa r\breve r1 r2 r4 r8 r16 s32 s64 s128 s128
\bar ""
- \override Staff.Rest #'style = #'classical
+ \override Staff.Rest.style = #'classical
r\maxima^\markup \typewriter { classical }
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 s128
\bar ""
- \override Staff.Rest #'style = #'default
+ \override Staff.Rest.style = #'default
r\maxima^\markup \typewriter { default }
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 s128
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
% Macro to print single slash
rs = {
- \once \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
- \once \override Rest #'thickness = #0.48
- \once \override Rest #'slope = #1.7
+ \once \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
+ \once \override Rest.thickness = #0.48
+ \once \override Rest.slope = #1.7
r4
}
% Function to print a specified number of slashes
comp = #(define-music-function (parser location count) (integer?)
#{
- \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
- \override Rest #'thickness = #0.48
- \override Rest #'slope = #1.7
+ \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
+ \override Rest.thickness = #0.48
+ \override Rest.slope = #1.7
\repeat unfold $count { r4 }
- \revert Rest #'stencil
+ \revert Rest.stencil
#}
)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
\layout {
\context {
\Score
- \override SpacingSpanner #'base-shortest-duration =
+ \override SpacingSpanner.base-shortest-duration =
#(ly:make-moment 1 40)
- %\override SpacingSpanner #'strict-grace-spacing = ##t
+ %\override SpacingSpanner.strict-grace-spacing = ##t
}
}
}
<e''! e'>16
<f'' f'>16 ] )
- \once \override TextScript #'padding = #3.8
+ \once \override TextScript.padding = #3.8
<g'' g'>16 ( \staccato -\markup { \italic cresc. }
<a'' a'>16 ) \staccato
<bf'' bf'>32 (
|
- \once \override DynamicLineSpanner #'padding = #2
+ \once \override DynamicLineSpanner.padding = #2
b''32 ( \p \>
c'''32
d'''32
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.17.6
+%% Note: this file works from version 2.16.0
\version "2.17.6"
\header {
bes1
}
-NoStem = { \override Stem #'transparent = ##t \override Flag #'transparent = ##t }
-NoNoteHead = \override NoteHead #'transparent = ##t
-ZeroBeam = \override Beam #'positions = #'(0 . 0)
+NoStem = { \override Stem.transparent = ##t \override Flag.transparent = ##t }
+NoNoteHead = \override NoteHead.transparent = ##t
+ZeroBeam = \override Beam.positions = #'(0 . 0)
staffTabLine = \new Staff \with {
\remove "Time_signature_engraver"
\remove "Clef_engraver"
} {
- \override Staff.StaffSymbol #'line-positions = #'(0)
+ \override Staff.StaffSymbol.line-positions = #'(0)
% Shows one horizontal line. The vertical line (simulating a bar-line) is simulated with a gridline
\set Staff.midiInstrument = #"choir aahs"
\key c \major
{
% disable the following line to see the the noteheads while writing the song
\NoNoteHead
- \override NoteHead #'no-ledgers = ##t
+ \override NoteHead.no-ledgers = ##t
% The beam between 8th-notes is used to draw the push-line
%How to fast write the push-lines:
\consists "Grid_point_engraver"
gridInterval = #(ly:make-moment 4 4) % 4/4 - tact. How many beats per bar
% The following line has to be adjusted O-F-T-E-N.
- \override GridPoint #'Y-extent = #'(-2 . -21)
+ \override GridPoint.Y-extent = #'(-2 . -21)
}
\context {
\ChoirStaff
AltOn =
#(define-music-function (parser location mag) (number?)
- #{ \override Stem #'length = #(* 7.0 mag)
- \override NoteHead #'font-size =
+ #{ \override Stem.length = #(* 7.0 mag)
+ \override NoteHead.font-size =
#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag))) #})
AltOff = {
- \revert Stem #'length
- \revert NoteHead #'font-size
+ \revert Stem.length
+ \revert NoteHead.font-size
}
BassRhytm = {s4 s8 | c2 c2 | c2 s8 }
\new Staff = staffbass \with { \remove "Clef_engraver" } {
% This is not a RhythmicStaff because it must be possible to append lyrics.
- \override Score.GridLine #'extra-offset = #'( 13.0 . 0.0 ) % x.y
- \override Staff.StaffSymbol #'line-positions = #'( 0 )
+ \override Score.GridLine.extra-offset = #'( 13.0 . 0.0 ) % x.y
+ \override Staff.StaffSymbol.line-positions = #'( 0 )
% Shows one horizontal line. The vertical line (simulating a bar-line) is simulated by a grid
% Search for 'grid' in this page to find all related functions
\time 4/4
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
\key c \minor
<<
{
- \revert Stem #'direction
+ \revert Stem.direction
\change Staff = down
\set subdivideBeams = ##t
g16.[
\clef bass
\key c \minor
\set subdivideBeams = ##f
- \override Stem #'french-beaming = ##t
- \override Beam #'beam-thickness = #0.3
- \override Stem #'thickness = #4.0
+ \override Stem.french-beaming = ##t
+ \override Beam.beam-thickness = #0.3
+ \override Stem.thickness = #4.0
g'16[ b16 fis16 g16]
<<
\makeClusters {
}
\\
{
- \override Staff.Arpeggio #'arpeggio-direction = #DOWN
+ \override Staff.Arpeggio.arpeggio-direction = #DOWN
<cis, e, gis, b, cis>4\arpeggio
}
>>
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "pitches, tweaks-and-overrides"
} % begin verbatim
\new Staff {
- \override Score.BreakAlignment #'break-align-orders =
+ \override Score.BreakAlignment.break-align-orders =
#'#((left-edge ambitus breathing-sign clef staff-bar
key-cancellation key-signature time-signature custos)
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
\relative c'' {
e4\< e2.
e1\!
- \override Hairpin #'to-barline = ##f
+ \override Hairpin.to-barline = ##f
e4\< e2.
e1\!
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
\relative c'' {
c4\< c\! d\> e\!
- \override Hairpin #'minimum-length = #5
+ \override Hairpin.minimum-length = #5
<< f1 { s4 s\< s\> s\! } >>
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides, version-specific"
chord, 'add-stem-support would be required. So, the solution is to
write the note as a chord and add the articulations inside the <...>.
The direction will always be above, but one can tweak this via a
-\\tweak: @code{<c-\\tweak #'direction #DOWN-\\fermata^\\fermata>}
+\\tweak: @code{<c-\\tweak direction #DOWN-\\fermata^\\fermata>}
"
doctitle = "Showing the same articulation above and below a note or chord"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
\layout {
\context {
\Score
- \override SpacingSpanner #'base-shortest-duration =
+ \override SpacingSpanner.base-shortest-duration =
#(ly:make-moment 1 18)
- \override NonMusicalPaperColumn #'line-break-system-details =
+ \override NonMusicalPaperColumn.line-break-system-details =
#'((alignment-distances . (12)))
}
}
trillFlat =
-\once \override TrillSpanner #'(bound-details left text) = \markup {
+\once \override TrillSpanner.bound-details.left.text = \markup {
\concat {
\musicglyph #"scripts.trill"
\translate #'(-0.5 . 1.9)
% RH voice 2
\new Voice {
\voiceTwo
- \override Voice.TrillSpanner #'direction = #DOWN
+ \override Voice.TrillSpanner.direction = #DOWN
d''4.~ \f \startTrillSpan
d''8.~ |
d''4.~ d''8.~ |
d''4.~ \startTrillSpan
d''8. ~ |
d''4.~ d''8.~ |
- \once \override NoteColumn #'ignore-collision = ##t
+ \once \override NoteColumn.ignore-collision = ##t
\hideNotes
d''8. \stopTrillSpan
s4. |
<<
\new Voice {
\voiceOne
- \override Voice.TrillSpanner #'direction = #UP
+ \override Voice.TrillSpanner.direction = #UP
f'4.~ \startTrillSpan
f'8.~ |
f'4.~ f'8.~ |
}
\new Voice {
\voiceTwo
- \override Voice.TrillSpanner #'direction = #DOWN
+ \override Voice.TrillSpanner.direction = #DOWN
bf8.[ bf8. bf8.] |
bf8.[ bf8. bf8.] |
bf8.
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
\layout {
\context {
\Score
- \override Glissando #'minimum-length = #4
- \override Glissando #'springs-and-rods =
+ \override Glissando.minimum-length = #4
+ \override Glissando.springs-and-rods =
#ly:spanner::set-spacing-rods
- \override Glissando #'thickness = #2
+ \override Glissando.thickness = #2
}
}
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\include "catalan.ly"
\header {
\key mib \major
\time 2/4
R2^\markup { \italic Comodo } |
- r8 \once \override TextScript #'padding = #2.0
+ r8 \once \override TextScript.padding = #2.0
sib16-.^\markup {\dynamic p \italic grazioso} do-. mib( re)-. do-. sib-. |
re8-. r8 re4->( |
re8) do16-. re-. mib( re) do-. re-. |
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "fretted-strings"
\tabFullNotation
g16 b d g b d g b
\stemDown
- \override Beam #'concaveness = #10000
+ \override Beam.concaveness = #10000
g,,16 b d g b d g b
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contemporary-notation, rhythms"
g'16[^\markup { beams over rests } f' r d']
% N.B. use Score.Stem to set for the whole score.
- \override Staff.Stem #'stemlet-length = #0.75
+ \override Staff.Stem.stemlet-length = #0.75
c'16[^\markup { stemlets over rests } d' r f']
g'16[^\markup { stemlets and no rests } f'
- \once \override Rest #'transparent = ##t
+ \once \override Rest.transparent = ##t
r16 d']
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language"
stringNumberSpanner =
#(define-music-function (parser location StringNumber) (string?)
#{
- \override TextSpanner #'style = #'solid
- \override TextSpanner #'font-size = #-5
- \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
- \override TextSpanner #'(bound-details left text) = \markup { \circle \number #StringNumber }
+ \override TextSpanner.style = #'solid
+ \override TextSpanner.font-size = #-5
+ \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
+ \override TextSpanner.bound-details.left.text = \markup { \circle \number #StringNumber }
#})
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "simultaneous-notes, tweaks-and-overrides"
} % begin verbatim
-ignore = \override NoteColumn #'ignore-collision = ##t
+ignore = \override NoteColumn.ignore-collision = ##t
\relative c' {
<<
\layout {
\context {
\Score
- \override SpacingSpanner #'base-shortest-duration =
+ \override SpacingSpanner.base-shortest-duration =
#(ly:make-moment 1 20)
}
}
\key af \major
\time 3/4
- \once \override TextScript #'staff-padding = #4
+ \once \override TextScript.staff-padding = #4
<c'' af'>4. (
_ \markup { \dynamic p \italic { con amabilità } }
<af' ef'>8 )
|
- \once \override TextScript #'staff-padding = #4
+ \once \override TextScript.staff-padding = #4
ef''8. (
_ \markup { \italic { tranqu. } }
d''16 )
>>
\oneVoice
- \once \override TextScript #'staff-padding = #4
+ \once \override TextScript.staff-padding = #4
df''32
_ \markup { \italic dolce }
c''32
|
\break
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (12)))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (12)))
c''4. (
^ \markup \italic { cantabile, con intimissimo sentimento,
|
- \override Staff.SustainPedalLineSpanner #'outside-staff-priority = #1000
- \override Staff.SustainPedalLineSpanner #'staff-padding = #7
- \once \override TextScript #'padding = #2
+ \override Staff.SustainPedalLineSpanner.outside-staff-priority = #1000
+ \override Staff.SustainPedalLineSpanner.staff-padding = #7
+ \once \override TextScript.padding = #2
af16 \sustainOn
^ \markup \italic { non staccato }
_ \markup \italic { molto \concat { \dynamic { p } , } sempre tranquillo
|
- \override Staff.SustainPedalLineSpanner #'staff-padding = #4
+ \override Staff.SustainPedalLineSpanner.staff-padding = #4
df'16 \sustainOn
<bf' g' ef'>16
<bf' g' ef'>16
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "specific-notation, staff-notation, tweaks-and-overrides"
\relative c'' {
- \override Staff.TimeSignature #'stencil = #(lambda (grob)
+ \override Staff.TimeSignature.stencil = #(lambda (grob)
(parenthesize-stencil (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 ))
\time 2/4
a4 b8 c
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "specific-notation, staff-notation, tweaks-and-overrides"
\relative c'' {
- \override Staff.TimeSignature #'stencil = #(lambda (grob)
+ \override Staff.TimeSignature.stencil = #(lambda (grob)
(bracketify-stencil (ly:time-signature::print grob) Y 0.1 0.2 0.1))
\time 2/4
a4 b8 c
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
texidoc = "
Sometimes, a time signature should not print the whole fraction (e.g.
7/4), but only the numerator (7 in this case). This can be easily done
-by using @code{\\override Staff.TimeSignature #'style = #'single-digit}
+by using @code{\\override Staff.TimeSignature.style = #'single-digit}
to change the style permanently. By using @code{\\revert
-Staff.TimeSignature #'style}, this setting can be reversed. To apply
+Staff.TimeSignature.style}, this setting can be reversed. To apply
the single-digit style to only one time signature, use the
@code{\\override} command and prefix it with a @code{\\once}.
\time 3/4
c4 c c
% Change the style permanently
- \override Staff.TimeSignature #'style = #'single-digit
+ \override Staff.TimeSignature.style = #'single-digit
\time 2/4
c4 c
\time 3/4
c4 c c
% Revert to default style:
- \revert Staff.TimeSignature #'style
+ \revert Staff.TimeSignature.style
\time 2/4
c4 c
% single-digit style only for the next time signature
- \once \override Staff.TimeSignature #'style = #'single-digit
+ \once \override Staff.TimeSignature.style = #'single-digit
\time 5/4
c4 c c c c
\time 2/4
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "ancient-notation, specific-notation, tweaks-and-overrides, workaround"
\key g \major
\time 4/4
%make the staff lines invisible on staves
- \override Staff.BarLine #'transparent = ##t
+ \override Staff.BarLine.transparent = ##t
\skip 1*8 % the actual music
% let finis bar go through all staves
- \override Staff.BarLine #'transparent = ##f
+ \override Staff.BarLine.transparent = ##f
% finis bar
\bar "|."
}
c'4 e'4.( d'8 c' b |
a4) b a2 |
b4.( c'8 d'4) c'4 |
- \once \override NoteHead #'transparent = ##t c'1 |
+ \once \override NoteHead.transparent = ##t c'1 |
b\breve |
}
}
a2 g4 e |
fis g4.( fis16 e fis4) |
g1 |
- \once \override NoteHead #'transparent = ##t g1 |
+ \once \override NoteHead.transparent = ##t g1 |
g\breve |
}
}
R1 |
R1 |
r2 d'2. d'4 b e' | % two bars
- \once \override NoteHead #'transparent = ##t e'1 |
+ \once \override NoteHead.transparent = ##t e'1 |
d'\breve |
}
}
R1 |
R1 |
g2. e4 |
- \once \override NoteHead #'transparent = ##t e1 |
+ \once \override NoteHead.transparent = ##t e1 |
g\breve |
}
}
\score {
{
\set Staff.instrumentName = #"Discantus "
- \override NoteHead #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Staff.TimeSignature #'style = #'neomensural
+ \override NoteHead.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\cadenzaOn
\clef "neomensural-c1"
\key f \major
\score {
{
\set Staff.instrumentName = #"Altus "
- \override NoteHead #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Staff.TimeSignature #'style = #'neomensural
+ \override NoteHead.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\cadenzaOn
\clef "neomensural-c3"
\key f \major
\score {
{
\set Staff.instrumentName = #"Tenor "
- \override NoteHead #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Staff.TimeSignature #'style = #'neomensural
+ \override NoteHead.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\cadenzaOn
\clef "neomensural-c4"
\key f \major
\score {
{
\set Staff.instrumentName = #"Bassus "
- \override NoteHead #'style = #'neomensural
- \override Rest #'style = #'neomensural
- \override Staff.TimeSignature #'style = #'neomensural
+ \override NoteHead.style = #'neomensural
+ \override Rest.style = #'neomensural
+ \override Staff.TimeSignature.style = #'neomensural
\cadenzaOn
\clef "bass"
\key f \major
\context {
\Score
% no bars in staves
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
}
% the next three instructions keep the lyrics between the bar lines
\context {
\Lyrics
\consists "Bar_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
}
\context {
\StaffGroup
\context {
\Voice
% no slurs
- \override Slur #'transparent = ##t
+ \override Slur.transparent = ##t
% Comment in the below "\remove" command to allow line
% breaking also at those barlines where a note overlaps
% into the next bar. The command is commented out in this
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.5"
+\version "2.17.6"
\header {
lsrtags = "headword"
accel = \markup \tiny \italic \bold "accel..."
ritar = \markup \tiny \italic \bold "ritar..."
-ignore = \override NoteColumn #'ignore-collision = ##t
+ignore = \override NoteColumn.ignore-collision = ##t
%%
%% Shifting Notes
%%
-shift = \once \override NoteColumn #'force-hshift = #0.9
-shifta = \once \override NoteColumn #'force-hshift = #1.2
-shiftb = \once \override NoteColumn #'force-hshift = #1.4
+shift = \once \override NoteColumn.force-hshift = #0.9
+shifta = \once \override NoteColumn.force-hshift = #1.2
+shiftb = \once \override NoteColumn.force-hshift = #1.4
%%
%%
% aniente = "a niente"
-aniente = \once \override Hairpin #'circled-tip = ##t
+aniente = \once \override Hairpin.circled-tip = ##t
%%
%% Tuplets
%%
-tupletbp = \once \override Staff.TupletBracket #'padding = #2.25
+tupletbp = \once \override Staff.TupletBracket.padding = #2.25
%%
%% Flag [Note Head - Stem]
%%
-noflag = \once \override Flag #'style = #'no-flag
+noflag = \once \override Flag.style = #'no-flag
%%%
%%% Functions
\voiceOne
\set Score.markFormatter = #format-mark-box-numbers
- \override Score.VoltaBracket #'font-name = #"sans"
- \override Score.VoltaBracket #'extra-offset = #'(0 . 1)
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override Score.VoltaBracket.font-name = #"sans"
+ \override Score.VoltaBracket.extra-offset = #'(0 . 1)
+ \override SpacingSpanner.uniform-stretching = ##t
%% Measure 1
%% Measure 6
\time 5/8
- \once \override Beam #'grow-direction = #RIGHT % \featherDurations #(ly:make-moment 2 3)
+ \once \override Beam.grow-direction = #RIGHT % \featherDurations #(ly:make-moment 2 3)
{ d16 \staccato
[ d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato d \staccato]
}
\new Staff \ViolinSolo
>>
- \override Score.Rest #'transparent = ##t
+ \override Score.Rest.transparent = ##t
\set Score.defaultBarType = "-"
>>
%
% This file is in the public domain.
%% Note: this file works from version 2.17.4
-\version "2.17.4"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
c2
\breathe
d2
- \override BreathingSign #'Y-offset = #2.6
- \override BreathingSign #'text =
+ \override BreathingSign.Y-offset = #2.6
+ \override BreathingSign.text =
\markup { \musicglyph #"scripts.tickmark" }
c2
\breathe
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
\time 2/4
\testnotes
- \override Flag #'stencil = #modern-straight-flag
+ \override Flag.stencil = #modern-straight-flag
\testnotes
- \override Flag #'stencil = #old-straight-flag
+ \override Flag.stencil = #old-straight-flag
\testnotes
- \revert Flag #'stencil
+ \revert Flag.stencil
\testnotes
}
%
% This file is in the public domain.
%% Note: this file works from version 2.16.0
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms"
\relative c'' {
- \override Flag #'stroke-style = #"grace"
+ \override Flag.stroke-style = #"grace"
c8( d2) e8( f4)
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "devel, scheme-language, tweaks-and-overrides"
\relative c' {
%% display grobs for each note head:
- %\override NoteHead #'before-line-breaking = #display-grobs
+ %\override NoteHead.before-line-breaking = #display-grobs
<c
%% or just for one:
- \tweak #'before-line-breaking #display-grobs
+ \tweak before-line-breaking #display-grobs
es
g>1\arpeggio
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, really-cool, scheme-language, tweaks-and-overrides"
(cons 0 1.3125)
(cons -.75 .75))
-myNoteHeads = \override NoteHead #'stencil = \parallelogram
-normalNoteHeads = \revert NoteHead #'stencil
+myNoteHeads = \override NoteHead.stencil = \parallelogram
+normalNoteHeads = \revert NoteHead.stencil
\relative c'' {
\myNoteHeads
g4 d'
\normalNoteHeads
- <f, \tweak #'stencil \parallelogram b e>4 d
+ <f, \tweak stencil \parallelogram b e>4 d
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "really-simple, tweaks-and-overrides"
\time 2/4
\set fingeringOrientations = #'(right)
<
- \tweak #'font-size #3 c
- \tweak #'color #red d-\tweak #'font-size #8 -4
- \tweak #'style #'cross g
- \tweak #'duration-log #2 a
+ \tweak font-size #3 c
+ \tweak color #red d-\tweak font-size #8 -4
+ \tweak style #'cross g
+ \tweak duration-log #2 a
>2
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "editorial-annotations, expressive-marks"
} % begin verbatim
{
- \override Score.StaffSymbol #'layer = #4
- \override Staff.TimeSignature #'layer = #3
+ \override Score.StaffSymbol.layer = #4
+ \override Staff.TimeSignature.layer = #3
b'2 b'~
- \once \override Staff.TimeSignature #'whiteout = ##t
+ \once \override Staff.TimeSignature.whiteout = ##t
\time 3/4
b' r4
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "spacing, tweaks-and-overrides, workaround"
{
\music
\break
- \override DynamicLineSpanner #'staff-padding = #2.0
- \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
- \override TextScript #'Y-extent = #'(-1.5 . 1.5)
+ \override DynamicLineSpanner.staff-padding = #2.0
+ \override DynamicLineSpanner.Y-extent = #'(-1.5 . 1.5)
+ \override TextScript.Y-extent = #'(-1.5 . 1.5)
\music
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "expressive-marks"
\relative c' {
- \override DynamicLineSpanner #'staff-padding = #4
+ \override DynamicLineSpanner.staff-padding = #4
c2\p f\mf
g2\< b4\> c\!
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "spacing, tweaks-and-overrides, vocal-music"
\new Staff \with {
alignAboveContext = #"3"
fontSize = #-2
- \override StaffSymbol #'staff-space = #(magstep -2)
+ \override StaffSymbol.staff-space = #(magstep -2)
\remove "Time_signature_engraver"
} {
\times 4/6 {
- \override TextScript #'padding = #3
+ \override TextScript.padding = #3
c8[^"ossia above" d e d e f]
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "vocal-music"
dropLyrics =
{
- \override LyricText #'extra-offset = #'(0 . -5)
- \override LyricHyphen #'extra-offset = #'(0 . -5)
- \override LyricExtender #'extra-offset = #'(0 . -5)
+ \override LyricText.extra-offset = #'(0 . -5)
+ \override LyricHyphen.extra-offset = #'(0 . -5)
+ \override LyricExtender.extra-offset = #'(0 . -5)
}
raiseLyrics =
{
- \revert LyricText #'extra-offset
- \revert LyricHyphen #'extra-offset
- \revert LyricExtender #'extra-offset
+ \revert LyricText.extra-offset
+ \revert LyricHyphen.extra-offset
+ \revert LyricExtender.extra-offset
}
skipFour = \repeat unfold 4 { \skip 8 }
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "automatic-notation, keyboards, template, vocal-music"
\new ChoirStaff <<
\new Lyrics = "sopranos" \with {
% This is needed for lyrics above a staff
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "women" <<
\new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
\new Lyrics = "altos"
\new Lyrics = "tenors" \with {
% This is needed for lyrics above a staff
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "men" <<
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "contexts-and-engravers, template, vocal-music"
\context { \Staff
% these lines prevent empty staves from being printed
\RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "really-simple, template, vocal-music"
\new ChoirStaff <<
\new Lyrics = "sopranos" \with {
% this is needed for lyrics above a staff
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "women" <<
\new Voice = "sopranos" {
\new Lyrics = "altos"
\new Lyrics = "tenors" \with {
% this is needed for lyrics above a staff
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "men" <<
\clef bass
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##t
- \override NonMusicalPaperColumn #'keep-inside-line = ##t
+ \override PaperColumn.keep-inside-line = ##t
+ \override NonMusicalPaperColumn.keep-inside-line = ##t
}
}
e([ d)] d([ cis d a)]
g8([ fis)] fis([ e d c)]
c8([ b)] g'2~
- \once \override Script #'outside-staff-priority = #1 % put fermata closer to staff
+ \once \override Script.outside-staff-priority = #1 % put fermata closer to staff
g4.\fermata ^\markup { \small \italic "ad libitum" } e8[ cis!] d
d8 a a4 r \bar "||"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.17.6"
\header {
lsrtags = "headword"
\new StaffGroup <<
\new Staff \relative c'' {
\set Staff.instrumentName = "Flauto I,II"
- \once \override Score.RehearsalMark #'self-alignment-X = #-1
- \once \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
- \once \override Score.TimeSignature #'break-align-anchor-alignment = #LEFT
- \once \override Score.RehearsalMark #'padding = #4
+ \once \override Score.RehearsalMark.self-alignment-X = #-1
+ \once \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
+ \once \override Score.TimeSignature.break-align-anchor-alignment = #LEFT
+ \once \override Score.RehearsalMark.padding = #4
\mark \markup \large \bold {Moderato assai}
\key d \major
\time 2/4
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.16.0"
+@c \version "2.17.6"
@node Running lilypond
heads remaining the default black in the lower staff.
@lilypond[quote,verbatim,relative=2]
-\override Staff.NoteHead #'color = #red
+\override Staff.NoteHead.color = #red
\new Staff { a }
@end lilypond
@lilypond[quote,verbatim,relative=2]
\new Staff {
- \override Staff.NoteHead #'color = #red
+ \override Staff.NoteHead.color = #red
a
}
@end lilypond
staff by inserting
@example
-\override VerticalAxisGroup #'staff-affinity = ##f
+\override VerticalAxisGroup.staff-affinity = ##f
@end example
@noindent
"
}
-\version "2.16.0"
+\version "2.17.6"
\relative c'' {
\time 3/4
% FIXME: standard vs default, alteration-FOO vs FOO-alteration
- \override Staff.Accidental #'glyph-name-alist = #standard-alteration-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #standard-alteration-glyph-name-alist
cis^\markup { \typewriter default } c ces
- \override Staff.Accidental #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-hufnagel-glyph-name-alist
cis^\markup { \typewriter hufnagel } c ces
- \override Staff.Accidental #'glyph-name-alist = #alteration-medicaea-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-medicaea-glyph-name-alist
cis^\markup { \typewriter medicaea } c ces
- \override Staff.Accidental #'glyph-name-alist = #alteration-vaticana-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-vaticana-glyph-name-alist
cis^\markup { \typewriter vaticana } c ces
- \override Staff.Accidental #'glyph-name-alist = #alteration-mensural-glyph-name-alist
+ \override Staff.Accidental.glyph-name-alist = #alteration-mensural-glyph-name-alist
cis^\markup { \typewriter mensural } c ces
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Cautionary accidentals may be indicated using either
{
c''4
cis''?4
- \once \override Staff.AccidentalCautionary #'parenthesized = ##f
- \once \override Staff.AccidentalCautionary #'font-size = #-2
+ \once \override Staff.AccidentalCautionary.parenthesized = ##f
+ \once \override Staff.AccidentalCautionary.font-size = #-2
cis''?4
- \once \override Staff.AccidentalCautionary #'parenthesized = ##t
+ \once \override Staff.AccidentalCautionary.parenthesized = ##t
cis''?4
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Accidental padding works for all accidentals, including
}
\relative c' {
- \override Staff.AccidentalPlacement #'padding = #2
+ \override Staff.AccidentalPlacement.padding = #2
<ces cis>1
<ces des>1
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
\time 2/4
\set suggestAccidentals = ##t
cis^> gis'-|
- \override AccidentalSuggestion #'parenthesized = ##t
+ \override AccidentalSuggestion.parenthesized = ##t
cis,_"paren" gis'
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The second and third notes should not get accidentals,
fis8 gis8 ~
\break
gis1
- \override Accidental #'hide-tied-accidental-after-break = ##t
+ \override Accidental.hide-tied-accidental-after-break = ##t
f1~
f2~f4 % ~ f8
fis8 gis8 ~
anywhere in the vertical alignment. "
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\new Staff {
\set Staff.alignAboveContext = #"3"
\times 4/6 {
- \override TextScript #'padding = #3
+ \override TextScript.padding = #3
c4^"this" d_"staff" e^"above" d_"last" e^"staff" f
}
}
\new Staff { c c c c }
\new Staff {
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((alignment-distances . (#f 20)))
c1 \break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((alignment-distances . (5 15)))
c1 \break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((alignment-distances . (15 5)))
c1 c
}
#(ly:expect-warning (_ "not a spanner name"))
\relative c'' {
- \alterBroken Slur #'positions #'((3 . 3) (5 . 5))
- \alterBroken Slur #'color #'((0 0 1) (1 0 0))
- \alterBroken Slur #'dash-definition #'( ((0 1 0.4 0.75))
- ((0 0.5 0.4 0.75) (0.5 1 1 1)) )
+ \alterBroken #'positions #'((3 . 3) (5 . 5)) Slur
+ \alterBroken #'color #'((0 0 1) (1 0 0)) Slur
+ \alterBroken #'dash-definition #'( ((0 1 0.4 0.75))
+ ((0 0.5 0.4 0.75) (0.5 1 1 1)) ) Slur
d4( d' b g
\break
d d' b g)
- \alterBroken Staff.OttavaBracket #'padding #'(1 3)
+ \alterBroken #'padding #'(1 3) Staff.OttavaBracket
% Spaces in spanner's name are disregarded.
- \alterBroken Staff.OttavaBracket #'style #'(line dashed-line)
+ \alterBroken #'style #'(line dashed-line) Staff.OttavaBracket
\ottava #1
% It is possible to use procedures as arguments.
- \alterBroken Hairpin #'stencil #`(
+ \alterBroken #'stencil #`(
,ly:hairpin::print
,(lambda (grob)
- (ly:stencil-rotate (ly:hairpin::print grob) -5 0 0)))
+ (ly:stencil-rotate (ly:hairpin::print grob) -5 0 0))) Hairpin
c\< d e
% Since `NoteHead' is not the name of a spanner, the following has no
% effect on layout. A warning (suppressed here) is issued.
- \alterBroken NoteHead #'color #`(,red ,blue)
- \alterBroken Tie #'color #`(() ,blue)
- \alterBroken Tie #'control-points #'(
+ \alterBroken #'color #`(,red ,blue) NoteHead
+ \alterBroken #'color #`(() ,blue) Tie
+ \alterBroken #'control-points #'(
((1 . 3) (2 . 4) (3 . 4) (4 . 3))
((3 . 3) (4 . 4) (5 . 4) (6 . 3))
- )
+ ) Tie
f~
\break
f c a f\!
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The gaps between an @code{AmbitusLine} and its
\new Staff {
\time 2/4
- \override AmbitusLine #'gap = #1
+ \override AmbitusLine.gap = #1
c'4 g''
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Arpeggios do not overshoot the highest note head.
\relative c' {
% simulate overshoot for comparison
- \once \override Arpeggio #'positions = #'(-3 . 1)
+ \once \override Arpeggio.positions = #'(-3 . 1)
<c e g b>1\arpeggio
<c e g b>1\arpeggio
<f a c>2\arpeggio <g b d f>\arpeggio
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="
Arpeggios are supported, both cross-staff and broken single staff.
<fis, d a>\arpeggio
\arpeggioArrowUp
<fis d a >\arpeggio
- %%\override PianoStaff.SpanArpeggio #'connect = ##t
+ %%\override PianoStaff.SpanArpeggio.connect = ##t
\set PianoStaff.connectArpeggios = ##t
<fis d a>\arpeggio
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Tuplet-spanner should not put (visible) brackets on
\relative c' {
\set tupletSpannerDuration = #(ly:make-moment 1 4)
- \override TupletBracket #'bracket-visibility = #'if-no-beam
+ \override TupletBracket.bracket-visibility = #'if-no-beam
\times 2/3 {
f8[ f f ] f8[ f f ] f f f f f f
}
texidoc = "Exercise all output functions"
}
-\version "2.16.0"
+\version "2.17.6"
\paper { ragged-right = ##t }
\ottava #0
<f,, \5>4
- \override TextScript #'color = #red
+ \override TextScript.color = #red
g4^"red"
}
\new Staff \relative c'' {
\makeClusters { <g a>8 <e a> <g a>4 }
- \override Glissando #'style = #'zigzag
+ \override Glissando.style = #'zigzag
\slurDashed
f2( \glissando f')
\easyHeadsOn
-\version "2.16.0"
+\version "2.17.6"
forcedLastBreak = { \break }
#(define (assert-system-count-override count)
- #{ \override NoteHead #'after-line-breaking
+ #{ \override NoteHead.after-line-breaking
= #(lambda (smob) (assert-system-count smob count))
#})
sarabandeA = \context Voice \relative c {
- \override Staff.NoteCollision #'merge-differently-dotted = ##t
+ \override Staff.NoteCollision.merge-differently-dotted = ##t
<< { d8. e16 e4.\trill d16 e } \\
\context {
\Staff
fontSize = #-1
- \override StaffSymbol #'staff-space = #0.8
+ \override StaffSymbol.staff-space = #0.8
}
\context {
\Score
- \override SpacingSpanner #'spacing-increment = #0.96
+ \override SpacingSpanner.spacing-increment = #0.96
}
indent = 5.6 \mm
with lines and explanatory text added."
}
-\version "2.16.0"
+\version "2.17.6"
\layout{ ragged-right = ##t }
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
}
}
-\version "2.16.0"
+\version "2.17.6"
ledgerUp =
{
s2
\stopStaff
- \override Staff.StaffSymbol #'line-positions = #'(-4 -2 0 2 4 6)
+ \override Staff.StaffSymbol.line-positions = #'(-4 -2 0 2 4 6)
\startStaff
s2
\noBreak
s2
\stopStaff
- \revert Staff.StaffSymbol #'line-positions
+ \revert Staff.StaffSymbol.line-positions
\startStaff
s2
}
{
s2
\stopStaff
- \override Staff.StaffSymbol #'line-positions = #'(-6 -4 -2 0 2 4)
+ \override Staff.StaffSymbol.line-positions = #'(-6 -4 -2 0 2 4)
\startStaff
s1
\stopStaff
- \revert Staff.StaffSymbol #'line-positions
+ \revert Staff.StaffSymbol.line-positions
\startStaff
s2
}
<<
\new Staff \with
{
- \override BarLine #'bar-extent = #'(-1 . 1.5)
+ \override BarLine.bar-extent = #'(-1 . 1.5)
}
{
\ledgerUp \ledgerDown
\new Staff \with
{
- \override BarLine #'bar-extent = #'(0 . 0)
+ \override BarLine.bar-extent = #'(0 . 0)
}
{
s1*4
\new Staff \with
{
- \override BarLine #'bar-extent = #'(-2 . 0)
+ \override BarLine.bar-extent = #'(-2 . 0)
}
{
s1*4
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Bar numbers can automatically reset at volta repeats.
(integer?)
#{
\relative c' {
- \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+ \override Score.BarNumber.break-visibility = #'#(#t #t #t)
\repeat volta 28 {
c1 |
c |
-\version "2.16.0"
+\version "2.17.6"
\header {
}
\relative c'' {
- \override Score.BarNumber #'break-visibility = #all-visible
+ \override Score.BarNumber.break-visibility = #all-visible
\partial 4 c4
c1 c c
\set Score.currentBarNumber = #99999
- \override Score.BarNumber #'padding = #3
+ \override Score.BarNumber.padding = #3
c1 c
}
beamlets on the same height."
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
raggedright = ##t
\relative c' {
\time 1/4
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
r16 r16. c32[ c16 \break c8. ] r16
}
}
-\version "2.16.0"
+\version "2.17.6"
\new Staff \with {
\remove "Bar_engraver"
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
} {
\time 1/8
c'32 [
"
}
-\version "2.16.0"
+\version "2.17.6"
\layout { ragged-right= ##t }
\relative c'' {
- \override Score.Beam #'breakable = ##t
+ \override Score.Beam.breakable = ##t
\time 3/16 c16-[ d e \break f-]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="Some classic examples of broken beams, all taken from
}
music = \relative c'' {
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
r2. f8[ c \break
e c f,] r8 r4 a'8[ e \break
g d g,] r8 r4 f'8[ a, \break
f' b d ] r8 r2 |
}
-\markup { "\override Beam #'positions = #beam::place-broken-parts-individually (default)" }
+\markup { "\override Beam.positions = #beam::place-broken-parts-individually (default)" }
{ \music }
-\markup { "\override Beam #'positions = #beam::align-with-broken-parts" }
+\markup { "\override Beam.positions = #beam::align-with-broken-parts" }
\markup { \justify { Returns y-positions at the ends of the beam such that beams align-across-breaks. } }
{
- \override Beam #'positions = #beam::align-with-broken-parts
+ \override Beam.positions = #beam::align-with-broken-parts
\music
}
-\markup { "\override Beam #'positions = #beam::slope-like-broken-parts" }
+\markup { "\override Beam.positions = #beam::slope-like-broken-parts" }
\markup { \justify { Approximates broken beam positioning in turn-of-the-century Editions Peters scores. } }
{
- \override Beam #'positions = #beam::slope-like-broken-parts
+ \override Beam.positions = #beam::slope-like-broken-parts
\music
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The functions passed to the @code{positions} property should
\paper { ragged-right = ##t }
{
r2.
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
r8[ g' \break a' r]
}
{
r2.
- \override Beam #'positions = #beam::align-with-broken-parts
- \override Beam #'breakable = ##t
+ \override Beam.positions = #beam::align-with-broken-parts
+ \override Beam.breakable = ##t
r8[ g' \break a' r]
}
{
r2.
- \override Beam #'positions = #beam::slope-like-broken-parts
- \override Beam #'breakable = ##t
+ \override Beam.positions = #beam::slope-like-broken-parts
+ \override Beam.breakable = ##t
r8[ g' \break a' r]
}
\ No newline at end of file
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="Simple beams on middle staffline are allowed to be
}
\relative c'{
- %%\override Staff.Stem #'beamed-lengths = #'(3.50)
+ %%\override Staff.Stem.beamed-lengths = #'(3.50)
%% c8[ d]
%% d[ c]
%% r2
- %% \override Staff.Stem #'beamed-lengths = #'(3.26)
+ %% \override Staff.Stem.beamed-lengths = #'(3.26)
a8[^"small slope" b]
b[ a]
% debug-beam-scoring = ##t
}
-\version "2.16.0"
+\version "2.17.6"
\new Staff
{
s4. <g g'>4.
} \\
{
-% \override Beam #'inspect-quants = #'(-4 . -3)
+% \override Beam.inspect-quants = #'(-4 . -3)
a8[ d e f g]
}
>>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Beams can be allowed to collide with grobs by overriding
the collision-interfaces property."
\relative c' {
c8 [ des' ]
- \once \override Beam #'collision-interfaces = #'(beam-interface
+ \once \override Beam.collision-interfaces = #'(beam-interface
clef-interface
;inline-accidental-interface
key-signature-interface
time-signature-interface)
c,8 [ des'! ]
c, [ \key des \major d ]
- \once \override Beam #'collision-interfaces = #'(beam-interface
+ \once \override Beam.collision-interfaces = #'(beam-interface
clef-interface
inline-accidental-interface
;key-signature-interface
time-signature-interface)
c [ \key c \major d ]
g [ \grace { a [ d ] } g, ]
- \once \override Beam #'collision-interfaces = #'(;beam-interface
+ \once \override Beam.collision-interfaces = #'(;beam-interface
clef-interface
inline-accidental-interface
key-signature-interface
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Beam collisions are resistant to scaled down staves."
}
\new Staff \with {
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- \override StaffSymbol #'thickness = #(magstep -3) }
+ \override StaffSymbol.staff-space = #(magstep -3)
+ \override StaffSymbol.thickness = #(magstep -3) }
<<
\relative c'' { e16[ f] }
\\
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Beam collision can be tweaked to only apply to the grobs
within the beam's original voice."
\time 5/4
<< { c8[ s c ] } \\ { s8 c' s8 } >>
c,[ des' ]
- \override Staff . Beam #'collision-voice-only = ##t
+ \override Staff.Beam.collision-voice-only = ##t
<< { c,8[ s c ] } \\ { s8 c' s8 } >>
c,[ des'! ]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Concave beaming works for chords as well as monophonic
music.
#(define (<> x y) (not (= x y)))
mustBeHorizontal = {
- \override Staff.Beam #'positions = #(check-slope-callbacks =)
+ \override Staff.Beam.positions = #(check-slope-callbacks =)
}
mustNotBeHorizontal = {
- \override Staff.Beam #'positions = #(check-slope-callbacks <>)
+ \override Staff.Beam.positions = #(check-slope-callbacks <>)
}
\new Voice {
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc = "Fully concave beams should be horizontal. Informally spoken,
#(define (<> x y) (not (= x y)))
\new Voice {
- \override Beam #'positions = #(check-slope-callbacks =)
+ \override Beam.positions = #(check-slope-callbacks =)
\rossBeams
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Beamed stems have standard lengths if possible. Quantization
}
\relative c' {
- \override Beam #'skip-quanting = ##t
+ \override Beam.skip-quanting = ##t
f4 f8[ f] f16[ f] f32[ f] f64[ f] f128[ f]
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="
Beams should behave reasonably well, even under extreme circumstances.
{
% If we want to test extreme beams,
% we should not have them auto-kneed
- \override Beam #'auto-knee-gap = ##f
+ \override Beam.auto-knee-gap = ##f
\extreme
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Feathered beams should have the same progress of their feathering
at the end of a line break as they do at the beginning of the next line."
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d e f g a ]
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \once \override Voice.Beam.grow-direction = #LEFT
a[ g f e d c b a] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d \bar "" \break e f g a b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d e f g a \bar "" \break b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d e f g a b c d \bar "" \break e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #LEFT
a32[ b c d \bar "" \break e f g a b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #LEFT
a32[ b c d e f g a \bar "" \break b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #LEFT
a32[ b c d e f g a b c d \bar "" \break e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Stem #'direction = #DOWN
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Stem.direction = #DOWN
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d \bar "" \break e f g a b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Stem #'direction = #DOWN
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Stem.direction = #DOWN
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d e f g a \bar "" \break b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Stem #'direction = #DOWN
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #RIGHT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Stem.direction = #DOWN
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #RIGHT
a32[ b c d e f g a b c d \bar "" \break e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Stem #'direction = #DOWN
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Stem.direction = #DOWN
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #LEFT
a32[ b c d \bar "" \break e f g a b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Stem #'direction = #DOWN
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Stem.direction = #DOWN
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #LEFT
a32[ b c d e f g a \bar "" \break b c d e f g a ] \bar "|"
} >>
\new Staff <<
\relative c' {
\cadenzaOn
- \override Staff . TimeSignature #'stencil = ##f
- \override Voice . Stem #'direction = #DOWN
- \override Voice . Beam #'breakable = ##t
- \once \override Voice . Beam #'grow-direction = #LEFT
+ \override Staff.TimeSignature.stencil = ##f
+ \override Voice.Stem.direction = #DOWN
+ \override Voice.Beam.breakable = ##t
+ \once \override Voice.Beam.grow-direction = #LEFT
a32[ b c d e f g a b c d \bar "" \break e f g a ] \bar "|"
} >>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="In feathered beams, stems in knees reach up to the feathered part correctly.
\layout { ragged-right = ##t}
\relative c' {
- \override Beam #'grow-direction = #-1
-% \override Beam #'transparent = ##t
- \override Stem #'direction = #UP
+ \override Beam.grow-direction = #-1
+% \override Beam.transparent = ##t
+ \override Stem.direction = #UP
c32[
- \override Stem #'direction = #DOWN
+ \override Stem.direction = #DOWN
c''32 c32
- \override Stem #'direction = #UP
+ \override Stem.direction = #UP
c,,32]
- \override Beam #'grow-direction = #1
-% \override Beam #'transparent = ##t
- \override Stem #'direction = #DOWN
+ \override Beam.grow-direction = #1
+% \override Beam.transparent = ##t
+ \override Stem.direction = #DOWN
c''32[
- \override Stem #'direction = #UP
+ \override Stem.direction = #UP
c,,32 c32
- \override Stem #'direction = #DOWN
+ \override Stem.direction = #DOWN
c''32]
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
%
\featherDurations #(ly:make-moment 3 4) \relative c'' {
- \override Beam #'grow-direction = #LEFT
+ \override Beam.grow-direction = #LEFT
c16[
c c c
c c c c ]
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "In French style beaming, the stems do not go between beams."
\relative c'
{
- \override Stem #'french-beaming = ##t
+ \override Stem.french-beaming = ##t
c16[ c c c]
c8[ c16 e16 f16 g16 g8]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc=" Funky kneed beams with beamlets also work. The beamlets
\layout { ragged-right = ##t}
\relative c' {
- \once \override Stem #'direction = #UP
+ \once \override Stem.direction = #UP
c16
- \once \override Stem #'direction = #DOWN
+ \once \override Stem.direction = #DOWN
c''8 c,,16
- \once \override Stem #'direction = #UP
+ \once \override Stem.direction = #UP
c16
- \once \override Stem #'direction = #DOWN
+ \once \override Stem.direction = #DOWN
c''8 c16
- \once \override Stem #'direction = #DOWN
+ \once \override Stem.direction = #DOWN
c16 c,,8
- \once \override Stem #'direction = #UP
+ \once \override Stem.direction = #UP
c16
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "In complex configurations of knee beaming, according to
\relative c'
{
- \override Beam #'auto-knee-gap = #7
+ \override Beam.auto-knee-gap = #7
\set subdivideBeams = ##t
\time 8/8
c,16[ g'''16
-\version "2.16.0"
+\version "2.17.6"
\header {
%% \once.
%%
- \once \override Stem
- #'beaming = #(cons (list 1 2) (list 0 2 4))
+ \once \override Stem.beaming = #(cons (list 1 2) (list 0 2 4))
c
- \once \override Stem
- #'beaming = #(cons (list 0 2 4) (list 0 1 4))
+ \once \override Stem.beaming = #(cons (list 0 2 4) (list 0 1 4))
c c c]
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
c]
% only works for the right edge, sorry.
- \override Beam #'break-overshoot = #'(-0.5 . 0.5)
+ \override Beam.break-overshoot = #'(-0.5 . 0.5)
\set stemLeftBeamCount = #2
c8[
c16
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc=" Beams on ledgered notes should always reach the middle staff
f8[ f] f64[ f]
\grace {
f8[ e8]
- \override Stem #'no-stem-extend = ##f
+ \override Stem.no-stem-extend = ##f
f8[ e8]
- \revert Stem #'no-stem-extend
+ \revert Stem.no-stem-extend
}
f8[ f]
%% FIXME: This file should actually NOT produce any warnings!
#(ly:set-option 'warning-as-error #f)
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
\filler
%{
- \once \override Beam #'inspect-quants = #'(2.2 . 2.2)
+ \once \override Beam.inspect-quants = #'(2.2 . 2.2)
\assertBeamQuant
a8[ a]
\filler
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
\relative c' {
\times 2/3 {r8[ c' g']}
- \override Stem #'stemlet-length = #0.5
+ \override Stem.stemlet-length = #0.5
\times 2/3 {r8[ c, g']}
}
\layout {
ragged-right = ##t
}
-\version "2.16.0"
+\version "2.17.6"
\relative c'' {
- \override Stem #'max-beam-connect = #1
+ \override Stem.max-beam-connect = #1
c16[ c16]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
}
\relative c'' {
- \override Score.SpacingSpanner #'shortest-duration-space = #3.0
+ \override Score.SpacingSpanner.shortest-duration-space = #3.0
c4-\bendAfter #+5
c4-\bendAfter #+4
c4-\bendAfter #+3
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The default callback for break-align-anchor in clefs and time/@/key
}
{
- \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+ \override Score.RehearsalMark.break-align-symbols = #'(key-signature)
c1
\key cis \major
- \once \override Staff.KeySignature #'break-align-anchor-alignment = #LEFT
+ \once \override Staff.KeySignature.break-align-anchor-alignment = #LEFT
\mark \default
cis1
\key ces \major
- \once \override Staff.KeySignature #'break-align-anchor-alignment = #RIGHT
+ \once \override Staff.KeySignature.break-align-anchor-alignment = #RIGHT
\mark \default
ces1
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The break-align-anchor property of a break-aligned grob gives
}
{
- \override Score.RehearsalMark #'break-align-symbols = #'(staff-bar)
+ \override Score.RehearsalMark.break-align-symbols = #'(staff-bar)
c'1
- \once \override Staff.BarLine #'break-align-anchor = #-5
+ \once \override Staff.BarLine.break-align-anchor = #-5
\mark \default
\noBreak
c'1
- \once \override Staff.BarLine #'break-align-anchor = #5
+ \once \override Staff.BarLine.break-align-anchor = #5
\mark \default
\noBreak
c'1
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Breathing signs are positioned correctly on custom staves
}
\relative c' {
- \override Staff.StaffSymbol #'line-positions = #'(-7 -5 -3 -1)
+ \override Staff.StaffSymbol.line-positions = #'(-7 -5 -3 -1)
b2 \breathe b
- \override BreathingSign #'direction = #DOWN
+ \override BreathingSign.direction = #DOWN
\breathe
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="
Breathing signs are available in different tastes: commas (default),
\new Staff {
\relative c'' {
%% by default, \breathe uses the rcomma, just as if saying:
- %% \override BreathingSign #'text =
+ %% \override BreathingSign.text =
%% #(make-musicglyph-markup "scripts.rcomma")
%%
c4 c \breathe c c |
%% rvarcomma and lvarcomma are variations of the default rcomma
%% and lcomma
%%
- \override Staff.BreathingSign #'text =
+ \override Staff.BreathingSign.text =
#(make-musicglyph-markup "scripts.rvarcomma")
c4 c \breathe c c |
%% wedge
%%
- \override BreathingSign #'text =
+ \override BreathingSign.text =
#(make-musicglyph-markup "scripts.upbow")
c4 c \breathe c c |
%% caesurae
%%
- \override BreathingSign #'text =
+ \override BreathingSign.text =
#(make-musicglyph-markup "scripts.caesura.curved")
c4 c \breathe c c |
- \override BreathingSign #'text =
+ \override BreathingSign.text =
#(make-musicglyph-markup "scripts.caesura.straight")
c4 c \breathe c c |
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "LilyPond knows that breves and longas are wider than whole notes
gis'1
gis'\breve*1/2
gis'\longa*1/4
- \override NoteHead #'style = #'altdefault
+ \override NoteHead.style = #'altdefault
gis'\breve*1/2
}
\score {
\new Staff {
\repeat unfold 8 { a'\breve*1/16 }
- \override NoteHead #'style = #'altdefault
+ \override NoteHead.style = #'altdefault
\repeat unfold 8 { a'\breve*1/16 }
}
\layout {
\context {
\Score
- \override SpacingSpanner
- #'common-shortest-duration = #(ly:make-moment 1 1 )
+ \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 1 )
}
}
}
-\version "2.17.2"
+\version "2.17.6"
\header {
texidoc = "Users can override the @code{text} property of
\new ChordNames \chordmode {
a b c:7
- \once \override ChordName #'text = #"foo"
+ \once \override ChordName.text = #"foo"
d
}
\ No newline at end of file
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="@code{staffLineLayoutFunction} is used to change the position of the notes.
This sets @code{staffLineLayoutFunction} to @code{ly:pitch-semitones} to
clefPosition = #(+ -6 7)
}
{
- \override Staff.StaffSymbol #'line-count = #5
+ \override Staff.StaffSymbol.line-count = #5
\time 4/4
<<
\scales
-\version "2.16.0"
+\version "2.17.6"
\header {
\relative c' {
- \override Staff.OctavateEight #'break-visibility = #all-invisible
+ \override Staff.OctavateEight.break-visibility = #all-invisible
\clef "treble_8"
c2 c |
c c | \break
c \clef "tenor" c |
- \revert Staff.OctavateEight #'break-visibility
+ \revert Staff.OctavateEight.break-visibility
\clef "treble_8"
c2 c |
c c | \break
-\version "2.16.0"
+\version "2.17.6"
\header{
\clef "varbaritone"c'1^"varbaritone" \bar "||"
\clef "bass"c'1^"bass" \bar "||"
\clef "subbass"c'1^"subbass" \bar "||"
- \override Staff.Clef #'full-size-change = ##t
+ \override Staff.Clef.full-size-change = ##t
\clef "treble" c'1^"full-size-change = #t" \bar "|."
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Clusters behave well across line breaks."
}
<<
\time 2/4
\new Staff {
- \override ClusterSpanner #'style = #'ramp
+ \override ClusterSpanner.style = #'ramp
\makeClusters \fragment
r4
- \override ClusterSpanner #'style = #'leftsided-stairs
+ \override ClusterSpanner.style = #'leftsided-stairs
\makeClusters \fragment
r4
- \override ClusterSpanner #'style = #'rightsided-stairs
+ \override ClusterSpanner.style = #'rightsided-stairs
\makeClusters \fragment
r4
- \override ClusterSpanner #'style = #'centered-stairs
+ \override ClusterSpanner.style = #'centered-stairs
\makeClusters \fragment
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "If dotted note heads must remain on the left side,
\relative c {
\clef bass
- \override Staff.NoteCollision #'prefer-dotted-right = ##t
+ \override Staff.NoteCollision.prefer-dotted-right = ##t
<< <b g' >4 ^"prefer-dotted-right = #t" \\ { c8. d16 } >>
<< <b g' >4 \\ { d8. d16 } >>
<< <b g' >4 \\ { f'8. d16 } >>
<< <c a' >4 \\ { g'8. d16 } >>
- \override Staff.NoteCollision #'prefer-dotted-right = ##f
+ \override Staff.NoteCollision.prefer-dotted-right = ##f
<< <b g' >4 ^"prefer-dotted-right = #f" \\ { c8. d16 } >>
<< <b g' >4 \\ { d8. d16 } >>
<< <b g' >4 \\ { f'8. d16 } >>
}
-\version "2.16.0"
+\version "2.17.6"
\paper{ ragged-right=##t }
\new Staff \relative c' <<
{ fis4.
- \override Staff.NoteCollision #'prefer-dotted-right = ##f
+ \override Staff.NoteCollision.prefer-dotted-right = ##f
fis4. }
\\
{ \autoBeamOff e8 e e e e e e }
texidoc = "Collision resolution may be forced manually with @code{force-hshift}. "
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\relative c' {
<< { f
- \override NoteColumn #'force-hshift = #0.1
+ \override NoteColumn.force-hshift = #0.1
f } \\
{ e e }
>>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "If @code{NoteCollision} has
\context Staff \relative c'' <<
{
g8[ g8]
- \override Staff.NoteCollision #'merge-differently-dotted = ##t
+ \override Staff.NoteCollision.merge-differently-dotted = ##t
g8[ g8]
g4. r8 g8. g16
g8 g4 r8 g4
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc =
\context Staff \relative c'' <<
{
- \override Staff.NoteCollision #'merge-differently-headed = ##t
+ \override Staff.NoteCollision.merge-differently-headed = ##t
c2 c8 c4.
c2
}\\
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Mixed collisions with whole and longer notes
\layout{ragged-right=##t}
\relative c'' {
- \override Score.NoteHead #'style = #'altdefault
+ \override Score.NoteHead.style = #'altdefault
<<
{ c1 c2*2 c1 c4*4 c1 c\breve*1/2 c\breve*1/2 b\breve*1/2 }
\\
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc = "Each grob can have a color assigned to it.
\paper { ragged-right = ##t }
\relative c' {
- \override Accidental #'color = #darkgreen
- \override Beam #'color = #cyan
- \override NoteHead #'color = #darkyellow
+ \override Accidental.color = #darkgreen
+ \override Beam.color = #cyan
+ \override NoteHead.color = #darkyellow
c4
- \override NoteHead #'color = #red
+ \override NoteHead.color = #red
f
- \override NoteHead #'color = #darkmagenta
+ \override NoteHead.color = #darkmagenta
g
- \override NoteHead #'color = #darkblue
+ \override NoteHead.color = #darkblue
b
- \override NoteHead #'color = #green
- \override Stem #'color = #blue
- \override Flag #'color = #magenta
+ \override NoteHead.color = #green
+ \override Stem.color = #blue
+ \override Flag.color = #magenta
e8 es d dis e4 r
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Create compound time signatures. The argument is a Scheme list
\relative c' {
- \override Staff.TimeSignature #'break-visibility = #'#(#f #t #t)
+ \override Staff.TimeSignature.break-visibility = #'#(#f #t #t)
\compoundMeter #'(1 2 3 4 8)
\repeat unfold 10 c8 \repeat unfold 20 c16 \break
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Context modifications can be stored into a variable as a
ctxmod = \with {
\remove "Time_signature_engraver"
\consists "Ambitus_engraver"
- \override StaffSymbol #'line-count = 4
+ \override StaffSymbol.line-count = 4
}
music = \relative c'' { \key fis \minor c1 d e }
\layout {
\context { \Staff
\ctxmod
- \override NoteHead #'style = #'petrucci
+ \override NoteHead.style = #'petrucci
}
}
}
>>
\layout {
\context { \Staff
- \override StaffSymbol #'line-count = 3
- \override NoteHead #'style = #'petrucci
+ \override StaffSymbol.line-count = 3
+ \override NoteHead.style = #'petrucci
}
% Should override the above definitions, but not reset others
\context { \Staff
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Context modifications can be stored into a variable as a
ctxmod = \with {
\remove "Time_signature_engraver"
\consists "Ambitus_engraver"
- \override StaffSymbol #'line-count = 4
+ \override StaffSymbol.line-count = 4
}
\layout {
music = \relative c'' { \key fis \minor c1 d e }
\score { <<
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
- \override Score.RehearsalMark #'font-size = #-2
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
+ \override Score.RehearsalMark.font-size = #-2
% No modifications:
\new Staff { \mark \markup { No modifications } \music }
\new Staff \with {
\remove "Time_signature_engraver"
\consists "Ambitus_engraver"
- \override StaffSymbol #'line-count = 4
+ \override StaffSymbol.line-count = 4
} {
\mark
\markup { "Remove time sig, add ambitus, set staff to 4 lines" }
-\version "2.16.0"
+\version "2.17.6"
instrument = \relative c' {
\repeat unfold 40 { c8 }
c2 c |
% Change the break-align-orders of the score so that cue-clef comes after bar-line
- \override Score.BarLine #'space-alist #'cue-clef = #'(minimum-space . 1.0)
- \override Score.BreakAlignment #'break-align-orders =
+ \override Score.BarLine.space-alist.cue-clef = #'(minimum-space . 1.0)
+ \override Score.BreakAlignment.break-align-orders =
##(( ;; end-of-line:
left-edge cue-end-clef ambitus breathing-sign clef staff-bar
key-cancellation key-signature time-signature cue-clef custos)
c2 c2 |
% Revert back to default
- \revert Score.BarLine #'(space-alist cue-clef)
- \revert Score.BreakAlignment #'break-align-orders
+ \revert Score.BarLine.space-alist.cue-clef
+ \revert Score.BreakAlignment.break-align-orders
\cueDuringWithClef #"instrQuote" #UP #"bass" { R1 }
c2 c2 |
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Custodes may be engraved in various styles."
}
{
- \override Staff.Custos #'neutral-position = #4
+ \override Staff.Custos.neutral-position = #4
- \override Staff.Custos #'style = #'hufnagel
+ \override Staff.Custos.style = #'hufnagel
c'1^"hufnagel"
\break < d' a' f''>1
- \override Staff.Custos #'style = #'medicaea
+ \override Staff.Custos.style = #'medicaea
c'1^"medicaea"
\break < d' a' f''>1
- \override Staff.Custos #'style = #'vaticana
+ \override Staff.Custos.style = #'vaticana
c'1^"vaticana"
\break < d' a' f''>1
- \override Staff.Custos #'style = #'mensural
+ \override Staff.Custos.style = #'mensural
c'1^"mensural"
\break < d' a' f''>1
}
\test ##[ \unset Score . skipBars #] % PropertyUnset
\test ##[ \unset autoBeaming #]
%% Layout properties
-\test ##[ \override Staff . Stem #'thickness = #4.0 #] % OverrideProperty
-\test ##[ \once \override Beam #'beam-thickness = #0.6 #]
-\test ##[ \revert Staff . Stem #'thickness #] % RevertProperty
-\test ##[ \revert Beam #'beam-thickness #]
+\test ##[ \override Staff.Stem.thickness = #4.0 #] % OverrideProperty
+\test ##[ \once \override Beam.beam-thickness = #0.6 #]
+\test ##[ \revert Staff.Stem.thickness #] % RevertProperty
+\test ##[ \revert Beam.beam-thickness #]
\test "NOT A BUG" ##[ \oneVoice #] % resetting a bunch of properties
-\test ##[ \override StaffGrouper #'(staff-staff-spacing basic-distance) = #7 #] % nested properties
-\test ##[ \revert StaffGrouper #'(staff-staff-spacing basic-distance) #] % nested properties
+\test ##[ \override StaffGrouper.staff-staff-spacing.basic-distance = #7 #] % nested properties
+\test ##[ \revert StaffGrouper.staff-staff-spacing.basic-distance #] % nested properties
%% \applyOutput
\test ##[ \applyOutput #'Foo #(lambda (arg) (list)) #]
\test ##[ \ottava #1 #] % OttavaMusic
%% \tweak
-\test ##[ < \tweak #'duration-log #2 c > #]
-\test ##[ < c \tweak #'transparent ##t e > #]
-\test ##[ < \tweak #'color #'(1.0 0.0 0.0) \tweak #'duration-log #2 c > #]
-\test ##[ c-\tweak #'font-size #3 -> #]
+\test ##[ < \tweak duration-log #2 c > #]
+\test ##[ < c \tweak transparent ##t e > #]
+\test ##[ < \tweak color #'(1.0 0.0 0.0) \tweak duration-log #2 c > #]
+\test ##[ c-\tweak font-size #3 -> #]
\test ##[ < \tweak Accidental.color #'(1.0 0.0 0.0) cis eis g > #]
%% end test.
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The @code{dot-count} property
\relative c'' {
c4.. a16
- \override Dots #'dot-count = #4
+ \override Dots.dot-count = #4
g4.. e16
- \override Dots #'dot-count = #0
+ \override Dots.dot-count = #0
c4. r8 r2
}
}
-\version "2.16.0"
+\version "2.17.6"
drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
<<
\new DrumStaff \with {
drumStyleTable = #timbales-style
- \override StaffSymbol #'line-count = #2
- \override BarLine #'bar-extent = #'(-1 . 1)
+ \override StaffSymbol.line-count = #2
+ \override BarLine.bar-extent = #'(-1 . 1)
} <<
\set Staff.instrumentName = "timbales"
\timb
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Setting the style of a @code{DynamicTextSpanner} to @code{'none}
}
\relative c'' {
- \override DynamicTextSpanner #'style = #'none
+ \override DynamicTextSpanner.style = #'none
c2\cresc g,2
\break
g2 c'2\f
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "If the line for a @code{DynamicTextSpanner} is hidden, the
g4\p\cresc g g g
g,1\f
- \override DynamicTextSpanner #'style = #'none
+ \override DynamicTextSpanner.style = #'none
g'4\p\cresc g g g
g,1\f
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Text spanners work in the @code{Dynamics} context."
c1 | c
}
\new Dynamics {
- \override TextSpanner #'(bound-details left text) = #"rit."
+ \override TextSpanner.bound-details.left.text = #"rit."
s1\startTextSpan
s1\stopTextSpan
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The space between an absolute dynamic and a dynamic text
span can be changed using @code{'right-padding}.
\relative c' {
\dimTextDim
- \once \override DynamicText #'right-padding = #0
+ \once \override DynamicText.right-padding = #0
c4\fff\> c c c\!
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = " Easy-notation (or Ez-notation) prints names in note heads.
f2 e
f4 e
- \override NoteHead #'note-names = #'#("U" "V" "W" "X" "Y" "Z" "z")
+ \override NoteHead.note-names = #'#("U" "V" "W" "X" "Y" "Z" "z")
c2 d4 e
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "An episema can be typeset over a single neume or a
\include "gregorian.ly"
\new VaticanaVoice {
- \revert Score.SpacingSpanner #'packed-spacing
+ \revert Score.SpacingSpanner.packed-spacing
a\episemInitium\episemFinis
\[ a\episemInitium \pes b \flexa a\episemFinis \]
\[ a\episemInitium \pes b \flexa a b\episemFinis \flexa a \]
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Music events can be extracted from a score with event
(parser location text)
(string?)
#{
- \override TextSpanner #'(bound-details left text) = $text
+ \override TextSpanner.bound-details.left.text = $text
#})
vlnone = \new Staff {
\set Staff.instrumentName = "violin-1"
\set Staff.midiInstrument = "violin"
- \override TextSpanner #'style = #'line
- \override TextSpanner #'(bound-details right padding) = #-1
- \override TextSpanner #'(bound-details left stencil-align-dir-y) =
+ \override TextSpanner.style = #'line
+ \override TextSpanner.bound-details.right.padding = #-1
+ \override TextSpanner.bound-details.left.stencil-align-dir-y =
#CENTER
- \override TextSpanner #'(bound-details right text) =
+ \override TextSpanner.bound-details.right.text =
\markup { \draw-line #'(0 . -1) }
\relative c' {
\key d \major
-\version "2.16.0"
+\version "2.17.6"
\header {
<3 6\\ >
<"V7" ["bla" 6] \markup{ \musicglyph #"rests.2"} >
- \once \override BassFigureAlignment #'stacking-dir = #UP
+ \once \override BassFigureAlignment.stacking-dir = #UP
<3 [5 7]>
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "It is possible to associate
\set fingeringOrientations = #'(down left up)
< c-1 e-2 g-3 b-5 > 4
- \once \override Fingering #'staff-padding = #'()
+ \once \override Fingering.staff-padding = #'()
< c-1 e-2 g-3 b-5 > 4
\set fingeringOrientations = #'(up right)
\set fingeringOrientations = #'(right)
< c-1 e-2 g-3 b-5 > 8
- \override Fingering #'add-stem-support = ##t
+ \override Fingering.add-stem-support = ##t
\set fingeringOrientations = #'(up right)
< c-1 e-2 g-3 b-5 > 4.
-\version "2.17.1"
+\version "2.17.6"
\header {
texidoc = "Horizontal @code{Fingering} grobs that collide do not intersect.
\relative c'' {
\set fingeringOrientations = #'(left)
- \override Fingering #'staff-padding = #'()
- \override Fingering #'add-stem-support = ##f
+ \override Fingering.staff-padding = #'()
+ \override Fingering.add-stem-support = ##f
<d-0 c-3 f,-0>4 <d-0 f,-3 e-0>
<d^0 c^3 f,-0> <d^0 f,-0> <c^3 f,-0>
<d-0 c-0 b-0 a-0 g-0 f-0>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Fingerings work correctly with cross-staff beams."
\stemUp \music }
\new Staff="down" \new Voice {
\clef bass \stemDown
- \override Fingering #'direction = #down
+ \override Fingering.direction = #down
\transpose c c, \music }
>>
}
-\version "2.16.0"
+\version "2.17.6"
#(set-global-staff-size 17)
\header {
% Old settings: style set to default, 'mensural, 'no-flag; using the
% default C++ function ly:stem::calc-stem
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 2/4
\mark "Default flags (C++)"
\testnotes
\mark "Symbol: 'mensural (C++)"
- \override Flag #'style = #'mensural
+ \override Flag.style = #'mensural
\testnotes
\mark "Symbol: 'no-flag (C++)"
- \override Flag #'style = #'no-flag
+ \override Flag.style = #'no-flag
\testnotes
}
% The same, but using the Scheme implementation of default-flag
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 2/4
- \override Flag #'stencil = #default-flag
- \revert Flag #'style
+ \override Flag.stencil = #default-flag
+ \revert Flag.style
\mark "Default flags (Scheme)"
\testnotes
\mark "Symbol: 'mensural (Scheme)"
- \override Flag #'style = #'mensural
+ \override Flag.style = #'mensural
\testnotes
\mark "Symbol: 'no-flag (Scheme)"
- \override Flag #'style = #'no-flag
+ \override Flag.style = #'no-flag
\testnotes
}
% New scheme functions: normal-flag, mensural-flag, no-flag
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 2/4
\mark "Function: normal-flag"
- \override Flag #'stencil = #normal-flag
+ \override Flag.stencil = #normal-flag
\testnotes
\mark "Function: mensural-flag"
- \override Flag #'stencil = #mensural-flag
+ \override Flag.stencil = #mensural-flag
\testnotes
\mark "Function: no-flag"
- \override Flag #'stencil = #no-flag
+ \override Flag.stencil = #no-flag
\testnotes
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The 'stencil property of the Flag grob can be set to a custom
(ly:stencil-translate rotated-flag (cons (- (/ stem-width 2)) 0))))
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 2/4
\mark "Function: weight-flag (custom)"
- \override Flag #'stencil = #weight-flag
+ \override Flag.stencil = #weight-flag
\testnotes
\mark "Function: inverted-flag (custom)"
- \override Flag #'stencil = #inverted-flag
+ \override Flag.stencil = #inverted-flag
\testnotes
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Flags can be drawn straight in the style used by
stemLength = #(define-music-function (parser location length) (number?)
"Set the length of the next stem explicitly."
#{
- \once \override Stem #'length-fraction = #length
+ \once \override Stem.length-fraction = #length
#}
)
{
\autoBeamOff
\time 3/8
- \override Flag #'stencil = #modern-straight-flag
- \override Stem #'length-fraction = #'1.5
+ \override Flag.stencil = #modern-straight-flag
+ \override Stem.length-fraction = #'1.5
r8
\acciaccatura {
\stemDown
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Straight flag styles."
c''8 d''16 c''32 d''64 \acciaccatura {\stemDown c''8 \stemNeutral} d''64 }
{
- \override Score.RehearsalMark #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark.self-alignment-X = #LEFT
\time 2/4
\mark "modern straight"
- \override Flag #'stencil = #modern-straight-flag
+ \override Flag.stencil = #modern-straight-flag
\testnotes
\mark "old straight (large angles)"
- \override Flag #'stencil = #old-straight-flag
+ \override Flag.stencil = #old-straight-flag
\testnotes
%
% \mark "custom slant"
% % flag thickness and spacing
% % up-flag angle and length
% % down-flag angle and length
-% \override Flag #'stencil = #(straight-flag 0.35 0.8 -5 0.5 60 2.0)
+% \override Flag.stencil = #(straight-flag 0.35 0.8 -5 0.5 60 2.0)
% \testnotes
}
"
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##T
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
% change for other default global staff size.
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
{
- \override Score.PaperColumn #'keep-inside-line = ##f
- \override Staff.TimeSignature #'font-name = #"Times New Roman"
+ \override Score.PaperColumn.keep-inside-line = ##f
+ \override Staff.TimeSignature.font-name = #"Times New Roman"
\time 3/4
\set Score.skipBars = ##t
- \override Staff.MultiMeasureRestText #'font-name = #"LuxiMono"
+ \override Staff.MultiMeasureRestText.font-name = #"LuxiMono"
R1*21^"Rest in LuxiMono"
c'1_\markup {
<<
\new Staff \relative c' {
d4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 0))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 2 4)
a8-\footnote #'(1 . 1) \markup { p } \<
-\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c\f |
d a b c |\break
d,4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 6))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 8 10)
a8-\footnote #'(1 . 1) \markup { p } \<
-\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
d a b c\f |\pageBreak
d,4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 12))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 14 16)
a8-\footnote #'(1 . 1) \markup { p } \<
-\single\footnote #'(1 . 1) \markup { o } Beam [ b c d ] a4 b c |
}
\new Staff \relative c' {
d4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 1))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 3 5)
a8-\single\footnote #'(1 . 1) \markup { p } Hairpin \<
-\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c\f |
d a b c |\break
d,4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 7))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 9 11)
a8-\footnote #'(1 . 1) \markup { p } \<
-\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
d a b c\f |\pageBreak
d,4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 13))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 15 17)
a8-\single\footnote #'(1 . 1) \markup { p } Hairpin \<
-\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
\markup { h i }
\relative c' {
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 3))
\footnote #'(1 . -1) \markup { j } NoteHead
a b c d
\relative c' {
d4 e
- \once \override FootnoteItem #'numbering-assertion-function =
+ \once \override FootnoteItem.numbering-assertion-function =
#(lambda (grob) (make-footnote-numbering-assertion-function 5))
< f \footnote #'(1 . -1) \markup { n } a c >
- \once \override FootnoteSpanner #'numbering-assertion-function =
+ \once \override FootnoteSpanner.numbering-assertion-function =
#(simultaneous-footnote-numbering-assertion-function 6 7)
a8-\footnote #'(1 . 1) \markup { p } \<
-\footnote #'(1 . 1) \markup { o } [ b c d ] a4 b c |
\time 3/4
\break \pageBreak
c2.
- \once \override Score . FootnoteItem #'break-visibility = ##(#f #f #t)
+ \once \override Score.FootnoteItem.break-visibility = ##(#f #f #t)
\footnote "foo" #'(0 . 2) "bar" Staff.TimeSignature
\time 4/4
\break \pageBreak
b c d a
b c d a\!
-\once \override FootnoteSpanner #'spanner-placement = #RIGHT
+\once \override FootnoteSpanner.spanner-placement = #RIGHT
b4-\single\footnote
\markup { \tiny "2." }
#'(0.5 . 0.5)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
\new FretBoards {
\chordmode{
c1 |
- \override FretBoard #'fret-diagram-details
- #'orientation = #'landscape
+ \override FretBoard.fret-diagram-details.orientation = #'landscape
c1 |
- \override FretBoard #'fret-diagram-details
- #'orientation = #'opposing-landscape
+ \override FretBoard.fret-diagram-details.orientation = #'opposing-landscape
c1
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
%% C major for guitar, with capo on third fret
% thinner capo
% verbose style
- \override TextScript #'fret-diagram-details
- #'capo-thickness = #0.2
+ \override TextScript.fret-diagram-details.capo-thickness = #0.2
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(capo 3)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
(barre 5 1 3))}
%% C major for guitar, verbose style
- \override TextScript #'fret-diagram-details
- #'dot-radius = #0.3
+ \override TextScript.fret-diagram-details.dot-radius = #0.3
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \revert TextScript #'(fret-diagram-details dot-radius)
- \once \override TextScript #'fret-diagram-details
- #'dot-color = #'white
+ \revert TextScript.fret-diagram-details.dot-radius
+ \once \override TextScript.fret-diagram-details.dot-color = #'white
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \once \override TextScript #'fret-diagram-details
- #'dot-position = #0.5
+ \once \override TextScript.fret-diagram-details.dot-position = #0.5
c'1 ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
\new Voice {
\textLengthOn
%% C major for guitar, verbose style
- \override TextScript #'fret-diagram-details
- #'finger-code = #'below-string
+ \override TextScript.fret-diagram-details.finger-code = #'below-string
c'1 ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \override TextScript #'fret-diagram-details
- #'string-label-font-mag = #0.4
+ \override TextScript.fret-diagram-details.string-label-font-mag = #0.4
c'1 ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \override TextScript #'fret-diagram-details
- #'finger-code = #'in-dot
+ \override TextScript.fret-diagram-details.finger-code = #'in-dot
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \once \override TextScript #'fret-diagram-details
- #'dot-color = #'white
+ \once \override TextScript.fret-diagram-details.dot-color = #'white
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \once \override TextScript #'fret-diagram-details
- #'dot-label-font-mag = #0.75
+ \once \override TextScript.fret-diagram-details.dot-label-font-mag = #0.75
c'1 ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(place-fret 1 3 1)
(barre 5 1 3))}
%% dot color inversion, white on black
- \once \override TextScript #'fret-diagram-details
- #'dot-color = #'black
+ \once \override TextScript.fret-diagram-details.dot-color = #'black
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1 inverted)
(place-fret 1 3 1)
(barre 5 1 3))}
%% dot color inversion, black on white
- \once \override TextScript #'fret-diagram-details
- #'dot-color = #'white
+ \once \override TextScript.fret-diagram-details.dot-color = #'white
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1 inverted)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
(barre 5 1 3))}
%% C major for guitar, verbose style
- \override TextScript #'fret-diagram-details
- #'label-dir = #LEFT
- \override TextScript #'fret-diagram-details
- #'number-type = #'roman-upper
+ \override TextScript.fret-diagram-details.label-dir = #LEFT
+ \override TextScript.fret-diagram-details.number-type = #'roman-upper
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \revert TextScript #'(fret-diagram-details label-dir)
- \override TextScript #'fret-diagram-details
- #'fret-label-font-mag = #0.4
- \override TextScript #'fret-diagram-details
- #'number-type = #'arabic
- \once \override TextScript #'fret-diagram-details
- #'fret-label-vertical-offset = #0.25
+ \revert TextScript.fret-diagram-details.label-dir
+ \override TextScript.fret-diagram-details.fret-label-font-mag = #0.4
+ \override TextScript.fret-diagram-details.number-type = #'arabic
+ \once \override TextScript.fret-diagram-details.fret-label-vertical-offset = #0.25
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \revert TextScript #'(fret-diagram-details label-dir)
- \once \override TextScript #'fret-diagram-details
- #'number-type = #'custom
- \once \override TextScript #'fret-diagram-details
- #'fret-label-custom-format = #"~d°"
+ \revert TextScript.fret-diagram-details.label-dir
+ \once \override TextScript.fret-diagram-details.number-type = #'custom
+ \once \override TextScript.fret-diagram-details.fret-label-custom-format = #"~d°"
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
\new Voice {
\textLengthOn
- \override TextScript #'fret-diagram-details
- #'orientation = #'landscape
+ \override TextScript.fret-diagram-details.orientation = #'landscape
%% C major for guitar, regular style
c'1 ^\markup {
\fret-diagram #"6-x;5-3-3;4-2-2;3-o;2-1;1-o;"}
%% C major for guitar with barre on fret 3, regular style
- \once \override TextScript #'fret-diagram-details
- #'label-dir = #LEFT
- \once \override TextScript #'fret-diagram-details
- #'barre-type = #'straight
+ \once \override TextScript.fret-diagram-details.label-dir = #LEFT
+ \once \override TextScript.fret-diagram-details.barre-type = #'straight
c' ^\markup {
\fret-diagram
#"f:1;s:1.2;6-x;c:5-1-3;5-3-1;4-5-2;3-5-3;2-5-4;1-3-1;"}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
\new Voice {
\textLengthOn
- \override TextScript #'fret-diagram-details
- #'orientation = #'opposing-landscape
+ \override TextScript.fret-diagram-details.orientation = #'opposing-landscape
%% C major for guitar, regular style
c'1 ^\markup {
\fret-diagram #"6-x;5-3-3;4-2-2;3-o;2-1;1-o;"}
%% C major for guitar with barre on fret 3, regular style
- \once \override TextScript #'fret-diagram-details
- #'label-dir = #LEFT
- \once \override TextScript #'fret-diagram-details
- #'barre-type = #'straight
+ \once \override TextScript.fret-diagram-details.label-dir = #LEFT
+ \once \override TextScript.fret-diagram-details.barre-type = #'straight
c' ^\markup {
\fret-diagram
#"f:1;s:1.2;6-x;c:5-1-3;5-3-1;4-5-2;3-5-3;2-5-4;1-3-1;"}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
(barre 5 1 3))}
%% C major for guitar, verbose style
- \once \override TextScript #'thickness = #1.5
+ \once \override TextScript.thickness = #1.5
c'1 ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
(barre 5 1 3))}
%% C major for guitar, verbose style
- \once \override TextScript #'fret-diagram-details
- #'string-thickness-factor = #0.3
+ \once \override TextScript.fret-diagram-details.string-thickness-factor = #0.3
c' ^\markup {
\fret-diagram-verbose #'((mute 6)
(place-fret 5 3 1)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="
\fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"}
%% D major for guitar, terse style
- \once \override TextScript #'fret-diagram-details
- #'top-fret-thickness = #5
- \once \override TextScript #'fret-diagram-details
- #'xo-font-magnification = #0.3
+ \once \override TextScript.fret-diagram-details.top-fret-thickness = #5
+ \once \override TextScript.fret-diagram-details.xo-font-magnification = #0.3
d'1 ^\markup {
\fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"}
%% D major for guitar, terse style
- \override TextScript #'fret-diagram-details
- #'mute-string = #"M"
- \override TextScript #'fret-diagram-details
- #'open-string = #"*"
- \override TextScript #'fret-diagram-details
- #'xo-padding = #0.5
+ \override TextScript.fret-diagram-details.mute-string = #"M"
+ \override TextScript.fret-diagram-details.open-string = #"*"
+ \override TextScript.fret-diagram-details.xo-padding = #0.5
d'1 ^\markup {
\fret-diagram-terse #"x;x;o;2-1;3-2;2-3;"}
texidoc = "When broken, glissandi can span multiple lines."
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
\relative c'' {
- \override Glissando #'breakable = ##t
- \override Glissando #'after-line-breaking = ##t
+ \override Glissando.breakable = ##t
+ \override Glissando.after-line-breaking = ##t
d1\glissando
\break s1
\break s1
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Broken glissandi anticipate the pitch on the next line."
\score {
\relative c' {
- \override Glissando #'after-line-breaking = ##t
- \override Glissando #'breakable = ##t
+ \override Glissando.after-line-breaking = ##t
+ \override Glissando.breakable = ##t
c1\glissando
\break
c'1
\score {
\relative c' {
- \override Glissando #'after-line-breaking = ##t
- \override Glissando #'breakable = ##t
+ \override Glissando.after-line-breaking = ##t
+ \override Glissando.breakable = ##t
c1\glissando
\break
c'1
texidoc = "If broken, Glissandi anticipate on the pitch of the next line."
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##T }
\relative c'' {
- \override Glissando #'breakable = ##t
+ \override Glissando.breakable = ##t
d1 \glissando |
\break
c,1
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Individual glissandi within a chord can be tweaked."
}
\relative c' {
- \once \override Voice . Glissando #'style =
+ \once \override Voice.Glissando.style =
#(lambda (grob)
(if (eq? 1 (ly:grob-property grob 'glissando-index)) 'zigzag 'default))
<d f a>1 \glissando s1 <f a c>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "@code{NoteColumn} grobs can be skipped over by glissandi.
\relative c' {
a2 \glissando
- \once \override NoteColumn #'glissando-skip = ##t
+ \once \override NoteColumn.glissando-skip = ##t
f''4 d,
}
-\version "2.16.0"
+\version "2.17.6"
\header{
}
\new Staff \relative c''{
- \override Glissando #'breakable = ##t
+ \override Glissando.breakable = ##t
%% gliss non gliss and
c4 \glissando d e \glissando f \glissando \break
c \glissando d, \glissando e'
<< { e8 \glissando g8 } \\
{ \repeat unfold 4 d16 } >>
- \override Glissando #'style = #'zigzag
+ \override Glissando.style = #'zigzag
c4 \glissando c,, \glissando c' \glissando d
}
normal notes, if possible. They should never be longer, even if that
would lead to beam quanting problems."
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
<< { c16[ b] } \\ >>
\grace { c16[ b] } d4
-% \override Beam #'inspect-quants =#'(2.8 . 2.5)
+% \override Beam.inspect-quants =#'(2.8 . 2.5)
% \grace { c16[ b] } d4
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc = "Here @code{startGraceMusic} should set @code{no-stem-extend} to
true; the two grace beams should be the same here.
\context Voice \relative c {
\grace {
f8[ e8]
- \override Stem #'no-stem-extend = ##t
+ \override Stem.no-stem-extend = ##t
f8[ e8]
- \revert Stem #'no-stem-extend
+ \revert Stem.no-stem-extend
}
a4
staves synchronized with the notes."
}
-\version "2.16.0"
+\version "2.17.6"
skips =
{
\time 12/8
- \once \override Score.GridLine #'thickness = #4.0
+ \once \override Score.GridLine.thickness = #4.0
s8
s8
s8
- \once \override Score.GridLine #'thickness = #3.0
+ \once \override Score.GridLine.thickness = #3.0
s8
s8
s8
- \once \override Score.GridLine #'thickness = #4.0
+ \once \override Score.GridLine.thickness = #4.0
s8
s8
s8
- \once \override Score.GridLine #'thickness = #3.0
+ \once \override Score.GridLine.thickness = #3.0
s8
s8
s8
\RhythmicStaff
\consists "Grid_point_engraver"
gridInterval = #(ly:make-moment 1 8)
- \override BarLine #'bar-extent = #'(-0.025 . 0.025)
+ \override BarLine.bar-extent = #'(-0.025 . 0.025)
}
\context {
\StaffGroup
\context {
\Score
\consists "Grid_line_span_engraver"
- \override SystemStartBrace #'transparent = ##t
+ \override SystemStartBrace.transparent = ##t
- \override NoteColumn #'X-offset = #-0.5
- \override NoteHead #'Y-offset = #0.75
+ \override NoteColumn.X-offset = #-0.5
+ \override NoteHead.Y-offset = #0.75
}
}
\new StaffGroup <<
\new RhythmicStaff \with
{
- \override NoteHead #'no-ledgers = ##t
+ \override NoteHead.no-ledgers = ##t
}
{
\stemUp
}
\new RhythmicStaff
{
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Beam #'transparent = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Beam.transparent = ##t
<< \skips
% force regular spacing by introducing notes.
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
{
\set fingeringOrientations = #'(right)
<
- \tweak #'font-size #3 c
- \tweak #'color #red d-\tweak #'font-size #8 -4
- \tweak #'style #'cross g
- \tweak #'duration-log #1 a
+ \tweak font-size #3 c
+ \tweak color #red d-\tweak font-size #8 -4
+ \tweak style #'cross g
+ \tweak duration-log #1 a
>4
}
should not be left open, and should end at the bar line. "
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
line-width = 4.\cm
c1\>
\break
c1\!
- \override Hairpin #'to-barline = ##f
+ \override Hairpin.to-barline = ##f
c1\>
\break
c1\!
-\version "2.16.0"
+\version "2.17.6"
\header {
\layout { ragged-right = ##t }
\relative c'' {
- \override Hairpin #'circled-tip = ##t
+ \override Hairpin.circled-tip = ##t
c1\< d\! d\> c\!
- \override Hairpin #'to-barline = ##f
+ \override Hairpin.to-barline = ##f
e\> c\< d\! \break
c\< \break
e d\! c\> \break
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc ="Hairpin crescendi may be dashed. "
\relative c' {
- \override Hairpin #'style = #'dashed-line
+ \override Hairpin.style = #'dashed-line
f2\< g c1 d4\> b a gis\! }
-\version "2.16.0"
+\version "2.17.6"
\header {
\layout { ragged-right = ##t }
\relative c'' {
- \override Score.PaperColumn #'keep-inside-line = ##f
+ \override Score.PaperColumn.keep-inside-line = ##f
c4 \> c4 c4\! c4_\ff \> c4 c4\!\p
<<
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Bound padding for hairpins also applies before following
}
\relative c' {
- \override Hairpin #'to-barline = ##f
+ \override Hairpin.to-barline = ##f
c2\>
\dimTextDim
c2\>
c\> c\! \break
\dimTextDim
c2\>
- \override Hairpin #'bound-padding = #5
+ \override Hairpin.bound-padding = #5
\dimHairpin
c2\>
\dimTextDim
}
-\version "2.16.0"
+\version "2.17.6"
\relative c'' {
- \override Hairpin #'bound-padding = #1.0
+ \override Hairpin.bound-padding = #1.0
c4\< c2. c4\!
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Staves in a PianoStaff remain alive as long as any of
\context {
\Staff
\RemoveEmptyStaves
- \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup.remove-first = ##t
}
}
-\version "2.16.0"
+\version "2.17.6"
\header { texidoc =
ragged-right= ##t
\context {
\Staff
- \override StaffSymbol #'line-count = 4
+ \override StaffSymbol.line-count = 4
\consists "Ambitus_engraver"
\remove "Clef_engraver"
}
-\version "2.16.0"
+\version "2.17.6"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "Harp pedal diagram contains dividers at positions ~a. Normally, there is only one divider after the third pedal.") '(1 3 5))
}
\relative c'' {
- \override Score.PaperColumn #'keep-inside-line = ##f
+ \override Score.PaperColumn.keep-inside-line = ##f
% Sanity checks: #pedals != 7:
c1^\markup \harp-pedal #"^-v|--"
% Sanity checks: no divider, multiple dividers, divider on wrong position:
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Harp pedals can be tweaked through the size, thickness and
}
\relative c'' {
- \override Score.PaperColumn #'keep-inside-line = ##f
- \override Voice.TextScript #'(harp-pedal-details box-width) = #1
- \once \override Voice.TextScript #'size = #1.5
- \once \override Voice.TextScript #'thickness = #7
+ \override Score.PaperColumn.keep-inside-line = ##f
+ \override Voice.TextScript.harp-pedal-details.box-width = #1
+ \once \override Voice.TextScript.size = #1.5
+ \once \override Voice.TextScript.thickness = #7
c1^\markup \harp-pedal #"o^ovo-|vovo-o^"
c1^\markup \override #'(harp-pedal-details . (
(box-width . 0.6)
(space-before-divider . 0.1)
(space-after-divider . 1.2))) {
\harp-pedal #"o^ovo-|vovo-o^"}
- \revert Voice.TextScript #'(harp-pedal-details box-width)
- \override Voice.TextScript #'(harp-pedal-details circle-thickness) = #3
- \override Voice.TextScript #'(harp-pedal-details circle-x-padding) = #0.6
- \override Voice.TextScript #'(harp-pedal-details circle-y-padding) = #-0.3
+ \revert Voice.TextScript.harp-pedal-details.box-width
+ \override Voice.TextScript.harp-pedal-details.circle-thickness = #3
+ \override Voice.TextScript.harp-pedal-details.circle-x-padding = #0.6
+ \override Voice.TextScript.harp-pedal-details.circle-y-padding = #-0.3
c1^\markup \harp-pedal #"o^ovo-|vovo-o^"
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Horizontal brackets are created with the correct event-cause, ensuring
}
\relative c' {
- c1-\tweak #'thickness #6 \startGroup
+ c1-\tweak thickness #6 \startGroup
c1\startGroup
c1\stopGroup
c1\stopGroup
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Shows the id property of a grob being set. This should have
"
}
-{ \override NoteHead #'id = #"foo" c }
+{ \override NoteHead.id = #"foo" c }
\book {
\relative c' {
\repeat unfold 5 {
- \once \override FootnoteItem #'footnote = ##f
+ \once \override FootnoteItem.footnote = ##f
\footnote
"" #'(0 . 0)
\markup { \box \fill-line { "this is a test" } } NoteHead
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Incipits can be printed using an @code{InstrumentName}
\score {
\new Staff {
%% All this would be shortcuted by an appropriate music function:
- \override Staff.InstrumentName #'music = ##{ \clef "petrucci-c1" c'4 d' e' f' #}
- \override Staff.InstrumentName #'self-alignment-X = #RIGHT
- \override Staff.InstrumentName #'padding = #0
- \override Staff.InstrumentName #'stencil =
+ \override Staff.InstrumentName.music = ##{ \clef "petrucci-c1" c'4 d' e' f' #}
+ \override Staff.InstrumentName.self-alignment-X = #RIGHT
+ \override Staff.InstrumentName.padding = #0
+ \override Staff.InstrumentName.stencil =
#(lambda (grob)
(let* ((instrument-name (ly:grob-property grob 'long-text))
(layout (ly:output-def-clone (ly:grob-layout grob)))
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Instrument names are removed when the staves are
\new PianoStaff <<
\new Staff {
- \override Staff.VerticalAxisGroup #'remove-empty = ##t
+ \override Staff.VerticalAxisGroup.remove-empty = ##t
\set PianoStaff.instrumentName = #"up"
\set PianoStaff.shortInstrumentName = #"u"
c'1\break R
}
-\version "2.16.0"
+\version "2.17.6"
\paper { left-margin = 3\cm }
\score {
\new StaffGroup <<
\new Staff {
- \override Staff . InstrumentName #'self-alignment-X = #LEFT
+ \override Staff.InstrumentName.self-alignment-X = #LEFT
\set Staff . instrumentName = \markup \column {
"Left aligned" "instrument name"
}
c''1 \break c''
}
\new Staff {
- \override Staff . InstrumentName #'self-alignment-X = #CENTER
+ \override Staff.InstrumentName.self-alignment-X = #CENTER
\set Staff . instrumentName = \markup \center-column {
"Centered" "instrument name"
}
g'1 g'
}
\new Staff {
- \override Staff . InstrumentName #'self-alignment-X = #RIGHT
+ \override Staff.InstrumentName.self-alignment-X = #RIGHT
\set Staff . instrumentName = \markup \column \right-align {
"Right aligned" "instrument name"
}
-\version "2.16.0"
+\version "2.17.6"
\header { texidoc = "Each clef has its own accidental placing
rules, which can be adjusted using @code{sharp-positions}
and @code{flat-positions}." }
\key cis \major cis \key ces \major ces
\break R1
\tempo "B-sharp on top"
- \override Staff.KeySignature #'sharp-positions = #'(6 0 1 2 3 4 5)
- \override Staff.KeyCancellation #'sharp-positions = #'(6 0 1 2 3 4 5)
+ \override Staff.KeySignature.sharp-positions = #'(6 0 1 2 3 4 5)
+ \override Staff.KeyCancellation.sharp-positions = #'(6 0 1 2 3 4 5)
\key cis \major R
\tempo "Flats throughout the staff"
- \override Staff.KeySignature #'flat-positions = #'((-5 . 5))
- \override Staff.KeyCancellation #'flat-positions = #'((-5 . 5))
+ \override Staff.KeySignature.flat-positions = #'((-5 . 5))
+ \override Staff.KeyCancellation.flat-positions = #'((-5 . 5))
\key ces \major R
\clef tenor
\key cis \major cis \break \key ces \major ces
}
-\version "2.16.0"
+\version "2.17.6"
{
- \override Staff.KeySignature #'padding-pairs
+ \override Staff.KeySignature.padding-pairs
= #'((("accidentals.flat" . "accidentals.sharp.slashslash.stemstemstem") . 0.5))
\set Staff.keySignature = #`((4 . ,FLAT) (6 . ,THREE-Q-SHARP) (2 . ,SEMI-FLAT))
e2
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The 'head-direction of a LaissezVibrerTieColumn should
\relative c'' {
c2 \laissezVibrer
- \once \override LaissezVibrerTieColumn #'head-direction = #RIGHT
+ \once \override LaissezVibrerTieColumn.head-direction = #RIGHT
c \laissezVibrer
}
"
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
<c d f g>4.\laissezVibrer r8
<c d e f>4\laissezVibrer r
- \override LaissezVibrerTieColumn #'tie-configuration
+ \override LaissezVibrerTieColumn.tie-configuration
= #'((-7 . -1)
(-5 . -1)
(-3 . 1)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Ledger lines should appear at every other location
for a variety of staves using both @code{line-count} and
\new Staff {
% upper and lower lines both odd
#(define mylines '(-1 0 1))
- \override Staff.StaffSymbol #'line-count = #(length mylines)
- \override Staff.StaffSymbol #'line-positions = #mylines
+ \override Staff.StaffSymbol.line-count = #(length mylines)
+ \override Staff.StaffSymbol.line-positions = #mylines
\notes
}
\new Staff {
% upper and lower lines both even
#(define mylines '(-2 0 2))
- \override Staff.StaffSymbol #'line-positions = #mylines
+ \override Staff.StaffSymbol.line-positions = #mylines
- \override Staff.StaffSymbol #'line-count = #(length mylines)
+ \override Staff.StaffSymbol.line-count = #(length mylines)
\notes
}
\new Staff {
% lower line odd, upper line even
#(define mylines '(-1 0 2))
- \override Staff.StaffSymbol #'line-positions = #mylines
- \override Staff.StaffSymbol #'line-count = #(length mylines)
+ \override Staff.StaffSymbol.line-positions = #mylines
+ \override Staff.StaffSymbol.line-count = #(length mylines)
\notes
}
\new Staff {
% odd line count
- \override Staff.StaffSymbol #'line-count = #5
+ \override Staff.StaffSymbol.line-count = #5
\notes
}
\new Staff {
% even line count
- \override Staff.StaffSymbol #'line-count = #4
+ \override Staff.StaffSymbol.line-count = #4
\notes
}
-\version "2.16.0"
+\version "2.17.6"
\header {
composer = "ARTHUR GRAY"
cis''''4^\markup { \small \italic "m.g." }\arpeggio~
\grace {
cis8
- \revert Stem #'direction
+ \revert Stem.direction
a16[-5_( fis dis]
\ottava #0
r8 <a' a,>8(\mf <gis gis,> <fis fis,>
% \fingerUp
- \override Fingering #'direction = #UP
+ \override Fingering.direction = #UP
<gis gis,> <fis fis,> e)-1-4-5 r
\stemDown
\slurDown
% \fingerDown
- \override Fingering #'direction = #DOWN
+ \override Fingering.direction = #DOWN
s2
| %1
s1*2
| %5
s8 cis4. d4
% fair to count as one tweak?
- \override Fingering #'add-stem-support = ##t %tweak
- \override Fingering #'padding = #0.15
- \override Fingering #'slur-padding = #0.1
+ \override Fingering.add-stem-support = ##t %tweak
+ \override Fingering.padding = #0.15
+ \override Fingering.slur-padding = #0.1
<cis e,>8[( <d,_3 b'_1>
| %6
<cis_1 a'_2>)] cis'4. d4
r8. e,16(\f_2 <a a,>8[ <b b,>]
| %2
- %\override Staff.SustainPedalLineSpanner #'staff-padding = #5 %tweak
+ %\override Staff.SustainPedalLineSpanner.staff-padding = #5 %tweak
<cis cis,>4\sustainOn
\change Staff=treble
>>
\grace {
- \override Flag #'stroke-style = #"grace"
+ \override Flag.stroke-style = #"grace"
s8
s16 s s
\clef bass
<e,,, e,>32(\sustainOff\sustainOn
- \revert Flag #'stroke-style
+ \revert Flag.stroke-style
}
<gis' e>2)
\slurUp
% \fingerDown
- \override Fingering #'direction = #DOWN
+ \override Fingering.direction = #DOWN
- %\override Staff.SustainPedalLineSpanner #'staff-padding = #3.5 %tweak
+ %\override Staff.SustainPedalLineSpanner.staff-padding = #3.5 %tweak
\set Staff.pedalSustainStyle = #'mixed
%%a,8 e'[-5(<a-2 cis-3>])
}
middleDynamics = {
- %\override Dynamics.TextScript #'padding = #-1 %tweak
+ %\override Dynamics.TextScript.padding = #-1 %tweak
s2
s1*2
| %4
}
-\version "2.16.0"
+\version "2.17.6"
\layout { ragged-right = ##t }
withPaddingA = #(define-music-function (parser location padding music) (number? ly:music?)
- #{ \override TextScript #'padding = #padding
+ #{ \override TextScript.padding = #padding
$music
- \revert TextScript #'padding #})
+ \revert TextScript.padding #})
withPaddingB = #(define-music-function (parser location padding music) (number? ly:music?)
- #{ \override TextScript #'padding = #(* padding 2)
+ #{ \override TextScript.padding = #(* padding 2)
$music
- \revert TextScript #'padding #})
+ \revert TextScript.padding #})
withPaddingC = #(define-music-function (parser location padding music) (number? ly:music?)
- #{ \override TextScript #'padding = #(+ 1 (* padding 2))
+ #{ \override TextScript.padding = #(+ 1 (* padding 2))
$music
- \revert TextScript #'padding #})
+ \revert TextScript.padding #})
{
c'^"1"
texidoc = "Arrows can be applied to text-spanners and line-spanners (such as the Glissando)"
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
\relative c'' {
- \override TextSpanner #'bound-padding = #1.0
- \override TextSpanner #'style = #'line
- \override TextSpanner #'(bound-details right arrow) = ##t
- \override TextSpanner #'(bound-details left text) = #"fof"
- \override TextSpanner #'(bound-details right text) = #"gag"
- \override TextSpanner #'(bound-details right padding) = #0.6
+ \override TextSpanner.bound-padding = #1.0
+ \override TextSpanner.style = #'line
+ \override TextSpanner.bound-details.right.arrow = ##t
+ \override TextSpanner.bound-details.left.text = #"fof"
+ \override TextSpanner.bound-details.right.text = #"gag"
+ \override TextSpanner.bound-details.right.padding = #0.6
- \override TextSpanner #'(bound-details right stencil-align-dir-y) = #CENTER
- \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
+ \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
+ \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
- \override Glissando #'(bound-details right arrow) = ##t
- \override Glissando #'arrow-length = #0.5
- \override Glissando #'arrow-width = #0.25
+ \override Glissando.bound-details.right.arrow = ##t
+ \override Glissando.arrow-length = #0.5
+ \override Glissando.arrow-width = #0.25
a8\startTextSpan gis8 a4 b4\glissando
b,4 | g' c\stopTextSpan c
}
-\version "2.16.0"
+\version "2.17.6"
\relative c' {
- \override Staff.OttavaBracket #'dash-period = #0.1
- \override Score.OttavaBracket #'dash-fraction = #1
+ \override Staff.OttavaBracket.dash-period = #0.1
+ \override Score.OttavaBracket.dash-fraction = #1
\ottava #1
c4 c
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
indent = 0.0\mm
c1_\< c c1\!
}
\new Staff {
- \override DynamicTextSpanner #'dash-period = #3
- \override DynamicTextSpanner #'dash-fraction = #0.3
+ \override DynamicTextSpanner.dash-period = #3
+ \override DynamicTextSpanner.dash-fraction = #0.3
\crescTextCresc
c1^\< c c1\!
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Setting @code{'zigzag} style for spanners does not
\relative c' {
c1^"text"
- \override TrillSpanner #'style = #'zigzag
+ \override TrillSpanner.style = #'zigzag
c1\startTrillSpan
c2^\stopTrillSpan c^"text"
- \revert TrillSpanner #'style
+ \revert TrillSpanner.style
c1\startTrillSpan
c1^\stopTrillSpan
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Cover all line styles available."
}
\relative c'' {
- \override Glissando #'breakable = ##t
+ \override Glissando.breakable = ##t
s2
d2 \glissando d'2
- \override Glissando #'style = #'dashed-line
+ \override Glissando.style = #'dashed-line
d,2 \glissando d'2
- \override Glissando #'style = #'dotted-line
+ \override Glissando.style = #'dotted-line
d,2 \glissando d'2
- \override Glissando #'style = #'zigzag
+ \override Glissando.style = #'zigzag
d,2 \glissando d'2
- \override Glissando #'style = #'trill
+ \override Glissando.style = #'trill
d,2 \glissando d'2
- \override Glissando #'style = #'none
+ \override Glissando.style = #'none
d,2 \glissando d'2
}
{
texidoc = "switching voices in the middle of the lyrics is possible using @code{lyricsto}."
}
-\version "2.16.0"
+\version "2.17.6"
<<
\relative \new Voice = "lahlah" {
<<
\new Voice = "alternative" {
\voiceOne
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
a'4
}
{ \voiceTwo
}
-\version "2.16.0"
+\version "2.17.6"
<<
\relative \new Voice = "lahlah" {
\voiceOne
\times 2/3 {
%% show associations clearly.
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
r8 f g
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
syl -- lab word
%% increase minimum-distance: forces more space, so hyphen reappears
- \override LyricHyphen #'minimum-distance = #1.0
+ \override LyricHyphen.minimum-distance = #1.0
syl -- lab word
%% minimum-distance 0 for LyricSpace: this places words next to each other.
- \override LyricSpace #'minimum-distance = #0.0
+ \override LyricSpace.minimum-distance = #0.0
syl -- lab word
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "In lyrics, hyphens may be used."
}
\new Voice { c' (c') c'( c') }
\addlyrics {
- \override Lyrics . LyricSpace #'minimum-distance = #5.0
+ \override Lyrics.LyricSpace.minimum-distance = #5.0
a -- b x -- y
}
texidoc = "The @code{\\tweak} function can be used in Lyrics."
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
\new Lyrics \lyricmode
{
\markup \raise #1 \rotate #30 One 4
- \tweak #'extra-offset #'(0 . 2) fish,
+ \tweak extra-offset #'(0 . 2) fish,
\markup \raise #1 \rotate #-30 two fish,
- \tweak #'color #red red fish,
- \tweak #'color #blue blue fish.
+ \tweak color #red red fish,
+ \tweak color #blue blue fish.
}
-\version "2.17.5"
+\version "2.17.6"
\header{
texidoc="
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'minimum-distance = #4.2
- \override LyricText #'Y-offset = #-0.7
- \override BarLine #'bar-extent = #'(-2 . 2)
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = #4.2
+ \override LyricText.Y-offset = #-0.7
+ \override BarLine.bar-extent = #'(-2 . 2)
}
}
\layout{ ragged-right = ##t }
-\version "2.16.0"
+\version "2.17.6"
<<
- \override Score.PaperColumn #'keep-inside-line = ##f
+ \override Score.PaperColumn.keep-inside-line = ##f
\new Staff \relative c' {
\key aes \major
\context Voice = "1" {
}
\paper { ragged-right = ##T }
-\version "2.16.0"
+\version "2.17.6"
\score{
{
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
}
\new Staff {
- \override TextSpanner #'bound-details #'right #'text =
+ \override TextSpanner.bound-details.right.text =
#(markup #:draw-line '(0 . -1))
- \override TextSpanner #'thickness = #2
+ \override TextSpanner.thickness = #2
c'4 \startTextSpan
c'4 \stopTextSpan
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The @code{'style} property from grobs such as
}
\relative c' {
- \override Staff.TimeSignature #'stencil =
+ \override Staff.TimeSignature.stencil =
#(lambda (grob)
(grob-interpret-markup grob
(markup #:override '(baseline-skip . 0)
#:column (#:number "2" #:note "2" DOWN))))
- \override TextSpanner #'(bound-details left text) =
+ \override TextSpanner.bound-details.left.text =
\markup { \note #"16" #UP }
c1\startTextSpan
c1\stopTextSpan
texidoc = "The note markup function may be used to make metronome
markings. It works for a variety of flag, dot and duration settings."
}
-\version "2.16.0"
+\version "2.17.6"
\score {
\relative c''
}
- \override NoteHead #'style = #'triangle
+ \override NoteHead.style = #'triangle
c4 a
}
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Demo of markup texts, using LilyPond syntax."
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
\layout { ragged-right = ##t }
-\version "2.16.0"
+\version "2.17.6"
#(define-markup-command (upcase paper props str) (string?)
"Upcase the string characters. Syntax: \\upcase #\"string\""
\layout {
\context {
\Score
- \override PaperColumn #'keep-inside-line = ##f
+ \override PaperColumn.keep-inside-line = ##f
}
}
}
}
\context {
\Score
- \override SpacingSpanner #'packed-spacing = ##t
- \override PaperColumn #'keep-inside-line = ##f
+ \override SpacingSpanner.packed-spacing = ##t
+ \override PaperColumn.keep-inside-line = ##f
}
}
\]
\[
- \override NoteHead #'style = #'blackpetrucci
+ \override NoteHead.style = #'blackpetrucci
b\longa^\markup { "LBBBBB." }
c'\breve
d'
g
- \once \override NoteHead #'ligature-flexa = ##t
+ \once \override NoteHead.ligature-flexa = ##t
f
- \revert NoteHead #'style
+ \revert NoteHead.style
g\breve.
\]
\]
\[
- \override NoteHead #'style = #'blackpetrucci
+ \override NoteHead.style = #'blackpetrucci
e'1^\markup { "SSB" }
a
g\breve
- \revert NoteHead #'style
+ \revert NoteHead.style
\]
\[
\]
\[
- \override NoteHead #'style = #'blackpetrucci
+ \override NoteHead.style = #'blackpetrucci
e'\longa^\markup { "LBB" }
f'\breve
- \revert NoteHead #'style
+ \revert NoteHead.style
e'
\]
\[
- \override NoteHead #'style = #'blackpetrucci
+ \override NoteHead.style = #'blackpetrucci
b\breve^\markup { "BBBBBBL" }
g
- \override NoteHead #'ligature-flexa = ##t
- \override NoteHead #'flexa-width = #3
+ \override NoteHead.ligature-flexa = ##t
+ \override NoteHead.flexa-width = #3
f
f'
- \override NoteHead #'flexa-width = #5
+ \override NoteHead.flexa-width = #5
b
c'
- \revert NoteHead #'style
+ \revert NoteHead.style
% though ligature-flexa is still ##t, this pair must be drawn as recta
b\longa
- \revert NoteHead #'flexa-width
- \revert NoteHead #'ligature-flexa
+ \revert NoteHead.flexa-width
+ \revert NoteHead.ligature-flexa
\]
\bar "|" \break
\context Staff \with
{
- \override StaffSymbol #'line-count = #4
+ \override StaffSymbol.line-count = #4
}
{
\clef "petrucci-c5"
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "There is limited support for mensural notation: note head
{ \context Voice {
- \override NoteHead #'style = #'mensural
+ \override NoteHead.style = #'mensural
\transpose c d'' { c4 c2 c8 c16 c16 c1 c\breve c\longa }
\transpose c c' { c4 c2 c8 c16 c16 c1 c\breve c\longa }
}}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "A @code{MetronomeMark}, @code{RehearsalMark} and @code{BarNumber}
}
\new Staff {
- \override Score.MetronomeMark #'break-visibility = #all-visible
- \override TupletBracket #'breakable = ##t
- \override Beam #'breakable = ##t
- \override Glissando #'breakable = ##t
+ \override Score.MetronomeMark.break-visibility = #all-visible
+ \override TupletBracket.breakable = ##t
+ \override Beam.breakable = ##t
+ \override Glissando.breakable = ##t
\ottava #1 \times 1/1 { e'8\<\startTextSpan\startTrillSpan\glissando
- [ \override NoteColumn #'glissando-skip = ##t\repeat unfold 22 e'8
- \revert NoteColumn #'glissando-skip e'8\!\stopTextSpan\stopTrillSpan ] } |
+ [ \override NoteColumn.glissando-skip = ##t\repeat unfold 22 e'8
+ \revert NoteColumn.glissando-skip e'8\!\stopTextSpan\stopTrillSpan ] } |
}
\addlyrics { ah __ \repeat unfold 21 { \skip 4 } _ rrgh }
\addlyrics { ah -- \repeat unfold 21 { \skip 4 } _ rrgh }
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Metronome marks aligned on notes do not interfere with
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'stencil = #ly:paper-column::print
+ \override NonMusicalPaperColumn.stencil = #ly:paper-column::print
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Metronome marks respect symbol order in
}
\relative c' {
- \override Staff.KeySignature #'break-align-anchor-alignment = #LEFT
- \override Score.MetronomeMark #'break-align-symbols = #'(time-signature key-signature)
+ \override Staff.KeySignature.break-align-anchor-alignment = #LEFT
+ \override Score.MetronomeMark.break-align-symbols = #'(time-signature key-signature)
\key c \minor
\tempo "Time"
c1
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "@code{\\tempo} marks are aligned with the time signature
\time 8/8
\tempo "T-time"
R1
- \override Score.MetronomeMark #'break-align-symbols = #'(key-signature)
+ \override Score.MetronomeMark.break-align-symbols = #'(key-signature)
\key as \major
\tempo "T-key"
R1
-\version "2.16.0"
+\version "2.17.6"
\header{ texidoc = "The sans serif style tab clef is automatically adjusted to
different string spacings."
\new TabStaff {
\clef "moderntab"
\set TabStaff.stringTunings = #guitar-tuning
- \override TabStaff.StaffSymbol #'staff-space = #1.0 % default value is 1.5
+ \override TabStaff.StaffSymbol.staff-space = #1.0 % default value is 1.5
\guitar
}
>>
g16(_\p fis a g fis g f e d c b a ) |
<g e>8( <es fis a> <d f b> <c e c'>) r8 r |
r8 c'( e,) f r a |
- \once \override DynamicLineSpanner #'padding =#3
+ \once \override DynamicLineSpanner.padding =#3
r8 << { s8\> s8\! } << { fis( g)
} \\ { c,4 } >> >> r8 <e c g> <e c g> |
<d c a>4. r8 \clef bass <d b f> <d b f> |
fis r4 <g b>8( |
<f c'>4.)
- \once \override Slur #'height-limit = #1.0
+ \once \override Slur.height-limit = #1.0
<g c>4.( | <a c>4.) <g b,> |
c,4 r8 g4 r8 |
\layout {
\context {
\Lyrics
- \override LyricText #'font-size = #-1
+ \override LyricText.font-size = #-1
}
\context {
\Score
- \override Beam #'beam-thickness = #0.55
- \override SpacingSpanner #'spacing-increment = #1.0
- \override Slur #'height-limit = #1.5
+ \override Beam.beam-thickness = #0.55
+ \override SpacingSpanner.spacing-increment = #1.0
+ \override Slur.height-limit = #1.5
}
}
\midi {
%
-longgrace = \override Flag #'stroke-style = #'()
-endlonggrace = \revert Flag #'stroke-style
+longgrace = \override Flag.stroke-style = #'()
+endlonggrace = \revert Flag.stroke-style
ritenuto = \markup { \italic "rit." }
-\version "2.16.0"
+\version "2.17.6"
\layout {
\context {
skipBars = ##t
midiInstrument = #"french horn"
%% try to mimic Breitkopf
- \override RehearsalMark #'padding = #1
+ \override RehearsalMark.padding = #1
restNumberThreshold = #1
- \override RehearsalMark #'font-series = #'bold
- \override RehearsalMark #'font-size = #4.5
+ \override RehearsalMark.font-series = #'bold
+ \override RehearsalMark.font-size = #4.5
}
}
-\version "2.16.0"
+\version "2.17.6"
\include "mozart-hrn3-defs.ily"
romanze = \relative c' {
\grace e16
d8.[ c16) \< ] c8[ c-.( c-. c)-.]\!
\mark "C"
- \override DynamicLineSpanner #'staff-padding = #2.5
+ \override DynamicLineSpanner.staff-padding = #2.5
des1\sfp
g,1\sfp
c\sfp
c,\sfp
- \revert DynamicLineSpanner #'staff-padding
+ \revert DynamicLineSpanner.staff-padding
R1*3
r8 c[\p c c] c2~
c8[ c' c c] c2~
-\version "2.16.0"
+\version "2.17.6"
\header
{
texidoc = "The multimeasure rest is centered exactly between bar lines."
{
\set Score.skipBars = ##t
- \override Staff.BarLine #'hair-thickness = #7.5
- \override Staff.MultiMeasureRest #'hair-thickness = #10
+ \override Staff.BarLine.hair-thickness = #7.5
+ \override Staff.MultiMeasureRest.hair-thickness = #10
c'1 R1*20 c'1
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Though the default spacing for multi-measure rests
<<
\new Staff {
- \once \override MultiMeasureRest #'spacing-pair =
+ \once \override MultiMeasureRest.spacing-pair =
#'(break-alignment . staff-bar)
R1
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Multi measure rest staff position can be overridden
}
\relative c' {
- \override MultiMeasureRest #'staff-position = #0
+ \override MultiMeasureRest.staff-position = #0
R1
}
-\version "2.16.0"
+\version "2.17.6"
\header {
R2.^"4"
R2.*3_\markup { \roman "a1b2c3" }
R2.*10^"inner"^"top"_"inner"_"bot"
- \override MultiMeasureRestText #'springs-and-rods
+ \override MultiMeasureRestText.springs-and-rods
= #ly:multi-measure-rest::set-text-rods
R2.^"very very very very very very long text"
texidoc = "Multi-measure rests standard values can be tweaked."
}
-\version "2.16.0"
+\version "2.17.6"
\markup "Use non-standard multi-measure rests:"
\new Staff {
- \override MultiMeasureRest #'usable-duration-logs = #(iota 2 1)
+ \override MultiMeasureRest.usable-duration-logs = #(iota 2 1)
\time 1/4 R4
\time 2/4 R2
}
\markup "Round up to the longer rest:"
\new Staff {
- \override MultiMeasureRest #'round-up-to-longer-rest = ##t
+ \override MultiMeasureRest.round-up-to-longer-rest = ##t
\time 3/2 R1.
\time 7/2 R\breve..
}
\markup "Round up to the longer rest only in specified time signatures:"
\new Staff {
- \override MultiMeasureRest #'round-up-exceptions = #'((3 . 2))
+ \override MultiMeasureRest.round-up-exceptions = #'((3 . 2))
\time 3/2 R1.
\time 7/2 R\breve..
\time 3/2 R1.
}
-\version "2.16.0"
+\version "2.17.6"
\paper{
ragged-right = ##T
}
<< { c'4 c c c }
\\
{
- \override TextSpanner #'bound-details #'left #'text = "x"
+ \override TextSpanner.bound-details.left.text = "x"
\endSpanners c,2\<\startTextSpan c2
}
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc = "Bar lines are positioned correctly when using custom
staves which are not centered around position@tie{}0.
"
}
\new Staff {
- \override Staff.StaffSymbol #'line-positions = #'(1 3 5 7 9)
+ \override Staff.StaffSymbol.line-positions = #'(1 3 5 7 9)
c''1 \bar "||"
c''1 \bar ";"
c''1 \bar "|."
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc = "By default, text is set with empty horizontal dimensions.
\relative c''{
%% \textLengthOff
- %% short for \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
- %% \override TextScript #'extra-spacing-height = #'(0 . 0)
+ %% short for \override TextScript.extra-spacing-width = #'(+inf.0 . -inf.0)
+ %% \override TextScript.extra-spacing-height = #'(0 . 0)
c2_"very wide and long text" c | \break
- %% short for \override TextScript #'extra-spacing-width = #'(0 . 0)
- %% \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
+ %% short for \override TextScript.extra-spacing-width = #'(0 . 0)
+ %% \override TextScript.extra-spacing-height = #'(-inf.0 . +inf.0)
\textLengthOn
c2_"very wide and long text" c
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="
Note head shapes may be set from several choices.
pattern = <<
\new Voice {
- \override Stem #'direction = #UP
+ \override Stem.direction = #UP
e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4
}
\new Voice {
- \override Stem #'direction = #DOWN
+ \override Stem.direction = #DOWN
g4 g2. g1 g\breve*1/2 g\longa*1/4
}
>>
\transpose c c {
\clef C
- \override Staff.NoteHead #'style = #'default
+ \override Staff.NoteHead.style = #'default
s1*0^\markup { "default" }
\pattern
- \override Staff.NoteHead #'style = #'altdefault
+ \override Staff.NoteHead.style = #'altdefault
s1*0^\markup { "altdefault" }
\pattern
\break
- \override Staff.NoteHead #'style = #'baroque
+ \override Staff.NoteHead.style = #'baroque
s1*0^\markup { "baroque" }
\pattern
- \override Staff.NoteHead #'style = #'neomensural
+ \override Staff.NoteHead.style = #'neomensural
s1*0^\markup { "neomensural" }
\pattern
\break
- \override Staff.NoteHead #'style = #'mensural
+ \override Staff.NoteHead.style = #'mensural
s1*0^\markup { "mensural" }
\pattern
- \override Staff.NoteHead #'style = #'petrucci
+ \override Staff.NoteHead.style = #'petrucci
s1*0^\markup { "petrucci" }
\pattern
\break
- \override Staff.NoteHead #'style = #'harmonic
+ \override Staff.NoteHead.style = #'harmonic
s1*0^\markup { "harmonic" }
\pattern
- \override Staff.NoteHead #'style = #'harmonic-black
+ \override Staff.NoteHead.style = #'harmonic-black
s1*0^\markup { "harmonic-black" }
\pattern
\break
- \override Staff.NoteHead #'style = #'harmonic-mixed
+ \override Staff.NoteHead.style = #'harmonic-mixed
s1*0^\markup { "harmonic-mixed" }
\pattern
- \override Staff.NoteHead #'style = #'diamond
+ \override Staff.NoteHead.style = #'diamond
s1*0^\markup { "diamond" }
\pattern
\break
- \override Staff.NoteHead #'style = #'cross
+ \override Staff.NoteHead.style = #'cross
s1*0^\markup { "cross" }
\pattern
- \override Staff.NoteHead #'style = #'xcircle
+ \override Staff.NoteHead.style = #'xcircle
s1*0^\markup { "xcircle" }
\pattern
\break
- \override Staff.NoteHead #'style = #'triangle
+ \override Staff.NoteHead.style = #'triangle
s1*0^\markup { "triangle" }
\pattern
- \override Staff.NoteHead #'style = #'slash
+ \override Staff.NoteHead.style = #'slash
s1*0^\markup { "slash" }
\pattern
\break
- \override Staff.NoteHead #'style = #'kievan
+ \override Staff.NoteHead.style = #'kievan
s1*0^\markup { "kievan" }
\pattern
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Note head lines (e.g. glissando)
\context PianoStaff
<<
\new Staff = "up" {
- \override Glissando #'breakable = ##t
+ \override Glissando.breakable = ##t
\set PianoStaff.connectArpeggios = ##t
\showStaffSwitch
\clef F
-\version "2.17.5"
+\version "2.17.6"
\header{
texidoc=" The number of stafflines of a staff can be set. Ledger
\new Staff \with {
- \override StaffSymbol #'line-count = #3
+ \override StaffSymbol.line-count = #3
}
\relative c {
c' c c c | g' g g g \bar ":|."
"Both edge heights of an ottava bracket can be specified."
}
-\version "2.16.0"
+\version "2.17.6"
\layout { ragged-right = ##t}
%override the left edge height to produce standard text with a left edge
\ottava #1
- \once \override Staff.OttavaBracket #'edge-height = #'(1.2 . 1.2)
+ \once \override Staff.OttavaBracket.edge-height = #'(1.2 . 1.2)
a b c
\ottava #0
a
% Look! we can make them go up!
\ottava #1
- \once \override Staff.OttavaBracket #'edge-height = #'(-1 . -1)
+ \once \override Staff.OttavaBracket.edge-height = #'(-1 . -1)
a b c
\ottava #0
a
% and have them go in different directions
\ottava #1
- \once \override Staff.OttavaBracket #'edge-height = #'(-1.2 . 1.2)
+ \once \override Staff.OttavaBracket.edge-height = #'(-1.2 . 1.2)
a b c
\ottava #0
a
}
\context {
\Score
- \override SpacingSpanner #'packed-spacing = ##t
- \override PaperColumn #'keep-inside-line = ##f
+ \override SpacingSpanner.packed-spacing = ##t
+ \override PaperColumn.keep-inside-line = ##f
}
}
}
{
- \override Staff.VerticalAxisGroup #'outside-staff-placement-directive =
+ \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
#'left-to-right-polite
\music
}
{
- \override Staff.VerticalAxisGroup #'outside-staff-placement-directive =
+ \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
#'left-to-right-greedy
\music
}
{
- \override Staff.VerticalAxisGroup #'outside-staff-placement-directive =
+ \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
#'right-to-left-polite
\music
}
{
- \override Staff.VerticalAxisGroup #'outside-staff-placement-directive =
+ \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
#'right-to-left-greedy
\music
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "A sublist of grob property lists may be overridden within a callback.
}
\relative c' {
- \override Glissando #'after-line-breaking =
+ \override Glissando.after-line-breaking =
#(lambda (grob)
(ly:grob-set-nested-property! grob '(bound-details right Y) 3))
c1 \glissando
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Sublist of grob property lists may be also tuned. In the
}
\relative c' {
- \override Stem #'details #'beamed-lengths = #'(6 10 8)
+ \override Stem.details.beamed-lengths = #'(6 10 8)
c8[ c] c16[ c] c32[ c]
- \revert Stem #'details
+ \revert Stem.details
c8[ c] c16[ c] c32[ c]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "minimum-distance within a system is correctly accounted for in page breaking."
\layout {
\context {
\Score
- \override VerticalAxisGroup #'staff-staff-spacing =
+ \override VerticalAxisGroup.staff-staff-spacing =
#'((minimum-distance . 20))
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "minimum-distance within a system is correctly accounted for in page breaking."
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-system-details = #'((alignment-distances . (20)))
+ \override NonMusicalPaperColumn.line-break-system-details = #'((alignment-distances . (20)))
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Page labels may be placed inside music or at top-level,
\mark "B" \label #'markB
d' d'
d' d'
- \once \override Score . RehearsalMark #'break-visibility = #begin-of-line-invisible
+ \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible
\mark "C" \label #'markC
}
\header { piece = "First score" }
\score {
{
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((Y-offset . 0.0))
c1 c1 \break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((Y-offset . 62.0)
(X-offset . 8.0)
)
\score {
<<
\new Staff {
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details #'((alignment-distances . (15)))
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details #'((alignment-distances . (15)))
c'4
}
\new Staff <<
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Dynamic centering still works with alignment-distances."
\layout {
\context {
\Score
- \override NonMusicalPaperColumn #'line-break-system-details =
+ \override NonMusicalPaperColumn.line-break-system-details =
#'((alignment-distances . (20)))
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Non-staff lines between two systems don't confuse the
<<
\new Lyrics
- \with { \override VerticalAxisGroup #'staff-affinity = #DOWN }
+ \with { \override VerticalAxisGroup.staff-affinity = #DOWN }
\lyricmode {
My2 first Li4 -- ly song,2
My2 first Li4 -- ly song,2
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "A non-staff line (such as @code{Lyrics}) at the
ragged-right = ##t
\context {
\Lyrics
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'basic-distance = #20
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.basic-distance = #20
}
}
<<
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Padding from the header and footer is measured to the
\score {
<<
- \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
- \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
- \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
- \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
+ \new Lyrics \with { \override VerticalAxisGroup.staff-affinity = #DOWN } \lyricmode { foo }
+ \new Lyrics \with { \override VerticalAxisGroup.staff-affinity = #DOWN } \lyricmode { foo }
+ \new Lyrics \with { \override VerticalAxisGroup.staff-affinity = #DOWN } \lyricmode { foo }
+ \new Lyrics \with { \override VerticalAxisGroup.staff-affinity = #DOWN } \lyricmode { foo }
\new Staff { c'1 }
\new Staff { c'1 }
\new Lyrics \lyricmode { foo }
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Spacing rules between Staves coexist with rules affecting
\layout {
\context {
\Lyrics
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #'((padding . 0.2))
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((padding . 0.2))
} \context {
\Staff
- \override VerticalAxisGroup #'default-staff-staff-spacing = #'((padding . 4))
+ \override VerticalAxisGroup.default-staff-staff-spacing = #'((padding . 4))
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "A non-staff line (such as @code{Lyrics}) at the top
ragged-right = ##t
\context {
\Lyrics
- \override VerticalAxisGroup
- #'nonstaff-nonstaff-spacing #'minimum-distance = #20
- \override VerticalAxisGroup #'staff-affinity = #DOWN
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = #20
+ \override VerticalAxisGroup.staff-affinity = #DOWN
}
}
<<
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Non-staff lines (such as @code{Lyrics}) can specify
<<
\new Staff { c'1 }
\new Lyrics \with {
- \override VerticalAxisGroup
- #'nonstaff-unrelatedstaff-spacing #'padding = #'20
+ \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.padding = #'20
} \lyricmode { foo }
\new Staff { c'1 }
>>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "StaffGrouper interacts correctly with \RemoveEmptyStaffContext.
\score {
<<
\new StaffGroup = "G1" \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
}
<<
\new Staff { c'1 \break c'1 \break R1 }
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "StaffGroups can be nested, in which case the inner StaffGroup wins."
\score {
<<
\new StaffGroup \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #15
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #15
}
<<
\new Staff {
c'1
}
\new StaffGroup \with {
- \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20
+ \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} <<
\new Staff {
c'1
-\version "2.16.0"
+\version "2.17.6"
#(set-default-paper-size "a6")
<<
\new Staff { c'1 \pageBreak c'1 }
\new Staff \with {
- \override VerticalAxisGroup
- #'default-staff-staff-spacing #'stretchability = #50
+ \override VerticalAxisGroup.default-staff-staff-spacing.stretchability = #50
} { c'1 c'1 }
\new Staff { c'1 c'1 }
>>
c\break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((Y-extent . (-30 . 10)))
c_"Big bounding box (property Y-extent)"\break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((refpoint-Y-extent . (-37 . -10)))
c_\markup {
\column {
\break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((next-padding . 10))
c_"Followed by padding, ie unstretchable space. (property next-padding)" \break
\overrideProperty
- Score.NonMusicalPaperColumn
- #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((next-space . 20))
c_"Followed by stretchable space (property next-space)"\break
c\break
\overrideProperty
- Score.NonMusicalPaperColumn #'line-break-system-details
+ Score.NonMusicalPaperColumn.line-break-system-details
#'((bottom-space . 25.0))
c_"25 staff space to the bottom of the page. (property bottom-space)"\break
first system can be forced to be uniform."
}
-\version "2.16.0"
+\version "2.17.6"
#(set-default-paper-size "a6")
c1\break\pageBreak
c1
\break\pageBreak
- \override TextScript #'padding = #20
+ \override TextScript.padding = #20
c1^"bla"
}
}
ragged-right = ##t
}
-\version "2.16.0"
+\version "2.17.6"
\relative c' {
c4 -\parenthesize -.
- \override ParenthesesItem #'padding = #0.1
+ \override ParenthesesItem.padding = #0.1
<d \parenthesize fis a>
}
-\version "2.16.0"
+\version "2.17.6"
\header
{
texidoc = "The standard piano pedals style comes with Ped symbols.
c, d16[ c c c] e[ e \sustainOff \sustainOn e e ] f4 \sustainOff
g\sustainOn b \sustainOff c
\set Staff.pedalSustainStrings = #'("-" "-P" "P")
- \override Staff.SustainPedal #'padding = #-2
+ \override Staff.SustainPedal.padding = #-2
c, \sustainOn d e \sustainOff \sustainOn f
\sustainOff g b c
}
-\version "2.16.0"
+\version "2.17.6"
\header { texidoc = "
The appearance of phrasing slurs may be changed from solid to dotted or dashed.
"
c\( d e c\) |
\phrasingSlurDashPattern #0.4 #2.0
c\( d e c\) |
- \once \override Slur #'dash-definition = #'((0 0.25 1 1)
+ \once \override Slur.dash-definition = #'((0 0.25 1 1)
(0.3 0.7 0.4 0.75)
(0.75 1.0 1.0 1.0))
c\( d e c\) |
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Nested properties may be overridden using Scheme list
syntax. This test performs two property overrides: the first
}
\relative c' {
- \once \override TextSpanner #'bound-details #'left #'text = #"foo"
+ \once \override TextSpanner.bound-details.left.text = #"foo"
c4\startTextSpan
- \once \override Tie #'details #'note-head-gap = #1
+ \once \override Tie.details.note-head-gap = #1
c4 ~ c c\stopTextSpan
- \once \override TextSpanner #'(bound-details left text) = #"foo"
+ \once \override TextSpanner.bound-details.left.text = #"foo"
c4\startTextSpan
- \once \override Tie #'(details note-head-gap) = #1
+ \once \override Tie.details.note-head-gap = #1
c4 ~ c c\stopTextSpan
}
}
-\version "2.16.0"
+\version "2.17.6"
\relative c' {
f2 \glissando c
- \override Glissando #'bound-details #'right #'Y = #4
+ \override Glissando.bound-details.right.Y = #4
f2 \glissando c |
- \override Glissando #'bound-details #'left #'Y = #-6
+ \override Glissando.bound-details.left.Y = #-6
f2 \glissando c
- \revert Glissando #'(bound-details right Y)
+ \revert Glissando.bound-details.right.Y
f2 \glissando c
- \revert Glissando #'(bound-details left Y)
+ \revert Glissando.bound-details.left.Y
f2 \glissando c
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Once properties take effect during a single time step only."
}
\relative c' {
c4
- \once \override Stem #'thickness = #5.0
+ \once \override Stem.thickness = #5.0
c4
c4
c4
@code{rest-event} is not in @code{quotedEventTypes}."
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
}
\set Staff.instrumentName = "orig+quote"
\set Staff.quotedEventTypes = #'(note-event articulation-event)
\new Voice {\voiceOne
- \override Voice . Beam #'collision-voice-only = ##t
+ \override Voice.Beam.collision-voice-only = ##t
\original }
\new Voice {\voiceTwo s4 \quoteDuring #"quoteMe" { s2. } }
>>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The @code{\\quoteDuring} command shall also quote correctly all
}
mus = \relative c' {
- % Acciaccaturas contain a slur and \override Flag #'stroke-style
+ % Acciaccaturas contain a slur and \override Flag.stroke-style
% Thus, we're checking \override here
c4 \acciaccatura d8 c4
% Checking \set and \unset
\set autoBeaming = ##f
% Checking \once \override
- \once \override Stem #'thickness = #8.0 d8
+ \once \override Stem.thickness = #8.0 d8
% Checking two overrides
- \override Stem #'thickness = #8.0 \override Flag #'stroke-style = "grace"
+ \override Stem.thickness = #8.0 \override Flag.stroke-style = "grace"
d8
% reverting one of them
- \revert Stem #'thickness d8
+ \revert Stem.thickness d8
% and the other
- \revert Flag #'stroke-style c8
+ \revert Flag.stroke-style c8
% checking tweaks
- c2-\tweak #'color #red ->
+ c2-\tweak color #red ->
}
\addQuote "music" \mus
-\version "2.16.0"
+\version "2.17.6"
\header {
\new Staff
<<
\new Voice \transpose c c' {
- \override Stem #'direction = #UP
+ \override Stem.direction = #UP
\foo
}
\new Voice {
@code{rest-event} is not in @code{quotedEventTypes}."
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
}
\new Voice {\voiceTwo
s4
\set fontSize = #-4
- \override Stem #'length-fraction = #(magstep -4)
+ \override Stem.length-fraction = #(magstep -4)
\quoteDuring #"quoteMe" { \skip 2. }
}
>>
the alignment depends on which symbols are visible."
}
-\version "2.16.0"
+\version "2.17.6"
\relative c' {
- \override Score.RehearsalMark #'break-align-symbols = #'(clef key-signature staff-bar)
+ \override Score.RehearsalMark.break-align-symbols = #'(clef key-signature staff-bar)
c1
\clef "bass"
\mark "clef"
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "RehearsalMarks still align correctly if Mark_engraver is moved to
c1
\key cis \major
\clef alto
- \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+ \override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\mark "on-key"
cis
\key ces \major
- \override Score.RehearsalMark #'break-align-symbols = #'(clef)
+ \override Score.RehearsalMark.break-align-symbols = #'(clef)
\clef treble
\mark "on clef"
ces
}
-\version "2.16.0"
+\version "2.17.6"
\relative c' {
c1 \mark "foo"
c1
\key cis \major
\clef alto
- \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+ \override Score.RehearsalMark.break-align-symbols = #'(key-signature)
\mark "on-key"
cis
\key ces \major
- \override Score.RehearsalMark #'break-align-symbols = #'(clef)
+ \override Score.RehearsalMark.break-align-symbols = #'(clef)
\clef treble
\mark "on clef"
ces
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Rehearsal marks with direction DOWN get placed at
\new Staff { g'1 }
\new Staff {
c'1
- \once \override Score . RehearsalMark #'break-visibility = #begin-of-line-invisible
- \once \override Score . RehearsalMark #'direction = #DOWN
+ \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible
+ \once \override Score.RehearsalMark.direction = #DOWN
\mark \markup \italic "Fine."
}
>>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "
ragged-right = ##t
\context {
\Staff
- \override Beam #'auto-knee-gap = #4.5
+ \override Beam.auto-knee-gap = #4.5
\RemoveEmptyStaves
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "
>>
\layout { \context { \RemoveEmptyStaffContext
- \override VerticalAxisGroup #'remove-first = ##t } }
+ \override VerticalAxisGroup.remove-first = ##t } }
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The positioning of dots and slashes in percent repeat
glyphs can be altered using @code{dot-negative-kern} and
\repeat percent 2 { d'1 e' }
}
\new Staff {
- \override PercentRepeat #'dot-negative-kern = #1.1
+ \override PercentRepeat.dot-negative-kern = #1.1
\repeat percent 2 { c'1 }
- \override DoublePercentRepeat #'dot-negative-kern = #0
- \override DoublePercentRepeat #'slash-negative-kern = #1
+ \override DoublePercentRepeat.dot-negative-kern = #0
+ \override DoublePercentRepeat.slash-negative-kern = #1
\repeat percent 2 { d'1 e' }
}
>>
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc = "The two dots of a repeat sign should be symmetric
to the staff centre and avoid staff lines even for exotic staves.
\score {
<<
\context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #0.6
+ \override StaffSymbol.staff-space = #0.6
} {
s1 \bar ":|."
}
\context Staff = "s2" \with {
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
- \override StaffSymbol #'staff-space = #0.7
+ \override StaffSymbol.line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol.staff-space = #0.7
} {
s1 \bar ":|."
}
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #1.7
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol.staff-space = #1.7
+ \override StaffSymbol.line-positions = #'(-4 -2 0 2)
} {
s1 \bar ":|."
}
\context Staff = "s3" \with {
- \override StaffSymbol #'staff-space = #3
+ \override StaffSymbol.staff-space = #3
} {
s1 \bar ":|."
}
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc = "The two dots of a repeat sign should be symmetric
to the staff centre and avoid staff lines even for exotic staves.
\score {
<<
\context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #0.5
+ \override StaffSymbol.staff-space = #0.5
} {
s1 \bar ":|."
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #0.6
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol.staff-space = #0.6
+ \override StaffSymbol.line-positions = #'(-4 -2 0 2)
} {
s1 \bar ":|."
}
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #0.33
+ \override StaffSymbol.staff-space = #0.33
} {
s1 \bar ":|."
}
\context Staff = "s3" \with {
- \override StaffSymbol #'staff-space = #0.33
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol.staff-space = #0.33
+ \override StaffSymbol.line-positions = #'(-4 -2 0 2)
} {
s1 \bar ":|."
}
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc = "The two dots of a repeat sign should be symmetric
to the staff centre and avoid staff lines even for exotic staves.
\score {
<<
\context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #0.7
+ \override StaffSymbol.staff-space = #0.7
} {
s1 \bar ":|."
}
\context Staff = "s2" \with {
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol.line-positions = #'(-4 -2 0 2)
} {
s1 \bar ":|."
}
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #3
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol.staff-space = #3
+ \override StaffSymbol.line-positions = #'(-4 -2 0 2)
} {
s1 \bar ":|."
}
\context Staff = "s3" \with {
- \override StaffSymbol #'staff-space = #6
+ \override StaffSymbol.staff-space = #6
} {
s1 \bar ":|."
}
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc = "The two dots of a repeat sign should be symmetric
to the staff centre and avoid staff lines even for exotic staves.
\score {
<<
\context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #0.3
+ \override StaffSymbol.staff-space = #0.3
} {
s1 \bar ":|."
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #0.5
+ \override StaffSymbol.staff-space = #0.5
} {
s1 \bar ":|."
}
{
<<
\context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #0.5
+ \override StaffSymbol.staff-space = #0.5
} {
s1 \bar ":|."
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #0.6
+ \override StaffSymbol.staff-space = #0.6
} {
s1 \bar ":|."
}
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc = "The two dots of a repeat sign should be symmetric
to the staff centre and avoid staff lines even for exotic staves."
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-6 -4 -2 0 2)
+ \override StaffSymbol.line-positions = #'(-6 -4 -2 0 2)
} {
<<
\clef french
}
\new Staff \with {
- \override StaffSymbol #'line-count = #4
+ \override StaffSymbol.line-count = #4
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-2 0 2 4)
+ \override StaffSymbol.line-positions = #'(-2 0 2 4)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-8 -4)
+ \override StaffSymbol.line-positions = #'(-8 -4)
} {
<<
\clef french
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-2 0)
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.line-positions = #'(-2 0)
+ \override StaffSymbol.staff-space = #1.5
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-2 0)
+ \override StaffSymbol.line-positions = #'(-2 0)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-2.9 -2)
+ \override StaffSymbol.line-positions = #'(-2.9 -2)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-4 -3 -2)
+ \override StaffSymbol.line-positions = #'(-4 -3 -2)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-6 -5 -2 0 3 5)
+ \override StaffSymbol.line-positions = #'(-6 -5 -2 0 3 5)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-4 -2 -1)
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.line-positions = #'(-4 -2 -1)
+ \override StaffSymbol.staff-space = #1.5
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-10 -2 6 14)
+ \override StaffSymbol.line-positions = #'(-10 -2 6 14)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-5 -4 -2 2 4 6)
+ \override StaffSymbol.line-positions = #'(-5 -4 -2 2 4 6)
} {
<<
\mus
}
\new Staff \with {
- \override StaffSymbol #'thickness = #4
+ \override StaffSymbol.thickness = #4
} {
<<
\clef french
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-2)
+ \override StaffSymbol.line-positions = #'(-2)
} {
<<
\mus
account properly."
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
\relative c''' {
- \override Rest #'direction = #UP
+ \override Rest.direction = #UP
\stemDown b8[ r b]
- \override Rest #'direction = #DOWN
+ \override Rest.direction = #DOWN
\stemDown b8[ r b]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Breve, whole and half rests moving outside the staff should get
ledger lines."
rPos =
#(define-music-function (parser location y) (number?)
- #{ \override Rest #'staff-position = #y #})
+ #{ \override Rest.staff-position = #y #})
{
\set Score.timing = ##f
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "half rests should lie on a staff line, whole rests should hang
}
\new Staff {
- \override Staff.StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override Staff.StaffSymbol.line-positions = #'(-4 -2 0 2)
\mus
}
\new Staff {
- \override Staff.StaffSymbol #'line-count = #4
+ \override Staff.StaffSymbol.line-count = #4
\mus
}
\new Staff {
- \override Staff.StaffSymbol #'line-positions = #'(-4 -2 1 5)
+ \override Staff.StaffSymbol.line-positions = #'(-4 -2 1 5)
\mus
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Use @code{define-event-class}, scheme engraver methods,
a4 b\schemeTextSpannerStart c d |
\repeat unfold 20 { a4 b c d | }
a4 b c\schemeTextSpannerEnd d |
- \override SchemeTextSpanner #'to-barline = ##t
+ \override SchemeTextSpanner.to-barline = ##t
a4\schemeTextSpannerStart b d c |
\repeat unfold 20 { a4 b c d | }
a1\schemeTextSpannerEnd |
"
}
-\version "2.16.0"
+\version "2.17.6"
\relative c''
{
- \override Script #'toward-stem-shift = #0.0
+ \override Script.toward-stem-shift = #0.0
a4^. c_.
- \override Script #'toward-stem-shift = #1.0
+ \override Script.toward-stem-shift = #1.0
a4^. c_.
}
-\version "2.17.4"
+\version "2.17.6"
\header {
texidoc = "In addition to @code{Slur}, the music function @code{\\shape} works
\relative c'' {
% PhrasingSlur
d4\( d' b g g,8 f' e d c2\)
- \override PhrasingSlur #'color = #blue
+ \override PhrasingSlur.color = #blue
\shape #'((0 . -2) (-1 . 3.5) (0.5 . 0.5) (0 . -2.5)) PhrasingSlur
d4\( d' b g g,8 f' e d c2\)
\break
cis1~
\break
cis
- \override Tie #'color = #blue
+ \override Tie.color = #blue
\shape #'(() ((0 . -0.9) (0 . -0.5) (0 . -0.5) (0 . -0.9))) Tie
cis~
\break
% LaissezVibrerTie
c\laissezVibrer
- \override LaissezVibrerTie #'color = #blue
+ \override LaissezVibrerTie.color = #blue
\shape #'((0 . 0) (0.5 . 0.2) (1.5 . 0.2) (2 . 0)) LaissezVibrerTie
c\laissezVibrer
\break
% RepeatTie
c\repeatTie
- \override RepeatTie #'color = #blue
+ \override RepeatTie.color = #blue
\shape #'((-1 . 0) (-0.7 . 0) (-0.3 . 0) (0 . 0)) RepeatTie
c\repeatTie
}
-\version "2.17.4"
+\version "2.17.6"
\header {
texidoc = "The control points of a broken or unbroken slur may be offset by
% modified
\relative c'' {
- \override Slur #'color = #blue
+ \override Slur.color = #blue
\shape #'((0 . -2) (-1 . 3.5) (0.5 . 0.5) (0 . -2.5)) Slur
d4( d' b g g,8 f' e d c2)
\shape #'(
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "
\book {
\score {
{
- \override Staff.TimeSignature #'stencil = ##f
+ \override Staff.TimeSignature.stencil = ##f
\repeat unfold 3 { <c'''-1 e'''-3 g'''-5> c' <c,-1 e,-3 g,-5> c' \break}
}
\layout {
ragged-right = ##t
\context {
\Score
- \override System #'skyline-horizontal-padding = #3.0
+ \override System.skyline-horizontal-padding = #3.0
}
}
}
\layout {ragged-right = ##t}
-\version "2.16.0"
+\version "2.17.6"
\relative c''' {
- \override Score.PaperColumn #'keep-inside-line = ##f
- \override TextScript #'outside-staff-priority = #2
- \override DynamicLineSpanner #'outside-staff-priority = #1
+ \override Score.PaperColumn.keep-inside-line = ##f
+ \override TextScript.outside-staff-priority = #2
+ \override DynamicLineSpanner.outside-staff-priority = #1
c
- \once \override TextScript #'self-alignment-X = #CENTER
+ \once \override TextScript.self-alignment-X = #CENTER
a,^"this doesn't collide with the c"
b^"this goes above the previous markup"
a8_"this goes below the dynamic"
-\version "2.16.0"
+\version "2.17.6"
\header {texidoc = "@cindex Slur, dotted, dashed
The appearance of slurs may be changed from solid to dotted or dashed.
"
c( d e c) |
\slurDashPattern #0.4 #2.0
c( d e c) |
- \once \override Slur #'dash-definition = #'((0 0.25 1 1)
+ \once \override Slur.dash-definition = #'((0 0.25 1 1)
(0.3 0.7 0.4 0.75)
(0.75 1.0 1.0 1.0))
c( d e c) |
-\version "2.16.0"
+\version "2.17.6"
\header {
\slurUp
d,8[( a' d f] a[ d f d] a[ f d a)]
d,8[( a' d f] a[ a a d] f[ d d, a)]
- \once\override Slur #'eccentricity = #6.0
+ \once\override Slur.eccentricity = #6.0
d,8[( a' d f] a[ a a d] f[ d d, a)]
}
the given pair. "
}
-\version "2.16.0"
+\version "2.17.6"
\paper { ragged-right = ##T }
\relative c' {
- \override Slur #'positions = #'(-4 . -5)
+ \override Slur.positions = #'(-4 . -5)
e( f g)
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
% #(define debug-slur-scoring #t)
f=''2( d4 f | g c a f | d c f2 | f1) |
}
-% \override Slur #'eccentricity = #-2
+% \override Slur.eccentricity = #-2
c=''8 ( d[ b f d] a'[ c])
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout { ragged-right = ##t }
\relative c''{
\clef alto
\slurUp
- \override Script #'slur-padding = #0.2
- \override Script #'avoid-slur = #'inside
+ \override Script.slur-padding = #0.2
+ \override Script.avoid-slur = #'inside
c4(^\downbow b)
- \override Script #'avoid-slur = #'around
+ \override Script.avoid-slur = #'around
c4(^\downbow b)
c4^\downbow b
}
slur responds appropriately if a script is moved."
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
indent = 0\mm
ragged-right = ##t
\relative
{
b4-.( b-.)
- \once \override Script #'padding = #1.5
+ \once \override Script.padding = #1.5
b-.( b-.)
b_\downbow( b_\downbow)
- \once \override Script #'padding = #1.5
+ \once \override Script.padding = #1.5
b_\downbow( b_\downbow)
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\relative c' {
\slurUp
- \override TupletBracket #'bracket-visibility = ##f
- \override Slur #'(details region-size) = #6
+ \override TupletBracket.bracket-visibility = ##f
+ \override Slur.details.region-size = #6
\times 2/3
{
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Outside staff callbacks that no longer apply to grobs
\relative c'' {
\set strokeFingerOrientations = #'(up)
- \override StrokeFinger #'avoid-slur = #'outside
+ \override StrokeFinger.avoid-slur = #'outside
\autoBeamOff
<a-\rightHandFinger #2 >16 b
<a-\rightHandFinger #2 >16( b)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="Festival song synthesis output supports
reordered lyrics.
\context Voice = alternative {
\voiceOne
\times 2/3 {
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc="Festival song synthesis output supports
reordered lyrics.
\context Voice = alternative {
\voiceOne
\times 2/3 {
- \override NoteColumn #'force-hshift = #-3
+ \override NoteColumn.force-hshift = #-3
f8 f g
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout{
ragged-right = ##t
}
\relative c'' {
- \override Score.NonMusicalPaperColumn #'stencil = #ly:paper-column::print
- \override Score.NonMusicalPaperColumn #'layer = #2
+ \override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
+ \override Score.NonMusicalPaperColumn.layer = #2
\time 2/4
\stemUp
}
-\version "2.16.0"
+\version "2.17.6"
\layout{ragged-right=##t}
\new Staff {
- \override Score.NonMusicalPaperColumn #'stencil = #ly:paper-column::print
- \override Score.NonMusicalPaperColumn #'layer = #1
+ \override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
+ \override Score.NonMusicalPaperColumn.layer = #1
s1
<b' c'' c'>2\arpeggio
}
-\version "2.16.0"
+\version "2.17.6"
\layout{
ragged-right = ##t
}
\relative c'' {
- \override Score.NonMusicalPaperColumn #'stencil = #ly:paper-column::print
- \override Score.NonMusicalPaperColumn #'layer = #2
+ \override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
+ \override Score.NonMusicalPaperColumn.layer = #2
\time 2/4
\stemDown
}
-\version "2.16.0"
+\version "2.17.6"
\layout{
ragged-right=##t
}
\new Staff \relative c' {
- \override Score.NonMusicalPaperColumn #'stencil = #ly:paper-column::print
- \override Score.NonMusicalPaperColumn #'layer = #1
+ \override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
+ \override Score.NonMusicalPaperColumn.layer = #1
\time 4/4
s1
\time 3/4
s2.
c2.
- \override Score.NonMusicalPaperColumn #'full-measure-extra-space = #3.0
+ \override Score.NonMusicalPaperColumn.full-measure-extra-space = #3.0
s2.
c2.
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "A clef can be folded below notes in a different staff, if
\context {
\Score
- \override NonMusicalPaperColumn #'stencil = #ly:paper-column::print
- \override PaperColumn #'stencil = #ly:paper-column::print
- \override NonMusicalPaperColumn #'font-family = #'roman
- \override PaperColumn #'font-family = #'roman
+ \override NonMusicalPaperColumn.stencil = #ly:paper-column::print
+ \override PaperColumn.stencil = #ly:paper-column::print
+ \override NonMusicalPaperColumn.font-family = #'roman
+ \override PaperColumn.font-family = #'roman
}
}
run are spaced accordingly. "
}
-\version "2.16.0"
+\version "2.17.6"
\paper { ragged-right = ##t }
c
\grace { c8[ c16 d c8] }
c
- \override Score.GraceSpacing #'spacing-increment = #2.0
+ \override Score.GraceSpacing.spacing-increment = #2.0
\grace { c4 c16 d16 }
c
}
-\version "2.16.0"
+\version "2.17.6"
\paper
{
\new Staff
\relative c
{
- \override Score.NonMusicalPaperColumn #'stencil = #ly:paper-column::print
+ \override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
\time 6/8
\clef bass
s2. |
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Spacing corrections for kneed beams still work when
\layout {
\context {
\Voice
- \override Beam #'auto-knee-gap = #1
+ \override Beam.auto-knee-gap = #1
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "For knees, the spacing correction is such that the
g''8[ g g'' g'']
% check code independent of default settings.
- \override NoteSpacing #'knee-spacing-correction = #1.0
+ \override NoteSpacing.knee-spacing-correction = #1.0
g''8[ g g'' g'']
- \override Stem #'thickness = #10
+ \override Stem.thickness = #10
g''8[ g g'' g'']
}
-\version "2.16.0"
+\version "2.17.6"
#(ly:expect-warning (_ "Cannot determine neighbors for floating column. "))
#(ly:expect-warning (_ "Loose column does not have right side to attach to."))
%% breaking spacing-wishes links.
\score {
\new Staff {
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
\afterGrace c'4 {c'32 c'32 }
c'4
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
\context {
\Score
- \override SpacingSpanner #'strict-grace-spacing = ##t
+ \override SpacingSpanner.strict-grace-spacing = ##t
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
<<
- \override Score.SpacingSpanner #'strict-grace-spacing = ##t
+ \override Score.SpacingSpanner.strict-grace-spacing = ##t
\new Staff {
c'4
\afterGrace
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\relative c''
{
- \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
+ \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible
c1
\mark "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
\remove "Separating_line_group_engraver"
} {
\relative c' {
- \override Score.SpacingSpanner #'uniform-stretching = ##t
+ \override Score.SpacingSpanner.uniform-stretching = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 4 25)
r1
\time 3/8 r4.
-\version "2.16.0"
+\version "2.17.6"
\header{
\layout{
\context{
\Score
- \override SpacingSpanner #'uniform-stretching = ##t
+ \override SpacingSpanner.uniform-stretching = ##t
}
}
"
}
-\version "2.16.0"
+\version "2.17.6"
\relative c' {
- \override Score.SpacingSpanner #'packed-spacing = ##t
+ \override Score.SpacingSpanner.packed-spacing = ##t
c2 d4 f8[ g] a
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The space after a paper column can be increased by overriding
\layout {
\context {
\Score
- \override PaperColumn #'padding = #10
- \override NonMusicalPaperColumn #'padding = #10
+ \override PaperColumn.padding = #10
+ \override NonMusicalPaperColumn.padding = #10
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "When space-to-barline is false, we measure the space between the note and the
\paper {ragged-right = ##t}
{
- \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 16)
+ \override Score.SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 16)
c'2 \clef bass c'2 \clef treble
- \override NoteSpacing #'space-to-barline = ##f
+ \override NoteSpacing.space-to-barline = ##f
c'2 \clef bass c'2 \clef treble
% the following two measures should be spaced identically
- \override NoteSpacing #'space-to-barline = ##t
+ \override NoteSpacing.space-to-barline = ##t
c'2 c'2
- \override NoteSpacing #'space-to-barline = ##f
+ \override NoteSpacing.space-to-barline = ##f
c'2 c'2
c'1
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Upstem notes before a barline are printed with some extra
\relative e'
{
- \override Score.PaperColumn #'layer = #1
- \override Score.PaperColumn #'stencil = #ly:paper-column::print
+ \override Score.PaperColumn.layer = #1
+ \override Score.PaperColumn.stencil = #ly:paper-column::print
\time 2/8
-\version "2.16.0"
+\version "2.17.6"
\header{
\context Voice \relative c {
- \override Score.PaperColumn #'layer = #1
- \override Score.PaperColumn #'stencil = #ly:paper-column::print
+ \override Score.PaperColumn.layer = #1
+ \override Score.PaperColumn.stencil = #ly:paper-column::print
%% make sure neutral is down.
- \override Stem #'neutral-direction = #down
+ \override Stem.neutral-direction = #down
\time 16/4 c''4 c c, c' d, c' e, c' f, c' g c a c b c
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "For juxtaposed chords with the same direction, a
slight optical correction is used. It is constant, and works only if
\layout { ragged-right = ##t}
\relative c'' {
- \override Score.PaperColumn #'layer = #1
- \override Score.PaperColumn #'stencil = #ly:paper-column::print
+ \override Score.PaperColumn.layer = #1
+ \override Score.PaperColumn.stencil = #ly:paper-column::print
\stemDown
\time 12/4
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\relative c''
<<
- \override Score.SpacingSpanner #'strict-note-spacing = ##t
+ \override Score.SpacingSpanner.strict-note-spacing = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4 c2
}
-\version "2.16.0"
+\version "2.17.6"
<<
- \override Score.SpacingSpanner #'strict-grace-spacing = ##t
+ \override Score.SpacingSpanner.strict-grace-spacing = ##t
\new Staff {
c'4
\afterGrace
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "An empty barline does not confuse the spacing engine too much.
\consists "Bar_engraver"
\consists "Axis_group_engraver"
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
}
}
}
-\version "2.16.0"
+\version "2.17.6"
\relative c''
<<
- \override Score.SpacingSpanner #'uniform-stretching = ##t
+ \override Score.SpacingSpanner.uniform-stretching = ##t
\new Staff {
c16[ c c c c c c c c c16]
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The @code{SpanBarStub} grob takes care of horizontal spacing
\new Voice = "upper"
\relative c'' {
c2 c c c
- \once \override Staff . BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
c2 c c c
c2 c c c
- \once \override Staff . BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
c2 c c c
}
\new Lyrics \lyricsto "upper" \lyricmode {
c2 c c c
c2 c c c
c2 c c c
- \once \override Staff . BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
c2 c c c
}
\new Lyrics \lyricsto "middle" \lyricmode {
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Span bars can be turned on/@/off on a staff-by-staff basis."
}
\relative c' \new StaffGroup <<
\new Staff {
c1
- \once \override Staff.BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
c1 c1 c1
\bar "|."
}
\new Staff {
a1 a1
- \once \override Staff.BarLine #'allow-span-bar = ##f
+ \once \override Staff.BarLine.allow-span-bar = ##f
a1 a1
}
\new Staff {
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Span bars are drawn only between staff bar lines. By setting
bar lines to transparent, they are shown only between systems.
\relative c' \new StaffGroup <<
\new Staff {
a1
- \once \override Score.BarLine #'transparent = ##t
+ \once \override Score.BarLine.transparent = ##t
a1
- \once \override Score.SpanBar #'transparent = ##t
+ \once \override Score.SpanBar.transparent = ##t
a1 a1
\bar "|."
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The visibility of left-broken line spanners and hairpins
\paper { ragged-right = ##t }
\relative c' {
- \override TextSpanner #'bound-details =
+ \override TextSpanner.bound-details =
#'((left
(Y . 0)
(padding . 0.25)
(right-broken
(text . #f)))
c1\startTextSpan\< \break
- \override Hairpin #'to-barline = ##f
- \override Hairpin #'after-line-breaking = ##f
+ \override Hairpin.to-barline = ##f
+ \override Hairpin.after-line-breaking = ##f
c2\stopTextSpan\!
- \override TextSpanner #'after-line-breaking =
+ \override TextSpanner.after-line-breaking =
#ly:spanner::kill-zero-spanned-time
c\startTextSpan\< \break
c1\!\stopTextSpan
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The @code{break-overshoot} property sets the amount that
\paper { ragged-right = ##t }
\relative c'' {
- \override Beam #'break-overshoot = #'(1.0 . 2.0)
- \override TupletBracket #'break-overshoot = #'(1.0 . 2.0)
- \override TupletBracket #'bracket-visibility = ##t
- \override Beam #'breakable = ##t
+ \override Beam.break-overshoot = #'(1.0 . 2.0)
+ \override TupletBracket.break-overshoot = #'(1.0 . 2.0)
+ \override TupletBracket.bracket-visibility = ##t
+ \override Beam.breakable = ##t
c2.. \times 2/3 { c8.[ \break c8.] }
}
later by setting the @code{ledger-extra} property."
}
-\version "2.16.0"
+\version "2.17.6"
\new Staff \relative c' {
- \override Staff.StaffSymbol #'line-positions = #'(-5 -2 -1 2 5 6)
- \override Staff.StaffSymbol #'ledger-positions = #'(-5 (-2 -1) 2)
- \override Staff.StaffSymbol #'ledger-extra = #1
+ \override Staff.StaffSymbol.line-positions = #'(-5 -2 -1 2 5 6)
+ \override Staff.StaffSymbol.ledger-positions = #'(-5 (-2 -1) 2)
+ \override Staff.StaffSymbol.ledger-extra = #1
g,4 c e b' c'' e g
}
}
-\version "2.16.0"
+\version "2.17.6"
\new Staff \relative c' {
- \override Staff.StaffSymbol #'line-positions = #'(-7 -2 0 3 9)
+ \override Staff.StaffSymbol.line-positions = #'(-7 -2 0 3 9)
g c f b e a
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
}
melody = \relative c''' {
- \override DynamicText #'extra-offset = #'(0 . 3)
+ \override DynamicText.extra-offset = #'(0 . 3)
s1-\f c8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
}
<<
\new Staff \with {
fontSize = #-4
- \override StaffSymbol #'staff-space = #(magstep -4)
+ \override StaffSymbol.staff-space = #(magstep -4)
} {
\melody
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The staff is a grob (graphical object) which may be adjusted as well, for example, to have 6 thick lines and a slightly large @code{staff-space}.
<<
\new Staff {
- \override Staff.StaffSymbol #'thickness = #2.0
- \override Staff.StaffSymbol #'line-count = #6
- \override Staff.StaffSymbol #'staff-space = #1.1
+ \override Staff.StaffSymbol.thickness = #2.0
+ \override Staff.StaffSymbol.line-count = #6
+ \override Staff.StaffSymbol.staff-space = #1.1
\mus
}
\mus
}
-\version "2.16.0"
+\version "2.17.6"
\relative c'' \new Voice \with {
\consists "Melody_engraver"
- \override Stem #'neutral-direction = #'()
+ \override Stem.neutral-direction = #'()
} {
c4 b c b
c c c c
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Stems with overridden 'Y-extent should
\score {
\new Voice {
\voiceTwo
- \override Stem #'Y-extent = #'(0.0 . 0.0)
+ \override Stem.Y-extent = #'(0.0 . 0.0)
\repeat unfold 144 a4
}
\layout {
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Stem length and stem-begin-position can be set manually.
\autoBeamOff
\stemUp
a8 aes''8
- \override Stem #'length = #20
+ \override Stem.length = #20
a,,8
- \revert Stem #'length
+ \revert Stem.length
aes''!8
\stemNeutral
- \override Stem #'stem-begin-position = #-2
+ \override Stem.stem-begin-position = #-2
c,8
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Stemlets don't cause stems on whole notes."
}
\paper{ ragged-right=##t }
{
- \override Stem #'stemlet-length = #0.5
+ \override Stem.stemlet-length = #0.5
c''1
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout { ragged-right = ##t }
\relative c' {
- \override Stem #'stemlet-length = #0.75
+ \override Stem.stemlet-length = #0.75
c8[ r8 c16 r16 c8]
c4
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="Stem tremolos count in a note column's horizontal skyline.
"
\relative c'' {
\autoBeamOff
- \override NoteHead #'stencil = #(ly:make-stencil '() '(0 . 0) '(0 . 0))
+ \override NoteHead.stencil = #(ly:make-stencil '() '(0 . 0) '(0 . 0))
\repeat unfold 8 { b8:32 }
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
<<
\new Staff \with {
fontSize = #-4
- \override StaffSymbol #'staff-space = #(magstep -4)
+ \override StaffSymbol.staff-space = #(magstep -4)
}
\fragment
\new Staff \fragment
-\version "2.16.0"
+\version "2.17.6"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "tremolo duration is too long"))
\context Voice \relative c''{
\textSpannerUp
- \override TextScript #'padding = #5
+ \override TextScript.padding = #5
% The following note should print a warning (quarter tremolo cannot be notated)
a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":"
a':32 a,,:32
texidoc = "Combinations of rotation and color do work."
}
-\version "2.16.0"
+\version "2.17.6"
\relative c'{
- \override Hairpin #'rotation = #'(20 -1 0)
- \override Hairpin #'color = #(x11-color 'LimeGreen)
+ \override Hairpin.rotation = #'(20 -1 0)
+ \override Hairpin.color = #(x11-color 'LimeGreen)
g4\< b d f'\!
}
-\version "2.16.0"
+\version "2.17.6"
\header { texidoc=" You can write stencil callbacks in Scheme, thus
providing custom glyphs for notation elements. A simple example is
\relative c' {
c4 e
- \override NoteHead #'stencil
+ \override NoteHead.stencil
=
#(parenthesize-callback ly:note-head::print)
g bes
- \revert NoteHead #'stencil
+ \revert NoteHead.stencil
- \override Beam #'stencil
+ \override Beam.stencil
=
#(parenthesize-callback ly:beam::print)
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Stencils can be scaled using @code{ly:stencil-scale}.
}
\relative c' {
- \override Staff.Clef #'stencil =
+ \override Staff.Clef.stencil =
#(lambda (grob)
(ly:stencil-scale (ly:clef::print grob) 1 -1))
- \override Staff.TimeSignature #'stencil =
+ \override Staff.TimeSignature.stencil =
#(lambda (grob)
(ly:stencil-aligned-to
(ly:stencil-scale (ly:time-signature::print grob) -2 1)
X LEFT))
- \override MultiMeasureRestText #'stencil =
+ \override MultiMeasureRestText.stencil =
#(lambda (grob)
(ly:stencil-scale (ly:text-interface::print grob) 2 1.6))
R1\fermataMarkup
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The size of every system is correctly determined; this
\layout {
\context {
\Score
- \override System #'stencil = #box-grob-stencil
+ \override System.stencil = #box-grob-stencil
}
}
\new Voice
{
\unset Staff.minimumVerticalExtent
- \override Score.RehearsalMark #'font-size = #20
+ \override Score.RehearsalMark.font-size = #20
\slurDown c4 ( g4 c''4)
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "When the staff-space is increased, the system-start delimiter
length, but a multiple of staff-spaces)."
}
-\new Staff \with { \override StaffSymbol #'staff-space = #1.4 }
+\new Staff \with { \override StaffSymbol.staff-space = #1.4 }
{
a4 b c d
}
\header { texidoc = "A heavy-bar system start delimiter may be created by tuning the @code{SystemStartBar} grob."
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\new StaffGroup
\relative <<
\set StaffGroup.systemStartDelimiter = #'SystemStartBar
- \override StaffGroup.SystemStartBar #'thickness = #8
- \override StaffGroup.SystemStartBar #'padding = #0.2
+ \override StaffGroup.SystemStartBar.thickness = #8
+ \override StaffGroup.SystemStartBar.padding = #0.2
\new Staff { c1 }
\new Staff { c1 }
>>
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "In a TabStaff, the chord repetition function needs
\new Staff {
\new Voice {
\clef "treble_8"
- \override Voice.StringNumber #'transparent = ##t
+ \override Voice.StringNumber.transparent = ##t
\Guitar
}
}
-\version "2.16.0"
+\version "2.17.6"
\header{ texidoc = "As default, tablature staves show only the fret numbers, because
in most situations, they are combined with normal staves.
\times 3/4 { b,4 c \glissando d\5 \glissando c } |
c4. d-_( |
e\varcoda-> )
- \override TextSpanner #'(bound-details left text) = "rit." f\startTextSpan |
+ \override TextSpanner.bound-details.left.text = "rit." f\startTextSpan |
g ~ g\prall |
g\thumb e-.\stopTextSpan
\bar "|."
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "
\score {
<<
\new Staff {
- \new Voice \with { \override StringNumber #'stencil = ##f } {
+ \new Voice \with { \override StringNumber.stencil = ##f } {
\clef "treble_8"
\test
}
-\version "2.16.0"
+\version "2.17.6"
\header{ texidoc = "In tablature, notes that are tied to are invisible
except after a line break or within a second volta;
\context StaffGroup <<
\context Staff {
\clef "G_8"
- \override Voice.StringNumber #'transparent = ##t % remove circled string numbers
+ \override Voice.StringNumber.transparent = ##t % remove circled string numbers
\firstpart
\secondpart
\thirdpart
\context StaffGroup <<
\context Staff {
\clef "G_8"
- \override Voice.StringNumber #'transparent = ##t % remove circled string numbers
+ \override Voice.StringNumber.transparent = ##t % remove circled string numbers
\firstpart
\secondpart
\thirdpart
ragged-right = ##t
}
-\version "2.16.0"
+\version "2.17.6"
<<
\new Staff {
- \override TextSpanner #'(bound-details left text) = "*"
+ \override TextSpanner.bound-details.left.text = "*"
c'16 \startTrillSpan c' c' c' \stopTrillSpan
c'16 \startTextSpan c' c' c' \stopTextSpan
}
\new Staff {
- \override TextScript #'self-alignment-X = #RIGHT
+ \override TextScript.self-alignment-X = #RIGHT
\repeat unfold 2 {c'4 _ \markup { "FAT" } }
}
>>
}
-\version "2.16.0"
+\version "2.17.6"
sample = \relative c'' {
c2\startTextSpan c2 \break
}
<< {
- \override TextSpanner #'bound-details #'left-broken #' text =
+ \override TextSpanner.bound-details.left-broken #' text =
\markup { \large "BROKEN" }
- \override TextSpanner #'(bound-details left text) =
+ \override TextSpanner.bound-details.left.text =
\markup { "text" }
\sample
} \\ {
- \override TextSpanner #'(bound-details left text) =
+ \override TextSpanner.bound-details.left.text =
\markup { "text" }
- \override TextSpanner #'bound-details #'left-broken #' text =
+ \override TextSpanner.bound-details.left-broken #' text =
\markup { \large "BROKEN" }
\sample
} >>
" }
-\version "2.16.0"
+\version "2.17.6"
\paper {
debug-tie-scoring = ##t
}
\relative c'' {
- \override Tie #'layer = #2
+ \override Tie.layer = #2
a ~ <fis a>
}
-\version "2.16.0"
+\version "2.17.6"
\header {
}
\relative c' {
- \override Tie #'minimum-length = #5
+ \override Tie.minimum-length = #5
f2. f16 f f f ~ | \break
f1
}
-\version "2.16.0"
+\version "2.17.6"
\header { texidoc = "
\relative c'' {
\time 4/4 <bis bis>1 ~ \break
- \override Tie #'(details multi-tie-region-size) = #1
+ \override Tie.details.multi-tie-region-size = #1
\time 3/4 <bis bis>2.~ \break
\time 4/4 <bis bis>1
}
-\version "2.16.0"
+\version "2.17.6"
\header {texidoc = "@cindex Tie, dotted, dashed
The appearance of ties may be changed from solid to dotted or dashed.
"
c2 ~ c |
\tieDashPattern #0.4 #2.0
c2 ~ c |
- \once \override Tie #'dash-definition = #'((0 0.25 1 1)
+ \once \override Tie.dash-definition = #'((0 0.25 1 1)
(0.3 0.7 0.4 0.75)
(0.75 1.0 1.0 1.0))
c2 ~ c |
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "If using integers, the tie will vertically tuned for
}
\relative c'' {
- \override Tie #'staff-position = #3
+ \override Tie.staff-position = #3
d4 ~
- \override Tie #'staff-position = #3.0
+ \override Tie.staff-position = #3.0
d ~
d
}
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
ragged-right = ##t
<b d f g>~
- \once \override TieColumn #'tie-configuration =
+ \once \override TieColumn.tie-configuration =
#'((0 . -1) (2 . -1) (5.5 . 1) (7 . 1))
<b d f g>
}
-\version "2.16.0"
+\version "2.17.6"
\layout{ragged-right=##t}
{
c''\laissezVibrer\repeatTie
r
- \override LaissezVibrerTie #'direction = #DOWN
- \override RepeatTie #'direction = #DOWN
+ \override LaissezVibrerTie.direction = #DOWN
+ \override RepeatTie.direction = #DOWN
c''\laissezVibrer_"override"\repeatTie
}
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
}
{
- \override Tie #'staff-position = #-5.5
+ \override Tie.staff-position = #-5.5
c'4 ~ c'
- \override Tie #'staff-position = #-6.5
+ \override Tie.staff-position = #-6.5
c'4 ~ c'
- \override Tie #'staff-position = #-7.5
+ \override Tie.staff-position = #-7.5
c'4 ~ c'
- \revert Tie #'staff-position
- \override Tie #'direction = #UP
+ \revert Tie.staff-position
+ \override Tie.direction = #UP
c'4 ~ c'
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Chained trills end at the next trill or barline.
Collisions can be prevented by overriding @code{bound-details}.
g8 f\startTrillSpan ~
f8 g\stopTrillSpan \startTrillSpan ~
g8 r\stopTrillSpan r4
- \once \override TrillSpanner #'to-barline = ##t
+ \once \override TrillSpanner.to-barline = ##t
c1\startTrillSpan ~
c1
- \once \override TrillSpanner #'(bound-details right padding) = #1.2
+ \once \override TrillSpanner.bound-details.right.padding = #1.2
c1\stopTrillSpan \startTrillSpan
c1\stopTrillSpan\startTrillSpan
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "
<<
\new Staff \with {
fontSize = #-6
- \override StaffSymbol #'staff-space = #(magstep -6)
+ \override StaffSymbol.staff-space = #(magstep -6)
}
\relative c' {
c1\startTrillSpan | c\stopTrillSpan |
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "@code{TupletBracket} grobs avoid @code{Fingering} grobs.
}
\relative d'' {
- \override TupletBracket #'direction = #UP
+ \override TupletBracket.direction = #UP
\times 2/3 { d4 a8-4 }
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "@code{TupletBracket} grobs avoid @code{StringNumber} grobs.
}
\relative d'' {
- \override TupletBracket #'direction = #UP
+ \override TupletBracket.direction = #UP
\times 2/3 { d4 <a\4>8 }
}
-\version "2.16.0"
+\version "2.17.6"
\paper {
ragged-right = ##t
\layout {
\context {
\Score
- \override TupletBracket #'bracket-visibility = ##t
+ \override TupletBracket.bracket-visibility = ##t
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Tuplet brackets' outside staff priority can be
}
\relative c'' {
- \override TupletBracket #'avoid-scripts = ##f
+ \override TupletBracket.avoid-scripts = ##f
% Plain old tuplet
\times 2/3 { a8 r a }
% With nothing set, collisions abound both horizontally and
% vertically
\times 2/3 { a8^\espressivo r a^\espressivo }
% Setting the staff priority prevents collisions
- \override TupletBracket #'outside-staff-priority = #1
+ \override TupletBracket.outside-staff-priority = #1
\times 2/3 { a8^\espressivo r a^\espressivo }
% Note that, with the outside-staff-priority set, this bracket
% should be at the same vertical level as the first one
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Tuplet brackets do not push objects with outside-staff-priority
}
\relative c' {
- \override TupletBracket #'direction = #UP
+ \override TupletBracket.direction = #UP
\times 1/1 { a^"foo" a' a' a' }
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "The default behavior of tuplet-bracket visibility is to print a bracket
\new Voice {
\relative c' {
<< \music s4^"default" >>
- \override TupletBracket #'bracket-visibility = #'if-no-beam
+ \override TupletBracket.bracket-visibility = #'if-no-beam
<< \music s4^"'if-no-beam" >>
- \override TupletBracket #'bracket-visibility = ##t
+ \override TupletBracket.bracket-visibility = ##t
<< \music s4^"#t" >>
- \override TupletBracket #'bracket-visibility = ##f
+ \override TupletBracket.bracket-visibility = ##f
<< \music s4^"#f" >>
}
}
}
-\version "2.17.5"
+\version "2.17.6"
\paper {
ragged-right = ##t
\relative c'' {
- \override TupletNumber #'text = #tuplet-number::calc-fraction-text
+ \override TupletNumber.text = #tuplet-number::calc-fraction-text
- \override TupletBracket #'edge-text = #(cons
+ \override TupletBracket.edge-text = #(cons
(markup #:fontsize 6
#:arrow-head X LEFT #f)
(markup #:arrow-head X RIGHT #f))
attaching column for a full-length tuplet bracket can be ignored."
}
-\version "2.16.0"
+\version "2.17.6"
\new Staff {
\set tupletFullLength = ##t
\time 1/8
\times 2/3 { c'16 c'16 c'16 }
\times 2/3 { c'16 c'16 c'16 }
- \override TupletBracket #'full-length-to-extent = ##f
+ \override TupletBracket.full-length-to-extent = ##f
\times 2/3 { c'16 c'16 c'16 }
- \override Score.RehearsalMark #'break-visibility = ##(#t #t #t)
- \override Score.RehearsalMark #'direction = #down
+ \override Score.RehearsalMark.break-visibility = ##(#t #t #t)
+ \override Score.RehearsalMark.direction = #down
\mark "xxxxxxxxxxxxxxxxxxxxxxx"
}
start of the next non-tuplet note. "
}
-\version "2.17.5"
+\version "2.17.6"
\paper { ragged-right = ##t
indent = 0.0 }
\relative c'' \new Voice \with {
\remove Forbid_line_break_engraver
- \override Beam #'breakable = ##t
+ \override Beam.breakable = ##t
}
{
\set tupletFullLength = ##t
}
-\version "2.16.0"
+\version "2.17.6"
\layout {
indent = 0.0\mm
\relative c'' {
- \override TupletNumber #'text = #tuplet-number::calc-fraction-text
+ \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 17/12 { c8 c4 c8 c8}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Broken nested tuplets avoid each other correctly.
\new Staff
<<
\relative c'' {
- \override Score . Beam #'breakable = ##t
+ \override Score.Beam.breakable = ##t
r2
\times 2/3 { a8[ a a] }
}
- \override TupletNumber #'text = #tuplet-number::calc-fraction-text
+ \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 4/6 {
\times 2/3 {
a4 a a
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc=" Tuplets may be nested."
\times 2/3 { a8[ a a] }
}
- \override TupletNumber #'text = #tuplet-number::calc-fraction-text
+ \override TupletNumber.text = #tuplet-number::calc-fraction-text
\times 4/6 {
\times 2/3 {
a4 a a
}
-\version "2.16.0"
+\version "2.17.6"
\layout{
\context{
\TabStaff
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
}
\context{
\TabVoice
\remove "Beam_engraver"
\remove "Stem_engraver"
- \override TupletBracket #'number-visibility = ##f
+ \override TupletBracket.number-visibility = ##f
}
}
-\version "2.17.0"
+\version "2.17.6"
\header {
}
\relative c'' {
- \override TupletBracket #'outside-staff-priority = #1
- \override TupletNumber #'font-size = #5
+ \override TupletBracket.outside-staff-priority = #1
+ \override TupletNumber.font-size = #5
\times 2/3 { a4\trill a\trill^"foo" a\trill }
}
\ No newline at end of file
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Tuplet numbers' outside staff priority can be
}
\relative c'' {
- \override TupletBracket #'avoid-scripts = ##f
+ \override TupletBracket.avoid-scripts = ##f
\times 2/3 { a8\trill a\trill a\trill }
- \override TupletNumber #'outside-staff-priority = #1
+ \override TupletNumber.outside-staff-priority = #1
\times 2/3 { a8\trill a\trill a\trill }
- \override Script #'outside-staff-priority = #2
+ \override Script.outside-staff-priority = #2
\times 2/3 { a8\trill a\trill a\trill }
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "Tuplet bracket formatting supports numerous options,
\times 2/3 { c8^"B" c[ c] }
\times 2/4 { r8_"B" c,[ c'] r8 }
- \override TupletBracket #'bracket-visibility = #'if-no-beam
+ \override TupletBracket.bracket-visibility = #'if-no-beam
\times 2/3 { c8[ c c] }
\tupletUp
- \override TupletNumber #'stencil = ##f
+ \override TupletNumber.stencil = ##f
\times 2/3 { c8^""^""^"up, no digit" c[ c] }
- \revert TupletNumber #'stencil
+ \revert TupletNumber.stencil
- \override TupletBracket #'bracket-visibility = ##t
- \override TupletBracket #'edge-height = #'(0 . 0)
- \override TupletBracket #'shorten-pair = #'(2.0 . 2.0)
+ \override TupletBracket.bracket-visibility = ##t
+ \override TupletBracket.edge-height = #'(0 . 0)
+ \override TupletBracket.shorten-pair = #'(2.0 . 2.0)
\times 4/6 { c_"shorter, no edges" f b b f c}
- \revert TupletBracket #'edge-height
- \revert TupletBracket #'shorten-pair
+ \revert TupletBracket.edge-height
+ \revert TupletBracket.shorten-pair
- \override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
+ \override TupletBracket.bracket-flare = #'(0.5 . 0.5)
\times 2/3 { b^""^""^"angled edges" b b }
\tupletNeutral
\times 2/3 { b b b }
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="Non-standard tuplet texts: Printing other tuplet fractions than the ones actually assigned."
}
\context Voice \relative c'' {
- \once \override TupletNumber #'text = #(tuplet-number::non-default-tuplet-denominator-text 7)
+ \once \override TupletNumber.text = #(tuplet-number::non-default-tuplet-denominator-text 7)
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text = #(tuplet-number::non-default-tuplet-fraction-text 12 7)
+ \once \override TupletNumber.text = #(tuplet-number::non-default-tuplet-fraction-text 12 7)
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text = #(tuplet-number::append-note-wrapper (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
+ \once \override TupletNumber.text = #(tuplet-number::append-note-wrapper (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
\times 2/3 { c4. c4. c4. c4. }
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="Non-standard tuplet texts: Printing a tuplet fraction with note durations assigned to both the denominator and the numerator."
}
\context Voice \relative c'' {
- \once \override TupletNumber #'text = #(tuplet-number::fraction-with-notes "4." "8")
+ \once \override TupletNumber.text = #(tuplet-number::fraction-with-notes "4." "8")
\times 2/3 { c4. c4. c4. c4. }
- \once \override TupletNumber #'text = #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
+ \once \override TupletNumber.text = #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
\times 2/3 { c4. c4. c4. c4. }
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="Non-standard tuplet texts: Appending a note value to the normal text and to the fraction text."
}
\context Voice \relative c'' {
- \once \override TupletNumber #'text = #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
+ \once \override TupletNumber.text = #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
\times 2/3 { c8 c8 c8 c8 c8 c8 }
- \once \override TupletNumber #'text = #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
+ \once \override TupletNumber.text = #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
\times 2/3 { c8 c8 c8 c8 c8 c8 }
}
-\version "2.16.0"
+\version "2.17.6"
\header{
texidoc="
\context Voice \relative c'' {
\times 2/3 { a8 b c }
\times 2/3 { r8 b[ f] }
- \override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
+ \override TupletBracket.bracket-flare = #'(0.5 . 0.5)
\times 2/3 { r8 b r8 }
c4 |
a ) |
<g e>8( <es fis a> <d e bes'> <c e c'>\arpeggio) r8 r |
r8 c'( e,) f r a |
- \once \override DynamicLineSpanner #'padding =#3
+ \once \override DynamicLineSpanner.padding =#3
r8
<< { fis( g) } \\
<< { a4 } { s8\> s8\! } >>
<< \time 6/8
\new Staff \with {
fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
+ \override StaffSymbol.staff-space = #(magstep -3)
} <<
\context Staff \accidentalStyle modern
\melody >>
\layout {
\context {
\Lyrics
- \override LyricText #'font-size = #-1
+ \override LyricText.font-size = #-1
}
\context {
\Score
- \override Beam #'beam-thickness = #0.55
- \override Beam #'auto-knee-gap = #4.0
- \override SpacingSpanner #'spacing-increment = #1.0
- \override Stem #'stemlet-length = #0.5
- \override Slur #'height-limit = #1.5
+ \override Beam.beam-thickness = #0.55
+ \override Beam.auto-knee-gap = #4.0
+ \override SpacingSpanner.spacing-increment = #1.0
+ \override Stem.stemlet-length = #0.5
+ \override Slur.height-limit = #1.5
}
}
-\version "2.16.0"
+\version "2.17.6"
\header {
texidoc = "unpure-pure containers take two arguments: an unpure property and
\relative c'' {
\stemUp \autoBeamOff
d,8 eis'
- \once \override Flag #'Y-offset =
+ \once \override Flag.Y-offset =
#(ly:make-unpure-pure-container ly:flag::calc-y-offset 8)
d,8 eis'!
- \once \override Flag #'Y-offset = #8
+ \once \override Flag.Y-offset = #8
d,8 eis'!
}
-\version "2.16.0"
+\version "2.17.6"
\header { texidoc = "If the 'whiteout property of a
grob is set to #t, that part of all objects in lower
\relative c' {
\time 3/4
- \override Staff.StaffSymbol #'layer = #4
- \once \override Tie #'layer = #2
+ \override Staff.StaffSymbol.layer = #4
+ \once \override Tie.layer = #2
b'2.~
- \once \override Staff.TimeSignature #'whiteout = ##t
- \once \override Staff.TimeSignature #'layer = #3
+ \once \override Staff.TimeSignature.whiteout = ##t
+ \once \override Staff.TimeSignature.layer = #3
\time 5/4
b4
}
markup. "
}
-\version "2.16.0"
+\version "2.17.6"
\paper
{
}
\relative c'' {
- \override TextScript #'layer = #'2
- \override TextScript #'extra-offset = #'(2 . 4)
+ \override TextScript.layer = #'2
+ \override TextScript.extra-offset = #'(2 . 4)
c4-\markup { \whiteout \pad-markup #0.5 foo } c
}
-\version "2.17.5"
+\version "2.17.6"
\header {
texidoc="
}
\new Staff \with {
- \override StaffSymbol #'staff-space = #0
+ \override StaffSymbol.staff-space = #0
} {
\relative c' {
c1 \bar ":|."
-\version "2.16.0"
+\version "2.17.6"
\language "italiano"
%%%%%%%
%
dwn = {
- \once \override Voice.Accidental #'stencil = #(lambda (grob)
+ \once \override Voice.Accidental.stencil = #(lambda (grob)
(ly:stencil-combine-at-edge
(ly:accidental-interface::print grob) Y UP
(grob-interpret-markup grob (markup #:line
hideKeySignature = {
% We normally don't want to show the key signature.
- \override Staff.KeySignature #'stencil = ##f
+ \override Staff.KeySignature.stencil = ##f
\set Staff.extraNatural = ##f
\key d \major
\accidentalStyle forget
}
showKeySignature = {
% Show the key signature e.g. for BMW compatibility.
- \override Staff.KeySignature #'stencil = #ly:key-signature-interface::print
+ \override Staff.KeySignature.stencil = #ly:key-signature-interface::print
\set Staff.extraNatural = ##f
\key d \major
\accidentalStyle forget
\context {
\Voice
% All stems go down.
- \override Stem #'direction = #DOWN
+ \override Stem.direction = #DOWN
% All slurs and ties are on top.
- \override Slur #'direction = #UP
- \override Tie #'direction = #UP
+ \override Slur.direction = #UP
+ \override Tie.direction = #UP
}
}
% Add appropriate tweaks needed for piping grace notes to look great.
stemspace = #(define-music-function (parser location extent) (pair?) #{
- \once \override Staff.Stem #'X-extent = #extent
+ \once \override Staff.Stem.X-extent = #extent
#})
pgrace = #(define-music-function (parser location notes) (ly:music?) #{
- \override Score.GraceSpacing #'spacing-increment = #0
- \override Score.Stem #'beamlet-max-length-proportion = #'(0.5 . 0.5)
+ \override Score.GraceSpacing.spacing-increment = #0
+ \override Score.Stem.beamlet-max-length-proportion = #'(0.5 . 0.5)
\small \grace $notes \normalsize
- \revert Score.Stem #'beamlet-default-length
+ \revert Score.Stem.beamlet-default-length
#})
% Single grace notes
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
-\version "2.16.0"
+\version "2.17.6"
RemoveEmptyStaves = \with {
\remove "Axis_group_engraver"
% is left before adding a new one.
\remove "Hara_kiri_engraver"
\consists "Hara_kiri_engraver"
- \override VerticalAxisGroup #'remove-empty = ##t
+ \override VerticalAxisGroup.remove-empty = ##t
\description "Remove staves which are considered to be empty according
to the list of interfaces set by @code{keepAliveInterfaces}."
}
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
-\version "2.16.0"
+\version "2.17.6"
%% < 1.8 compatibility switch
#(ly:set-option 'old-relative)
center = #0
%% FIXME
-%% should also set \override Beam #'breakable, but how to do it "portably"? (ie. also
+%% should also set \override Beam.breakable, but how to do it "portably"? (ie. also
%% working with lyric sections)
%%
-%% try \once \override Score.Beam #'breakable = ##t
+%% try \once \override Score.Beam.breakable = ##t
%% rather name \newline, \pageBreak ?
break = #(make-music 'LineBreakEvent 'break-permission 'force)
clefGlyph = #"clefs.percussion"
clefPosition = #0
- \override Script #'staff-padding = #0.75
+ \override Script.staff-padding = #0.75
}
\name RhythmicStaff
\alias "Staff"
- \override BarLine #'bar-extent = #'(-2 . 2)
- \override VoltaBracket #'staff-padding = #3
- \override StaffSymbol #'line-count = #1
+ \override BarLine.bar-extent = #'(-2 . 2)
+ \override VoltaBracket.staff-padding = #3
+ \override StaffSymbol.line-count = #1
- \override Stem #'neutral-direction = #UP
- \override Beam #'neutral-direction = #UP
+ \override Stem.neutral-direction = #UP
+ \override Beam.neutral-direction = #UP
\consists "Output_property_engraver"
\consists "Font_size_engraver"
\name CueVoice
\alias Voice
fontSize = #-4
- \override Stem #'length-fraction = #(magstep -4)
- \override Beam #'length-fraction = #(magstep -4)
- \override Beam #'beam-thickness = #0.35
+ \override Stem.length-fraction = #(magstep -4)
+ \override Beam.length-fraction = #(magstep -4)
+ \override Beam.beam-thickness = #0.35
}
\context {
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
- \override VerticalAxisGroup #'staff-affinity = #CENTER
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing =
+ \override VerticalAxisGroup.staff-affinity = #CENTER
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 5)
(padding . 0.5))
- \override TextScript #'font-shape = #'italic
- \override DynamicLineSpanner #'Y-offset = #0
- \override DynamicText #'X-offset =
+ \override TextScript.font-shape = #'italic
+ \override DynamicLineSpanner.Y-offset = #0
+ \override DynamicText.X-offset =
#(ly:make-simple-closure
`(,+
,(ly:make-simple-closure
instrumentName = #'()
shortInstrumentName = #'()
- \override VerticalAxisGroup #'remove-first = ##t
- \override VerticalAxisGroup #'remove-empty = ##t
- \override VerticalAxisGroup #'staff-affinity = #UP
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing =
+ \override VerticalAxisGroup.remove-first = ##t
+ \override VerticalAxisGroup.remove-empty = ##t
+ \override VerticalAxisGroup.staff-affinity = #UP
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 5.5)
(padding . 0.5)
(stretchability . 1))
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing =
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2.8)
(padding . 0.2)
(stretchability . 0))
- \override VerticalAxisGroup #'nonstaff-unrelatedstaff-spacing #'padding = #1.5
- \override InstrumentName #'self-alignment-Y = ##f
+ \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.padding = #1.5
+ \override InstrumentName.self-alignment-Y = ##f
%% sync with define-grobs.scm ;
- \override InstrumentName #'font-size = #1.0
+ \override InstrumentName.font-size = #1.0
%% make sure that barlines aren't collapsed, when
%% Bar_engraver is there.
- \override BarLine #'bar-extent = #'(-0.05 . 0.05)
+ \override BarLine.bar-extent = #'(-0.05 . 0.05)
}
\description "A context for printing the names of notes."
\consists "Axis_group_engraver"
- \override VerticalAxisGroup #'staff-affinity = #UP
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing =
+ \override VerticalAxisGroup.staff-affinity = #UP
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2.8)
(padding . 0.2)
(stretchability . 0))
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing =
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 5.5)
(padding . 0.5)
(stretchability . 1))
- \override VerticalAxisGroup
- #'nonstaff-unrelatedstaff-spacing #'padding = 1.5
+ \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing.padding = 1.5
\consists "Tie_engraver"
\consists "Note_name_engraver"
\consists "Chord_name_engraver"
\consists "Hara_kiri_engraver"
% \consists "Note_spacing_engraver"
- \override VerticalAxisGroup #'remove-first = ##t
- \override VerticalAxisGroup #'remove-empty = ##t
- \override VerticalAxisGroup #'staff-affinity = #DOWN
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'padding = #0.5
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'padding = #0.5
+ \override VerticalAxisGroup.remove-first = ##t
+ \override VerticalAxisGroup.remove-empty = ##t
+ \override VerticalAxisGroup.staff-affinity = #DOWN
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #0.5
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #0.5
}
\context {
\consists "Separating_line_group_engraver"
\consists "Hara_kiri_engraver"
- \override VerticalAxisGroup #'remove-empty = ##t
- \override VerticalAxisGroup #'remove-first = ##t
- \override VerticalAxisGroup #'staff-affinity = #UP
- \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'padding = #0.5
- \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'padding = #0.5
+ \override VerticalAxisGroup.remove-empty = ##t
+ \override VerticalAxisGroup.remove-first = ##t
+ \override VerticalAxisGroup.staff-affinity = #UP
+ \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #0.5
+ \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #0.5
}
\context {
%% TabStaff increase the staff-space, which in turn
%% increases beam thickness and spacing; beams are
%% too big. We have to adjust the beam settings:
- \override Beam #'beam-thickness = #0.32
- \override Beam #'length-fraction = #0.62
+ \override Beam.beam-thickness = #0.32
+ \override Beam.length-fraction = #0.62
%% the same goes for tremolo beams
- \override StemTremolo #'beam-thickness = #0.32
+ \override StemTremolo.beam-thickness = #0.32
%% NOTE: in lily/stem-tremolo.cc, we have length-fraction = 1,
%% and the tablature staff space is scaled (1.5 by default),
%% so we use the inversion of the scale factor:
- \override StemTremolo #'length-fraction = #(lambda (grob)
+ \override StemTremolo.length-fraction = #(lambda (grob)
(/ 1 (ly:staff-symbol-staff-space grob)))
- \override StemTremolo #'beam-width = #stem-tremolo::calc-tab-width
+ \override StemTremolo.beam-width = #stem-tremolo::calc-tab-width
%% No accidental in tablature !
\remove "Accidental_engraver"
%% make the Stems as short as possible to minimize their influence
%% on the slur::calc-control-points routine
- \override Stem #'no-stem-extend = ##t
- \override Flag #'style = #'no-flag
- \override Stem #'details = #'((lengths 0 0 0 0 0 0)
+ \override Stem.no-stem-extend = ##t
+ \override Flag.style = #'no-flag
+ \override Stem.details = #'((lengths 0 0 0 0 0 0)
(beamed-lengths 0 0 0)
(beamed-minimum-free-lengths 0 0 0)
(beamed-extreme-minimum-free-lengths 0 0)
(stem-shorten 0 0))
%% after all, the stubs of the stems may still be visible, so ...
- \override Stem #'stencil = ##f
- \override Flag #'stencil = ##f
+ \override Stem.stencil = ##f
+ \override Flag.stencil = ##f
%% automatic beams should be suppressed for similar reasons ...
autoBeaming = ##f
%% remove beams, dots and rests ...
- \override Beam #'stencil = ##f
- \override StemTremolo #'stencil = ##f
- \override Dots #'stencil = ##f
- \override Rest #'stencil = ##f
- \override MultiMeasureRest #'stencil = ##f
- \override MultiMeasureRestNumber #'stencil = ##f
- \override MultiMeasureRestText #'stencil = ##f
+ \override Beam.stencil = ##f
+ \override StemTremolo.stencil = ##f
+ \override Dots.stencil = ##f
+ \override Rest.stencil = ##f
+ \override MultiMeasureRest.stencil = ##f
+ \override MultiMeasureRestNumber.stencil = ##f
+ \override MultiMeasureRestText.stencil = ##f
%% ... all kinds of ties/slurs
- \override Tie #'stencil = ##f
- \override RepeatTie #'stencil = ##f
- \override LaissezVibrerTie #'stencil = ##f
- \override Slur #'stencil = #slur::draw-tab-slur
- \override PhrasingSlur #'stencil = ##f
+ \override Tie.stencil = ##f
+ \override RepeatTie.stencil = ##f
+ \override LaissezVibrerTie.stencil = ##f
+ \override Slur.stencil = #slur::draw-tab-slur
+ \override PhrasingSlur.stencil = ##f
%% 'tied to' fret numbers become invisible or parenthesized, respectively)
- \override Tie #'after-line-breaking = #tie::handle-tab-note-head
- \override RepeatTie #'after-line-breaking = #repeat-tie::handle-tab-note-head
+ \override Tie.after-line-breaking = #tie::handle-tab-note-head
+ \override RepeatTie.after-line-breaking = #repeat-tie::handle-tab-note-head
%% ... and all kinds of markups, spanners etc.
- \override TupletBracket #'stencil = ##f
- \override TupletNumber #'stencil = ##f
- \override DynamicText #'stencil = ##f
- \override DynamicTextSpanner #'stencil = ##f
- \override TextSpanner #'stencil = ##f
- \override Hairpin #'stencil = ##f
- \override Script #'stencil = ##f
- \override TextScript #'stencil = ##f
- \override Glissando #'stencil = #glissando::draw-tab-glissando
+ \override TupletBracket.stencil = ##f
+ \override TupletNumber.stencil = ##f
+ \override DynamicText.stencil = ##f
+ \override DynamicTextSpanner.stencil = ##f
+ \override TextSpanner.stencil = ##f
+ \override Hairpin.stencil = ##f
+ \override Script.stencil = ##f
+ \override TextScript.stencil = ##f
+ \override Glissando.stencil = #glissando::draw-tab-glissando
%% the direction for glissando lines will be automatically corrected
- \override Glissando #'extra-dy = #glissando::calc-tab-extra-dy
- \override Glissando #'bound-details #'right = #`((attach-dir . ,LEFT)
+ \override Glissando.extra-dy = #glissando::calc-tab-extra-dy
+ \override Glissando.bound-details.right = #`((attach-dir . ,LEFT)
(padding . 0.3))
- \override Glissando #'bound-details #'left = #`((attach-dir . ,RIGHT)
+ \override Glissando.bound-details.left = #`((attach-dir . ,RIGHT)
(padding . 0.3))
%% dead notes
- \override TabNoteHead #'glyph-name = #tab-note-head::calc-glyph-name
- \override TabNoteHead #'stencil = #tab-note-head::whiteout-if-style-set
+ \override TabNoteHead.glyph-name = #tab-note-head::calc-glyph-name
+ \override TabNoteHead.stencil = #tab-note-head::whiteout-if-style-set
}
\context {
\defaultchild "TabVoice"
%% 6 strings, bigger spacing
- \override StaffSymbol #'staff-space = #1.5
+ \override StaffSymbol.staff-space = #1.5
%% Don't draw stems over the tablature figures !
- \override Stem #'avoid-note-head = ##t
+ \override Stem.avoid-note-head = ##t
%% No accidental in tablature !
\remove "Accidental_engraver"
\remove "Ottava_spanner_engraver"
%% the clef handler
- \override Clef #'stencil = #clef::print-modern-tab-if-set
+ \override Clef.stencil = #clef::print-modern-tab-if-set
%% no time signature
- \override TimeSignature #'stencil = ##f
+ \override TimeSignature.stencil = ##f
%% no arpeggios
- \override Arpeggio #'stencil = ##f
+ \override Arpeggio.stencil = ##f
%% we ignore collision warnings that may occur due to
%% stem overlapping, because we have no stems ;-)
- \override NoteColumn #'ignore-collision = ##t
+ \override NoteColumn.ignore-collision = ##t
%% Special "TAB" clef
clefGlyph = #"clefs.tab"
clefPosition = #0
\consists "Episema_engraver"
%% Set default head for notes outside of \[ \].
- \override NoteHead #'style = #'vaticana.punctum
+ \override NoteHead.style = #'vaticana.punctum
%% Put some space before and after divisiones.
%% FIXME: This does not seem to show any effect.
- \override Script #'padding = #0.5
+ \override Script.padding = #0.5
%% There are no beams in Gregorian Chant notation.
autoBeaming = ##f
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
%% Instead, we make the grob transparent.
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
- \override StaffSymbol #'line-count = #4
- \override StaffSymbol #'thickness = #0.6
+ \override StaffSymbol.line-count = #4
+ \override StaffSymbol.thickness = #0.6
%% FIXME: unit on StaffSymbol's width should be \linewidth.
- %% \override StaffSymbol #'width = #60.0
+ %% \override StaffSymbol.width = #60.0
%% Choose vaticana do clef on 3rd line as default.
clefGlyph = #"clefs.vaticana.do"
clefOctavation = #0
%% Select vaticana style font.
- \override KeySignature #'glyph-name-alist = #alteration-vaticana-glyph-name-alist
- \override Accidental #'glyph-name-alist = #alteration-vaticana-glyph-name-alist
- \override Custos #'style = #'vaticana
- \override Custos #'neutral-position = #3
- \override Custos #'neutral-direction = #DOWN
- \override Dots #'style = #'vaticana
+ \override KeySignature.glyph-name-alist = #alteration-vaticana-glyph-name-alist
+ \override Accidental.glyph-name-alist = #alteration-vaticana-glyph-name-alist
+ \override Custos.style = #'vaticana
+ \override Custos.neutral-position = #3
+ \override Custos.neutral-direction = #DOWN
+ \override Dots.style = #'vaticana
}
\context {
%% other ligature engraver would cause a "Junking event: `LigatureEvent'"
%% warning for every "\[" and "\]". Therefore, we make the grob
%% transparent instead.
- \override LigatureBracket #'transparent = ##t
+ \override LigatureBracket.transparent = ##t
%% Put some space before and after divisiones.
%% FIXME: This does not seem to show any effect.
- \override Script #'padding = #0.5
+ \override Script.padding = #0.5
%% There are no beams in Gregorian Chant notation.
autoBeaming = ##f
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
%% Instead, we make the grob transparent.
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
}
\context {
\consists "Mensural_ligature_engraver"
%% Set default head for notes outside of \[ \].
- \override NoteHead #'style = #'mensural
- \override Rest #'style = #'mensural
- \override Flag #'style = #'mensural
+ \override NoteHead.style = #'mensural
+ \override Rest.style = #'mensural
+ \override Flag.style = #'mensural
%% There are no beams in mensural notation.
autoBeaming = ##f
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
%% Instead, we make the grob transparent.
- \override BarLine #'transparent = ##t
+ \override BarLine.transparent = ##t
- \override StaffSymbol #'thickness = #0.6
+ \override StaffSymbol.thickness = #0.6
%% FIXME: unit on StaffSymbol's width should be \linewidth.
- %% \override StaffSymbol #'width = #60.0
+ %% \override StaffSymbol.width = #60.0
%% Choose mensural g clef on 2nd line as default.
clefGlyph = #"clefs.mensural.g"
clefOctavation = #0
%% Select mensural style font.
- \override TimeSignature #'style = #'mensural
- \override KeySignature #'glyph-name-alist = #alteration-mensural-glyph-name-alist
- \override Accidental #'glyph-name-alist = #alteration-mensural-glyph-name-alist
- \override Custos #'style = #'mensural
- \override Custos #'neutral-position = #3
- \override Custos #'neutral-direction = #DOWN
+ \override TimeSignature.style = #'mensural
+ \override KeySignature.glyph-name-alist = #alteration-mensural-glyph-name-alist
+ \override Accidental.glyph-name-alist = #alteration-mensural-glyph-name-alist
+ \override Custos.style = #'mensural
+ \override Custos.neutral-position = #3
+ \override Custos.neutral-direction = #DOWN
%% Accidentals are valid only once (same as
%% \accidentalStyle forget)
\consists "Mensural_ligature_engraver"
%% Set glyph styles.
- \override NoteHead #'style = #'petrucci
- \override Rest #'style = #'mensural
+ \override NoteHead.style = #'petrucci
+ \override Rest.style = #'mensural
% Thickens and shortens stems.
- \override Stem #'thickness = #1.7
- \override Stem #'length = #5
+ \override Stem.thickness = #1.7
+ \override Stem.length = #5
%% There are no beams in Petrucci notation.
autoBeaming = ##f
\consists "Custos_engraver"
- \override StaffSymbol #'thickness = #1.3
+ \override StaffSymbol.thickness = #1.3
%% Choose Petrucci g clef on 2nd line as default.
clefGlyph = #"clefs.petrucci.g"
clefPosition = #-2
clefOctavation = #0
- \override Custos #'style = #'mensural
- \override Custos #'neutral-position = #3
- \override Custos #'neutral-direction = #DOWN
+ \override Custos.style = #'mensural
+ \override Custos.neutral-position = #3
+ \override Custos.neutral-direction = #DOWN
%% Accidentals are valid only once (if the following note is different)
extraNatural = ##f
accommodated for typesetting a piece in Kievan style."
%% Set glyph styles.
- \override NoteHead #'style = #'kievan
- \override Rest #'style = #'mensural
- \override Accidental #'glyph-name-alist = #alteration-kievan-glyph-name-alist
- \override Dots #'style = #'kievan
- \override Slur #'stencil = ##f
+ \override NoteHead.style = #'kievan
+ \override Rest.style = #'mensural
+ \override Accidental.glyph-name-alist = #alteration-kievan-glyph-name-alist
+ \override Dots.style = #'kievan
+ \override Slur.stencil = ##f
%% There are beams in Kievan notation, but they are invoked manually
autoBeaming = ##f
-\version "2.16.0"
+\version "2.17.6"
startGraceSlur = #(make-music 'SlurEvent 'span-direction START 'spanner-id "grace")
stopGraceSlur = #(make-music 'SlurEvent 'span-direction STOP 'spanner-id "grace")
startAcciaccaturaMusic = {
<>\startGraceSlur
- \temporary \override Flag #'stroke-style = #"grace"
+ \temporary \override Flag.stroke-style = #"grace"
}
stopAcciaccaturaMusic = {
- \revert Flag #'stroke-style
+ \revert Flag.stroke-style
<>\stopGraceSlur
}
startSlashedGraceMusic = {
- \temporary \override Flag #'stroke-style = #"grace"
+ \temporary \override Flag.stroke-style = #"grace"
}
stopSlashedGraceMusic = {
- \revert Flag #'stroke-style
+ \revert Flag.stroke-style
}
$Id$
%}
-\version "2.16.0"
+\version "2.17.6"
%
% Declare memorable shortcuts for special unicode characters
% Declare head prefix shortcuts.
%
virga =
- \once \override NoteHead #'virga = ##t
+ \once \override NoteHead.virga = ##t
stropha =
- \once \override NoteHead #'stropha = ##t
+ \once \override NoteHead.stropha = ##t
inclinatum =
- \once \override NoteHead #'inclinatum = ##t
+ \once \override NoteHead.inclinatum = ##t
auctum =
- \once \override NoteHead #'auctum = ##t
+ \once \override NoteHead.auctum = ##t
descendens =
- \once \override NoteHead #'descendens = ##t
+ \once \override NoteHead.descendens = ##t
ascendens =
- \once \override NoteHead #'ascendens = ##t
+ \once \override NoteHead.ascendens = ##t
pes =
- \once \override NoteHead #'pes-or-flexa = ##t
+ \once \override NoteHead.pes-or-flexa = ##t
flexa =
- \once \override NoteHead #'pes-or-flexa = ##t
+ \once \override NoteHead.pes-or-flexa = ##t
oriscus =
- \once \override NoteHead #'oriscus = ##t
+ \once \override NoteHead.oriscus = ##t
quilisma =
- \once \override NoteHead #'quilisma = ##t
+ \once \override NoteHead.quilisma = ##t
deminutum =
- \once \override NoteHead #'deminutum = ##t
+ \once \override NoteHead.deminutum = ##t
linea =
- \once \override NoteHead #'linea = ##t
+ \once \override NoteHead.linea = ##t
cavum =
- \once \override NoteHead #'cavum = ##t
+ \once \override NoteHead.cavum = ##t
%
% Declare divisiones shortcuts.
%
virgula = {
- \once \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rcomma")
- \once \override BreathingSign #'font-size = #-2
+ \once \override BreathingSign.text = #(make-musicglyph-markup "scripts.rcomma")
+ \once \override BreathingSign.font-size = #-2
% Workaround: add padding. Correct fix would be spacing engine handle this.
- \once \override BreathingSign #'minimum-X-extent = #'(-1.0 . 0.0)
- \once \override BreathingSign #'minimum-Y-extent = #'(-2.5 . 2.5)
+ \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+ \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
caesura = {
- \once \override BreathingSign #'text = #(make-musicglyph-markup "scripts.rvarcomma")
- \once \override BreathingSign #'font-size = #-2
+ \once \override BreathingSign.text = #(make-musicglyph-markup "scripts.rvarcomma")
+ \once \override BreathingSign.font-size = #-2
% Workaround: add padding. Correct fix would be spacing engine handle this.
- \once \override BreathingSign #'minimum-X-extent = #'(-1.0 . 0.0)
- \once \override BreathingSign #'minimum-Y-extent = #'(-2.5 . 2.5)
+ \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+ \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
divisioMinima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-minima
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-minima
% Workaround: add padding. Correct fix would be spacing engine handle this.
- \once \override BreathingSign #'minimum-X-extent = #'(-1.0 . 0.0)
- \once \override BreathingSign #'minimum-Y-extent = #'(-2.5 . 2.5)
+ \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+ \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
divisioMaior = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maior
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior
+ \once \override BreathingSign.Y-offset = #0
% Workaround: add padding. Correct fix would be spacing engine handle this.
- \once \override BreathingSign #'minimum-X-extent = #'(-1.0 . 0.0)
- \once \override BreathingSign #'minimum-Y-extent = #'(-2.5 . 2.5)
+ \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+ \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
divisioMaxima = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::divisio-maxima
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maxima
+ \once \override BreathingSign.Y-offset = #0
% Workaround: add padding. Correct fix would be spacing engine handle this.
- \once \override BreathingSign #'minimum-X-extent = #'(-1.0 . 0.0)
- \once \override BreathingSign #'minimum-Y-extent = #'(-2.5 . 2.5)
+ \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+ \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
finalis = {
- \once \override BreathingSign #'stencil = #ly:breathing-sign::finalis
- \once \override BreathingSign #'Y-offset = #0
+ \once \override BreathingSign.stencil = #ly:breathing-sign::finalis
+ \once \override BreathingSign.Y-offset = #0
% Workaround: add padding. Correct fix would be spacing engine handle this.
- \once \override BreathingSign #'minimum-X-extent = #'(-1.0 . 0.0)
- \once \override BreathingSign #'minimum-Y-extent = #'(-2.5 . 2.5)
+ \once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
+ \once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
\context {
\VaticanaStaff
- \override StaffSymbol #'color = #red
- \override LedgerLineSpanner #'color = #red
+ \override StaffSymbol.color = #red
+ \override LedgerLineSpanner.color = #red
}
\context {
\Score
%%%
barAlways = ##f
- \override SpacingSpanner #'packed-spacing = ##t
+ \override SpacingSpanner.packed-spacing = ##t
%%%
%%% TODO: Play around with the following SpacingSpanner
%%% causes tons of "programming error: adding reverse spring,
%%% setting to unit" messages.
%%%
- %\override SpacingSpanner #'base-shortest-duration = #(ly:make-moment 1 4)
- %\override SpacingSpanner #'shortest-duration-space = #0
- %\override SpacingSpanner #'average-spacing-wishes = ##f
- %\override SpacingSpanner #'spacing-increment = #0.0
- %\override SpacingSpanner #'uniform-stretching = ##t
+ %\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 4)
+ %\override SpacingSpanner.shortest-duration-space = #0
+ %\override SpacingSpanner.average-spacing-wishes = ##f
+ %\override SpacingSpanner.spacing-increment = #0.0
+ %\override SpacingSpanner.uniform-stretching = ##t
}
}
\Staff
\remove "Clef_engraver"
\remove "Key_engraver"
- \override StaffSymbol #'transparent = ##t
+ \override StaffSymbol.transparent = ##t
\remove "Time_signature_engraver"
\remove "Bar_engraver"
- \override VerticalAxisGroup #'staff-staff-spacing = #'()
+ \override VerticalAxisGroup.staff-staff-spacing = #'()
}
\context {
\Voice
\remove "Ligature_bracket_engraver"
\consists "Vaticana_ligature_engraver"
- \override NoteHead #'style = #'vaticana.punctum
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
+ \override NoteHead.style = #'vaticana.punctum
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
}
}
-\version "2.16.0"
+\version "2.17.6"
%{
\layout {
\context {
\Score
- \override KeySignature #'glyph-name-alist = \makamGlyphs
- \override Accidental #'glyph-name-alist = \makamGlyphs
- \override AccidentalCautionary #'glyph-name-alist = \makamGlyphs
- \override TrillPitchAccidental #'glyph-name-alist = \makamGlyphs
- \override AmbitusAccidental #'glyph-name-alist = \makamGlyphs
+ \override KeySignature.glyph-name-alist = \makamGlyphs
+ \override Accidental.glyph-name-alist = \makamGlyphs
+ \override AccidentalCautionary.glyph-name-alist = \makamGlyphs
+ \override TrillPitchAccidental.glyph-name-alist = \makamGlyphs
+ \override AmbitusAccidental.glyph-name-alist = \makamGlyphs
}
}
(timesig (cons (ly:moment-main-numerator mlen)
(ly:moment-main-denominator mlen))))
#{
- \once \override Staff.TimeSignature #'stencil = #(lambda (grob)
+ \once \override Staff.TimeSignature.stencil = #(lambda (grob)
(grob-interpret-markup grob (format-compound-time args)))
\set Timing.timeSignatureFraction = $timesig
\set Timing.baseMoment = $beat
#(define-music-function (parser location notes) (ly:music?)
(_i "Create cross-staff stems")
#{
- \temporary \override Stem #'cross-staff = #cross-staff-connect
- \temporary \override Flag #'style = #'no-flag
+ \temporary \override Stem.cross-staff = #cross-staff-connect
+ \temporary \override Flag.style = #'no-flag
$notes
- \revert Stem #'cross-staff
- \revert Flag #'style
+ \revert Stem.cross-staff
+ \revert Flag.style
#})
cueClef =
'text (or mark (make-null-markup))
'footnote-text footnote)))
(if (ly:music? item)
- #{ \tweak #'footnote-music #mus #item #}
+ #{ \tweak footnote-music #mus #item #}
#{ \once\override $item #'footnote-music = #mus #})))
grace =
harmonics played on a fretted instrument by touching the strings at @var{fret}.")
#{
\set harmonicDots = ##t
- \temporary \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label (number->string fret))
- \temporary \override NoteHead #'Y-extent = #(ly:make-unpure-pure-container ly:grob::stencil-height
+ \temporary \override TabNoteHead.stencil = #(tab-note-head::print-custom-fret-label (number->string fret))
+ \temporary \override NoteHead.Y-extent = #(ly:make-unpure-pure-container ly:grob::stencil-height
(lambda (grob start end)
(ly:grob::stencil-height grob)))
- \temporary \override NoteHead #'stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed)
+ \temporary \override NoteHead.stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed)
(ly:note-head::print grob))
$(make-harmonic
(calc-harmonic-pitch (fret->pitch (number->string fret)) music))
\unset harmonicDots
- \revert TabNoteHead #'stencil
- \revert NoteHead #'Y-extent
- \revert NoteHead #'stencil
+ \revert TabNoteHead.stencil
+ \revert NoteHead.Y-extent
+ \revert NoteHead.stencil
#})
harmonicByRatio = #(define-music-function (parser location ratio music) (number? ly:music?)
given through @var{ratio}.")
#{
\set harmonicDots = ##t
- \temporary \override TabNoteHead #'stencil = #(tab-note-head::print-custom-fret-label (ratio->fret ratio))
- \temporary \override NoteHead #'Y-extent = #(ly:make-unpure-pure-container ly:grob::stencil-height
+ \temporary \override TabNoteHead.stencil = #(tab-note-head::print-custom-fret-label (ratio->fret ratio))
+ \temporary \override NoteHead.Y-extent = #(ly:make-unpure-pure-container ly:grob::stencil-height
(lambda (grob start end)
(ly:grob::stencil-height grob)))
- \temporary \override NoteHead #'stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed)
+ \temporary \override NoteHead.stencil = #(lambda (grob) (ly:grob-set-property! grob 'style 'harmonic-mixed)
(ly:note-head::print grob))
$(make-harmonic
(calc-harmonic-pitch (ratio->pitch ratio) music))
\unset harmonicDots
- \revert TabNoteHead #'stencil
- \revert NoteHead #'Y-extent
- \revert NoteHead #'stencil
+ \revert TabNoteHead.stencil
+ \revert NoteHead.Y-extent
+ \revert NoteHead.stencil
#})
hide =
specified by it. If @var{item} is a music expression, the result is
the same music expression with an appropriate tweak applied to it.")
(if (ly:music? item)
- #{ \tweak #'transparent ##t $item #}
+ #{ \tweak transparent ##t $item #}
#{ \override $item #'transparent = ##t #}))
inStaffSegno =
specified by it. If @var{item} is a music expression, the result is
the same music expression with an appropriate tweak applied to it.")
(if (ly:music? item)
- #{ \tweak #'stencil ##f $item #}
+ #{ \tweak stencil ##f $item #}
#{ \override $item #'stencil = ##f #}))
once =
(offset-control-points (car offsets)))))
(if (ly:music? item)
#{
- \tweak #'control-points #shape-curve $item
+ \tweak control-points #shape-curve $item
#}
#{
\once \override $item #'control-points = #shape-curve
(_i "Set the system stretch, by reading the 'system-stretch property of
the `parameters' assoc list.")
#{
- \overrideProperty Score.NonMusicalPaperColumn
- #'line-break-system-details
+ \overrideProperty Score.NonMusicalPaperColumn.line-break-system-details
#(list (cons 'alignment-extra-space (cdr (assoc 'system-stretch parameters)))
(cons 'system-Y-extent (cdr (assoc 'system-Y-extent parameters))))
#})
% property-init.ly
-\version "2.16.0"
+\version "2.17.6"
%% for dashed slurs, phrasing slurs, and ties
#(define (make-simple-dash-definition dash-fraction dash-period)
arpeggio = #(make-music 'ArpeggioEvent)
arpeggioArrowUp = {
- \revert Arpeggio #'stencil
- \revert Arpeggio #'X-extent
- \override Arpeggio #'arpeggio-direction = #UP
+ \revert Arpeggio.stencil
+ \revert Arpeggio.X-extent
+ \override Arpeggio.arpeggio-direction = #UP
}
arpeggioArrowDown = {
- \revert Arpeggio #'stencil
- \revert Arpeggio #'X-extent
- \override Arpeggio #'arpeggio-direction = #DOWN
+ \revert Arpeggio.stencil
+ \revert Arpeggio.X-extent
+ \override Arpeggio.arpeggio-direction = #DOWN
}
arpeggioNormal = {
- \revert Arpeggio #'stencil
- \revert Arpeggio #'X-extent
- \revert Arpeggio #'arpeggio-direction
- \revert Arpeggio #'dash-definition
+ \revert Arpeggio.stencil
+ \revert Arpeggio.X-extent
+ \revert Arpeggio.arpeggio-direction
+ \revert Arpeggio.dash-definition
}
arpeggioBracket = {
- \revert Arpeggio #'X-extent
- \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
+ \revert Arpeggio.X-extent
+ \override Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
}
arpeggioParenthesis = {
- \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
- \override Arpeggio #'X-extent = #ly:grob::stencil-width
- \revert Arpeggio #'dash-definition
+ \override Arpeggio.stencil = #ly:arpeggio::brew-chord-slur
+ \override Arpeggio.X-extent = #ly:grob::stencil-width
+ \revert Arpeggio.dash-definition
}
arpeggioParenthesisDashed = {
- \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-slur
- \override Arpeggio #'X-extent = #ly:grob::stencil-width
- \override Arpeggio #'dash-definition = #'((0 1 0.4 0.75))
+ \override Arpeggio.stencil = #ly:arpeggio::brew-chord-slur
+ \override Arpeggio.X-extent = #ly:grob::stencil-width
+ \override Arpeggio.dash-definition = #'((0 1 0.4 0.75))
}
%% balloon length
balloonLengthOn = {
- \override BalloonTextItem #'extra-spacing-width = #'(0 . 0)
- \override BalloonTextItem #'extra-spacing-height = #'(-inf.0 . +inf.0)
+ \override BalloonTextItem.extra-spacing-width = #'(0 . 0)
+ \override BalloonTextItem.extra-spacing-height = #'(-inf.0 . +inf.0)
}
balloonLengthOff = {
- \override BalloonTextItem #'extra-spacing-width = #'(+inf.0 . -inf.0)
- \override BalloonTextItem #'extra-spacing-height = #'(0 . 0)
+ \override BalloonTextItem.extra-spacing-width = #'(+inf.0 . -inf.0)
+ \override BalloonTextItem.extra-spacing-height = #'(0 . 0)
}
\set Staff.useBassFigureExtenders = ##f
}
bassFigureStaffAlignmentDown =
- \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
+ \override Staff.BassFigureAlignmentPositioning.direction = #DOWN
bassFigureStaffAlignmentUp =
- \override Staff.BassFigureAlignmentPositioning #'direction = #UP
+ \override Staff.BassFigureAlignmentPositioning.direction = #UP
bassFigureStaffAlignmentNeutral =
- \revert Staff.BassFigureAlignmentPositioning #'direction
+ \revert Staff.BassFigureAlignmentPositioning.direction
%% cadenzas
%% dots
-dotsUp = \override Dots #'direction = #UP
-dotsDown = \override Dots #'direction = #DOWN
-dotsNeutral = \revert Dots #'direction
+dotsUp = \override Dots.direction = #UP
+dotsDown = \override Dots.direction = #DOWN
+dotsNeutral = \revert Dots.direction
%% dynamics
dynamicUp = {
- \override DynamicText #'direction = #UP
- \override DynamicLineSpanner #'direction = #UP
+ \override DynamicText.direction = #UP
+ \override DynamicLineSpanner.direction = #UP
}
dynamicDown = {
- \override DynamicText #'direction = #DOWN
- \override DynamicLineSpanner #'direction = #DOWN
+ \override DynamicText.direction = #DOWN
+ \override DynamicLineSpanner.direction = #DOWN
}
dynamicNeutral = {
- \revert DynamicText #'direction
- \revert DynamicLineSpanner #'direction
+ \revert DynamicText.direction
+ \revert DynamicLineSpanner.direction
}
%% easy heads
easyHeadsOn = {
- \override NoteHead #'stencil = #note-head::brew-ez-stencil
- \override NoteHead #'font-size = #-8
- \override NoteHead #'font-family = #'sans
- \override NoteHead #'font-series = #'bold
+ \override NoteHead.stencil = #note-head::brew-ez-stencil
+ \override NoteHead.font-size = #-8
+ \override NoteHead.font-family = #'sans
+ \override NoteHead.font-series = #'bold
}
easyHeadsOff = {
- \revert NoteHead #'stencil
- \revert NoteHead #'font-size
- \revert NoteHead #'font-family
- \revert NoteHead #'font-series
+ \revert NoteHead.stencil
+ \revert NoteHead.font-size
+ \revert NoteHead.font-family
+ \revert NoteHead.font-series
}
%% End the incipit and print a ``normal line start''.
endincipit = \context Staff {
\partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
- \once \override Staff.Clef #'full-size-change = ##t
- \once \override Staff.Clef #'non-default = ##t
+ \once \override Staff.Clef.full-size-change = ##t
+ \once \override Staff.Clef.non-default = ##t
\bar ""
}
hideNotes = {
% hide notes, accidentals, etc.
- \override Dots #'transparent = ##t
- \override NoteHead #'transparent = ##t
- \override NoteHead #'no-ledgers = ##t
- \override Stem #'transparent = ##t
- \override Flag #'transparent = ##t
- \override Beam #'transparent = ##t
- \override Accidental #'transparent = ##t
- \override Rest #'transparent = ##t
- \override TabNoteHead #'transparent = ##t
+ \override Dots.transparent = ##t
+ \override NoteHead.transparent = ##t
+ \override NoteHead.no-ledgers = ##t
+ \override Stem.transparent = ##t
+ \override Flag.transparent = ##t
+ \override Beam.transparent = ##t
+ \override Accidental.transparent = ##t
+ \override Rest.transparent = ##t
+ \override TabNoteHead.transparent = ##t
}
unHideNotes = {
- \revert Accidental #'transparent
- \revert Beam #'transparent
- \revert Stem #'transparent
- \revert Flag #'transparent
- \revert NoteHead #'transparent
- \revert NoteHead #'no-ledgers
- \revert Dots #'transparent
- \revert Rest #'transparent
- \revert TabNoteHead #'transparent
+ \revert Accidental.transparent
+ \revert Beam.transparent
+ \revert Stem.transparent
+ \revert Flag.transparent
+ \revert NoteHead.transparent
+ \revert NoteHead.no-ledgers
+ \revert Dots.transparent
+ \revert Rest.transparent
+ \revert TabNoteHead.transparent
}
improvisationOn = {
\set squashedPosition = #0
- \override NoteHead #'style = #'slash
- \override Accidental #'stencil = ##f
- \override AccidentalCautionary #'stencil = ##f
+ \override NoteHead.style = #'slash
+ \override Accidental.stencil = ##f
+ \override AccidentalCautionary.stencil = ##f
}
improvisationOff = {
\unset squashedPosition
- \revert NoteHead #'style
- \revert Accidental #'stencil
- \revert AccidentalCautionary #'stencil
+ \revert NoteHead.style
+ \revert Accidental.stencil
+ \revert AccidentalCautionary.stencil
}
%% merging
mergeDifferentlyDottedOn =
- \override Staff.NoteCollision #'merge-differently-dotted = ##t
+ \override Staff.NoteCollision.merge-differently-dotted = ##t
mergeDifferentlyDottedOff =
- \revert Staff.NoteCollision #'merge-differently-dotted
+ \revert Staff.NoteCollision.merge-differently-dotted
mergeDifferentlyHeadedOn =
- \override Staff.NoteCollision #'merge-differently-headed = ##t
+ \override Staff.NoteCollision.merge-differently-headed = ##t
mergeDifferentlyHeadedOff =
- \revert Staff.NoteCollision #'merge-differently-headed
+ \revert Staff.NoteCollision.merge-differently-headed
%% numeric time signature
-numericTimeSignature = \override Staff.TimeSignature #'style = #'numbered
-defaultTimeSignature = \revert Staff.TimeSignature #'style
+numericTimeSignature = \override Staff.TimeSignature.style = #'numbered
+defaultTimeSignature = \revert Staff.TimeSignature.style
%% palm mutes
%% phrasing slurs
% directions
-phrasingSlurUp = \override PhrasingSlur #'direction = #UP
-phrasingSlurDown = \override PhrasingSlur #'direction = #DOWN
-phrasingSlurNeutral = \revert PhrasingSlur #'direction
+phrasingSlurUp = \override PhrasingSlur.direction = #UP
+phrasingSlurDown = \override PhrasingSlur.direction = #DOWN
+phrasingSlurNeutral = \revert PhrasingSlur.direction
% dash-patterns (make-simple-dash-definition defined at top of file)
phrasingSlurDashPattern =
(_i "Set up a custom style of dash pattern for @var{dash-fraction} ratio of
line to space repeated at @var{dash-period} interval for phrasing slurs.")
#{
- \override PhrasingSlur #'dash-definition =
+ \override PhrasingSlur.dash-definition =
$(make-simple-dash-definition dash-fraction dash-period)
#})
phrasingSlurDashed =
- \override PhrasingSlur #'dash-definition = #'((0 1 0.4 0.75))
+ \override PhrasingSlur.dash-definition = #'((0 1 0.4 0.75))
phrasingSlurDotted =
- \override PhrasingSlur #'dash-definition = #'((0 1 0.1 0.75))
+ \override PhrasingSlur.dash-definition = #'((0 1 0.1 0.75))
phrasingSlurHalfDashed =
- \override PhrasingSlur #'dash-definition = #'((0 0.5 0.4 0.75)
+ \override PhrasingSlur.dash-definition = #'((0 0.5 0.4 0.75)
(0.5 1 1 1))
phrasingSlurHalfSolid =
- \override PhrasingSlur #'dash-definition = #'((0 0.5 1 1)
+ \override PhrasingSlur.dash-definition = #'((0 0.5 1 1)
(0.5 1 0.4 0.75))
phrasingSlurSolid =
- \revert PhrasingSlur #'dash-definition
+ \revert PhrasingSlur.dash-definition
%% point and click
%% shifts
-shiftOn = \override NoteColumn #'horizontal-shift = #1
-shiftOnn = \override NoteColumn #'horizontal-shift = #2
-shiftOnnn = \override NoteColumn #'horizontal-shift = #3
-shiftOff = \revert NoteColumn #'horizontal-shift
+shiftOn = \override NoteColumn.horizontal-shift = #1
+shiftOnn = \override NoteColumn.horizontal-shift = #2
+shiftOnnn = \override NoteColumn.horizontal-shift = #3
+shiftOff = \revert NoteColumn.horizontal-shift
%% slurs
% directions
-slurUp = \override Slur #'direction = #UP
-slurDown = \override Slur #'direction = #DOWN
-slurNeutral = \revert Slur #'direction
+slurUp = \override Slur.direction = #UP
+slurDown = \override Slur.direction = #DOWN
+slurNeutral = \revert Slur.direction
% dash-patterns (make-simple-dash-definition defined at top of file)
slurDashPattern =
(_i "Set up a custom style of dash pattern for @var{dash-fraction}
ratio of line to space repeated at @var{dash-period} interval for slurs.")
#{
- \override Slur #'dash-definition =
+ \override Slur.dash-definition =
$(make-simple-dash-definition dash-fraction dash-period)
#})
-slurDashed = \override Slur #'dash-definition = #'((0 1 0.4 0.75))
-slurDotted = \override Slur #'dash-definition = #'((0 1 0.1 0.75))
-slurHalfDashed = \override Slur #'dash-definition = #'((0 0.5 0.4 0.75)
+slurDashed = \override Slur.dash-definition = #'((0 1 0.4 0.75))
+slurDotted = \override Slur.dash-definition = #'((0 1 0.1 0.75))
+slurHalfDashed = \override Slur.dash-definition = #'((0 0.5 0.4 0.75)
(0.5 1 1 1))
-slurHalfSolid = \override Slur #'dash-definition = #'((0 0.5 1 1)
+slurHalfSolid = \override Slur.dash-definition = #'((0 0.5 1 1)
(0.5 1 0.4 0.75))
-slurSolid = \revert Slur #'dash-definition
+slurSolid = \revert Slur.dash-definition
%% staff switches
%% stems
-stemUp = \override Stem #'direction = #UP
-stemDown = \override Stem #'direction = #DOWN
-stemNeutral = \revert Stem #'direction
+stemUp = \override Stem.direction = #UP
+stemDown = \override Stem.direction = #DOWN
+stemNeutral = \revert Stem.direction
%% tablature
% switch to full notation
tabFullNotation = {
% time signature
- \revert TabStaff.TimeSignature #'stencil
+ \revert TabStaff.TimeSignature.stencil
% stems (the half note gets a double stem)
- \revert TabVoice.Stem #'length
- \revert TabVoice.Stem #'no-stem-extend
- \revert TabVoice.Flag #'style
- \revert TabVoice.Stem #'details
- \revert TabVoice.Stem #'stencil
- \revert TabVoice.Flag #'stencil
- \override TabVoice.Stem #'stencil = #tabvoice::draw-double-stem-for-half-notes
- \override TabVoice.Stem #'X-extent = #tabvoice::make-double-stem-width-for-half-notes
+ \revert TabVoice.Stem.length
+ \revert TabVoice.Stem.no-stem-extend
+ \revert TabVoice.Flag.style
+ \revert TabVoice.Stem.details
+ \revert TabVoice.Stem.stencil
+ \revert TabVoice.Flag.stencil
+ \override TabVoice.Stem.stencil = #tabvoice::draw-double-stem-for-half-notes
+ \override TabVoice.Stem.X-extent = #tabvoice::make-double-stem-width-for-half-notes
\set TabVoice.autoBeaming = ##t
- \revert TabVoice.NoteColumn #'ignore-collision
+ \revert TabVoice.NoteColumn.ignore-collision
% beams, dots
- \revert TabVoice.Beam #'stencil
- \revert TabVoice.StemTremolo #'stencil
- \revert TabVoice.Dots #'stencil
- \revert TabVoice.Tie #'stencil
- \revert TabVoice.Tie #'after-line-breaking
- \revert TabVoice.RepeatTie #'stencil
- \revert TabVoice.RepeatTie #'after-line-breaking
- \revert TabVoice.LaissezVibrerTie #'stencil
- \revert TabVoice.Slur #'stencil
- \revert TabVoice.PhrasingSlur #'stencil
+ \revert TabVoice.Beam.stencil
+ \revert TabVoice.StemTremolo.stencil
+ \revert TabVoice.Dots.stencil
+ \revert TabVoice.Tie.stencil
+ \revert TabVoice.Tie.after-line-breaking
+ \revert TabVoice.RepeatTie.stencil
+ \revert TabVoice.RepeatTie.after-line-breaking
+ \revert TabVoice.LaissezVibrerTie.stencil
+ \revert TabVoice.Slur.stencil
+ \revert TabVoice.PhrasingSlur.stencil
% tuplet stuff
- \revert TabVoice.TupletBracket #'stencil
- \revert TabVoice.TupletNumber #'stencil
+ \revert TabVoice.TupletBracket.stencil
+ \revert TabVoice.TupletNumber.stencil
% dynamic signs
- \revert TabVoice.DynamicText #'stencil
- \revert TabVoice.DynamicTextSpanner #'stencil
- \revert TabVoice.DynamicTextSpanner #'stencil
- \revert TabVoice.Hairpin #'stencil
+ \revert TabVoice.DynamicText.stencil
+ \revert TabVoice.DynamicTextSpanner.stencil
+ \revert TabVoice.DynamicTextSpanner.stencil
+ \revert TabVoice.Hairpin.stencil
% rests
- \revert TabVoice.Rest #'stencil
- \revert TabVoice.MultiMeasureRest #'stencil
- \revert TabVoice.MultiMeasureRestNumber #'stencil
- \revert TabVoice.MultiMeasureRestText #'stencil
+ \revert TabVoice.Rest.stencil
+ \revert TabVoice.MultiMeasureRest.stencil
+ \revert TabVoice.MultiMeasureRestNumber.stencil
+ \revert TabVoice.MultiMeasureRestText.stencil
% markups etc.
- \revert TabVoice.Glissando #'stencil
- \revert TabVoice.Script #'stencil
- \revert TabVoice.TextScript #'stencil
- \revert TabVoice.TextSpanner #'stencil
- \revert TabStaff.Arpeggio #'stencil
- \revert TabStaff.NoteColumn #'ignore-collision
+ \revert TabVoice.Glissando.stencil
+ \revert TabVoice.Script.stencil
+ \revert TabVoice.TextScript.stencil
+ \revert TabVoice.TextSpanner.stencil
+ \revert TabStaff.Arpeggio.stencil
+ \revert TabStaff.NoteColumn.ignore-collision
}
%tie/repeat tie behaviour
hideSplitTiedTabNotes = {
- \override TabVoice.TabNoteHead #'(details tied-properties break-visibility) = #all-invisible
- \override TabVoice.TabNoteHead #'(details tied-properties parenthesize) = ##f
- \override TabVoice.TabNoteHead #'(details repeat-tied-properties note-head-visible) = ##f
- \override TabVoice.TabNoteHead #'(details repeat-tied-properties parenthesize) = ##f
+ \override TabVoice.TabNoteHead.details.tied-properties.break-visibility = #all-invisible
+ \override TabVoice.TabNoteHead.details.tied-properties.parenthesize = ##f
+ \override TabVoice.TabNoteHead.details.repeat-tied-properties.note-head-visible = ##f
+ \override TabVoice.TabNoteHead.details.repeat-tied-properties.parenthesize = ##f
}
showSplitTiedTabNotes = {
- \override TabVoice.TabNoteHead #'(details tied-properties break-visibility) = #begin-of-line-visible
- \override TabVoice.TabNoteHead #'(details tied-properties parenthesize) = ##t
- \override TabVoice.TabNoteHead #'(details repeat-tied-properties note-head-visible) = ##t
- \override TabVoice.TabNoteHead #'(details repeat-tied-properties parenthesize) = ##t
+ \override TabVoice.TabNoteHead.details.tied-properties.break-visibility = #begin-of-line-visible
+ \override TabVoice.TabNoteHead.details.tied-properties.parenthesize = ##t
+ \override TabVoice.TabNoteHead.details.repeat-tied-properties.note-head-visible = ##t
+ \override TabVoice.TabNoteHead.details.repeat-tied-properties.parenthesize = ##t
}
%% text length
textLengthOn = {
- \override TextScript #'extra-spacing-width = #'(0 . 0)
- \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
+ \override TextScript.extra-spacing-width = #'(0 . 0)
+ \override TextScript.extra-spacing-height = #'(-inf.0 . +inf.0)
}
textLengthOff = {
- \override TextScript #'extra-spacing-width = #'(+inf.0 . -inf.0)
- \override TextScript #'extra-spacing-height = #'(0 . 0)
+ \override TextScript.extra-spacing-width = #'(+inf.0 . -inf.0)
+ \override TextScript.extra-spacing-height = #'(0 . 0)
}
%% text spanners
-textSpannerUp = \override TextSpanner #'direction = #UP
-textSpannerDown = \override TextSpanner #'direction = #DOWN
-textSpannerNeutral = \revert TextSpanner #'direction
+textSpannerUp = \override TextSpanner.direction = #UP
+textSpannerDown = \override TextSpanner.direction = #DOWN
+textSpannerNeutral = \revert TextSpanner.direction
%% ties
% directions
-tieUp = \override Tie #'direction = #UP
-tieDown = \override Tie #'direction = #DOWN
-tieNeutral = \revert Tie #'direction
+tieUp = \override Tie.direction = #UP
+tieDown = \override Tie.direction = #DOWN
+tieNeutral = \revert Tie.direction
% dash-patterns (make-simple-dash-definition defined at top of file)
tieDashPattern =
(_i "Set up a custom style of dash pattern for @var{dash-fraction}
ratio of line to space repeated at @var{dash-period} interval for ties.")
#{
- \override Tie #'dash-definition =
+ \override Tie.dash-definition =
$(make-simple-dash-definition dash-fraction dash-period)
#})
-tieDashed = \override Tie #'dash-definition = #'((0 1 0.4 0.75))
-tieDotted = \override Tie #'dash-definition = #'((0 1 0.1 0.75))
-tieHalfDashed = \override Tie #'dash-definition = #'((0 0.5 0.4 0.75)
+tieDashed = \override Tie.dash-definition = #'((0 1 0.4 0.75))
+tieDotted = \override Tie.dash-definition = #'((0 1 0.1 0.75))
+tieHalfDashed = \override Tie.dash-definition = #'((0 0.5 0.4 0.75)
(0.5 1 1 1))
-tieHalfSolid = \override Tie #'dash-definition = #'((0 0.5 1 1)
+tieHalfSolid = \override Tie.dash-definition = #'((0 0.5 1 1)
(0.5 1 0.4 0.75))
-tieSolid = \revert Tie #'dash-definition
+tieSolid = \revert Tie.dash-definition
%% tuplets
-tupletUp = \override TupletBracket #'direction = #UP
-tupletDown = \override TupletBracket #'direction = #DOWN
-tupletNeutral = \revert TupletBracket #'direction
+tupletUp = \override TupletBracket.direction = #UP
+tupletDown = \override TupletBracket.direction = #DOWN
+tupletNeutral = \revert TupletBracket.direction
%% voice properties
%% voice styles
voiceOneStyle = {
- \override NoteHead #'style = #'diamond
- \override NoteHead #'color = #red
- \override Stem #'color = #red
- \override Flag #'color = #red
- \override Beam #'color = #red
+ \override NoteHead.style = #'diamond
+ \override NoteHead.color = #red
+ \override Stem.color = #red
+ \override Flag.color = #red
+ \override Beam.color = #red
}
voiceTwoStyle = {
- \override NoteHead #'style = #'triangle
- \override NoteHead #'color = #blue
- \override Stem #'color = #blue
- \override Flag #'color = #blue
- \override Beam #'color = #blue
+ \override NoteHead.style = #'triangle
+ \override NoteHead.color = #blue
+ \override Stem.color = #blue
+ \override Flag.color = #blue
+ \override Beam.color = #blue
}
voiceThreeStyle = {
- \override NoteHead #'style = #'xcircle
- \override NoteHead #'color = #green
- \override Stem #'color = #green
- \override Flag #'color = #green
- \override Beam #'color = #green
+ \override NoteHead.style = #'xcircle
+ \override NoteHead.color = #green
+ \override Stem.color = #green
+ \override Flag.color = #green
+ \override Beam.color = #green
}
voiceFourStyle = {
- \override NoteHead #'style = #'cross
- \override NoteHead #'color = #magenta
- \override Stem #'color = #magenta
- \override Flag #'color = #magenta
- \override Beam #'color = #magenta
+ \override NoteHead.style = #'cross
+ \override NoteHead.color = #magenta
+ \override Stem.color = #magenta
+ \override Flag.color = #magenta
+ \override Beam.color = #magenta
}
voiceNeutralStyle = {
- \revert NoteHead #'style
- \revert NoteHead #'color
- \revert Stem #'color
- \revert Flag #'color
- \revert Beam #'color
+ \revert NoteHead.style
+ \revert NoteHead.color
+ \revert Stem.color
+ \revert Flag.color
+ \revert Beam.color
}