-\version "2.1.19"
+\version "2.1.23"
%
\type "Engraver_group_engraver"
\name Staff
- \description "Handles clefs, bar lines, keys, accidentals. It can contain
-@code{Voice} contexts."
-
\consists "Output_property_engraver"
% \consists "Repeat_engraver"
\consists "Volta_engraver"
\consists "Separating_line_group_engraver"
- SeparatingGroupSpanner \override #'spacing-procedure
- = #Separating_group_spanner::set_spacing_rods_and_seqs
\consists "Dot_column_engraver"
% perhaps move to Voice context?
instr = #'()
\accepts "Voice"
+ \description "Handles clefs, bar lines, keys, accidentals. It can contain
+@code{Voice} contexts."
+
}
\translator {
clefGlyph = #"clefs-percussion"
clefPosition = #0
- Script \set #'staff-padding = #0.75
+ \override Script #'staff-padding = #0.75
}
-\translator {
- \type Engraver_group_engraver
- \consists "Axis_group_engraver"
- minimumVerticalExtent = ##f
- extraVerticalExtent = ##f
- verticalExtent = ##f
- localKeySignature = #'()
-
- \accepts Staff
- \name StaffContainer
-}
-
\translator {
\type "Engraver_group_engraver"
\name InnerChoirStaff
\accepts "RhythmicStaff"
\accepts "GrandStaff"
\accepts "PianoStaff"
- \accepts "LyricsVoice"
+ \accepts "Lyrics"
\accepts "ChordNames"
}
\InnerChoirStaffContext
\name ChoirStaff
+ \accepts "InnerChoirStaff"
+ \accepts "InnerStaffGroup"
\description "Identical to @code{StaffGroup} except that the
contained staves are not connected vertically."
- \accepts "InnerChoirStaff"
- \accepts "InnerStaffGroup"
}
\consists "Output_property_engraver"
- \description "
- A context like @code{Staff} but for printing rhythms. Pitches are
- ignored; the notes are printed on one line.
-"
minimumVerticalExtent = ##f
extraVerticalExtent = ##f
verticalExtent = ##f
\name RhythmicStaff
\alias "Staff"
- BarLine \override #'bar-size = #4
- VoltaBracket \override #'minimum-space = #15
- VoltaBracket \override #'padding = #5
- StaffSymbol \override #'line-count = #1
+ \override BarLine #'bar-size = #4
+ \override VoltaBracket #'minimum-space = #15
+ \override VoltaBracket #'padding = #5
+ \override StaffSymbol #'line-count = #1
- Stem \override #'neutral-direction = #1
- Beam \override #'neutral-direction = #1
+ \override Stem #'neutral-direction = #1
+ \override Beam #'neutral-direction = #1
% \consists "Repeat_engraver"
\consists "Dot_column_engraver"
\consists "Volta_engraver"
\consists "Instrument_name_engraver"
\consistsend "Axis_group_engraver"
\accepts "Voice"
+ \description "
+ A context like @code{Staff} but for printing rhythms. Pitches are
+ ignored; the notes are printed on one line.
+"
}
the staves, so cross staff beaming and slurring can be used."
verticalAlignmentChildCallback = #Align_interface::fixed_distance_alignment_callback
- VerticalAlignment \override #'forced-distance = #12
- VerticalAlignment \override #'self-alignment-Y = #0
+ \override VerticalAlignment #'forced-distance = #12
+ \override VerticalAlignment #'self-alignment-Y = #0
\consists "Vertical_align_engraver"
\consists "Instrument_name_engraver"
\accepts "GrandStaff"
\accepts "PianoStaff"
\accepts "TabStaff"
- \accepts "LyricsVoice"
+ \accepts "Lyrics"
\accepts "ChordNames"
}
\description " Corresponds to a voice with lyrics. Handles the
printing of a single line of lyrics. "
- \name LyricsVoice
+ \name Lyrics
\consists "Separating_line_group_engraver"
\consists "Lyric_engraver"
\consists "Extender_engraver"
\consists "Stanza_number_engraver"
\consists "Vocal_name_engraver"
\consists "Skip_event_swallow_translator"
- SeparationItem \set #'padding = #0.5
+ \override SeparationItem #'padding = #0.2
}
\translator {
minimumVerticalExtent = #'(0 . 2.5)
extraVerticalExtent = ##f
- SeparatingGroupSpanner \override #'padding = #0.8
+ \override SeparatingGroupSpanner #'padding = #0.8
verticalExtent = ##f
}
\StaffContext
\remove "Axis_group_engraver"
\consistsend "Hara_kiri_engraver"
- Beam \override #'auto-knee-gap = #'()
+ \override Beam #'auto-knee-gap = #'()
}
AncientRemoveEmptyStaffContext = \translator {
\accepts "TabStaff"
\accepts "VaticanaStaff"
\accepts "GregorianTranscriptionStaff"
- \accepts "StaffContainer"
\accepts "StaffGroup"
\accepts "RhythmicStaff"
\accepts "DrumStaff"
- \accepts "LyricsVoice"
+ \accepts "Lyrics"
\accepts "ChordNames"
\accepts "GrandStaff"
\accepts "ChoirStaff"
explicitClefVisibility = #all-visible
explicitKeySignatureVisibility = #all-visible
- autoBeamSettings = #default-auto-beam-settings
+ autoBeamSettings = #(cons default-auto-beam-settings '())
autoBeaming = ##t
scriptDefinitions = #default-script-alist
%% One may change the strings tuning as following :
%% The lenght of the list must be equal to the number of string
- stringTunings = #guitar-tunings
+ stringTunings = #guitar-tunings
tablatureFormat = #fret-number-tablature-format
%%
EasyNotation = \translator {
\ScoreContext
- NoteHead \override #'molecule-callback = #Note_head::brew_ez_molecule
- NoteHead \override #'Y-extent-callback = #'()
- NoteHead \override #'X-extent-callback = #'()
+ \override NoteHead #'print-function = #Note_head::brew_ez_stencil
+ \override NoteHead #'Y-extent-callback = #'()
+ \override NoteHead #'X-extent-callback = #'()
}
\remove "New_fingering_engraver"
\description "Context for drawing notes in a Tab staff. "
- Slur \override #'font-family = #'roman
- Slur \override #'molecule-callback = #hammer-molecule-callback
- Slur \override #'direction = #-1
+ \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.
- %Beam \override #'damping = #100000
- %Stem \override #'up-to-staff = ##t
+ %\override Beam #'damping = #100000
+ %\override Stem #'up-to-staff = ##t
% No accidental in tablature !
\remove Accidental_engraver
\accepts "TabVoice"
% 6 strings
- StaffSymbol \override #'line-count = #6
- StaffSymbol \override #'staff-space = #1.5
+ \override StaffSymbol #'line-count = #6
+ \override StaffSymbol #'staff-space = #1.5
% Don't draw stems over the tablature figures !
- Stem \override #'avoid-note-head = ##t
+ \override Stem #'avoid-note-head = ##t
% No accidental in tablature !
\remove "Accidental_engraver"
\consists "Vaticana_ligature_engraver"
% Set default head for notes outside of \[ \].
- NoteHead \set #'style = #'vaticana_punctum
+ \override NoteHead #'style = #'vaticana_punctum
% Put some space before and after divisiones.
% FIXME: This does not seem to show any effect.
- Script \set #'padding = #0.5
+ \override Script #'padding = #0.5
% There are no beams in Gregorian Chant notation.
autobeaming = ##f
% Prepare TextSpanner for \episem{Initium|Finis} use.
- TextSpanner \set #'style = #'line
- TextSpanner \set #'edge-height = #'(0 . 0)
- TextSpanner \set #'padding = #0.5
- TextSpanner \set #'enclose-bounds = #1
- TextSpanner \set #'edge-text = #'("" . "")
+ \override TextSpanner #'style = #'line
+ \override TextSpanner #'edge-height = #'(0 . 0)
+ \override TextSpanner #'padding = #0.5
+ \override TextSpanner #'enclose-bounds = #1
+ \override TextSpanner #'edge-text = #'("" . "")
}
\translator {
% We can not remove Bar_engraver; otherwise clefs and custodes will
% not show up any more among other line breaking issues.
% Instead, we make the grob transparent.
- BarLine \set #'transparent = ##t
+ \override BarLine #'transparent = ##t
- StaffSymbol \set #'line-count = #4
- StaffSymbol \set #'thickness = #0.6
+ \override StaffSymbol #'line-count = #4
+ \override StaffSymbol #'thickness = #0.6
% FIXME: unit on StaffSymbol's width should be \linewidth.
- % StaffSymbol \set #'width = #60.0
+ % \override StaffSymbol #'width = #60.0
% Choose vaticana do clef on 3rd line as default.
clefGlyph = #"clefs-vaticana_do"
clefOctavation = #0
% Select vaticana style font.
- KeySignature \set #'style = #'vaticana
- Accidental \set #'style = #'vaticana
- Custos \set #'style = #'vaticana
- Custos \set #'neutral-position = #3
- Custos \set #'neutral-direction = #-1
- Custos \set #'adjust-if-on-staffline = ##t
+ \override KeySignature #'style = #'vaticana
+ \override Accidental #'style = #'vaticana
+ \override Custos #'style = #'vaticana
+ \override Custos #'neutral-position = #3
+ \override Custos #'neutral-direction = #-1
+ \override Custos #'adjust-if-on-staffline = ##t
% Score.timing = ##f
% Score.barAlways = ##t
% other ligature engraver would cause a "Junking event: `LigatureEvent'"
% warning for every "\[" and "\]". Therefore, we make the grob
% transparent instead.
- LigatureBracket \set #'transparent = ##t
+ \override LigatureBracket #'transparent = ##t
% Put some space before and after divisiones.
% FIXME: This does not seem to show any effect.
- Script \set #'padding = #0.5
+ \override Script #'padding = #0.5
% There are no beams in Gregorian Chant notation.
autobeaming = ##f
% Prepare TextSpanner for \episem{Initium|Finis} use.
- TextSpanner \set #'style = #'line
- TextSpanner \set #'edge-height = #'(0 . 0)
- TextSpanner \set #'padding = #0.5
- TextSpanner \set #'enclose-bounds = #1
- TextSpanner \set #'edge-text = #'("" . "")
+ \override TextSpanner #'style = #'line
+ \override TextSpanner #'edge-height = #'(0 . 0)
+ \override TextSpanner #'padding = #0.5
+ \override TextSpanner #'enclose-bounds = #1
+ \override TextSpanner #'edge-text = #'("" . "")
}
\translator {
\StaffContext
% We can not remove Bar_engraver; otherwise clefs and custodes will
% not show up any more among other line breaking issues.
% Instead, we make the grob transparent.
- BarLine \set #'transparent = ##t
+ \override BarLine #'transparent = ##t
}