-\version "2.4.0"
+\version "2.7.32"
\context {
- \name Global
+ \name "Global"
- \accepts Score
+ \accepts "Score"
+
+ \defaultchild "Score"
\description "Hard coded entry point for LilyPond. Cannot be tuned."
- \grobdescriptions #all-grob-descriptions
+ \grobdescriptions #all-grob-descriptions
}
\context {
- \type "Engraver_group_engraver"
- \name Staff
+ \type "Engraver_group"
+ \name "Staff"
\consists "Output_property_engraver"
\consists "Bar_engraver"
\consists "String_number_engraver"
\consists "Axis_group_engraver"
- minimumVerticalExtent = #'(-4 . 4)
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4)
extraVerticalExtent = ##f
verticalExtent = ##f
localKeySignature = #'()
instrument = #'()
instr = #'()
+ \defaultchild "Voice"
\accepts "Voice"
\accepts "CueVoice"
\context {
\Staff
- \type "Engraver_group_engraver"
- \name DrumStaff
- \alias Staff
-
+ \type "Engraver_group"
+ \name "DrumStaff"
+ \alias "Staff"
+
\remove "Accidental_engraver"
\remove "Ottava_spanner_engraver"
\remove "Key_engraver"
\description "Handles typesetting for percussion."
- \denies Voice
- \accepts DrumVoice
+ \denies "Voice"
+ \accepts "DrumVoice"
+ \defaultchild "DrumVoice"
clefGlyph = #"clefs.percussion"
clefPosition = #0
\context {
- \type "Engraver_group_engraver"
- \name InnerChoirStaff
+ \type "Engraver_group"
+ \name "InnerChoirStaff"
\consists "System_start_delimiter_engraver"
systemStartDelimiter = #'SystemStartBracket
+ vocalName = #'()
+ vocNam = #'()
\accepts "Staff"
\accepts "DrumStaff"
\accepts "PianoStaff"
\accepts "Lyrics"
\accepts "ChordNames"
+ \defaultchild "Staff"
}
\context {
\InnerChoirStaff
\name ChoirStaff
+ \defaultchild "Staff"
\accepts "InnerChoirStaff"
\accepts "InnerStaffGroup"
\description "Identical to @code{StaffGroup} except that the
contained staves are not connected vertically."
-
-}
+}
\context{
- \type "Engraver_group_engraver"
+ \type "Engraver_group"
- \consists "Output_property_engraver"
-
- minimumVerticalExtent = ##f
+ \override VerticalAxisGroup #'minimum-Y-extent = ##f
extraVerticalExtent = ##f
verticalExtent = ##f
localKeySignature = #'()
+ createSpacing = ##t
- \consists "Pitch_squash_engraver"
squashedPosition = #0
- \consists "Separating_line_group_engraver"
\name RhythmicStaff
\alias "Staff"
\override BarLine #'bar-size = #4
- \override VoltaBracket #'minimum-space = #15
- \override VoltaBracket #'padding = #5
+ \override VoltaBracket #'staff-padding = #3
\override StaffSymbol #'line-count = #1
- \override Stem #'neutral-direction = #1
- \override Beam #'neutral-direction = #1
- %% \consists "Repeat_engraver"
- \consists "Dot_column_engraver"
+ \override Stem #'neutral-direction = #UP
+ \override Beam #'neutral-direction = #UP
+
+ \consists "Output_property_engraver"
+ \consists "Font_size_engraver"
\consists "Volta_engraver"
+ \consists "Separating_line_group_engraver"
+ \consists "Dot_column_engraver"
\consists "Bar_engraver"
- \consists "Time_signature_engraver"
- \consists "Staff_symbol_engraver"
\consists "Ledger_line_engraver"
+ \consists "Staff_symbol_engraver"
+ \consists "Pitch_squash_engraver"
+ \consists "Time_signature_engraver"
\consists "Instrument_name_engraver"
\consists "Axis_group_engraver"
+
\accepts "Voice"
\accepts "CueVoice"
+ \defaultchild "Voice"
+
\description "
A context like @code{Staff} but for printing rhythms. Pitches are
ignored; the notes are printed on one line.
\context {
- \type "Engraver_group_engraver"
- \name Voice
+ \type "Engraver_group"
+ \name "Voice"
\description "
Corresponds to a voice on a staff. This context handles the
localKeySignature = #'()
\consists "Font_size_engraver"
-
+
+ \consists "Pitched_trill_engraver"
\consists "Output_property_engraver"
\consists "Arpeggio_engraver"
\consists "Multi_measure_rest_engraver"
\consists "Trill_spanner_engraver"
\consists "Grob_pq_engraver"
\consists "Forbid_line_break_engraver"
-
+ \consists "Laissez_vibrer_engraver"
+ \consists "Repeat_tie_engraver"
\consists "Note_head_line_engraver"
\consists "Glissando_engraver"
\consists "Ligature_bracket_engraver"
\consists "Breathing_sign_engraver"
- %% \consists "Rest_engraver"
\consists "Note_heads_engraver"
\consists "Rest_engraver"
+ %% switch on to make stem directions interpolate for the
+ %% center line.
+ % \consists "Melody_engraver"
+
\consists "Stem_engraver"
\consists "Beam_engraver"
\consists "Grace_beam_engraver"
\name CueVoice
\alias Voice
fontSize = #-4
- \override Stem #'lengths = #'(2.5 2.5 3.0 3.0)
+ \override Stem #'length-fraction = #(magstep -4)
+ \override Beam #'length-fraction = #(magstep -4)
}
\context {
\remove "Glissando_engraver"
\remove "Ligature_bracket_engraver"
\remove "Note_heads_engraver"
- \consists "Rest_engraver"
\consists "Drum_notes_engraver"
\remove "New_fingering_engraver"
}
\context{
- \type "Engraver_group_engraver"
+ \type "Engraver_group"
\name GrandStaff
localKeySignature = #'()
"Just like @code{GrandStaff} but with a forced distance between
the staves, so cross staff beaming and slurring can be used."
- verticalAlignmentChildCallback = #Align_interface::fixed_distance_alignment_callback
\override VerticalAlignment #'forced-distance = #12
\override VerticalAlignment #'self-alignment-Y = #0
}
\context {
- \type "Engraver_group_engraver"
+ \type "Engraver_group"
\name InnerStaffGroup
\consists "Span_bar_engraver"
systemStartDelimiter = #'SystemStartBracket
\consists "System_start_delimiter_engraver"
+
+ \defaultchild "Staff"
\accepts "Staff"
\accepts "RhythmicStaff"
\accepts "DrumStaff"
\context{
- \type "Engraver_group_engraver"
- minimumVerticalExtent = #'(-1.2 . 2.4)
+ \type "Engraver_group"
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 2.4)
extraVerticalExtent = ##f
verticalExtent = ##f
printing of a single line of lyrics. "
\name Lyrics
- \consists "Separating_line_group_engraver"
\consists "Lyric_engraver"
\consists "Extender_engraver"
\consists "Hyphen_engraver"
\consists "Stanza_number_engraver"
- \consists "Vocal_name_engraver"
+ \consists "Instrument_name_engraver"
\consists "Skip_event_swallow_translator"
\consists "Font_size_engraver"
\consists "Hara_kiri_engraver"
+ \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup #'remove-empty = ##t
\override SeparationItem #'padding = #0.2
+ \override InstrumentName #'self-alignment-Y = ##f
+
+ %% sync with define-grobs.scm ;
+ \override InstrumentName #'font-size = #1.0
+
+ %% make sure that barlines aren't collapsed, when
+ %% Bar_engraver is there.
+ \override BarLine #'bar-size = #0.1
+
}
\context {
- \type "Engraver_group_engraver"
+ \type "Engraver_group"
\name NoteNames
\consists "Axis_group_engraver"
- minimumVerticalExtent = ##f
+ \override VerticalAxisGroup #'minimum-Y-extent = ##f
extraVerticalExtent = ##f
verticalExtent = ##f
}
\context {
- \type "Engraver_group_engraver"
+ \type "Engraver_group"
\name ChordNames
\description "Typesets chord names."
\consists "Hara_kiri_engraver"
voltaOnThisStaff = ##f
- minimumVerticalExtent = #'(0 . 2.5)
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 2.5)
extraVerticalExtent = ##f
\override SeparatingGroupSpanner #'padding = #0.8
+ \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup #'remove-empty = ##t
verticalExtent = ##f
}
\remove "Axis_group_engraver"
\consists "Hara_kiri_engraver"
\override Beam #'auto-knee-gap = #'()
+ \override VerticalAxisGroup #'remove-empty = ##t
}
AncientRemoveEmptyStaffContext = \context {
}
\context {
- \type Score_engraver
- \name Score
-
+ \type "Score_engraver"
+ \name "Score"
+
\description "This is the top level notation context. No
other context can contain a @code{Score} context. This context
handles the administration of time signatures. It also makes sure
not contained in any other context). It is instantiated
automatically when an output definition (a @code{\score} or
@code{\layout} block) is processed."
-
+
+
+ \consists "Paper_column_engraver"
+ \consists "Vertically_spaced_contexts_engraver"
\consists "Repeat_acknowledge_engraver"
\consists "Staff_collecting_engraver"
%% move the alias along with the engraver.
- \consists "Timing_engraver"
-
+ \consists "Timing_translator"
+ \consists "Default_bar_line_engraver"
\consists "Output_property_engraver"
\consists "System_start_delimiter_engraver"
\consists "Mark_engraver"
\consists "Vertical_align_engraver"
\consists "Stanza_number_align_engraver"
\consists "Bar_number_engraver"
- \consists "Span_arpeggio_engraver"
+ \consists "Tweak_engraver"
+ \consists "Parenthesis_engraver"
+
+ \defaultchild "Staff"
\accepts "Staff"
+ \accepts "RhythmicStaff"
\accepts "TabStaff"
\accepts "VaticanaStaff"
\accepts "GregorianTranscriptionStaff"
\accepts "MensuralStaff"
\accepts "StaffGroup"
- \accepts "RhythmicStaff"
\accepts "DrumStaff"
\accepts "Lyrics"
\accepts "ChordNames"
\accepts "Devnull"
\accepts "NoteNames"
\accepts "FiguredBass"
-
+
soloText = #"Solo"
soloIIText = #"Solo II"
aDueText = #"a2"
clefGlyph = #"clefs.G"
clefPosition = #-2
middleCPosition = #-6
+ firstClef = ##t
defaultBarType = #"|"
- barNumberVisibility = #default-bar-number-visibility
+ barNumberVisibility = #first-bar-number-invisible
automaticBars = ##t
explicitClefVisibility = #all-visible
autoBeamCheck = #default-auto-beam-check
scriptDefinitions = #default-script-alist
- verticalAlignmentChildCallback = #Align_interface::alignment_callback
-
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalSustainStyle = #'text
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
pedalSostenutoStrings = #'("Sost. Ped." "*Sost. Ped." "*")
pedalSostenutoStyle = #'mixed
-
harmonicAccidentals = ##t
fingeringOrientations = #'(up down)
stringNumberOrientations = #'(up down)
tupletNumberFormatFunction = #denominator-tuplet-formatter
markFormatter = #format-mark-letters
- rehearsalMark = #1
+ rehearsalMark = #1
+ rehearsalMarkAlignSymbol = #'staff-bar
subdivideBeams = ##f
allowBeamBreak = ##f
extraNatural = ##t
autoCautionaries = #'()
printKeyCancellation = ##t
- keyAccidentalOrder = #`(
+ keyAlterationOrder = #`(
(6 . ,FLAT) (2 . ,FLAT) (5 . ,FLAT ) (1 . ,FLAT) (4 . ,FLAT) (0 . ,FLAT) (3 . ,FLAT)
(3 . ,SHARP) (0 . ,SHARP) (4 . ,SHARP) (1 . ,SHARP) (5 . ,SHARP) (2 . ,SHARP) (6 . ,SHARP)
(6 . ,DOUBLE-FLAT) (2 . ,DOUBLE-FLAT) (5 . ,DOUBLE-FLAT ) (1 . ,DOUBLE-FLAT) (4 . ,DOUBLE-FLAT) (0 . ,DOUBLE-FLAT) (3 . ,DOUBLE-FLAT)
tablatureFormat = #fret-number-tablature-format
%%
- bassFigureFormatFunction = #format-bass-figure
+ figuredBassFormatter = #format-bass-figure
metronomeMarkFormatter = #format-metronome-markup
graceSettings = #`(
- (Voice Stem direction 1)
- ;; TODO: should take from existing definition.
- ;; c&p from define-grobs.scm
-
- (Voice Stem lengths ,(map (lambda (x) (* 0.8 x)) '(3.5 3.5 3.5 4.5 5.0)))
- (Voice Stem stem-shorten (0.4 0.4))
- (Voice Stem font-size -3)
- (Voice NoteHead font-size -3)
- (Voice Dots font-size -3)
- (Voice Stem beamed-lengths
- ,(map (lambda (x) (* 0.8 x)) '(3.3 3.3 4.0)))
- (Voice Stem beamed-minimum-free-lengths
- ,(map (lambda (x) (* 0.8 x)) '(2.5 2.0 1.5)))
- (Voice Stem beamed-extreme-minimum-free-lengths
- ,(map (lambda (x) (* 0.8 x)) '(1.83 1.5)))
-
+ (Voice Stem direction ,UP)
+ (Voice Stem font-size -3)
+ (Voice NoteHead font-size -3)
+ (Voice Dots font-size -3)
+ (Voice Stem length-fraction 0.8)
(Voice Stem no-stem-extend #t)
(Voice Beam thickness 0.384)
- (Voice Beam space-function ,(lambda (beam mult)
- (* 0.8 (Beam::space_function
- beam mult))))
+ (Voice Beam length-fraction 0.8)
(Voice Accidental font-size -4)
- (Voice Slur direction -1)
+ (Voice Slur direction ,DOWN)
)
keepAliveInterfaces = #'(rhythmic-grob-interface lyric-interface percent-repeat-interface)
instrumentTransposition = #(ly:make-pitch 0 0 0)
verticallySpacedContexts = #'(Staff)
-}
-EasyNotation = \context { %% TODO: why \context override?
- \Score
- \override NoteHead #'print-function = #Note_head::brew_ez_stencil
- \override NoteHead #'Y-extent-callback = #'()
- \override NoteHead #'X-extent-callback = #'()
+ timing = ##t
}
+
\context {
- \type "Engraver_group_engraver"
- \name FiguredBass
+ \type "Engraver_group"
+ \name "FiguredBass"
+
\consists "Figured_bass_engraver"
- \consists "Rest_swallow_translator"
\consists "Note_swallow_translator"
\consists "Skip_event_swallow_translator"
\consists "Separating_line_group_engraver"
-
\consists "Hara_kiri_engraver"
+
+ \override VerticalAxisGroup #'remove-empty = ##t
+ \override VerticalAxisGroup #'remove-first = ##t
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 2.5)
}
\context {
\name "Devnull"
- \type "Engraver_group_engraver"
+ \type "Engraver_group"
%% don't want to route anything out of here:
\alias "Staff"
\context {
\Voice
\name "TabVoice"
+ \alias "Voice"
\consists "Tab_note_heads_engraver"
\remove "Note_heads_engraver"
\remove "Fingering_engraver"
\remove "New_fingering_engraver"
\description "Context for drawing notes in a Tab staff. "
- \override Slur #'font-family = #'roman
- \override Slur #'print-function = #hammer-print-function
- \override Slur #'direction = #-1
%% Draws all stems/beams out of the staff (and not in the middle of the staff !)
%% This feature is now disabled because most of the tab does not use it.
%% increases beam thickness and spacing; beams are
%% too big. We have to adjust the beam settings:
\override Beam #'thickness = #0.32
- \override Beam #'space-function =
- #(lambda (beam mult) (* 0.62 (Beam::space_function beam mult)))
+ \override Beam #'length-fraction = #0.62
%% No accidental in tablature !
\remove Accidental_engraver
\description "Context for generating tablature. [DOCME]"
\accepts "TabVoice"
+ \defaultchild "TabVoice"
%% 6 strings
\override StaffSymbol #'staff-space = #1.5
\alias "Staff"
\denies "Voice"
\accepts "VaticanaVoice"
+ \defaultchild "VaticanaVoice"
+
\description "Same as @code{Staff} context, except that it is accommodated for tyepsetting Gregorian Chant in the notational style of Editio Vaticana."
\remove "Time_signature_engraver"
\override Accidental #'style = #'vaticana
\override Custos #'style = #'vaticana
\override Custos #'neutral-position = #3
- \override Custos #'neutral-direction = #-1
+ \override Custos #'neutral-direction = #DOWN
%% Score.timing = ##f
%% Score.barAlways = ##t
\alias "Staff"
\denies "Voice"
\accepts "GregorianTranscriptionVoice"
+ \defaultchild "GregorianTranscriptionVoice"
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
\consists "Mensural_ligature_engraver"
%% Set default head for notes outside of \[ \].
- \override NoteHead #'style = #'mensural
+ \override NoteHead #'style = #'petrucci
%% There are no beams in mensural notation.
autoBeaming = ##f
\name "MensuralStaff"
\alias "Staff"
\denies "Voice"
+ \defaultchild "MensuralVoice"
\accepts "MensuralVoice"
\description "Same as @code{Staff} context, except that it is accommodated for tyepsetting a piece in mensural style."
\override Accidental #'style = #'mensural
\override Custos #'style = #'mensural
\override Custos #'neutral-position = #3
- \override Custos #'neutral-direction = #-1
+ \override Custos #'neutral-direction = #DOWN
%% Score.timing = ##f
%% Score.barAlways = ##t
RemoveEmptyRhythmicStaffContext= \context {
\RhythmicStaff
\remove "Axis_group_engraver"
+ \override VerticalAxisGroup #'remove-empty = ##t
\consists "Hara_kiri_engraver"
}