#(ly:set-option 'old-relative)
-\version "2.1.21"
+\version "2.1.22"
% ASCII Art output
%
% Process as:
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\score {
\context Voice \notes\relative c {
#(ly:set-option 'old-relative)
-\version "2.1.11"
+\version "2.1.22"
% test for ascii-art output
#(ly:set-option 'old-relative)
-\version "2.1.11"
+\version "2.1.22"
% ASCII Art output
%
% Process as:
#(ly:set-option 'old-relative)
-\version "2.1.11"
+\version "2.1.22"
% ASCII Art output
%
% Process as:
#(ly:set-option 'old-relative)
-\version "2.1.21"
+\version "2.1.22"
% ASCII Art output
%
% Process as:
#(ly:set-option 'old-relative)
-\version "2.1.11"
+\version "2.1.22"
% ASCII Art output
%
% Process as:
#(ly:set-option 'old-relative)
-\version "2.1.11"
+\version "2.1.22"
% ASCII Art output
% Process as:
#(ly:set-option 'old-relative)
-\version "2.1.21"
+\version "2.1.22"
% ASCII Art output
%
% Process as:
% from José Luis Cruz <joseluis AT jazzartistas.com>
-\version "2.1.0"
+\version "2.1.22"
\header {
texidoc="@cindex A tie in RhythmicStaff fails to compile."
-\version "2.1.7"
+\version "2.1.22"
\header {
}
\score { \notes {
- \property Score.skipTypesetting = ##t
+ \set Score.skipTypesetting = ##t
c4 c4
|
c4 c4 }}
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.21"
+\version "2.1.22"
\header{
filename = "denneboom.ly"
enteredby = "jcn"
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "a staff should really die, if no one's referencing it."
-\version "2.1.16"
+\version "2.1.22"
\header{
-\version "2.1.16"
+\version "2.1.22"
\header{
-\version "2.1.16"
+\version "2.1.22"
\header{
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc = "Tests MIDI output with grace notes. " }
\score {
\context Voice \notes\relative c {
\context Voice=VoiceOne
\grace {
- \property Voice.Stem \override #'stroke-style = #"grace"
+ \override Stem #'stroke-style = #"grace"
c8
- \property Voice.Stem \revert #'stroke-style }
+ \revert Stem #'stroke-style }
d4 d d d d
\grace {
- \property Voice.Stem \override #'stroke-style = #"grace"
+ \override Stem #'stroke-style = #"grace"
e16 f e f
- \property Voice.Stem \revert #'stroke-style }
+ \revert Stem #'stroke-style }
d4 d d d d
}
-\version "2.1.20"
+\version "2.1.22"
\header {
texidoc = "Lyrics in MIDI are aligned to ties and beams:
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Transposing
The transposing property leaves output invariant, but has effect on MIDI. "
\context Voice \notes\relative c {
% btw: this is not how transposing is done in lilypond
% this is a transposing performer, i.e. for midi-output only
- \property Staff.transposing = #0 c
- \property Staff.transposing = #2 c
- \property Staff.transposing = #4 c
- \property Staff.transposing = #5 c
- \property Staff.transposing = #7 c
- \property Staff.transposing = #9 c
- \property Staff.transposing = #11 c
- \property Staff.transposing = #12 c
+ \set Staff.transposing = #0 c
+ \set Staff.transposing = #2 c
+ \set Staff.transposing = #4 c
+ \set Staff.transposing = #5 c
+ \set Staff.transposing = #7 c
+ \set Staff.transposing = #9 c
+ \set Staff.transposing = #11 c
+ \set Staff.transposing = #12 c
}
\paper { raggedright = ##t }
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "
#(ly:set-option 'old-relative)
-\version "2.1.13"
+\version "2.1.22"
\header {
texidoc = "@cindex Midi Volume Equaliser
The full orchestra plays a notes, where groups stop one after
%}
flauti = \notes \relative c' {
- \property Staff.midiInstrument = #"flute"
- \property Staff.instrument = #"2 Flauti"
- \property Staff.instr = #"Fl."
+ \set Staff.midiInstrument = #"flute"
+ \set Staff.instrument = #"2 Flauti"
+ \set Staff.instr = #"Fl."
c1\f R1*10
}
oboi = \notes \relative c' {
- \property Staff.midiInstrument = #"oboe"
- \property Staff.instrument = #"2 Oboi"
- \property Staff.instr = #"Ob."
+ \set Staff.midiInstrument = #"oboe"
+ \set Staff.instrument = #"2 Oboi"
+ \set Staff.instr = #"Ob."
R1*1 c1\f R1*9
}
clarinetti = \notes \relative c' {
- \property Staff.midiInstrument = #"clarinet"
- \property Staff.instrument = #"Clarinetti"
- \property Staff.instr = #"Cl"
+ \set Staff.midiInstrument = #"clarinet"
+ \set Staff.instrument = #"Clarinetti"
+ \set Staff.instr = #"Cl"
R1*2 c1\f R1*8
}
fagotti = \notes \relative c' {
- \property Staff.midiInstrument = #"bassoon"
- \property Staff.instrument = #"2 Fagotti"
- \property Staff.instr = #"Fg."
+ \set Staff.midiInstrument = #"bassoon"
+ \set Staff.instrument = #"2 Fagotti"
+ \set Staff.instr = #"Fg."
\clef bass
R1*3 c1\f R1*7
}
corni = \notes \relative c' {
- \property Staff.midiInstrument = #"french horn"
- \property Staff.instrument = #"Corni"
- \property Staff.instr = #"Cor"
+ \set Staff.midiInstrument = #"french horn"
+ \set Staff.instrument = #"Corni"
+ \set Staff.instr = #"Cor"
R1*4 c1\f R1*6
}
trombe = \notes \relative c' {
- \property Staff.midiInstrument = #"trumpet"
- \property Staff.instrument = #"Trombe"
- \property Staff.instr = #"Tp."
+ \set Staff.midiInstrument = #"trumpet"
+ \set Staff.instrument = #"Trombe"
+ \set Staff.instr = #"Tp."
\clef bass
R1*5 c1\f R1*5
}
timpani = \notes \relative c' {
- \property Staff.midiInstrument = #"timpani"
- \property Staff.instrument = #"Timpani"
- \property Staff.instr = #"Timp."
+ \set Staff.midiInstrument = #"timpani"
+ \set Staff.instrument = #"Timpani"
+ \set Staff.instr = #"Timp."
R1*6 c1\f R1*4
}
violinoI = \notes \relative c' {
- \property Staff.midiInstrument = #"violin"
- \property Staff.instrument = #"Violino I "
- \property Staff.instr = #"Vl. I "
+ \set Staff.midiInstrument = #"violin"
+ \set Staff.instrument = #"Violino I "
+ \set Staff.instr = #"Vl. I "
R1*7 c1\f R1*3
}
violinoII = \notes \relative c' {
- \property Staff.midiInstrument = #"violin"
- \property Staff.instrument = #"Violino II "
- \property Staff.instr = #"Vl. II "
+ \set Staff.midiInstrument = #"violin"
+ \set Staff.instrument = #"Violino II "
+ \set Staff.instr = #"Vl. II "
R1*8 c1\f R1*2
}
viola = \notes \relative c' {
- \property Staff.midiInstrument = #"viola"
- \property Staff.instrument = #"Viola"
- \property Staff.instr = #"Vla."
+ \set Staff.midiInstrument = #"viola"
+ \set Staff.instrument = #"Viola"
+ \set Staff.instr = #"Vla."
\clef alto
R1*9 c1\f R1*1
}
violoncello = \notes \relative c' {
- \property Staff.midiInstrument = #"cello"
- %\property Staff.midiInstrument = #"contrabass"
- \property Staff.instrument = #"Violoncello"
- \property Staff.instr = #"Vc."
+ \set Staff.midiInstrument = #"cello"
+ %\set Staff.midiInstrument = #"contrabass"
+ \set Staff.instrument = #"Violoncello"
+ \set Staff.instr = #"Vc."
\clef bass
R1*10 c1\f
-\version "2.1.7"
+\version "2.1.22"
% Test parser error
-\version "2.1.7"
+\version "2.1.22"
% Test parser error
-\version "2.1.7"
+\version "2.1.22"
% Test parser error
-\version "2.1.7"
+\version "2.1.22"
% Test parser error
-\version "2.1.7"
+\version "2.1.22"
%If you specify two different key sigs at one point, a
%warning is printed.
-\version "2.1.19"
+\version "2.1.22"
\header {
texidoc = "The @code{Recording_group_engraver} will record events
-\version "2.1.16"
+\version "2.1.22"
\header{
-\version "2.1.16"
+\version "2.1.22"
\header{
-\version "2.1.16"
+\version "2.1.22"
\header{
texidoc = "This should not survive lilypond --safe-mode
-\version "2.1.16"
+\version "2.1.22"
\header{
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="crashes lily"
}
\score { \notes {
\context Voice {
- \property Voice.crescendoText = "cresc."
- \property Voice.crescendoSpanner = #'dashed-line
+ \set crescendoText = "cresc."
+ \set crescendoSpanner = #'dashed-line
c2. r8 c8 \< \break \! c1
}
}
-\version "2.1.21"
+\version "2.1.22"
%% +.ly: Be the first .ly file for lys-to-tely.py.
%% Better to make lys-to-tely.py include "introduction.texi" or
%% other .texi documents too?
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Cautionary accidentals are indicated using either
\notes {
c''4
cis''?4
- \property Staff.Accidental \set #'cautionary-style = #'smaller
+ \override Staff.Accidental #'cautionary-style = #'smaller
cis''?4
- \property Staff.Accidental \set #'cautionary-style = #'parentheses
+ \override Staff.Accidental #'cautionary-style = #'parentheses
cis''?4
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "If two forced accidentals happen at the same time, only one
sharp sign is printed."
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "1.9.6"
+\version "2.1.22"
\header {
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Quarter tone notation is supported, including
threequarters flat."
}
-
+\version "2.1.22"
\score {
\notes \relative c'' {
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
A sharp sign after a double sharp sign, as well as a flat sign
\score { << \context Staff \thenotes
\context NoteNames {
- \property NoteNames.NoteName \override #'no-spacing-rods = ##f
+ \override NoteNames.NoteName #'no-spacing-rods = ##f
\thenotes
}
>>
the spacing when unbroken."
}
-\version "2.1.7"
+\version "2.1.22"
rechts = \notes \relative c' {
\clef treble
-\version "1.9.6"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "1.9.6"
+\version "2.1.22"
\header{
texidoc="
%}
-\version "2.1.7"
+\version "2.1.22"
upper = \notes \relative c {
\clef "treble"
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "The @code{\applyoutput} expression is the most flexible way to
(if (and (memq 'note-head-interface ifs)
(memq sp '(-2 -3 -5)))
(begin
- (ly:set-grob-property! gr 'print-function brew-new-markup-molecule)
+ (ly:set-grob-property! gr 'print-function brew-new-markup-stencil)
(ly:set-grob-property! gr 'font-family 'roman)
(ly:set-grob-property!
gr 'text
\notes \context Voice \relative c' {
\stemUp
- \property Voice.autoBeaming = ##f
+ \set autoBeaming = ##f
{ <d f g b>8
\context Voice \applyoutput #mc-squared
-\version "2.1.21"
+\version "2.1.22"
\header{
texidoc="
A square bracket on the left indicates that the player should not
\score{
\notes\relative c''{
- \property Staff.Arpeggio \override #'print-function = \arpeggioBracket
+ \override Staff.Arpeggio #'print-function = \arpeggioBracket
<fis, d a >\arpeggio
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Arpeggio stays clear of accidentals and flipped note heads."
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Arpeggios are supported, both cross-staff and broken single staff.
\context PianoStaff\notes <<
\new Staff \relative c''{
<fis, d a>\arpeggio
- \property Staff.Arpeggio \override #'arpeggio-direction = #1
+ \override Staff.Arpeggio #'arpeggio-direction = #1
<fis d a >\arpeggio
- %%\property PianoStaff.SpanArpeggio \override #'connect = ##t
- \property PianoStaff.connectArpeggios = ##t
+ %%\override PianoStaff.SpanArpeggio #'connect = ##t
+ \set PianoStaff.connectArpeggios = ##t
<fis d a>\arpeggio
}
\new Staff\relative c{
\clef bass
<g b d>\arpeggio
- \property Staff.Arpeggio \override #'arpeggio-direction = #-1
+ \override Staff.Arpeggio #'arpeggio-direction = #-1
<g b d>\arpeggio
<g b d>\arpeggio
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="No auto beams will be put over (manual) repeat bars."
texidoc = "Automatic beaming is also done on tuplets."
}
-\version "2.1.7"
+\version "2.1.22"
\score{
\notes\relative c''{
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Tuplet-spanner should not put (visible) brackets on
}
\score { \notes \relative c' {
- \property Voice.tupletSpannerDuration = #(ly:make-moment 1 4)
- \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam
+ \set tupletSpannerDuration = #(ly:make-moment 1 4)
+ \override TupletBracket #'bracket-visibility = #'if-no-beam
\times 2/3 {
f8[ f f ] f8[ f f ] f f f f f f
}
}
-\version "2.1.7"
+\version "2.1.22"
-\version "2.1.18"
+\version "2.1.22"
\header {
texidoc = "With balloon texts, objects in the output can be marked,
with lines and explanatory text added."
}
-\version "2.1.21"
+\version "2.1.22"
\score {
\notes {
\relative c' {
%% by hand:
- \once\property Voice.Stem \set #'print-function = #Balloon_interface::print
- \once\property Voice.Stem \set #'balloon-original-callback = #Stem::print
- \once\property Voice.Stem \set #'balloon-text = #"I'm a stem"
- \once\property Voice.Stem \set #'balloon-text-offset = #'(3 . 4)
- \once\property Voice.Stem \set #'balloon-text-props
+ \once\override Stem #'print-function = #Balloon_interface::print
+ \once\override Stem #'balloon-original-callback = #Stem::print
+ \once\override Stem #'balloon-text = #"I'm a stem"
+ \once\override Stem #'balloon-text-offset = #'(3 . 4)
+ \once\override Stem #'balloon-text-props
= #'((font-family . roman))
-\version "2.1.7"
+\version "2.1.22"
\header {
\notes \relative c'' {
\partial 4 c4
c1 c c
- \property Score.currentBarNumber = #99999
- \property Score.BarNumber \override #'padding = #3
+ \set Score.currentBarNumber = #99999
+ \override Score.BarNumber #'padding = #3
c1 c
}
\paper {
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
\paper { raggedright = ##t }
onestaff = \new Staff\notes\relative c'' {
- \property Staff.instr = instr
- \property Staff.instrument = instrument \mark "B"
+ \set Staff.instr = instr
+ \set Staff.instrument = instrument \mark "B"
c1 \mark "A" \break c2 c2 \break
}
grstaff = \notes \relative c'' \context GrandStaff <<
\new Staff {
- \property Staff.instr = instr
+ \set Staff.instr = instr
\mark "B" \break c1 \mark "A" c2 }
\new Staff { c1 c2 }
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc="Automatic kneeing. A knee is made when a horizontal
beam fits in a gap between note heads that is larger than a predefined
"
}
-\version "2.1.7"
+\version "2.1.22"
\paper { raggedright= ##t }
\score { \notes \relative c'' {
- \property Score.forbidBeamBreak = ##f
+ \set Score.forbidBeamBreak = ##f
\time 3/16 c16-[ d e \break f-]
}}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="Simple beams on middle staffline are allowed to be
\score{
\notes\relative c'{
- %%\property Staff.Stem \set #'beamed-lengths = #'(3.50)
+ %%\override Staff.Stem #'beamed-lengths = #'(3.50)
%% c8[ d]
%% d[ c]
%% r2
- %% \property Staff.Stem \set #'beamed-lengths = #'(3.26)
+ %% \override Staff.Stem #'beamed-lengths = #'(3.26)
a8[^"small slope" b]
b[ a]
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "Concave beams should be horizontal. Informally spoken,
-\version "2.1.7"
+\version "2.1.22"
\header{
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Cross staff (kneed) beams don't cause extreme slopes."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Beams can be typeset over fixed distance aligned staves, beam
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Beam Damp
Beams are less steep than the notes they encompass. " }
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="Beamed stems have standard lengths if possible. Quantization is switched off in this example."
\score{
\notes\relative c'{
- \property Voice.Beam \set #'position-callbacks =
+ \override Beam #'position-callbacks =
#`(,Beam::least_squares
,Beam::check_concave
,Beam::slope_damping)
-\version "2.1.7"
+\version "2.1.22"
\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
- \property Voice.Beam \override #'auto-knee-gap = ##f
+ \override Beam #'auto-knee-gap = ##f
\extreme
%% what does this test? --hwn
%{
- \property Voice.Beam \override #'slope-limit = #1000
+ \override Beam #'slope-limit = #1000
\extreme
%}
}
-\version "2.1.7"
+\version "2.1.22"
\header {
\score { \notes
\relative c'
{
- \property Voice.Stem \override #'french-beaming = ##t
+ \override Stem #'french-beaming = ##t
c16[ c c c]
c8[ c16 c16 c8]
c8[ c16 e16 g8]
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc=" Funky kneed beams with beamlets also work. The beamlets
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Knee beaming, complex configurations. According to
\score { \notes
\relative c'
{
- \property Voice.Beam \set #'auto-knee-gap = #7
- \property Voice.subdivideBeams = ##t
+ \override Beam #'auto-knee-gap = #7
+ \set subdivideBeams = ##t
\time 8/8
c,16[ g'''16
c,,,16 g'''16
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Point-symmetric beams should receive the same
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
%%
- \once \property Voice.Stem \override
+ \once \override Stem
#'beaming = #(cons (list 1 2) (list 0 2 4))
c
- \once \property Voice.Stem \override
+ \once \override Stem
#'beaming = #(cons (list 0 2 4) (list 0 1 4))
c c c]
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Kneed beams (often happens with cross-staff beams)
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Explicit beams may cross barlines. "
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc=" Beams on ledgered notes should always reach the middle staff
f8[ f] f64[ f]
\grace {
f8[ e8]
- \property Voice.Stem \override #'no-stem-extend = ##f
+ \override Stem #'no-stem-extend = ##f
f8[ e8]
- \property Voice.Stem \revert #'no-stem-extend
+ \revert Stem #'no-stem-extend
}
f8[ f]
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Beams and ties may be entered in postfix notation, separating the
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\notes \relative c''{
-\version "2.1.7"
+\version "2.1.22"
\header{
-\version "2.1.7"
+\version "2.1.22"
\header
{
texidoc= "Quarter notes may be beamed: the beam is halted momentarily."
texidoc = "The number of beams doesn't change on a rest."
}
-\version "2.1.7"
+\version "2.1.22"
\score { \notes \relative c, {
\clef bass
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Seconds are tricky. We used to have problems with seconds being too
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="Beams in unnatural direction, have shortened stems, but do not look too short."
\score{
\notes\relative c'{
- \property Voice.Beam \set #'position-callbacks =
+ \override Beam #'position-callbacks =
#`(,Beam::least_squares
,Beam::check_concave
,Beam::slope_damping)
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "Hairy case for beam, chord, and automatic knees."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Automatic beaming works also in ternary time sigs."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Beams (simple)."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
\notes \relative c' {
% we turn bars and bar numbers off for Gregorian stuff
- \property Staff.BarLine \set #'transparent = ##t
- \property Score.BarNumber \set #'transparent = ##t
+ \override Staff.BarLine #'transparent = ##t
+ \override Score.BarNumber #'transparent = ##t
% here is no \breathe
c g c
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Breathing signs are available in different tastes: commas (default),
>> |
% by default, \breathe uses the rcomma, just as if saying:
- % \property Voice.BreathingSign \set #'text =
+ % \override BreathingSign #'text =
% #(make-musicglyph-markup "scripts-rcomma")
<<
{ g4 as g } \\
% and lcomma
% N.B.: must use Staff context here, since we start a Voice below
- \property Staff.BreathingSign \set #'text =
+ \override Staff.BreathingSign #'text =
#(make-musicglyph-markup "scripts-rvarcomma")
<<
{ g4 as g } \\
>> |
% wedge
- \property Voice.BreathingSign \set #'text =
+ \override BreathingSign #'text =
#(make-musicglyph-markup "scripts-upbow")
es8 d es f g8 \breathe f |
% caesura
- \property Voice.BreathingSign \set #'text =
+ \override BreathingSign #'text =
#(make-musicglyph-markup "scripts-caesura")
es8[ d] \breathe es[ f g f] |
es2 r4 \bar "||" \break
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="Property chordChanges: display chord names only when
}
settings = {
- \property ChordNames.chordChanges = ##t
+ \set chordChanges = ##t
}
\score {
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "The property @code{chordNameExceptions} can used
to store a list of special notations for specific chords.
theMusic = \chords {
c:7sus4 c:dim7/+f
- \property Current.chordNameExceptions = #chExceptions
+ \set Current.chordNameExceptions = #chExceptions
c:7sus4 c:dim7/+f }
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "The layout of the major 7 can be tuned with
@code{majorSevenSymbol}."
\score {\context ChordNames \chords {
c:7+
- \property ChordNames.majorSevenSymbol = \markup { "j7" }
+ \set majorSevenSymbol = \markup { "j7" }
c:7+ }
}
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Scripts can also be attached to chord elements."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "
Tremolo repeats can be constructed for short tremolos (total duration smaller than 1/4) too. Only some of the beams are connected to the stems.
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7" \header {
+\version "2.1.22" \header {
texidoc = "Octavation signs may be added to clefs. These
octavation signs may be placed below or above (meaning an octave
-\version "2.1.7"
+\version "2.1.22"
\header{
\clef "varbaritone"c'1^"{varbaritone}" \bar "||"
\clef "bass"c'1^"{bass}" \bar "||"
\clef "subbass"c'1^"{subbass}" \bar "||"
- \property Staff.Clef \override #'full-size-change = ##t
+ \override Staff.Clef #'full-size-change = ##t
\clef "treble" c'1^"full-size-change = \#t" \bar "|."
}
\paper{
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Clusters are a device to denote that a complete range of
notes is to be played."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Collisions for single head notes. "
}
dots: notes with dots should go to the right, if there could be
confusion to which notes the dots belong."
}
-\version "2.1.19"
+\version "2.1.22"
\score {
\notes \relative c'' {
<< <a c>2\\ { <b d>4 <b d>4 } >>
+\version "2.1.22"
\header {
texidoc = "If collision resolution finds dotted note head must
on the right side."
}
-\version "2.1.7"
+\version "2.1.22"
\paper { raggedright= ##t }
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Note heads in collisions should be merged if
they have the same positions in the extreme note heads.
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc =
{
c2 c8 c4.
- \property Staff.NoteCollision \override #'merge-differently-headed = ##t
+ \override Staff.NoteCollision #'merge-differently-headed = ##t
c2 c8 c4.
c2
}\\
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "If NoteCollision has merge-differently-dotted = \\#t note
\context Staff \notes\relative c'' <<
{
g8[ g8]
- \property Staff.NoteCollision
- \override #'merge-differently-dotted = ##t
+ \override Staff.NoteCollision #'merge-differently-dotted = ##t
g8[ g8]
g4. r8 g8. g16
g8 g4 r8 g4
texidoc = "When merging heads, the dots are merged too."
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\notes {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Oppositely stemmed chords, meshing into each other,
are resolved."
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Normal collisions. We have support for polyphony, where the
-\version "2.1.19"
+\version "2.1.22"
\header {
texidoc = "Completion heads are broken across bar lines. This was
-\version "2.1.19"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Custodes in various styles."
}
\score {
\notes {
- \property Staff.Custos \set #'neutral-position = #4
+ \override Staff.Custos #'neutral-position = #4
- \property Staff.Custos \set #'style = #'hufnagel
+ \override Staff.Custos #'style = #'hufnagel
c'1^"hufnagel"
\break < d' a' f''>1
- \property Staff.Custos \set #'style = #'medicaea
+ \override Staff.Custos #'style = #'medicaea
c'1^"medicaea"
\break < d' a' f''>1
- \property Staff.Custos \set #'style = #'vaticana
+ \override Staff.Custos #'style = #'vaticana
c'1^"vaticana"
\break < d' a' f''>1
- \property Staff.Custos \set #'style = #'mensural
+ \override Staff.Custos #'style = #'mensural
c'1^"mensural"
\break < d' a' f''>1
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Dots move to the right when a collision with the (up)flag happens."
}
\notes\relative c''
{
\time 8/4
- \property Staff.autoBeaming = ##f
+ \set Staff.autoBeaming = ##f
a,16.
g''16.
a,4. a8 a8. a16. c,16. g16.
-\version "2.1.7" \header{
+\version "2.1.22" \header{
texidoc=" Noteheads can have dots, and rests
}
-\version "2.1.19"
+\version "2.1.22"
drh = \drums { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
drl = \drums {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
StaffSymbol \override #'line-count = #2
BarLine \override #'bar-size = #2
} <<
- \property Staff.instrument="timbales"
+ \set Staff.instrument = "timbales"
\timb
>>
\new DrumStaff <<
- \property Staff.instrument="drums"
+ \set Staff.instrument = "drums"
\new DrumVoice {\stemUp \drh }
\new DrumVoice {\stemDown \drl }
>>
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "Broken crescendi should be open on one side."
}
-\version "2.1.7"
+\version "2.1.22"
\header {texidoc = "Dynamic letters are kerned, and their weight
matches that of the hairpin signs. The dynamic scripts should be
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc=" Dynamics appear below or above the staff. If multiple
dynamics are linked with (de)crescendi, they should be on the same
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Crescendi may start off-notes. In that case, they should not collapse into flat lines."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = " Ez-notation prints names in note heads.
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "
Figured bass is created by the FiguredBass context which eats
\context FiguredBass {
\figures {
<3 [5 7]>
-\once \property FiguredBass.BassFigure \set #'direction = #-1
+\once \override FiguredBass.BassFigure #'direction = #-1
<3 [5 7]>
<3 [5] 7 [9 11]>
<3+ 5- 7!>
<3 _! 5 _- 7>
<3 _ 5 _ 7>
-\property FiguredBass.BassFigure \set #'font-family = #'roman
+\override FiguredBass.BassFigure #'font-family = #'roman
<"V7" ["bla" 6] 7>
}
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "With the new chord syntax it's possible to associate
%% input order is not 1 2 3 , output is.
<c-1 g'-3 e-2 b'-4 d-5 f-6 a-7 c-8 > 4
- \property Voice.fingeringOrientations = #'(left)
+ \set fingeringOrientations = #'(left)
< c-1 e-2 g-3 b-5 > 4
- \property Voice.fingeringOrientations = #'(down left)
+ \set fingeringOrientations = #'(down left)
< c-1 e-2 g-3 b-5 > 4
- \property Voice.fingeringOrientations = #'(down left up)
+ \set fingeringOrientations = #'(down left up)
< c-1 e-2 g-3 b-5 > 4
- \once \property Voice.Fingering \set #'staff-padding = #'()
+ \once \override Fingering #'staff-padding = #'()
< c-1 e-2 g-3 b-5 > 4
- \property Voice.fingeringOrientations = #'(up left)
+ \set fingeringOrientations = #'(up left)
< c-1 e-2 g-3 b-5 > 4
- \property Voice.fingeringOrientations = #'(right)
+ \set fingeringOrientations = #'(right)
< c-1 e-2 g-3 b-5 > 4
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Automatic fingering tries to put fingering instructions
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "
When put across line breaks, only the part before the line break is
\score{
\context PianoStaff <<
- \property PianoStaff.followVoice = ##t
+ \set PianoStaff.followVoice = ##t
\context Staff=one \notes\relative c''{
a1 \break
\change Staff=two
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "The magnification can be set for any font. Note
that this doesn't change variable symbols such as beams or slurs. " }
\score {
\notes \relative c'' \context Voice {
-\property Voice .NoteHead \set #'font-magnification = #0.9
+\override NoteHead #'font-magnification = #0.9
c4
-\property Voice .NoteHead \set #'font-magnification = #0.8
+\override NoteHead #'font-magnification = #0.8
c4-"normal"
% why doesn't this work?
c4-\markup \bold \magnify #2.0 "foobar"
- \property Voice .NoteHead \set #'font-magnification = #1.2
- \property Voice.TextScript \set #'font-magnification = #2.0
+ \override NoteHead #'font-magnification = #1.2
+ \override TextScript #'font-magnification = #2.0
c4-"big"
- \property Voice .NoteHead \set #'font-magnification = #1.6
+ \override NoteHead #'font-magnification = #1.6
c4
}
-\version "2.1.7"
+\version "2.1.22"
\header {
\score {
\notes {
- \property Staff.TimeSignature \set #'font-name = #"cmr17"
- \property Score.skipBars = ##t
+ \override Staff.TimeSignature #'font-name = #"cmr17"
+ \set Score.skipBars = ##t
% use font-name putri8r for Utopia Italic :
- \property Staff.MultiMeasureRestText \set #'font-name = #"cmss12"
+ \override Staff.MultiMeasureRestText #'font-name = #"cmss12"
% use "ptmb8r" for Times Roman
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header{
c \glissando d, \glissando e'
<< { \stemUp e8 \glissando g8 }
\context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
- \property Voice.Glissando \override #'style = #'zigzag
+ \override Glissando #'style = #'zigzag
c4 \glissando c,, \glissando c' \glissando d
}
\paper{
-\version "2.1.7"
+\version "2.1.22"
\header
{
texidoc = "The autobeamer is not confused by grace notes."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Bar line should come before the grace note."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace notes do tricky things with timing. If a measure
\paper { raggedright= ##t }
-\version "2.1.7"
+\version "2.1.22"
\score { \notes\relative c'' { c4 d8[ \grace { e32[ d c d] } e8] e[ e \grace { f16 } e8 e] }}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="@cindex Grace End
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Another nested grace situation."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Another combination of grace note nesting."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Another nested grace situation."
}
-\version "2.1.18"
+\version "2.1.22"
\header {
texidoc = "Partcombiner and grace notes can go together."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "Stripped version of trip.ly. Staffs should be of correct length."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Pieces may begin with grace notes."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "Here startGraceMusic should set no-stem-extend to true;
the two grace beams should be the same here.
\context Voice \notes\relative c {
\grace {
f8[ e8]
- \property Voice.Stem \override #'no-stem-extend = ##t
+ \override Stem #'no-stem-extend = ##t
f8[ e8]
- \property Voice.Stem \revert #'no-stem-extend
+ \revert Stem #'no-stem-extend
}
a4
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace notes in different voices/staves are synchronized."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Different grace types explained: the base grace switches to smaller type. The appoggiatura also inserts a slur, and the
acciaccatura inserts a slur and slashes the stem."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace notes and unfolded repeats.
Line breaks may happen before grace notes.
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
\grace <c d>16 c8[ c8]
% \grace c16 c8[ c8]
%% broken?
- %%\grace { \property Grace.graceAlignPosition = \right c16} c4
+ %%\grace { \set Grace.graceAlignPosition = \right c16} c4
c4 \grace { c16 } c4
}
\paper {raggedright = ##t}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="Hairpin crescendi may be dashed. "
\score {
\notes \relative c' {
- \property Voice.Hairpin \set #'dash-fraction = #0.4
- \property Voice.Hairpin \set #'dash-period = #1
+ \override Hairpin #'dash-fraction = #0.4
+ \override Hairpin #'dash-period = #1
f2\< g c1 d4\> b a gis\! }
}
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc =
}
-\version "2.1.7"
+\version "2.1.22"
-textFlat = \markup {\smaller \musicglyph #"accidentals--1"}
+textFlat = \markup {\smaller \semiflat}
\score {
\notes \new Staff {
- \property Staff.instrument
- = \markup { \column < "Clarinetti" { "in B" \textFlat } > }
- \property Staff.instr
- = \markup { \smaller { "Cl(B" \textFlat ")" } }
+ \set Staff.instrument = \markup { \column < "Clarinetti" { "in B" \textFlat } > }
+ \set Staff.instr = \markup { \smaller { "Cl(B" \textFlat ")" } }
{ c''1 \break c'' }
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Instrument names are also printed on partial starting measures."
}
\score {
- \notes \relative c'' { \property Staff.instrument = "foo" \partial 4 c4 c1 }
+ \notes \relative c'' { \set Staff.instrument = "foo" \partial 4 c4 c1 }
\paper { raggedright = ##t }
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Staff margins are also markings attached to barlines. They should be
\notes \context PianoStaff <<
\context Staff = treble {
- \property PianoStaff.instrument = "Piano "
- \property Staff.instrument = "Right " { c''4 }}
- \context Staff = bass { \property Staff.instrument = "Left " \clef bass c4 }>>
+ \set PianoStaff.instrument = "Piano "
+ \set Staff.instrument = "Right " { c''4 }}
+ \context Staff = bass { \set Staff.instrument = "Left " \clef bass c4 }>>
\paper {
raggedright = ##t
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "Tests placement of accidentals in every clef. " }
\score { \notes
-\version "1.9.6"
+\version "2.1.22"
\header { texidoc = "Key signatures can be set per pitch
individually. This can be done by setting @code{Staff.keySignature}
\score { \notes
\relative c'
\context Staff {
- \property Staff.keySignature = #'(((1 . 2) . 1) ((0 . 3) . -1))
+ \set Staff.keySignature = #'(((1 . 2) . 1) ((0 . 3) . -1))
f8 a c e
- \property Staff.keySignature = #'(((1 . 2) . -1) ((0 . 4) . 2))
+ \set Staff.keySignature = #'(((1 . 2) . -1) ((0 . 4) . 2))
e a, g a
}
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Key signatures appear on key changes. They may also
\score {
\notes \relative c''
{
- \property Staff. createKeyOnClefChange = ##t
+ \set Staff.createKeyOnClefChange = ##t
\key bes \major c2
% \key c \major % \minor
\key es \major % \minor
\break
\key bes \major % \major
c2 \clef alto c2 \key d \major \clef treble c2
- \property Staff. keySignature = #'((2 . -1) (6 . 3) (4 . -2))
+ \set Staff.keySignature = #'((2 . -1) (6 . 3) (4 . -2))
e2
}
}
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "With the @code{\\lyricsto} mechanism, individual lyric
\lyricsto "bla" \lyrics \new Lyrics {
bla
- \property Lyrics . ignoreMelismata = ##t
+ \set ignoreMelismata = ##t
blob
%% note: effect of ignoreMelismata delayed one time step.
- \property Lyrics . ignoreMelismata \unset
+ \unset ignoreMelismata
blob
blob
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc ="Polyphonic rhythms and rests don't disturb
-\version "2.1.21"
+\version "2.1.22"
\header{
texidoc= "Lyrics can be set to a melody automatically. Excess lyrics will be
-\version "2.1.21"
+\version "2.1.22"
\header
{
-\version "2.1.21"
+\version "2.1.22"
\header { texidoc= "Tests lyric extenders. "}
-\version "2.1.20"
+\version "2.1.22"
\header {
r c16[ c c]
}
- \lyrics \new LyricsVoice {
+ \lyrics \new Lyrics {
bla16 -- bla -- bla -- bla --
bla -- bla -- bla -- bla8 --
bla16 -- bla -- bla
-\version "2.1.21"
+\version "2.1.22"
\header {texidoc="Tests lyric hyphens. "}
\score{
<<
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "Lyric phrasing:
-\version "2.1.21"
+\version "2.1.22"
\header{
texidoc="Lyric phrasing
}
<<
\new Lyrics \lyricsto "v" \lyrics {
- \property Lyrics . stanza = "1:"
+ \set stanza = "1:"
Start sentence melisma end.
}
\new Lyrics \lyricsto "v" \lyrics {
- \property Lyrics . stanza = "2:"
+ \set stanza = "2:"
x x x __ x.
}
>>
-\version "2.1.21"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.21"
+\version "2.1.22"
\header
{
texidoc = "Melismata are triggered by manual beams."
<<
\new Staff
\notes \relative c'' {
- \property Staff.autoBeaming = ##f
+ \set Staff.autoBeaming = ##f
c8 c8[ c8 c8] c8 }
\lyricsto "" \new Lyrics \lyrics { bla bla bla }
texidoc = "The note markup function is used to make metronome
markings. It works for a variety of flag dot and duration settings."
}
-\version "2.1.11"
+\version "2.1.22"
\score { \notes { c4^\markup {
\note #"1" #1
-\version "2.1.7"
+\version "2.1.22"
\header {texidoc="Stacking of markup scripts."}
\paper { raggedright = ##t}
\score { \notes { c''^\markup { "a" \column < "1" \bold "2" "3" > } } }
}
-\version "2.1.14" % to be updated
+\version "2.1.22" % to be updated
#(def-markup-command (upcase paper props str) (string?)
"Upcase the string characters. Syntax: \\upcase #\"string\""
}
-\version "2.1.7"
+\version "2.1.22"
%% TODO: should have 2/4 + 5/8 time sig style.
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "There is limited support for mensural notation: note head
\score {\notes { \context Voice {
- \property Voice.NoteHead \override #'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.1.7"
+\version "2.1.22"
\score { \notes \relative c'' { \tempo \breve = 100 c1 c1 \tempo 8.. = 50 c1 }
\paper { raggedright = ##t }
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
}
thenotes = \notes \relative cis' {
-\property Score. skipBars = ##t
+\set Score.skipBars = ##t
\time 4/4
R1 |
R1*1 |
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "Tests a collision between multimeasure rests in
different voices. " }
\score {
\context Staff \notes <<
\new Voice {
- \property Voice.MultiMeasureRest \override #'staff-position = #3
+ \override MultiMeasureRest #'staff-position = #3
R1
}
\new Voice {
- \property Voice.MultiMeasureRest \override #'staff-position = #-3
+ \override MultiMeasureRest #'staff-position = #-3
R1
}
>>
-\version "2.1.21"
+\version "2.1.22"
-\header { texidoc=" You can write molecule callbacks in Scheme, thus
+\header { texidoc=" You can write stencil callbacks in Scheme, thus
providing custom glyphs for notation elements. A simple example is
-adding parentheses to existing molecule callbacks.
+adding parentheses to existing stencil callbacks.
The parenthesized beam is less successful due to implementation of the
Beam. The note head is also rather naive, since the extent of the
"Construct a function that will do CALLBACK and add parentheses.
Example usage:
- \\property Voice.NoteHead \\override #'print-function
+ \\property NoteHead \\override #'print-function
=
#(parenthesize-callback Note_head::print)
"
- (define (parenthesize-molecule grob)
+ (define (parenthesize-stencil grob)
"This function adds parentheses to the original callback for
-GROB. The dimensions of the molecule is not affected.
+GROB. The dimensions of the stencil is not affected.
"
(let* (
(subject (callback grob))
; remember old size
- (subject-dim-x (ly:molecule-get-extent subject 0))
- (subject-dim-y (ly:molecule-get-extent subject 1))
+ (subject-dim-x (ly:stencil-get-extent subject 0))
+ (subject-dim-y (ly:stencil-get-extent subject 1))
)
; add parens
(set! subject
- (ly:molecule-combine-at-edge
- (ly:molecule-combine-at-edge subject 0 1 pclose 0.2)
+ (ly:stencil-combine-at-edge
+ (ly:stencil-combine-at-edge subject 0 1 pclose 0.2)
0 -1 popen 0.2))
; revert old size.
- (ly:molecule-set-extent! subject 0 subject-dim-x)
- (ly:molecule-set-extent! subject 1 subject-dim-y)
+ (ly:stencil-set-extent! subject 0 subject-dim-x)
+ (ly:stencil-set-extent! subject 1 subject-dim-y)
subject
)
)
- parenthesize-molecule
+ parenthesize-stencil
)
\score {
\notes \relative c' { c4 e
- \property Voice.NoteHead \override #'print-function
+ \override NoteHead #'print-function
=
#(parenthesize-callback Note_head::print)
g bes
- \property Voice.NoteHead \revert #'print-function
- \property Voice.Beam \override #'print-function
+ \revert NoteHead #'print-function
+ \override Beam #'print-function
=
#(parenthesize-callback Beam::print)
-\version "2.1.7"
+\version "2.1.22"
\header
{
texidoc = "The multimeasure rest is centered exactly between bar lines."
\score {
\notes
{
- \property Score.skipBars = ##t
- \property Staff.BarLine \set #'hair-thickness = #7.5
- \property Staff.MultiMeasureRest \set #'hair-thickness = #10
+ \set Score.skipBars = ##t
+ \override Staff.BarLine #'hair-thickness = #7.5
+ \override Staff.MultiMeasureRest #'hair-thickness = #10
c'1 R1*20 c'1
}
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "This combines instrument names and multimeasure rests (there was an
interesting bug in 1.3.98). " }
\score{
\context Staff <<
- \property Staff.instrument = "instrument"
- \property Staff.instr = "instr"
+ \set Staff.instrument = "instrument"
+ \set Staff.instr = "instr"
\notes{c''1 \break R1 }
>>
\paper {
independent on prefatory matter in other staves."
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\notes << \new Staff { R1 }
-\version "2.1.7"
+\version "2.1.22"
\header {
\score { \notes {
\time 3/4
- \property Score.skipBars = ##t
+ \set Score.skipBars = ##t
R2._\markup { \center < \musicglyph #"scripts-dfermata" \roman "Ad lib" > }
R2.^\fermataMarkup
R2.^"4"
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
}
-\version "2.1.7"
+\version "2.1.22"
#(define (notes-to-skip m)
"Convert all stuff with duration (notes, lyrics, bass figures, etc.) to skips.
texts using a similar syntax as @code{\\markup}."
}
-\version "2.1.16"
+\version "2.1.22"
\score {
\notes {
\fatText
texidoc = "New markup syntax."
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\lookup #"noteheads-0"
\char #53
}
- \musicglyph #"accidentals--1"
+ \semiflat
\combine "X" "+"
\combine "o" "/"
% \char-number #"abc1234abc"
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc=" Text is set with empty horizontal dimensions. The
\score{
\notes\relative c''{
%% \emptyText
- %% short for \property Voice.TextScript \set #'no-spacing-rods = ##t
+ %% short for \override TextScript #'no-spacing-rods = ##t
c2_"very wide and long text" c | \break
- %% short for \property Voice.TextScript \set #'no-spacing-rods = ##f
+ %% short for \override TextScript #'no-spacing-rods = ##f
\fatText
c_"very wide and long text" c
}
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.19"
+\version "2.1.22"
\header {
texidoc = "Note heads are flipped on the stem to prevent collisions.
completely identical to normal note heads."
}
-\version "2.1.9"
+\version "2.1.22"
\score {
\notes {
-\version "2.1.19"
+\version "2.1.22"
\header{
texidoc="
Note head shapes are settable. The stem endings should be adjusted
per note head. If you want different note head styles on one stem,
-you must create a special context called Voice.
+you must create a special context called
Harmonic notes have a different shape and different
dimensions.
pattern = \notes <<
\new Voice {
- \property Voice.Stem \set #'direction = #UP
+ \override Stem #'direction = #UP
e'4
e'2. e'1 e'\breve*1/2 e'\longa*1/4
}
\new Voice {
- \property Voice.Stem \set #'direction = #DOWN
+ \override Stem #'direction = #DOWN
a4 a2. a1 a\breve*1/2 a\longa*1/4
}
>>
\notes \transpose c c {
\clef C
- \property Staff.NoteHead \set #'style = #'default
+ \override Staff.NoteHead #'style = #'default
s1*0^\markup { "default" }
\pattern
- \property Staff.NoteHead \set #'style = #'baroque
+ \override Staff.NoteHead #'style = #'baroque
s1*0^\markup { "baroque" }
\pattern
\break
- \property Staff.NoteHead \set #'style = #'neo_mensural
+ \override Staff.NoteHead #'style = #'neo_mensural
s1*0^\markup { "neomensural" }
\pattern
- \property Staff.NoteHead \set #'style = #'mensural
+ \override Staff.NoteHead #'style = #'mensural
s1*0^\markup { "mensural" }
\pattern
\break
- \property Staff.NoteHead \set #'style = #'harmonic
+ \override Staff.NoteHead #'style = #'harmonic
s1*0^\markup { "harmonic" }
\pattern
- \property Staff.NoteHead \set #'style = #'diamond
+ \override Staff.NoteHead #'style = #'diamond
s1*0^\markup { "diamond" }
\pattern
\break
- \property Staff.NoteHead \set #'style = #'cross
+ \override Staff.NoteHead #'style = #'cross
s1*0^\markup { "cross" }
\pattern
- \property Staff.NoteHead \set #'style = #'xcircle
+ \override Staff.NoteHead #'style = #'xcircle
s1*0^\markup { "xcircle" }
\pattern
\break
- \property Staff.NoteHead \set #'style = #'triangle
+ \override Staff.NoteHead #'style = #'triangle
s1*0^\markup { "triangle" }
\pattern
- \property Staff.NoteHead \set #'style = #'slash
+ \override Staff.NoteHead #'style = #'slash
s1*0^\markup { "slash" }
\pattern
\break
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Note head lines (e.g. glissando)
\context PianoStaff
\notes <<
\context Staff = up {
- \property PianoStaff.connectArpeggios = ##t
+ \set PianoStaff.connectArpeggios = ##t
\showStaffSwitch
\clef F
c4 d \sd b a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc=" The number of stafflines of a staff can be set. Ledger
}
-\version "2.1.7"
+\version "2.1.22"
\paper { raggedright = ##t}
"
}
-\version "2.1.7"
+\version "2.1.22"
% . There must be a minimum distance between the octavation line and the
% topmost staff line, taking into account the height of the closing
\break
a,
#(set-octavation 1)
- \property Staff.ottavation = #"8"
+ \set Staff.ottavation = #"8"
b
#(set-octavation 0)
c a
#(set-octavation 0)
c
#(set-octavation -1)
- \property Staff.ottavation = #"8"
+ \set Staff.ottavation = #"8"
c,,16
#(set-octavation 0)
c'16
#(set-octavation -1)
- \property Staff.ottavation = #"8"
+ \set Staff.ottavation = #"8"
g,,16
}
}
-\version "2.1.18"
+\version "2.1.22"
\header {
texidoc ="The a2 string is only printed on notes, not on rests,
and only after chords, solo or polyphony."
vtwo = \notes \relative a' { R1*2 g2 r2 g2 r2 f4 r4 g }
\score {
- << \property Score.skipBars = ##t
+ << \set Score.skipBars = ##t
\partcombine \vone \vtwo
>>
}
"
}
-\version "2.1.18"
+\version "2.1.22"
vone =\notes
}
-\version "2.1.18"
+\version "2.1.22"
\score {
\new Staff
vone = \notes \relative a' { d4 r8 d8 d8 r8 d8 r8 d2 ~ d2 ~ d4 }
vtwo = \notes \relative g' { g4. g8 r2 g4 r4 r2 g4 }
-\version "2.1.18"
+\version "2.1.22"
\score {
- << \property Score.skipBars = ##t
+ << \set Score.skipBars = ##t
\partcombine \vone \vtwo
>>
}
}
-\version "2.1.18"
+\version "2.1.22"
vone = \notes \relative a' { R1 a2 r4 r a a a a }
vtwo = \notes \relative a' { R1 f4 f4 f4 f f f a a }
"
}
-\version "2.1.18"
+\version "2.1.22"
vone = \notes \relative a' { g2 g g g4 g f' c c( c) c c c ~ c
c2. c4 c
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="Slurs play well with phrasing slur."
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Distances between prefatory items (eg. clef, bar, etc.)
}
\score { \notes \relative c'' {
- \property Staff.instrument = "fobar"
+ \set Staff.instrument = "fobar"
\bar "||:"
\key cis \major
cis4 cis4 cis4 cis4 \clef bass cis,1
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Once properties take effect during a single time step only."
}
\score {
\notes \relative c' {
c4
- \once \property Voice.Stem = #'()
+ \once \set Stem = #'()
c4
- \once \property Voice.Stem \override #'thickness = #5.0
+ \once \override Stem #'thickness = #5.0
c4
c4
}
with @code{\mark NUMBER}, or with @code{Score.rehearsalMark}."
}
-\version "2.1.7"
+\version "2.1.22"
\score { \notes \relative c'' {
c1 \mark \default
c1 \mark #7
c1 \mark \default
c1 \mark \default
c1 \mark \default
- \property Score.rehearsalMark = #24
+ \set Score.rehearsalMark = #24
c1 \mark \default
c1 \mark \default
c1 \mark \default
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\notes \relative c''{
- \property Score.markFormatter = #format-mark-numbers
+ \set Score.markFormatter = #format-mark-numbers
c1 | \mark \markup { \musicglyph #"scripts-coda" }
c1 | \mark \default
c1 | \mark \default
- \property Score.markFormatter
- = #(lambda (mark context)
+ \set Score.markFormatter = #(lambda (mark context)
(make-bold-markup (make-box-markup (number->string mark))))
c1 | \mark \default
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
\score {
\context Staff <<
- \property Score.skipBars = ##t
+ \set Score.skipBars = ##t
\notes {
\repeat "percent" 2 { g2 a g a }
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Measure repeats are supported, and may be nested with beat repeats."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Beat repeats are supported."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Repeats may be unfolded through the Scheme function @code{unfold-repeats}."
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "When too few alternatives are present, the first
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
}
-\version "2.1.14"
+\version "2.1.22"
\score {
\new Staff
-\version "2.1.7"
+\version "2.1.22"
\header
{
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Rests should not collide with beams, stems and noteheads. Rests may
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Whole and half rests moving outside the staff should get
ledger lines."
\score {
\notes {
- \property Voice.Rest \set #'staff-position = #4
- r1 \property Voice.Rest \set #'staff-position = #5
- r1 \property Voice.Rest \set #'staff-position = #6
+ \override Rest #'staff-position = #4
+ r1 \override Rest #'staff-position = #5
+ r1 \override Rest #'staff-position = #6
- r1 \property Voice.Rest \set #'staff-position = #-6
- r1 \property Voice.Rest \set #'staff-position = #-7
- r1 \property Voice.Rest \set #'staff-position = #-8
+ r1 \override Rest #'staff-position = #-6
+ r1 \override Rest #'staff-position = #-7
+ r1 \override Rest #'staff-position = #-8
r1
- \property Voice.Rest \set #'staff-position = #6
- r2 \property Voice.Rest \set #'staff-position = #7
- r2 \property Voice.Rest \set #'staff-position = #8
+ \override Rest #'staff-position = #6
+ r2 \override Rest #'staff-position = #7
+ r2 \override Rest #'staff-position = #8
- r2 \property Voice.Rest \set #'staff-position = #-4
- r2 \property Voice.Rest \set #'staff-position = #-5
- r2 \property Voice.Rest \set #'staff-position = #-6
+ r2 \override Rest #'staff-position = #-4
+ r2 \override Rest #'staff-position = #-5
+ r2 \override Rest #'staff-position = #-6
r2
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Rests can have pitches--these will be affected by
}
-\version "2.1.15"
+\version "2.1.22"
\score {
\new Staff \notes \relative c' {
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header
{
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Scripts can be stacked. The order is determined by a
priority field, but when objects have the same priority, the input
-\version "2.1.7"
+\version "2.1.22"
\paper { raggedright= ##t }
-\version "2.1.13"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.13"
+\version "2.1.22"
foollilypondbook = "
\score
"
-\version "2.1.13"
+\version "2.1.22"
foollilypondbook = "
\score
"
-\version "2.1.13"
+\version "2.1.22"
foollilypondbook = "
\score
"
-\version "2.1.13"
+\version "2.1.22"
foollilypondbook = "
\score
"
-\version "2.1.13"
+\version "2.1.22"
foollilypondbook = "
\score
"
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "The area underneath an (up) slur is minimised to improve the shape. "
c,(g' c e f d b g)
c,(g' c e f d b g)
-\property Voice.autoBeaming = ##f
+\set autoBeaming = ##f
\stemUp
a8(a a a a a a a)
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
}
\score{
\notes \relative c''{
- \property Voice.Slur \set #'direction = #1
+ \override Slur #'direction = #1
a8( a a4)
a4( a8 a)
a8 a(a4)
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
The same goes for slurs. They behave decently when broken across
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="Slurs should not get confused by augmentation dots. We use a lot
of dots here, to make problems more visible."
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Slurs should look nice and symmetric. The curvature may increase
-\version "2.1.7"
+\version "2.1.22"
\header
{
texidoc ="Slurs may be placed over rest. The slur will avoid colliding with
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="Manual hack for slur and staccato."
}
\score {
\context Staff \notes\relative c'' {
- \property Voice.Slur \override
+ \override Slur
#'attachment-offset = #'((0 . 1) . (0 . 1))
a-.( g-. a)-.
- \property Voice.Slur \override
+ \override Slur
#'attachment-offset = #'((0 . 1.5) . (0 . 1.5))
b-.( a-. b)-.
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="Trend of broken slur with user-overridden stem attachment should also
follow the same vertical direction it would have had in unbroken state."
}
\score {
\notes\relative c' {
- \property Voice.Slur \override #'attachment = #'(stem . stem)
+ \override Slur #'attachment = #'(stem . stem)
f( c' c c \break
c c c \stemUp c)
}
-\version "2.1.7"
+\version "2.1.22"
\header
{
texidoc = "Symmetric figures should lead to symmetric slurs."
-\version "2.1.7"
+\version "2.1.22"
\header
{
texidoc = "Symmetric figures should lead to symmetric slurs."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Accidentals in different staffs don't effect the
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Accidentals don't influence the amount of stretchable space. "
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Accidentals sticking out to the left
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Downstem notes following a barline are
printed with some extra space. This is an optical correction similar
"
}
-sd = \property Voice.Stem \set #'direction = #-1
-su = \property Voice.Stem \set #'direction = #1
+sd = \override Stem #'direction = #-1
+su = \override Stem #'direction = #1
\score { \notes\relative c''
{
-%\property Staff.StaffSpacing \override #'stem-spacing-correction = #10
-%\property Staff.NoteSpacing \override #'stem-spacing-correction = #10
+%\override Staff.StaffSpacing #'stem-spacing-correction = #10
+%\override Staff.NoteSpacing #'stem-spacing-correction = #10
\time 1/4 \sd c4 \su c4
\sd c4 \su c4
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Clef changes at the start of a line get much more space
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="Broken matter at the end of line does not upset the
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "
A voicelet (a very short voice to get polyphonic chords correct)
should not confuse the spacing engine."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "A clef can be folded below notes in a different staff, if
this doesn't disrupt the flow of the notes."
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "A clef can be folded below notes in a different staff, if
-there is space enough. With @code{Paper_column} molecule callbacks we can
+there is space enough. With @code{Paper_column} stencil callbacks we can
show where columns are in the score."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Spacing uses the duration of the notes, but disregards
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Grace note spacing. Should be tuned? "
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "For knees, the spacing correction is such that the
g''8[ g g'' g'']
% check code independent of default settings.
- \property Voice.NoteSpacing \override #'knee-spacing-correction = #1.0
+ \override NoteSpacing #'knee-spacing-correction = #1.0
g''8[ g g'' g'']
- \property Voice.Stem \override #'thickness = #10
+ \override Stem #'thickness = #10
g''8[ g g'' g'']
}
\paper { raggedright = ##t}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "Concurrent tuplets should be spaced equidistantly on
all staffs.
}
\score { \notes \relative c'' \context Staff {
- \property Voice.autoBeaming = ##f
+ \set autoBeaming = ##f
a8[ a8 a8 a8]
a8 a8 a8 a8
}
}
}
-\version "2.1.7"
+\version "2.1.22"
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Rests get a little less space, since they are narrower.
However, the feta quarter rest is relatively wide, causing this effect to be
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Notes that are shorter than the common shortest note, Get a
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Upstem notes before a barline are printed with some extra
}
-sd = \property Voice.Stem \set #'direction = #-1
-su = \property Voice.Stem \set #'direction = #1
+sd = \override Stem #'direction = #-1
+su = \override Stem #'direction = #1
\score { \notes\relative e'
{
-%\property Staff.StaffSpacing \override #'stem-spacing-correction = #0.5
-%\property Staff.NoteSpacing \override #'stem-spacing-correction = #0.5
+%\override Staff.StaffSpacing #'stem-spacing-correction = #0.5
+%\override Staff.NoteSpacing #'stem-spacing-correction = #0.5
\time 3/8
\su
-\version "2.1.7"
+\version "2.1.22"
\header{
\score {
\context Voice \notes\relative c {
% make sure neutral is down.
- \property Voice.Stem \override #'neutral-direction = #-1
+ \override Stem #'neutral-direction = #-1
\time 16/4 c''4 c c, c' d, c' e, c' f, c' g c a c b c
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "For juxtaposed chords with the same direction, a
slight optical correction is used. It is constant, and only works if
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="Space from a normal note/barline to a grace note is
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "
When tightly spaced, hinterfleisch -> 0.
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "Span bars draw only in between staff bar lines, so setting those to transparent shows bar lines between systems only.
"
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
"
}
-\version "2.1.13"
+\version "2.1.22"
\score {
<<
StaffSymbol \set #'staff-space = #(magstep -4)
}
\notes \relative c' {
-\property Voice.DynamicText \set #'extra-offset = #'(0 . 3)
+\override DynamicText #'extra-offset = #'(0 . 3)
s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
}
\new Staff
\notes \relative c' {
-\property Voice.DynamicText \set #'extra-offset = #'(0 . 3)
+\override DynamicText #'extra-offset = #'(0 . 3)
s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
}
>>
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "The staff is a grob, and may be adjusted as well: this one
\score {
\notes <<
\new Staff {
- \property
- Staff. StaffSymbol \set #'thickness = #2.0
- \property
- Staff.StaffSymbol \set #'line-count = #6
- \property
- Staff.StaffSymbol \set #'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.1.21"
+\version "2.1.22"
\header {
texidoc = "Stanza numbers are put left of their lyric."
\context Lyrics
\lyrics {
\skip 2
- \property Lyrics . stanza = "1."
+ \set stanza = "1."
Foo8 Bar8
}
>>
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
Stem tremolos or rolls are tremolo signs that look like beam segments
\score{
\context Voice\notes \relative c''{
- \property Voice.TextScript \set #'direction = #1
- \property Voice.TextScript \set #'padding = #5
+ \override TextScript #'direction = #1
+ \override TextScript #'padding = #5
a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":"
a4:4 c:8 a:16 c:32 a a: a2:
\break
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "LilyPond correctly determines the size of every
\score { \notes
\context Voice
-{ \property Staff.minimumVerticalExtent \unset
+{ \unset Staff.minimumVerticalExtent
\slurDown c4 ( g4 c''4)
}
\paper {
\translator {
\ScoreContext
- System \override #'print-function = #box-grob-molecule
+ System \override #'print-function = #box-grob-stencil
}
}
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc =
"
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc = "@cindex Tabulature
A sample tablature, with both normal staff and tab.
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "The @code{\\tag} command marks music expressions with a
\tag #'part <<
R1 \\
{
- \property Voice.fontSize = #-1
+ \set fontSize = #-1
c4_"cue" f2 g4 }
>>
\tag #'score R1
\score {
\notes \simultaneous {
\new Staff {
- \property Staff.instrument = #"both"
+ \set Staff.instrument = #"both"
\common
}
\new Staff {
- \property Staff.instrument = #"part"
+ \set Staff.instrument = #"part"
\apply #(remove-tag 'score) \common
}
\new Staff {
- \property Staff.instrument = #"score"
+ \set Staff.instrument = #"score"
\apply #(remove-tag 'part) \common
}
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc= "Text spanners should not repeat start text when broken."
}
\score {
\notes \relative c'' {
- \property Voice.crescendoText = #"cresc."
- \property Voice.crescendoSpanner = #'dashed-line
+ \set crescendoText = #"cresc."
+ \set crescendoSpanner = #'dashed-line
c1\< c \break
c1 c\! \break
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "First and second bes (tied across line break)
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Tie engraver uses @code{busyGrobs} to keep track of
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
When tying chords, the outer slurs point outwards, the inner slurs
\t
\transpose c g \t
- \property Voice.TieColumn \override #'direction = #-1
+ \override TieColumn #'direction = #-1
\t
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Ties should not collide with dots."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Tieing a grace to the to a following grace or main note works."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "In combination with a beam, the bracket of the tuplet
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="Manual hack for nested tuplets, move outer tuplet up."
}
\score {
\notes\relative c'' {
- \property Voice.tupletNumberFormatFunction = #fraction-tuplet-formatter
+ \set tupletNumberFormatFunction = #fraction-tuplet-formatter
\applyoutput #(outputproperty-compatibility (make-text-checker-once "2:3")
'extra-offset '(0 . 1.5))
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\times 2/3 { c8^"B" c[ c] }
\times 2/4 { r8_"B" c,[ c'] r8 }
- \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam
+ \override TupletBracket #'bracket-visibility = #'if-no-beam
\times 2/3 { c8[ c c] }
- \property Voice.TupletBracket \override #'direction = #1
- \property Voice.TupletBracket \override #'number-visibility = ##f
+ \override TupletBracket #'direction = #1
+ \override TupletBracket #'number-visibility = ##f
\times 2/3 { c8^""^""^"up, no digit" c[ c] }
- \property Voice.TupletBracket \revert #'number-visibility
+ \revert TupletBracket #'number-visibility
- \property Voice.TupletBracket \override #'bracket-visibility = ##t
- \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0)
- \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0)
+ \override TupletBracket #'bracket-visibility = ##t
+ \override TupletBracket #'edge-height = #'(0.0 . 0.0)
+ \override TupletBracket #'shorten-pair = #'(2.0 . 2.0)
\times 4/6 { c_"shorter, no edges" f b b f c}
- \property Voice.TupletBracket \revert #'edge-height
- \property Voice.TupletBracket \revert #'shorten-pair
- \property Voice.TupletBracket \override #'bracket-flare = #'(0.5 . 0.5)
+ \revert TupletBracket #'edge-height
+ \revert TupletBracket #'shorten-pair
+ \override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
\times 2/3 { b^""^""^"angled edges" b b }
- \property Voice.TupletBracket \revert #'direction
+ \revert TupletBracket #'direction
\times 2/3 { b b b }
}
-\version "2.1.7"
+\version "2.1.22"
\header {texidoc = "Tests tuplet rests. "}
\score {
}
-\version "2.1.12"
+\version "2.1.22"
\score {
\notes \relative c' {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Horizontal tuplet brackets are shifted vertically
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="
\notes \context Voice \relative c'' {
\times 2/3 { a8 b c }
\times 2/3 { r8 b[ f] }
- \property Voice.TupletBracket \set #'bracket-flare = #'(0.5 . 0.5)
+ \override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
\times 2/3 { r8 b r8 }
c4 |
-\version "2.1.19"
+\version "2.1.22"
\header { texidoc= "
Whenever a voice switches to another staff a line connecting the notes
can be printed automatically. This is enabled if the property
-@code{Voice.followVoice} is set to true. "
+@code{followVoice} is set to true. "
}
\score {
\notes \relative c'
\context PianoStaff <<
- \property PianoStaff.followVoice = ##t
+ \set PianoStaff.followVoice = ##t
\context Staff = one \context Voice {
c1
\change Staff=two
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="Broken volta spanners behave correctly at left edge in all cases."
voiceB = \notes {
\clef bass
- \property Staff.instrument = "Bass"
- \property Staff.instr = "B"
+ \set Staff.instrument = "Bass"
+ \set Staff.instr = "B"
\key f \minor
\time 4/4
f1
texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put on more staffs in a score."
}
-\version "2.1.7"
+\version "2.1.22"
vmus = \notes { \repeat volta 2 c1 \alternative { d e } }
>>
\new StaffGroup <<
\new Staff <<
- \property Staff.voltaOnThisStaff = ##t
+ \set Staff.voltaOnThisStaff = ##t
\vmus >>
\new Staff \vmus
>>
-\version "2.1.7"
+\version "2.1.22"
\header {
}
-barOne = \notes { \once \property Staff.BarLine \override #'bar-size = #2
+barOne = \notes { \once \override Staff.BarLine #'bar-size = #2
\bar "|" }
-barTwo = \notes { \once \property Staff.BarLine \override #'extra-offset = #'(0 . 2)
+barTwo = \notes { \once \override Staff.BarLine #'extra-offset = #'(0 . 2)
- \once \property Staff.BarLine \override #'bar-size = #2
+ \once \override Staff.BarLine #'bar-size = #2
\bar "|" }
\score {
\notes \relative c' {
- \property Score.timing = ##f
- \property Staff.Stem \set #'transparent = ##t
+ \set Score.timing = ##f
+ \override Staff.Stem #'transparent = ##t
f4 a2 \barTwo g4 a2 f2 \barOne g4( f) f(
\bar "empty"
\break
-\version "2.1.7"
+\version "2.1.22"
\header {
dedication = "dedication"
title = "Title"
-\version "2.1.19"
+\version "2.1.22"
\header {
title = "Song"
subtitle = "(tune)"
%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
sl = {
- \property Voice.NoteHead \override #'style = #'slash
- \property Voice.Stem \override #'transparent = ##t
+ \override NoteHead #'style = #'slash
+ \override Stem #'transparent = ##t
}
nsl = {
- \property Voice.NoteHead \revert #'style
- \property Voice.Stem \revert #'transparent
+ \revert NoteHead #'style
+ \revert Stem #'transparent
}
-cr = \property Voice.NoteHead \override #'style = #'cross
-ncr = \property Voice.NoteHead \revert #'style
+cr = \override NoteHead #'style = #'cross
+ncr = \revert NoteHead #'style
%% insert chord name style stuff here.
trpharmony = \chords \transpose c' d { \jzchords }
trumpet = {
\global
- \property Staff.instrument = #"Trumpet"
+ \set Staff.instrument = #"Trumpet"
\clef treble
\context Staff <<
\trpt
altoharmony = \chords \transpose c' a { \jzchords }
altosax = {
\global
- \property Staff.instrument = #"Alto Sax"
+ \set Staff.instrument = #"Alto Sax"
\clef treble
\context Staff <<
\alto
bariharmony = \chords \transpose c' a { \jzchords s1 s d2:maj e:m7 }
barisax = {
\global
- \property Staff.instrument = #"Bari Sax"
+ \set Staff.instrument = #"Bari Sax"
\clef treble
\context Staff <<
\bari
tboneharmony = \chords { \jzchords }
trombone = {
\global
- \property Staff.instrument = #"Trombone"
+ \set Staff.instrument = #"Trombone"
\clef bass
\context Staff <<
\tbone
guitar = {
\global
- \property Staff.instrument = #"Guitar"
+ \set Staff.instrument = #"Guitar"
\clef treble
\context Staff <<
\gtr
PianoRH = {
\clef treble
\global
- \property Staff.midiInstrument = "acoustic grand"
+ \set Staff.midiInstrument = "acoustic grand"
\context Staff <<
\context Voice = one \rhUpper
\context Voice = two \rhLower
PianoLH = {
\clef bass
\global
- \property Staff.midiInstrument = "acoustic grand"
+ \set Staff.midiInstrument = "acoustic grand"
\context Staff <<
\context Voice = one \lhUpper
\context Voice = two \lhLower
piano = {
\context PianoStaff <<
- \property PianoStaff.instrument = #"Piano"
+ \set PianoStaff.instrument = #"Piano"
\context Staff = upper \PianoRH
\context Staff = lower \PianoLH
>>
bass = {
\global
- \property Staff.instrument = #"Bass"
+ \set Staff.instrument = #"Bass"
\clef bass
\context Staff <<
\bass
drumContents = {
\global
<<
- \property DrumStaff.instrument = #"Drums"
+ \set DrumStaff.instrument = #"Drums"
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Lead sheet format: chords with melody."
\score {
\notes <<
\context ChordNames {
- \property ChordNames.chordChanges = ##t
+ \set chordChanges = ##t
\harmonies
}
\context Staff = one \melody
-\version "2.1.21"
+\version "2.1.22"
\header
{
texidoc = "Popsong format: chords, melody and lyrics."
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "Melody and lyrics."
\score {
<<
\context Voice = one {
- \property Staff.autoBeaming = ##f
+ \set Staff.autoBeaming = ##f
\melody
}
\lyricsto "one" \new Lyrics \text
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Only a melody."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="Polyphonic piano music."
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="
Dynamics on a separate line, neatly centered between staffs.
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc ="Lyrics between two staffs."
-\version "2.1.20"
+\version "2.1.22"
\header {
texidoc ="Classical song format: one staff with melody and lyrics,
and piano accompaniment."
\autoBeamOff
\melody
}
- \lyricsto mel \new LyricsVoice \text
+ \lyricsto mel \new Lyrics \text
\context PianoStaff <<
\context Staff = upper \upper
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Simple piano music."
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "
-\version "2.1.21"
+\version "2.1.22"
%% +.ly: Be the first .ly file for lys-to-tely.py.
%% Better to make lys-to-tely.py include "introduction.texi" or
%% other .texi documents too?
-\version "2.1.18"
+\version "2.1.22"
%% I don't know what this example is supposed to do. delete it?
%% It shows how to use the autochange feature together with an extra
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc= "@cindex make-music Fingering
"
}
-\version "2.1.7"
+\version "2.1.22"
#(define (kill-ambitus grob grob-context apply-context)
(if (memq 'ambitus-interface (ly:get-grob-property grob 'interfaces))
"
}
-\version "2.1.7"
+\version "2.1.22"
\score {
\context Voice \notes\relative c {
\time 3/4
- \property Staff.Accidental \set #'style = #'default
+ \override Staff.Accidental #'style = #'default
cisis''^"Accidental style = \#'default" cisis! cisis? |
cis cis! cis? |
c c! c? |
ceses ceses! ceses? |
\break
- \property Staff.Accidental \set #'style = #'hufnagel
+ \override Staff.Accidental #'style = #'hufnagel
cisis^"Accidental style = \#'hufnagel" cisis! cisis? |
cis cis! cis? |
c c! c? |
ceses ceses! ceses? |
\break
- \property Staff.Accidental \set #'style = #'medicaea
+ \override Staff.Accidental #'style = #'medicaea
cisis^"Accidental style = \#'medicaea" cisis! cisis? |
cis cis! cis? |
c c! c? |
ceses ceses! ceses? |
\break
- \property Staff.Accidental \set #'style = #'vaticana
+ \override Staff.Accidental #'style = #'vaticana
cisis^"Accidental style = \#'vaticana" cisis! cisis? |
cis cis! cis? |
c c! c? |
ceses ceses! ceses? |
\break
- \property Staff.Accidental \set #'style = #'mensural
+ \override Staff.Accidental #'style = #'mensural
cisis^"Accidental style = \#'mensural" cisis! cisis? |
cis cis! cis? |
c c! c? |
-\version "2.1.14"
+\version "2.1.22"
% TODO: split ancient-font into seperate files; possibly in
% different locations.
\header {
upperStaff = \context GregorianStaff = upperStaff <<
\context GregorianVoice <<
- \property Score.timing = ##f
-% \property Score.forceAccidental = ##t %%%%%%%% FIXME: what happened to this property?
+ \set Score.timing = ##f
+% \set Score.forceAccidental = ##t %%%%%%%% FIXME: what happened to this property?
- \property Staff.StaffSymbol \override #'line-count = #4
+ \override Staff.StaffSymbol #'line-count = #4
\notes \transpose c c {
- \property Staff.KeySignature \override #'style = #'vaticana
- \property Staff.Accidental \override #'style = #'vaticana
- \property Voice.NoteHead \override #'style = #'vaticana_punctum
+ \override Staff.KeySignature #'style = #'vaticana
+ \override Staff.Accidental #'style = #'vaticana
+ \override NoteHead #'style = #'vaticana_punctum
\key es \major
\clef "vaticana_fa2"
c!1 des! e! f! ges!
- \property Voice.NoteHead \override #'style = #'vaticana_inclinatum
+ \override NoteHead #'style = #'vaticana_inclinatum
a! b! ces'
- \property Staff.BarLine \override #'bar-size = #3.0 \bar "|"
+ \override Staff.BarLine #'bar-size = #3.0 \bar "|"
% \break % 1 (8*1)
- \property Voice.NoteHead \override #'style = #'vaticana_quilisma
+ \override NoteHead #'style = #'vaticana_quilisma
b! des'! ges! fes!
\breathe
\clef "vaticana_fa1"
- \property Voice.NoteHead \override #'style = #'vaticana_plica
+ \override NoteHead #'style = #'vaticana_plica
es d
- \property Voice.NoteHead \override #'style = #'vaticana_reverse_plica
+ \override NoteHead #'style = #'vaticana_reverse_plica
c d
- \property Staff.BarLine \override #'bar-size = #3.0 \bar "|"
+ \override Staff.BarLine #'bar-size = #3.0 \bar "|"
% \break %2 (8*1)
- \property Voice.NoteHead \override #'style = #'vaticana_punctum_cavum
+ \override NoteHead #'style = #'vaticana_punctum_cavum
es f
- \property Voice.NoteHead \override #'style = #'vaticana_lpes
+ \override NoteHead #'style = #'vaticana_lpes
g as
- \property Voice.NoteHead \override #'style = #'vaticana_upes
+ \override NoteHead #'style = #'vaticana_upes
bes as
- \property Voice.NoteHead \override #'style = #'vaticana_vupes
+ \override NoteHead #'style = #'vaticana_vupes
g f
- \property Voice.NoteHead \override #'style = #'vaticana_linea_punctum
- \property Staff.BarLine \override #'bar-size = #2.0 \bar "|"
+ \override NoteHead #'style = #'vaticana_linea_punctum
+ \override Staff.BarLine #'bar-size = #2.0 \bar "|"
% \break % 3 (8*1)
es d
- \property Voice.NoteHead \override #'style = #'vaticana_epiphonus
+ \override NoteHead #'style = #'vaticana_epiphonus
c d
- \property Voice.NoteHead \override #'style = #'vaticana_cephalicus
+ \override NoteHead #'style = #'vaticana_cephalicus
es f
- \property Staff.KeySignature \override #'style = #'medicaea
- \property Staff.Accidental \override #'style = #'medicaea
- \property Staff.Custos \override #'style = #'medicaea
- \property Voice.NoteHead \override #'style = #'medicaea_punctum
+ \override Staff.KeySignature #'style = #'medicaea
+ \override Staff.Accidental #'style = #'medicaea
+ \override Staff.Custos #'style = #'medicaea
+ \override NoteHead #'style = #'medicaea_punctum
\clef "medicaea_fa2"
ces! des!
- \property Staff.BarLine \override #'bar-size = #3.0 \bar "|"
+ \override Staff.BarLine #'bar-size = #3.0 \bar "|"
% \break % 4 (8*1)
e! f! ges!
\clef "medicaea_do2"
- \property Voice.NoteHead \override #'style = #'medicaea_inclinatum
+ \override NoteHead #'style = #'medicaea_inclinatum
a! b! ces'!
- \property Voice.NoteHead \override #'style = #'medicaea_virga
+ \override NoteHead #'style = #'medicaea_virga
b! a!
- \property Staff.BarLine \override #'bar-size = #3.0 \bar "|"
+ \override Staff.BarLine #'bar-size = #3.0 \bar "|"
% \break % 5 (8*1)
ges! fes!
\clef "medicaea_fa1"
- \property Voice.NoteHead \override #'style = #'medicaea_rvirga
+ \override NoteHead #'style = #'medicaea_rvirga
e! des! ces!
- \property Staff.KeySignature \override #'style = #'hufnagel
- \property Staff.Accidental \override #'style = #'hufnagel
- \property Staff.Custos \override #'style = #'hufnagel
- \property Voice.NoteHead \override #'style = #'hufnagel_punctum
+ \override Staff.KeySignature #'style = #'hufnagel
+ \override Staff.Accidental #'style = #'hufnagel
+ \override Staff.Custos #'style = #'hufnagel
+ \override NoteHead #'style = #'hufnagel_punctum
\clef "hufnagel_fa2"
ces! des! es!
- \property Staff.BarLine \override #'bar-size = #3.0 \bar "|"
+ \override Staff.BarLine #'bar-size = #3.0 \bar "|"
% \break % 6 (8*1)
fes! ges!
\clef "hufnagel_do2"
- \property Voice.NoteHead \override #'style = #'hufnagel_lpes
+ \override NoteHead #'style = #'hufnagel_lpes
as! bes! ces'!
- \property Voice.NoteHead \override #'style = #'hufnagel_virga
+ \override NoteHead #'style = #'hufnagel_virga
bes! as!
- \property Staff.BarLine \override #'bar-size = #3.0 \bar "|"
+ \override Staff.BarLine #'bar-size = #3.0 \bar "|"
% \break % 7 (8*1)
ges! fes!
\clef "hufnagel_do_fa"
- \property Voice.NoteHead \override #'style = #'hufnagel_punctum
+ \override NoteHead #'style = #'hufnagel_punctum
es! des! ces! des! es! fes!
\bar "||"
% \break % 8 (8*1)
\context MensuralVoice <<
% this is broken until further notice -- see refman
- % \property Staff.StaffSymbol \override #'line-count = #5
+ % \override Staff.StaffSymbol #'line-count = #5
\context Staff \applyoutput #(outputproperty-compatibility (make-type-checker 'staff-symbol-interface) 'line-count 5)
\notes \transpose c c {
- \property Voice.autoBeaming = ##f
- \property Voice.NoteHead \override #'style = #'neo_mensural
- \property Voice.Rest \override #'style = #'neo_mensural
+ \set autoBeaming = ##f
+ \override NoteHead #'style = #'neo_mensural
+ \override Rest #'style = #'neo_mensural
\key a \major
% FIXME: lily crashes on some (invalid?) ligatures with:
% on many ligatures such as BB.
cis'1 d'\breve gis'\breve e'\breve \[ e'\longa fis'\longa \]
- \property Staff.forceClef = ##t
+ \set Staff.forceClef = ##t
\clef "neo_mensural_c2"
cis1
\bar "|"
fis1 ces1
\clef "petrucci_c2"
r\longa
- \property Staff.forceClef = ##t
+ \set Staff.forceClef = ##t
\clef "mensural_c2"
r\breve
\bar "|"
r2
\clef "mensural_g"
r4 r8 r16 r16
- \property Voice.NoteHead \override #'style = #'mensural
- \property Voice.Stem \override #'flag-style = #'mensural
- \property Voice.Stem \override #'thickness = #1.0
- \property Voice.Rest \override #'style = #'mensural
+ \override NoteHead #'style = #'mensural
+ \override Stem #'flag-style = #'mensural
+ \override Stem #'thickness = #1.0
+ \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
r\longa
- \property Staff.forceClef = ##t
+ \set Staff.forceClef = ##t
\clef "petrucci_f"
r\breve
\bar "|"
r\breve
\clef "mensural_f"
- % FIXME: must set Voice.Stem flag-style to #'neo_mensural to avoid
+ % FIXME: must set Stem flag-style to #'neo_mensural to avoid
% segmentation fault on r8/r16/r32. (Strange: what has
- % Voice.Stem flag-style to do with mensural rests?)
- \property Voice.Stem \override #'flag-style = #'neo_mensural
+ % Stem flag-style to do with mensural rests?)
+ \override Stem #'flag-style = #'neo_mensural
% FIXME: produces warnings about "flag `neo_mensurald4' (or 3) not found".
r2 r4 r8 r16 r16
- \property Voice.Stem \override #'flag-style = #'mensural
- \property Staff.forceClef = ##t
+ \override Stem #'flag-style = #'mensural
+ \set Staff.forceClef = ##t
\clef "mensural_f"
e\breve f g a1
\clef "mensural_g"
% \break % 9 (16*1)
bes'!\longa fis'!1 as'!1 ges'!\longa % lig
- \property Staff.forceClef = ##t
+ \set Staff.forceClef = ##t
\clef "mensural_g"
e'2 d' c' \bar "|"
% \break % 11 (16*1)
- \property Staff.forceClef = ##t
+ \set Staff.forceClef = ##t
\clef "petrucci_g"
c'2 d' e' f'
\clef "petrucci_g"
g' as'! bes'! cis''!
bes'! as'! gis'! fis'!
- \property Staff.forceClef = ##t
+ \set Staff.forceClef = ##t
\clef "mensural_g"
es'! des'! cis'!1 \bar "||"
% \break % 12 (8*1)
-\version "2.1.7"
+\version "2.1.22"
% TODO: move stuff from ancient-font into here? See comment
% for ancient-font.ly
\header {
\score {
\notes {
- \property Staff.TimeSignature \override #'style = #'neo_mensural
+ \override Staff.TimeSignature #'style = #'neo_mensural
s1
}
\paper {raggedright = ##t}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Bagpipe Music
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Bars Always
\score {
\notes \relative c''{
- \property Score.barAlways = ##t
- \property Score.defaultBarType = ":|:"
+ \set Score.barAlways = ##t
+ \set Score.defaultBarType = ":|:"
c4 c4 c4 c4 }
\paper{raggedright = ##t}
}
-\version "2.1.21"
+\version "2.1.22"
\header { texidoc = "@cindex Bar line lyric only
You can move around @code{Bar_engraver} and
@code{Span_bar_engraver} if you want bar lines on lyrics. "
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Bar Lines
Different types of bar lines demonstrated.
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Bar Number Every Fifth Reset
\score {
<<
\notes \transpose c c'' {
- \property Score.BarNumber \override #'break-visibility =#end-of-line-invisible
- \property Score.RehearsalMark \override #'padding = #2.5
+ \override Score.BarNumber #'break-visibility =#end-of-line-invisible
+ \override Score.RehearsalMark #'padding = #2.5
\mark "A" \resetBarnum
\repeat unfold 10 c1
\mark \default \resetBarnum
" }
-\version "2.1.21"
+\version "2.1.22"
\score {
\context Staff \notes \transpose c c' {
- \property Score.BarNumber \override #'break-visibility = #end-of-line-invisible
- \property Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
- \property Score.BarNumber \override #'print-function =
- #(make-molecule-boxer 0.1 0.25 0.25 Text_item::print)
- \property Score.BarNumber \override #'font-size = #2
+ \override Score.BarNumber #'break-visibility = #end-of-line-invisible
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
+ \override Score.BarNumber #'print-function =
+ #(make-stencil-boxer 0.1 0.25 0.25 Text_item::print)
+ \override Score.BarNumber #'font-size = #2
\repeat unfold 9 { c1 } \bar "|."
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Bar Number Show All
Second line has bar numbers on start of every measure.
\score{
\notes\relative c'{
c1 c c
- \property Score.BarNumber \override
+ \override Score.BarNumber
#'break-visibility = #end-of-line-invisible
\break
c c c
-\version "2.1.7"
+\version "2.1.22"
% keep for now, although merging into beam-auto-override is a possibility.
\header {
texidoc = "@cindex Auto Beaming 4/8
| | | |--|
x| x| x| x| x|
%}
- \property Voice.autoBeamSettings \override #'(end * * * *) = #(ly:make-moment 2 4)
+ \override autoBeamSettings #'(end * * * *) = #(ly:make-moment 2 4)
c8 c c c16 c
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Auto Beaming Override
c8 c c4
r8 c c c
% no autobeaming
- \property Voice.autoBeaming = ##f
+ \set autoBeaming = ##f
c8 c c c
}
\paper{
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc = "@cindex Beaming Presets
The auto-beam engraver has presets for common time signatures. " }
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Beam Position Control
\score {
\context Voice \notes\relative c {
%% from upper staffline (position 4) to centre (position 0)
- \property Voice.Beam \override #'positions = #'(2 . 0)
+ \override Beam #'positions = #'(2 . 0)
c'8[ c]
%% from center to one above centre (position 2)
- \property Voice.Beam \override #'positions = #'(0 . 1)
+ \override Beam #'positions = #'(0 . 1)
c[ c]
%% normal beam-algorithm
- \property Voice.Beam \revert #'positions
- \property Voice.Beam \revert #'positions
+ \revert Beam #'positions
+ \revert Beam #'positions
c[ e] e[ c]
}
\paper{raggedright = ##t}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Beam Count
" }
fragment = \notes {
- \property Voice.autoBeamSettings
- \set #'(end * * * *) = #(ly:make-moment 1 4)
+ \override autoBeamSettings #'(end * * * *) = #(ly:make-moment 1 4)
f32 g a b b a g f
f32 g a b
- \property Voice.stemRightBeamCount = #1 b
- \property Voice.stemLeftBeamCount = #1 a
+ \set stemRightBeamCount = #1 b
+ \set stemLeftBeamCount = #1 a
g f
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Beam Dir Functions
\paper { raggedright = ##t}
\score {
\notes\relative c'' {\time 3/4
- \property Voice.Beam \set #'dir-function = #beam-dir-majority
+ \override Beam #'dir-function = #beam-dir-majority
c8[ g]
- \property Voice.Beam \set #'dir-function = #beam-dir-mean
+ \override Beam #'dir-function = #beam-dir-mean
c[ g]
- \property Voice.Beam \set #'dir-function = #beam-dir-median
+ \override Beam #'dir-function = #beam-dir-median
c[ g]
\time 3/8
- \property Voice.Beam \set #'dir-function = #beam-dir-majority
+ \override Beam #'dir-function = #beam-dir-majority
c8[ c g]
- \property Voice.Beam \set #'dir-function = #beam-dir-mean
+ \override Beam #'dir-function = #beam-dir-mean
c[ c g]
- \property Voice.Beam \set #'dir-function = #beam-dir-median
+ \override Beam #'dir-function = #beam-dir-median
c[ c g]
}
\paper{raggedright = ##t}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Beam Isknee
LilyPond can beam across a Piano Staff.
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Beam Neutral Direction
When a beam falls in the middle of the staff, LilyPond normally
fragment = \notes {
b''8[ b]
- \property Voice.Beam \set #'neutral-direction = #-1
+ \override Beam #'neutral-direction = #-1
b[ b]
- \property Voice.Beam \set #'neutral-direction = #1
+ \override Beam #'neutral-direction = #1
b[ b]
}
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Beam Over Rests
\notes\relative c''{
r4 r8[ g a]
bes8[ r16 f g a]
- bes8[ r16 \property Voice.stemLeftBeamCount = #1 f g a]
+ bes8[ r16 \set stemLeftBeamCount = #1 f g a]
}
\paper{
-\version "2.1.7"
+\version "2.1.22"
% possible rename to invis-notes.ly
% check if other documents call this "blank notes", though. I think
% invisible notes sounds better, but whatever it is, it should be
a slur to a rest or spacer rest).
" }
-blanknotes = { \property Voice.NoteHead
- \override #'transparent = ##t
- \property Voice.Stem
- \override #'transparent = ##t }
-unblanknotes = { \property Voice.NoteHead
- \revert #'transparent
- \property Voice.Stem
- \revert #'transparent }
+blanknotes = { \override NoteHead #'transparent = ##t
+ \override Stem #'transparent = ##t }
+unblanknotes = { \revert NoteHead #'transparent
+ \revert Stem #'transparent }
\score {
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Blank Paper Tab
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="@cindex Blank Paper
-\version "2.1.21"
+\version "2.1.22"
\header {
-texidoc = "@cindex Boxed Molecule
+texidoc = "@cindex Boxed Stencil
You can override the print-function to draw a box around arbitrary grobs. " }
\score { \notes \relative c'' {
- \property Voice.TextScript \override #'print-function =
- #(make-molecule-boxer 0.1 0.3 0.2 Text_item::print)
+ \override TextScript #'print-function =
+ #(make-stencil-boxer 0.1 0.3 0.2 Text_item::print)
c'4^"foo"
-\property Voice.Stem \override #'print-function =
- #(make-molecule-boxer 0.05 0.25 0.25 Stem::print)
+\override Stem #'print-function =
+ #(make-stencil-boxer 0.05 0.25 0.25 Stem::print)
-\property Score.RehearsalMark \override #'print-function =
- #(make-molecule-boxer 0.15 0.3 0.3 Text_item::print)
+\override Score.RehearsalMark #'print-function =
+ #(make-stencil-boxer 0.15 0.3 0.3 Text_item::print)
c8
-\property Voice.Stem \revert #'print-function
+\revert Stem #'print-function
c4. c4 \mark "F" c1
}
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "@cindex Capital Letters
You can set the font to use small caps.
" }
-shapeSC = \property Lyrics.LyricText \override #'font-shape = #'caps
-shapeNorm = \property Lyrics.LyricText \revert #'font-shape
+shapeSC = \override LyricText #'font-shape = #'caps
+shapeNorm = \revert LyricText #'font-shape
\score { <<
\notes \relative c'' { c4 c4 c8 c8 c8 }
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Cautionary Accidentals
LilyPond can display cautionary accidentals in different ways.
" }
\score { \notes \context Staff \transpose c c'' {
\key d \major
-% \property Staff.autoReminders = #'cautionary
- \property Staff.Accidental \override #'font-size = #0
+% \set Staff.autoReminders = #'cautionary
+ \override Staff.Accidental #'font-size = #0
<dis c>1 cis?2 d?
- \property Staff.Accidental \override #'cautionary-style = #'smaller
+ \override Staff.Accidental #'cautionary-style = #'smaller
<dis c>1 cis?2 d?
- \property Staff.Accidental \override #'cautionary-style = #'parentheses
+ \override Staff.Accidental #'cautionary-style = #'parentheses
<dis c>1 cis?2 d?
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Chord Names German
-By setting @code{ChordNames.chordRootNamer}, the root
+By setting @code{chordRootNamer}, the root
of the chord may be named with a different function.
Setting @code{\germanChords} gives true german chord-names,
\notes <<
\context ChordNames { \scm }
\new ChordNames {
- \property ChordNames.instrument = #"german"
+ \set instrument = #"german"
\germanChords \scm }
\new ChordNames {
- \property ChordNames.instrument =#"semi-german"
+ \set instrument = #"semi-german"
\semiGermanChords \scm }
\context Voice { \scm } >>
\paper {
-\version "2.1.7"
+\version "2.1.22"
\header {
jazzAltProperties =
\sequential {
- \property ChordNames.majorSevenSymbol = #whiteTriangleMarkup
- \property ChordNames.chordNameSeparator = #(make-simple-markup "/")
- \property ChordNames.chordNameExceptionsFull = #efullJazzAlt
- \property ChordNames.chordNameExceptionsPartial = #epartialJazzAlt
- \property ChordNames.chordNameFunction = #jazz-chord-names
+ \set majorSevenSymbol = #whiteTriangleMarkup
+ \set chordNameSeparator = #(make-simple-markup "/")
+ \set chordNameExceptionsFull = #efullJazzAlt
+ \set chordNameExceptionsPartial = #epartialJazzAlt
+ \set chordNameFunction = #jazz-chord-names
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
banterProperties = \sequential {
- \property ChordNames.chordNameFunction = #banter-chord-names
+ \set chordNameFunction = #banter-chord-names
}
\score{
<<
\new ChordNames {
- \property ChordNames.instrument = #"Ignatzek (default)"
- \property ChordNames.instr = #"Def"
+ \set instrument = #"Ignatzek (default)"
+ \set instr = #"Def"
\chs }
\new ChordNames {
- \property ChordNames.instrument = #"Alternative"
- \property ChordNames.instr = #"Alt"
+ \set instrument = #"Alternative"
+ \set instr = #"Alt"
\jazzAltProperties
\chs }
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc= "@cindex Chord Names No Inversions
Chord names don't attempt to find inversions and
bass notes. " }
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "Jazz chords can also be used without notes."
}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Chord Octavation
Appending @code{_8} or @code{^8} to a clef name will
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Clef End of Line
\score {
\notes \transpose c c' {
- \property Staff.Clef \set #'break-visibility = #end-of-line-visible
- \property Staff.KeySignature \set #'break-visibility = #end-of-line-visible
- \property Staff.explicitClefVisibility = #end-of-line-visible
- \property Staff.explicitKeySignatureVisibility = #end-of-line-visible
+ \override Staff.Clef #'break-visibility = #end-of-line-visible
+ \override Staff.KeySignature #'break-visibility = #end-of-line-visible
+ \set Staff.explicitClefVisibility = #end-of-line-visible
+ \set Staff.explicitKeySignatureVisibility = #end-of-line-visible
% We want the time sig to take space, otherwise there is not
% enough white at the start of the line.
%
- \property Staff.TimeSignature \set #'transparent = ##t
- \property Score.defaultBarType = #"empty"
+ \override Staff.TimeSignature #'transparent = ##t
+ \set Score.defaultBarType = #"empty"
c1 d e f g a b c
\key d \major
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc = "
@cindex Clef Manual Control
}
\score { \notes {
- \property Staff.clefGlyph = #"clefs-F"
- \property Staff.clefPosition = #2
+ \set Staff.clefGlyph = #"clefs-F"
+ \set Staff.clefPosition = #2
c'4
- \property Staff.clefGlyph = #"clefs-G"
+ \set Staff.clefGlyph = #"clefs-G"
c'4
- \property Staff.clefGlyph = #"clefs-C"
+ \set Staff.clefGlyph = #"clefs-C"
c'4
- \property Staff.clefOctavation = #7
+ \set Staff.clefOctavation = #7
c'4
- \property Staff.clefOctavation = #0
- \property Staff.clefPosition = #0
+ \set Staff.clefOctavation = #0
+ \set Staff.clefPosition = #0
c'4
\clef "bass"
c'4
-\version "2.1.13"
+\version "2.1.22"
% Ugh, we need to override some LaTeX titling stuff
#(set-global-staff-size 16)
-raisedFlat = \markup { \raise #0.4 \smaller \smaller \musicglyph #"accidentals--2" }
+raisedFlat = \markup { \raise #0.4 \smaller \smaller \flat }
flauti = \notes \relative c' {
- \property Staff.instrument = #"2 Flauti"
- \property Staff.instr = #"Fl."
+ \set Staff.instrument = #"2 Flauti"
+ \set Staff.instr = #"Fl."
\time 4/4
c1
\break c
}
oboi = \notes \relative c' {
- \property Staff.instrument = #"2 Oboi"
- \property Staff.instr = #"Ob."
+ \set Staff.instrument = #"2 Oboi"
+ \set Staff.instr = #"Ob."
c1 c
}
clarinetti = \notes \relative c' {
- \property Staff.instrument
- = \markup { \column < "Clarinetti" { "in B" \raisedFlat } > }
- \property Staff.instr
- = \markup { \smaller { "Cl(B" \raisedFlat ")" } }
+ \set Staff.instrument = \markup { \column < "Clarinetti" { "in B" \raisedFlat } > }
+ \set Staff.instr = \markup { \smaller { "Cl(B" \raisedFlat ")" } }
c1 c
}
fagotti = \notes \relative c' {
- \property Staff.instrument = #"2 Fagotti"
- \property Staff.instr = #"Fg."
+ \set Staff.instrument = #"2 Fagotti"
+ \set Staff.instr = #"Fg."
c1 c
}
corni = \notes \relative c' {
- \property Staff.instrument
- = \markup { \column < "Corni" { "in E" \raisedFlat } > }
- \property Staff.instr
- = \markup { \smaller { "Cor(E" \raisedFlat ")" } }
+ \set Staff.instrument = \markup { \column < "Corni" { "in E" \raisedFlat } > }
+ \set Staff.instr = \markup { \smaller { "Cor(E" \raisedFlat ")" } }
c1 c
}
trombe = \notes \relative c' {
- \property Staff.instrument = \markup \column < "2 Trombe" "(C)" >
- \property Staff.instr = \markup \column < "Tbe." "(C)" >
+ \set Staff.instrument = \markup \column < "2 Trombe" "(C)" >
+ \set Staff.instr = \markup \column < "Tbe." "(C)" >
c1 c
}
timpani = \notes \relative c' {
- \property Staff.instrument = \markup \column < "Timpani" "(C-G)" >
- \property Staff.instr = #"Timp."
+ \set Staff.instrument = \markup \column < "Timpani" "(C-G)" >
+ \set Staff.instr = #"Timp."
c1 c
}
violinoI = \notes \relative c' {
- \property Staff.instrument = #"Violino I "
- \property Staff.instr = #"Vl. I "
+ \set Staff.instrument = #"Violino I "
+ \set Staff.instr = #"Vl. I "
c1 c
}
violinoII = \notes \relative c' {
- \property Staff.instrument = #"Violino II "
- \property Staff.instr = #"Vl. II "
+ \set Staff.instrument = #"Violino II "
+ \set Staff.instr = #"Vl. II "
c1 c
}
viola = \notes \relative c' {
- \property Staff.instrument = #"Viola"
- \property Staff.instr = #"Vla."
+ \set Staff.instrument = #"Viola"
+ \set Staff.instr = #"Vla."
c1 c
%c
}
violoncello = \notes \relative c' {
- \property Staff.instrument = \markup \column < "Violoncello" "e" "Contrabasso" >
- \property Staff.instr = \markup \column < "Vc." "Cb." >
+ \set Staff.instrument = \markup \column < "Violoncello" "e" "Contrabasso" >
+ \set Staff.instr = \markup \column < "Vc." "Cb." >
c1 c
}
-\version "2.1.19"
+\version "2.1.22"
\header{
texidoc="@cindex Count Systems
\score{
\notes\relative c''{
- \property Voice.NoteHead \override #'after-line-breaking-callback
+ \override NoteHead #'after-line-breaking-callback
% = #display-system-count
= #display-systemno
c1
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Crescendi
LilyPond can print crescendi in a number of different ways.
\notes\relative c''{
a1\fff\> a\pp\!
a\< a\!
-\property Voice.crescendoText = \markup { \italic \bold "cresc." }
-\property Voice.crescendoSpanner = #'dashed-line
+\set crescendoText = \markup { \italic \bold "cresc." }
+\set crescendoSpanner = #'dashed-line
a\mf\< a a\!
a\< a\!
}
-\version "2.1.7"
+\version "2.1.22"
% TODO: check to see if this example can be simplified using \small
% or \tiny.
\header { texidoc = "@cindex Cue Notes
\score {
\notes
{
- \property Staff.instrument = #"Horn in F"
- \property Score.skipBars = ##t
+ \set Staff.instrument = #"Horn in F"
+ \set Score.skipBars = ##t
R1*21
<<
{
- \property Staff.MultiMeasureRest \override #'staff-position = #-6
+ \override Staff.MultiMeasureRest #'staff-position = #-6
R1
- \property Voice.MultiMeasureRest \revert #'staff-position
+ \revert MultiMeasureRest #'staff-position
}
\new Voice { s2
\clef tenor
%% this should probably be put into an identifier.
- \property Staff.fontSize = #-1
- \property Voice.Stem \override #'length = #5.5
- \property Voice.Beam \override #'thickness = #0.384
- \property Voice.Beam \override #'space-function =
+ \set Staff.fontSize = #-1
+ \override Stem #'length = #5.5
+ \override Beam #'thickness = #0.384
+ \override Beam #'space-function =
#(lambda (beam mult) (* 0.8 (Beam::space_function beam mult)))
r8^"Bsn." c'8 f'8[ f'8]
% this is under debate; I don't think it should. - Graham
% if you want to cancel it in the main part, uncomment the following:
-% \property Staff.Clef = \turnOff
+% \set Staff.Clef = \turnOff
- \property Staff.fontSize\unset
+ \unset Staff.fontSize
\clef treble
} >>
c'8^"Horn" cis'
- \property Staff.Clef \unset
+ \unset Staff.Clef
eis'4 fis'4
}
\paper { raggedright = ##t}
@code{caesura}.
" }
-\version "2.1.21"
+\version "2.1.22"
\include "gregorian-init.ly"
\score {
<<
\context Voice \notes \transpose c c' {
- \property Score.timing = ##f
- \property Score.barAlways = ##t
- \property Voice.TextScript \set #'padding = #3
- \property Staff.BarLine \override #'transparent = ##t
- \property Voice.Stem \override #'transparent = ##t
+ \set Score.timing = ##f
+ \set Score.barAlways = ##t
+ \override TextScript #'padding = #3
+ \override Staff.BarLine #'transparent = ##t
+ \override Stem #'transparent = ##t
g4( a) g e( f) e
^\markup { "divisio minima" }
\divisioMinima
-\version "2.1.7"
+\version "2.1.22"
% possible rename to slurs-?
% TODO: find out what drarn means, and if there's an overlap with drarn.ly
\header{
}
fragment = \notes {
- \property Voice.Slur \set #'direction = #1
- \property Voice.Slur \set #'attachment = #'(head . head)
+ \override Slur #'direction = #1
+ \override Slur #'attachment = #'(head . head)
g''16(g)(g)(g)(d')(d)(d)(d)
}
-\version "2.1.7"
+\version "2.1.22"
\header{texidoc="@cindex Drarn
You can attach slurs and ties to noteheads.
" }
\relative c'' {
\time 3/8
- \property Voice.Stem \set #'direction = #1
- \property Voice.Tie \set #'direction = #1
- \property Voice.Slur \set #'direction = #1
- \property Voice.Slur \set #'attachment = #'(head . head)
+ \override Stem #'direction = #1
+ \override Tie #'direction = #1
+ \override Slur #'direction = #1
+ \override Slur #'attachment = #'(head . head)
c8~c(c)
}\\
\relative c'' {
- \property Voice.Stem \set #'direction = #-1
- \property Voice.Tie \set #'direction = #-1
- \property Voice.Slur \set #'direction = #-1
- \property Voice.Slur \set #'attachment = #'(head . head)
+ \override Stem #'direction = #-1
+ \override Tie #'direction = #-1
+ \override Slur #'direction = #-1
+ \override Slur #'attachment = #'(head . head)
a8(a)~a
}
>>
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Dynamic Absolute Volume
Absolute dynamics have effect in MIDI files.
-\version "2.1.7"
+\version "2.1.22"
% probably should be merged into refman.
\header{
texidoc = "@cindex Dynamic Piu Forte
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc = "@cindex Embedded Postscript
By inserting the @TeX{} command \embeddedps, you can
-\version "2.1.7"
+\version "2.1.22"
% TODO: does this work? It doesn't do anything with 1.7.20
\header {texidoc="@cindex Embedded scm
You can embed scm functions in your scores.
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc="@cindex Embedded Tex
You can embed Tex commands in your score. "}
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc ="In polyphonic notation, many voices can share a staff: In
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "The notation problem, @emph{what} symbols to create,
-\version "2.1.7"
+\version "2.1.22"
% definitely wil be renamed to something.
%{
texidoc = "An alternate method to make bass figures is to use
markup texts."
}
-\version "2.1.7"
+\version "2.1.22"
-nat = \markup { \musicglyph #"accidentals-0" }
-sh = \markup { \smaller \raise #0.6 \musicglyph #"accidentals-2" }
-fl = \markup { \musicglyph #"accidentals--2" }
+nat = \markup { \natural }
+sh = \markup { \smaller \raise #0.6 \sharp }
+fl = \markup { \flat }
\score {
\context Voice \notes {
\clef bass
- \property Voice.TextScript \set #'font-family = #'number
- \property Voice.TextScript \set #'font-size = #-6
- \property Voice.TextScript \set #'baseline-skip = #1.4
+ \override TextScript #'font-family = #'number
+ \override TextScript #'font-size = #-6
+ \override TextScript #'baseline-skip = #1.4
dis4_\markup { 6 }
-\version "2.1.13"
+\version "2.1.22"
%possible rename to paper-fill-a4.ly -gp
% candidate for reg -gp
% Han says no, but keeping this comment temporarily so that I don't
-\version "2.1.19"
+\version "2.1.22"
% MERGED: stuff from follow-break.ly to follow-thread.ly
% followVoice: connect note heads with line when thread switches staff
\score {
\notes\relative c {
\new PianoStaff <<
- \property PianoStaff.followVoice = ##t
+ \set PianoStaff.followVoice = ##t
\context Staff=one \context Voice {
- \property Voice.VoiceFollower \set #'style = #'dashed-line
+ \override VoiceFollower #'style = #'dashed-line
c'1
\change Staff=two
b2 a
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc="@cindex Force hshift
Force hshift to override collisions. " }
<d g>
} \\ {
<b f'>
-\once \property Voice.NoteColumn
- \override #'force-hshift = #1.7
+\once \override NoteColumn #'force-hshift = #1.7
<b f'>
}
>>
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Gourlay
-\version "2.1.14"
+\version "2.1.22"
\header {
title = "Gregorian Scripts"
texidoc = "@cindex Gregorian Scripts
\score {
\context VaticanaVoice {
- \property VaticanaVoice.Script \set #'padding = #-0.5
+ \override VaticanaScript #'padding = #-0.5
\notes {
a\ictus
a\circulus
-\version "2.1.19"
+\version "2.1.22"
\header {
texidoc ="@cindex Artificial Harmonics
-\version "2.1.7"
+\version "2.1.22"
#(define (my-ly-version)
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Horizontal Shift
You can manually shift notes horizontally. " }
-shiftI = \property Voice.NoteColumn \override #'horizontal-shift = #0
-shiftII = \property Voice.NoteColumn \override #'horizontal-shift = #1
-shiftIII = \property Voice.NoteColumn \override #'horizontal-shift = #2
-shiftIV = \property Voice.NoteColumn \override #'horizontal-shift = #3
-shiftV = \property Voice.NoteColumn \override #'horizontal-shift = #4
+shiftI = \override NoteColumn #'horizontal-shift = #0
+shiftII = \override NoteColumn #'horizontal-shift = #1
+shiftIII = \override NoteColumn #'horizontal-shift = #2
+shiftIV = \override NoteColumn #'horizontal-shift = #3
+shiftV = \override NoteColumn #'horizontal-shift = #4
\score {
\context Voice \notes\relative c {
-\version "2.1.18"
+\version "2.1.22"
\header { texidoc = "
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc =
improOn = \notes {
- \property Voice.squashedPosition = #0
- \property Voice.NoteHead \override #'style = #'slash
+ \set squashedPosition = #0
+ \override NoteHead #'style = #'slash
}
improOff = \notes {
- \property Voice.squashedPosition \unset
- \property Voice.NoteHead \revert #'style
+ \unset squashedPosition
+ \revert NoteHead #'style
}
global = \notes { s1*3 \bar "|." }
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Incipit
This shows how to make an ``incipit'' to indicate scordatora
tuning of a violin part, using the clefStyle property.
violinincipit = \notes\relative c''{
\clef "french"
\time 2/2
- \property Staff.TimeSignature \override #'style = #'old
+ \override Staff.TimeSignature #'style = #'old
a4. b8 c4 fis |
% <b fis' b d>1
- \property Staff.TimeSignature \override #'style = #'C
+ \override Staff.TimeSignature #'style = #'C
}
bcincipit = \notes\relative c{
\clef bass
- \property Staff.TimeSignature \override #'style = #'old
+ \override Staff.TimeSignature #'style = #'old
b2. cis4 |
- \property Staff.TimeSignature \override #'style = #'C
+ \override Staff.TimeSignature #'style = #'C
}
violin = \notes\relative c''{
\score{
<<
\context Staff = violin {\notes{
- \property Staff.Clef \override #'transparent = ##t
+ \override Staff.Clef #'transparent = ##t
\violinincipit \bar ".|"
- \property Staff.Clef \revert #'transparent
+ \revert Staff.Clef #'transparent
\endincipit
\violin
}}
\new Staff {\notes{
- \property Staff.Clef \override #'transparent = ##t
+ \override Staff.Clef #'transparent = ##t
\bcincipit \bar ".|"
- \property Staff.Clef \revert #'transparent
+ \revert Staff.Clef #'transparent
\endincipit
\BC
}}
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Instrument Name Grandstaff
You can name the whole grandstaff in addition to individual staffs. " }
\notes
\notes \context GrandStaff <<
\context Staff = treble {
- \property GrandStaff.instrument = "Violini "
- \property Staff.instrument = " vn I" { c''4 }}
- \context Staff = bass { \property Staff.instrument = " vn II" c''4 }>>
+ \set GrandStaff.instrument = "Violini "
+ \set Staff.instrument = " vn I" { c''4 }}
+ \context Staff = bass { \set Staff.instrument = " vn II" c''4 }>>
\paper {
-\version "2.1.7"
+\version "2.1.22"
% MERGE with title.ly -gp
%{
-\version "2.1.20"
+\version "2.1.22"
\header {
c16[ c c c]
}
- \lyrics \new LyricsVoice \with {
+ \lyrics \new Lyrics \with {
% Otherwise lyrics are so far apart that hyphens don't disappear
SeparationItem \set #'padding = #0.0
}{ bla -- bla -- bla -- bla --
bla -- bla -- bla -- bla --
- \property LyricsVoice . LyricHyphen \set #'minimum-length = #0.7
- \property LyricsVoice . LyricHyphen \set #'spacing-procedure =
+ \override LyricHyphen #'minimum-length = #0.7
+ \override LyricHyphen #'spacing-procedure =
#Hyphen_spanner::set_spacing_rods
bla -- bla -- bla -- bla
% shorthand for Skip Lyric
sl = \notes { \skip 4 }
-\version "2.1.21"
+\version "2.1.22"
\score {
<<
\context Voice = "A" \notes {c4 c c c}
-\version "2.1.7"
+\version "2.1.22"
% possible rename to rest-foo
\header {
texidoc = "@cindex Rest Collision Count
\new Voice {
a4
r
- \property Staff. RestCollision \set #'maximum-rest-count = #1
+ \override Staff.RestCollision #'maximum-rest-count = #1
r
- \property Staff. RestCollision \set #'maximum-rest-count = #2
+ \override Staff.RestCollision #'maximum-rest-count = #2
r
- \property Staff. RestCollision \set #'maximum-rest-count = #3
+ \override Staff.RestCollision #'maximum-rest-count = #3
r
r8 r8
c
-\version "2.1.14"
+\version "2.1.22"
% TODO:
% check with ancient- stuff. rename, merge, something. -gp
% This is intended behaviour.
voice = \notes \transpose c c' {
- \property Score.timing = ##f
- \property Score.defaultBarType = "empty"
+ \set Score.timing = ##f
+ \set Score.defaultBarType = "empty"
g\longa c\breve a\breve f\breve d'\longa^\fermata
\bar "|"
\[
-\version "2.1.7"
+\version "2.1.22"
% candidate for regression. -gp
\header {
texidoc="MIDI and midi2ly test file. Diff between this and midi2ly.py should be minimal."
-\version "2.1.7"
+\version "2.1.22"
% possible rename to scheme- or something like that. -gp
\header { texidoc= "@cindex Scheme Manual Accidentals
\context Voice \notes \relative c'' {
c2.
<<
-\property Staff.AccidentalPlacement = \turnOff
+\set Staff.AccidentalPlacement = \turnOff
\context Staff \applyoutput #(outputproperty-compatibility (make-acc-position-checker 9)
'extra-offset '(-1 . 0))
\context Staff \applyoutput #(outputproperty-compatibility (make-acc-position-checker 5)
-\version "2.1.7"
+\version "2.1.22"
% possible rename to scheme- or something like that. -gp
\header { texidoc = "@cindex Scheme Move Text
You can move objects around with scheme. This example shows how to
\score {
\notes\relative c''' {
- \property Voice.Stem \set #'direction = #1
+ \override Stem #'direction = #1
\applyoutput #(outputproperty-compatibility (make-text-checker (make-simple-markup "m.d."))
'extra-offset '(-3.5 . -4.5))
a^2^"m.d."
-\version "2.1.7"
+\version "2.1.22"
\include "deutsch.ly"
% possible rename to scheme- something. -gp
% TODO: ask if it needs to have so many empty bars in the middle. -gp
-\version "2.1.7"
+\version "2.1.22"
pat = \notes \transpose c c' \repeat unfold 2 {
<< { \context Staff=up {r8 e16 f g e f g } }
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc="@cindex Nested Staff Groups
LilyPond can print nested groups of staffs. "
-\version "2.1.7"
+\version "2.1.22"
% possible rename to bar-lines-foo. -gp
\header{ texidoc = "@cindex Bar Lines Remove
-\version "2.1.7"
+\version "2.1.22"
% possible rename to staff-something. -gp
\header{ texidoc = "@cindex Staff Remove
-\version "2.1.7"
+\version "2.1.22"
% pretty much a duplicate of extra-staff.ly. candidate for merge or delete. -gp
\header { texidoc = "@cindex Ossia
-\version "2.1.18"
+\version "2.1.22"
\header{ texidoc="@cindex Part Combine
In orchestral scores and hymns, voices are traditionally combined onto
\relative c'' {
c4 d e f | b,4 d c d | r2 e4 f | c4 d e f |
c4 r e f | c4 r e f | c4 r a r | a a r a |
- a2 \property Voice.soloADue = ##f a |
+ a2 \set soloADue = ##f a |
}
\relative c'' {
g4 b d f | r2 c4 d | a c c d | a4. b8 c4 d
c r e r | r2 s2 | a,4 r a r | a r r a |
- a2 \property Voice.soloADue = ##f a |
+ a2 \set soloADue = ##f a |
}
>>
\paper{
-\version "2.1.7"
+\version "2.1.22"
% check with invisible-notes or blank-notes. possible rename. -gp
\header{ texidoc = "@cindex Partial Blank
When entering half music (i.e. for students to complete by hand)
\clef G
\new Voice {\mel}
\new Voice {
- \property Voice.NoteHead \override #'transparent = ##t
- \property Voice.Stem \override #'transparent = ##t
- \property Voice.Beam \override #'transparent = ##t
+ \override NoteHead #'transparent = ##t
+ \override Stem #'transparent = ##t
+ \override Beam #'transparent = ##t
\repeat unfold 4 \quickmeasure
}
>>
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc="@cindex Phrasing Slur Height
Make PhrasingSlur higher, to avoid colission from other slurs. "
}
\score {
\new Staff \notes\relative c''{
- \property Staff.PhrasingSlur \override #'height-limit = #8.0
+ \override Staff.PhrasingSlur #'height-limit = #8.0
c8 \( (d e f) g ( a b c)
| c ( b a g) f ( e d c)\)
}
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc="
}
\new Staff {
\time 3/4
- \property Staff.timeSignatureFraction= #'(9 . 8)
+ \set Staff.timeSignatureFraction = #'(9 . 8)
\apply #display-music \apply #(scale-music-function '(2 . 3))
\repeat unfold 6 { c8[ c c] }
}
\new Staff {
\time 3/4
- \property Staff.timeSignatureFraction= #'(10 . 8)
+ \set Staff.timeSignatureFraction = #'(10 . 8)
\apply #display-music \apply #(scale-music-function '(3 . 5))
{ \repeat unfold 2 { c8[ c c] }
\repeat unfold 2 { c8[ c] }
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc="@cindex Time Signature Multiple
-\version "2.1.21"
+\version "2.1.22"
\header { texidoc = "
@cindex Preset Extent
\context Lyrics \lyrics {
foo --
- \property Lyrics . LyricText \set #'X-extent = #'(-10.0 . 10.0)
+ \override LyricText #'X-extent = #'(-10.0 . 10.0)
bar baz
}
\paper { raggedright = ##t}
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Repeat Manual
You can manually control repeat signs and numbers to produce
unusual output. "
\score { \notes \relative c'' {
% First a normal looking repeat:
c2 c
- \property Score.repeatCommands = #'((volta "1."))
+ \set Score.repeatCommands = #'((volta "1."))
c c
- \property Score.repeatCommands = #'((volta #f) end-repeat (volta "2."))
+ \set Score.repeatCommands = #'((volta #f) end-repeat (volta "2."))
c c
- \property Score.repeatCommands = #'((volta #f))
+ \set Score.repeatCommands = #'((volta #f))
% Then a more strange one:
c c
- \property Score.repeatCommands = #'((volta "93") end-repeat)
+ \set Score.repeatCommands = #'((volta "93") end-repeat)
c c
- \property Score.repeatCommands = #'((volta #f))
+ \set Score.repeatCommands = #'((volta #f))
c c
}
\paper{raggedright=##t}
-\version "2.1.21"
+\version "2.1.22"
\header{
texidoc="
\context Staff \notes\relative c''{
c c c c
% coda-klugde: let volta span only one bar
- \property Staff.voltaSpannerDuration = #(ly:make-moment 1 1)
+ \set Staff.voltaSpannerDuration = #(ly:make-moment 1 1)
\repeat "volta" 5 { d d d d }
\alternative { { e e e e f f f f }
{ g g g g } }
-\version "2.1.21"
+\version "2.1.22"
% possible rename to lyric-repeat or repeat-lyric.
-\version "2.1.7"
+\version "2.1.22"
% candidate for regression. -gp
\header { texidoc = "@cindex Rest Dot Positions
This file tests dotted rests. " }
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "@cindex Rests
\score {
\context Staff \notes\relative c {
- \property Score.timing = ##f
- \property Staff.Rest \set #'style = #'mensural
+ \set Score.timing = ##f
+ \override Staff.Rest #'style = #'mensural
r\maxima^"Rest style = \#'mensural"
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
\bar empty \break
- \property Staff.Rest \set #'style = #'neo_mensural
+ \override Staff.Rest #'style = #'neo_mensural
r\maxima^"Rest style = \#'neo\\_mensural"
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
\bar empty \break
- \property Staff.Rest \set #'style = #'classical
+ \override Staff.Rest #'style = #'classical
r\maxima^"Rest style = \#'classical"
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
\bar empty \break
- \property Staff.Rest \set #'style = #'default
+ \override Staff.Rest #'style = #'default
r\maxima^"Rest style = \#'default"
r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128
\break
-\version "2.1.7"
+\version "2.1.22"
% possible rename to scheme-something.
\header { texidoc="@cindex Scheme Reverse Music
Simple customised music apply. "
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Rhythm Exercise
This example shows a way to generate rhythm exercises with
LilyPond (e.g. no staff but retaining the barlines). "
-\version "2.1.7"
+\version "2.1.22"
\header {
texidoc = "
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Scheme Interactions
With @code{ly:export}, you can pass of the result of
Scheme expressions as lilypond input. Within a Scheme expression,
% this chart is used in the manual too.
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Script Abbreviations
Some scripts may be entered using an abbreviation.
\score {
\notes \context Voice {
- \property Voice.TextScript \set #'font-family = #'typewriter
- \property Voice.TextScript \set #'font-shape = #'upright
+ \override TextScript #'font-family = #'typewriter
+ \override TextScript #'font-shape = #'upright
c''4-._"c-." s4
c''4--_"c-{}-" s4
c''4-+_"c-+" s4
-\version "2.1.21"
+\version "2.1.22"
% this chart is used in the manual too.
\score {
<<
- \property Score.LyricText \override #'font-family = #'typewriter
- \property Score.LyricText \override #'font-shape = #'upright
+ \override Score.LyricText #'font-family = #'typewriter
+ \override Score.LyricText #'font-shape = #'upright
\context Staff \notes {
- \property Score.timing = ##f
- \property Score.barAlways = ##t
- \property Staff.BarLine \override #'transparent = ##t
+ \set Score.timing = ##f
+ \set Score.barAlways = ##t
+ \override Staff.BarLine #'transparent = ##t
c''\accent c''\marcato c''\staccatissimo
c''\staccato c''\tenuto c''\portato
c''\upbow c''\downbow c''\flageolet
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Script Priority
Relative placements of different script types can be controlled
\score{
\context Staff \notes \relative g''{
- \property Score.TextScript \override #'script-priority = #-100
- a4^\prall^\markup \fontsize #-2 \musicglyph #"accidentals-1"
+ \override Score.TextScript #'script-priority = #-100
+ a4^\prall^\markup \fontsize #-2 \semisharp
- \property Score.Script \override #'script-priority = #-100
- \property Score.TextScript \revert #'script-priority
+ \override Score.Script #'script-priority = #-100
+ \revert Score.TextScript #'script-priority
- a4^\prall^\markup \fontsize #-2 \musicglyph #"accidentals-1"
+ a4^\prall^\markup \fontsize #-2 \semisharp
}
\paper { raggedright = ##t}
}
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Stacked Text Articulation
You can stack text and articulations. "
-\version "2.1.19"
+\version "2.1.22"
% possible rename. -gp
\header { texidoc="@cindex Seperate Staccato
-\version "2.1.7"
+\version "2.1.22"
\header{
texidoc="@cindex Slur Attachment Override
%%
fragment = \notes {
- \property Voice.autoBeaming = ##f
- \property Voice.Stem \set #'direction = #1
- \property Voice.Slur \set #'direction = #1
+ \set autoBeaming = ##f
+ \override Stem #'direction = #1
+ \override Slur #'direction = #1
d'32( f'4 d8..)
- \property Voice.Slur \set #'attachment = #'(stem . stem)
+ \override Slur #'attachment = #'(stem . stem)
d,32( f'4 d8.)
}
-\version "2.1.7"
+\version "2.1.22"
% TODO bit too wordy; edit a bit to cut stuff. -gp
\header { texidoc ="@cindex Slur Beautiful
Similarly, the curvature of a slur is adjusted to stay clear of note
\stemDown \slurUp
c16( a' f' a a f a, c,)
c( a' f' a a f d, c)
- \property Voice.Slur \override #'beautiful = #5.0
+ \override Slur #'beautiful = #5.0
c( a' f' a a f d, c)
}}
\paper { raggedright = ##t }
-\version "2.1.7"
+\version "2.1.22"
\header {texidoc = "@cindex Slur, dotted
You can print different kinds of slurs (dotted, dashed, etc). "
}
c( d e c) |
\slurSolid
c( d e c) |
- \property Voice. Slur \set #'dashed = #0.0
+ \override Slur #'dashed = #0.0
c( d e c) |
\slurSolid
c( d e c) |
-\version "2.1.7"
+\version "2.1.22"
\header {
\context Staff = down \relative c {
\clef bass
r4 r8
- \once\property Voice.Slur \set #'extra-offset = #'(0 . -8)
- \once\property Voice.Slur
- \set #'control-points =
+ \once\override Slur #'extra-offset = #'(0 . -8)
+ \once\override Slur #'control-points =
#'((0 . -4) (2 . 0) (60 . 0) (63 . 4))
c8( as' f c' as f c as' f
\change Staff = up
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Slur Minimum Length
You can set the minimum length of a slur. "
\score{
\notes\relative c''{
\time 2/4
- \property Voice.Slur \set #'minimum-length = #40
+ \override Slur #'minimum-length = #40
c(c)
c~c\break
}
-\version "2.1.18"
+\version "2.1.22"
\header { texidoc="@cindex Slur Ugly
You can get ugly slurs, if you want. "
-\version "2.1.7"
+\version "2.1.22"
% more yummy regression goodness. -gp
\header {
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Spanner after break
#(debug-enable 'backtrace)
\score {\notes \relative c'' {
- \property Voice.Tie \override #'after-line-breaking-callback =
+ \override Tie #'after-line-breaking-callback =
#my-callback
c1 ~ \break c2 ~ c
}
-\version "2.1.7"
+\version "2.1.22"
\header{texidoc = "@cindex Staff Bracket
Here's an example of staff brackets. "
-\version "2.1.20"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header {
\upper
>>
\new Staff {
- \property Staff.StaffSymbol \set #'line-count = #4
+ \override Staff.StaffSymbol #'line-count = #4
\clef bass
\lower
}
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Staff Size
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc ="@cindex Staff Space
Setting staff space on a staff. "
-\version "2.1.7"
+\version "2.1.22"
% possible rename to ancient- something.
\header {
texidoc ="@cindex Ancient Mensural Note Heads
\score {
\notes {
\relative c'' {
- \property Voice . NoteHead \set #'style = #'mensural
+ \override NoteHead #'style = #'mensural
c\maxima*1/8
c\longa*1/4 c\breve*1/2 c1 c2 c4 c8
}
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Stem Cross Staff
There is no support for putting chords across staves.
lower stave so it reaches the stem in the upper stave, or vice versa. "
}
-stemExtend = \once \property Voice.Stem \override #'length = #22
+stemExtend = \once \override Stem #'length = #22
%% following reqs 1.7.1 or better.
-noFlag = \once \property Voice.Stem \override #'flag-style = #'no-flag
+noFlag = \once \override Stem #'flag-style = #'no-flag
\score { \notes
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Stem Extend
You can stop LilyPond from extending stems to the center line. "
\context Staff <<
\new Voice {
f2 f8 g a b
- \property Voice.Stem \set #'no-stem-extend = ##t
+ \override Stem #'no-stem-extend = ##t
f2 f8 g a b
}
\new Voice {
c''2 c8 b a g
- \property Voice.Stem \set #'no-stem-extend = ##t
+ \override Stem #'no-stem-extend = ##t
c2 c8 b a g
}
>>
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc = "@cindex Stem Length
You can alter the length of stems. "
\score {
\context Voice \notes\relative c {
- g''4 \property Voice.Stem \set #'length = #14 g4
- \property Voice.Stem \set #'length = #3 g4 g,,4
+ g''4 \override Stem #'length = #14 g4
+ \override Stem #'length = #3 g4 g,,4
}
\paper { raggedright = ##t }
}
-\version "2.1.7"
+\version "2.1.22"
\header {texidoc = "@cindex Tablature hammer
You can fake a hammer in tablature with slurs. "
}
-\version "2.1.7"
+\version "2.1.22"
\header{ texidoc = "@cindex Tabulature
A sample tablature, with both normal staff and tab.
e8\5 fis\5 gis\5 a\5 b\5 cis'\5 dis'\5 e'\5
e8\4 fis\4 gis\4 a\4 b\4 cis'\4 dis'\4 e'\4
e8 fis gis a b cis' dis' e'
- \property Score.minimumFret = #5
+ \set Score.minimumFret = #5
e8 fis gis a b cis' dis' e'
}
-\version "2.1.7"
+\version "2.1.22"
\header {
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex text spanner
You can make LilyPond print text spanners. "
\score{
\notes\relative c''{
- \property Voice.TextSpanner \override #'edge-text = #'("bla" . "blu")
+ \override TextSpanner #'edge-text = #'("bla" . "blu")
a \startTextSpan
b c
a \stopTextSpan
- \property Voice.TextSpanner \override #'dash-period = #2
- \property Voice.TextSpanner \override #'dash-fraction = #0.0
+ \override TextSpanner #'dash-period = #2
+ \override TextSpanner #'dash-fraction = #0.0
a \startTextSpan
b c
a \stopTextSpan
- \property Voice.TextSpanner \revert #'style
- \property Voice.TextSpanner \override #'style = #'dashed-line
- \property Voice.TextSpanner \override #'edge-height = #'(1 . -2)
+ \revert TextSpanner #'style
+ \override TextSpanner #'style = #'dashed-line
+ \override TextSpanner #'edge-height = #'(1 . -2)
a \startTextSpan
b c
a \stopTextSpan
- \property Staff.centralCPosition = #-13
+ \set Staff.centralCPosition = #-13
- \property Voice.TextSpanner \override #'dash-period = #10
- \property Voice.TextSpanner \override #'dash-fraction = #.5
- \property Voice.TextSpanner \override #'thickness = #10
+ \override TextSpanner #'dash-period = #10
+ \override TextSpanner #'dash-fraction = #.5
+ \override TextSpanner #'thickness = #10
a \startTextSpan
b c
a \stopTextSpan
- \property Staff.centralCPosition = #-6
+ \set Staff.centralCPosition = #-6
}
\paper{ raggedright = ##t}
}
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Textscript
Test font selection and scm text markup. "
\score{
\notes\relative c''{
- \property Voice . TextScript \override #'font-shape = #'upright
+ \override TextScript #'font-shape = #'upright
c1^\markup { \dynamic "p" "ma sosten." }
c^\markup \huge "ABCD"
- \property Voice . TextScript \override #'font-series = #'bold
+ \override TextScript #'font-series = #'bold
c^\markup { \bold "Dal" " " \raise #0.8 \musicglyph #"scripts-segno" }
c^\markup \huge "ABCD"
}
-\version "2.1.7"
+\version "2.1.22"
\context Staff \notes {
\relative c'' <<
{
- \once \property Voice.Stem \set #'transparent = ##t
+ \once \override Stem #'transparent = ##t
b8~ b8 }
\\
{ b[ g8] }
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc = "@cindex Tie Sparse
Setting sparseTies causes only one tie to be
\score {
\context Voice \notes\relative c {
- \property Voice.sparseTies = ##t
+ \set sparseTies = ##t
c'' <c e g> ~ <c e g>
}
\paper { raggedright = ##t }
-\version "2.1.21"
+\version "2.1.22"
\header { texidoc= "
\score { \notes \relative c'
{
- \property Staff.TimeSignature \override #'print-function = #Text_item::print
- \property Staff.TimeSignature \override #'text = #tsMarkup
+ \override Staff.TimeSignature #'print-function = #Text_item::print
+ \override Staff.TimeSignature #'text = #tsMarkup
\time 3/2
-\version "2.1.7"
+\version "2.1.22"
% TODO: This file could be old. Ask about it later. -gp
\header { texidoc = "@cindex Time
\score {
\context Voice \notes\relative c {
% LilyPond doesn't understand 'default =>> it does what you want
- \property Staff.TimeSignature \override #'style = #'default
+ \override Staff.TimeSignature #'style = #'default
\time 1/1
c''1^"TimeSignature style = \#'default"
\time 2/2
\time 9/4
c2. c2. c2.
\break
- \property Staff.TimeSignature \set #'style = #'mensural
+ \override Staff.TimeSignature #'style = #'mensural
\time 1/1
c1^"TimeSignature style = \#'mensural"
\time 2/2
\time 9/8
c4. c4. c4.
\break
- \property Staff.TimeSignature \set #'style = #'neo_mensural
+ \override Staff.TimeSignature #'style = #'neo_mensural
\time 1/1
c1^"TimeSignature style = \#'neo\_mensural"
\time 2/2
\time 9/8
c4. c4. c4.
\break
- \property Staff.TimeSignature \set #'style = #'numbered
+ \override Staff.TimeSignature #'style = #'numbered
\time 1/1
c1^"TimeSignature style = \#'numbered"
\time 2/2
c2. c2. c2.
\break
% If the style starts with a '1', you get this style
- \property Staff.TimeSignature \set #'style = #'1style
+ \override Staff.TimeSignature #'style = #'1style
\time 1/1
c1^"TimeSignature style = \#'1xxx"
\time 2/2
-\version "2.1.7"
+\version "2.1.22"
% possible rename to bar-something.
\header{ texidoc = "@cindex Bar Length
\context Voice \notes\relative c {
- % \property Score. measurePosition = #(ly:make-moment -1 4)
+ % \set Score.measurePosition = #(ly:make-moment -1 4)
\partial 4
c''4 c4 c4 c2 c1
\cadenzaOn c8[ d e f] g[ a b c b c b c]
\cadenzaOff
c4 c4 c4 c4
- \property Score. measureLength = #(ly:make-moment 5 4)
+ \set Score.measureLength = #(ly:make-moment 5 4)
c1 c4
c1 c4
c4 c4
- \property Score. measurePosition = #(ly:make-moment -3 8)
+ \set Score.measurePosition = #(ly:make-moment -3 8)
b8 b b
c4 c1
-\version "2.1.7"
+\version "2.1.22"
% MERGE with lilypond-
\header {
filename = "title.ly"
-\version "2.1.7"
+\version "2.1.22"
fooBar = \notes { << c''4 \\ g'4 >> }
-\version "2.1.7"
+\version "2.1.22"
\header { texidoc="@cindex Trill
Show trill line type.
\score {
\context RhythmicStaff \notes {
\stemDown
- \property Voice.Stem \override #'transparent = ##t
- \property Voice.TextSpanner \set #'dash-fraction = #0.0
- \property Voice.TextSpanner \set #'dash-period = #1.0
- \property Voice.TextSpanner \set #'edge-height = #'(0 . 1.5)
- \property Voice.TextSpanner \set #'edge-text = #'("bla " . "")
+ \override Stem #'transparent = ##t
+ \override TextSpanner #'dash-fraction = #0.0
+ \override TextSpanner #'dash-period = #1.0
+ \override TextSpanner #'edge-height = #'(0 . 1.5)
+ \override TextSpanner #'edge-text = #'("bla " . "")
a\startTextSpan b c a\stopTextSpan
%% TODO: should have trill spanner.
- \property Voice.TextSpanner \set #'style = #'trill
- \property Voice.TextSpanner \set #'edge-height = #'(0 . 0)
- \property Voice.TextSpanner \set #'edge-text
+ \override TextSpanner #'style = #'trill
+ \override TextSpanner #'edge-height = #'(0 . 0)
+ \override TextSpanner #'edge-text
= #(cons (make-musicglyph-markup "scripts-trill") "")
a\startTextSpan b c a\stopTextSpan
}
-\version "2.1.21"
+\version "2.1.22"
\header {
texidoc="@cindex Trills
%}
-invisible = \property Voice.NoteHead \override #'transparent = ##t
-visible = \property Voice.NoteHead \revert #'transparent
+invisible = \override NoteHead #'transparent = ##t
+visible = \revert NoteHead #'transparent
\time 1/4
<<{ d4}\\
{
- \property Voice.Script \override #'extra-offset = #'(-0.8 . 2.0)
+ \override Script #'extra-offset = #'(-0.8 . 2.0)
b_\turn}>>
%{ FIXME \comma does not exist
\startHorizScript
-\version "2.1.7"
+\version "2.1.22"
% regression. -gp
\header {
-\version "2.1.21"
+\version "2.1.22"
% possible rename to ancient-something.
\header { texidoc = "Ancient Vaticana
-\version "2.1.21"
+\version "2.1.22"
\header {
}
\score { \context Lyrics \notes {
- \property Score.RehearsalMark \set #'self-alignment-X = #LEFT
+ \override Score.RehearsalMark #'self-alignment-X = #LEFT
\mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
s2
}
-\version "2.1.7"
+\version "2.1.22"
% TODO: huh? what's this file about? -gp
\header { texidoc = "
\score {
\notes <<
\new Staff {
- \property Staff.verticalExtent = #'(-15.0 . 0.0)
+ \set Staff.verticalExtent = #'(-15.0 . 0.0)
\clef alto
c1
}
\new Staff {
- \property Staff.verticalExtent = #'(-0.0 . 15.0)
+ \set Staff.verticalExtent = #'(-0.0 . 15.0)
\clef alto
g1
}
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\score {
\notes\context PianoStaff <<
\context Staff = up
#(ly:set-option 'old-relative)
-\version "2.1.7"
+\version "2.1.22"
\score {
\notes\context PianoStaff <<
\context Staff = up
\relative c'' <<
{ \key d\major
- \property Voice.Slur \set #'attachment = #'(stem . stem)
+ \override Slur #'attachment = #'(stem . stem)
- \once \property Voice.Fingering
- \override #'extra-offset = #'(-0.3 . -1.8)
+ \once \override Fingering #'extra-offset = #'(-0.3 . -1.8)
fis4-3_\p(~
fis16 a)^" "^\markup { \finger "5" } } \\
{
\dynamicUp
- \property Voice.DynamicLineSpanner
- \override #'padding = #5.0
+ \override DynamicLineSpanner #'padding = #5.0
\tieUp
fis16(\> d b\! \change Staff = down
\stemUp
\clef treble g~ <g e>8) } \\
{ s16
- \once \property Voice.Stem \set #'transparent = ##t
+ \once \override Stem #'transparent = ##t
d'
~ <d b>4 }
>>