%%%% This file is part of LilyPond, the GNU music typesetter.
%%%%
-%%%% Copyright (C) 1996--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+%%%% Copyright (C) 1996--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
%%%% Jan Nieuwenhuizen <janneke@gnu.org>
%%%%
%%%% LilyPond is free software: you can redistribute it and/or modify
%%%% You should have received a copy of the GNU General Public License
%%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
-\version "2.13.10"
+\version "2.13.27"
\context {
\name "Global"
localKeySignature = #'()
createSpacing = ##t
- ignoreFiguredBassRest = ##t
+ ignoreFiguredBassRest = ##f
%% explicitly set instrument, so we don't get
%% weird effects when doing instrument names for
\consists "Instrument_name_engraver"
\consists "Vertical_align_engraver"
+ \consists "Keep_alive_together_engraver"
topLevelAlignment = ##f
\override StaffGrouper #'between-staff-spacing #'stretchability = #5
\override VerticalAxisGroup #'remove-empty = ##t
\override VerticalAxisGroup #'staff-affinity = #UP
\override VerticalAxisGroup #'inter-staff-spacing = #'((space . 5.5) (stretchability . 1) (padding . 0.5))
- \override VerticalAxisGroup #'inter-loose-line-spacing = #'((space . 0) (stretchability . 0) (padding . 0.2))
+ \override VerticalAxisGroup #'inter-loose-line-spacing = #'((space . 0)
+ (stretchability . 0)
+ (padding . 0.2)
+ (minimum-distance . 2.8))
\override VerticalAxisGroup #'non-affinity-spacing #'padding = #1.0
- \override SeparationItem #'padding = #0.2
\override InstrumentName #'self-alignment-Y = ##f
%% sync with define-grobs.scm ;
}
-RemoveEmptyStaffContext = \context {
- \Staff
+RemoveEmptyStaves = \with {
\remove "Axis_group_engraver"
+ \remove "Hara_kiri_engraver"
\consists "Hara_kiri_engraver"
\override Beam #'auto-knee-gap = #'()
\override VerticalAxisGroup #'remove-empty = ##t
}
-AncientRemoveEmptyStaffContext = \context {
-%% why not add by default?
-
- \RemoveEmptyStaffContext
- \accepts "VaticanaVoice"
- \accepts "GregorianTranscriptionVoice"
- \accepts "MensuralVoice"
-}
\context {
\type "Score_engraver"
@code{\layout} block) is processed."
\consists "Paper_column_engraver"
- \consists "Vertically_spaced_contexts_engraver"
\consists "Repeat_acknowledge_engraver"
\consists "Staff_collecting_engraver"
noteToFretFunction = #determine-frets
+ predefinedDiagramTable = ##f
soloText = #"Solo"
soloIIText = #"Solo II"
aDueText = #"a2"
repeatCountVisibility = #all-repeat-counts-visible
- beamSettings = #default-beam-settings
+ timeSignatureSettings = #default-time-signature-settings
+ timeSignatureFraction = #'(4 . 4)
+
+%% These defaults should be the same as the rules established in
+%% scm/time-signature-settings.scm for 4/4 time
+ measureLength = #(ly:make-moment 4 4)
+ baseMoment = #(ly:make-moment 1 4)
+ beatStructure = #'(1 1 1 1)
+ beamExceptions = #'((end . (((1 . 8) . (4 4))
+ ((1 . 12) . (3 3 3 3)))))
autoBeaming = ##t
autoBeamCheck = #default-auto-beam-check
+
scriptDefinitions = #default-script-alist
pedalSustainStrings = #'("Ped." "*Ped." "*")
%% chord names:
chordNameFunction = #ignatzek-chord-names
majorSevenSymbol = #whiteTriangleMarkup
+ chordNameLowercaseMinor = ##f
chordNameSeparator = #(make-simple-markup "/")
chordNameExceptions = #ignatzekExceptions
chordNoteNamer = #'()
stringOneTopmost = ##t
highStringOne = ##t
-%% One may change the strings tuning as following :
-%% The lenght of the list must be equal to the number of string
+%% One may change the string tunings as follows :
+%% The length of the list must be equal to the number of strings
stringTunings = #guitar-tuning
tablatureFormat = #fret-number-tablature-format
+ tabStaffLineLayoutFunction = #tablature-position-on-lines
%%
figuredBassFormatter = #format-bass-figure
tuplet-span-event)
instrumentTransposition = #(ly:make-pitch 0 0 0)
- verticallySpacedContexts = #'(Staff)
topLevelAlignment = ##t
timing = ##t
\remove "Stem_engraver"
\remove "Ligature_bracket_engraver"
\consists "Vaticana_ligature_engraver"
+ \remove "Text_spanner_engraver"
+ \consists "Episema_engraver"
%% Set default head for notes outside of \[ \].
\override NoteHead #'style = #'vaticana.punctum
%% There are no beams in Gregorian Chant notation.
autoBeaming = ##f
-
- %% Prepare TextSpanner for \episem{Initium|Finis} use.
- %%
- %% FIXME: The line @code{\override TextSpanner #'padding = #-0.1} is
- %% required to force the articulation signs being placed vertically
- %% tightly to the correpsonding note heads.
- %%
- \override TextSpanner #'style = #'line
- \override TextSpanner #'padding = #-0.1
}
\context {
\Voice
\name "GregorianTranscriptionVoice"
\alias "Voice"
+ \consists "Episema_engraver"
%% Removing ligature bracket engraver without replacing it by some
%% other ligature engraver would cause a "Junking event: `LigatureEvent'"
%% There are no beams in Gregorian Chant notation.
autoBeaming = ##f
- %% Prepare TextSpanner for \episem{Initium|Finis} use.
- %%
- %% N.B.: dash-fraction MUST be unset; otherwise, TextSpanner will
- %% always produce dashed lines, regardless of the style property.
- %%
- %% FIXME: The line @code{\override TextSpanner #'padding = #-0.1} is
- %% required to force the articulation signs being placed vertically
- %% tightly to the correpsonding note heads.
- %%
- \override TextSpanner #'dash-fraction = #'()
- \override TextSpanner #'style = #'line
- \override TextSpanner #'padding = #-0.1
}
\context {
printKeyCancellation = ##f
}
+
+%% Keep the old definitions in here for compatibility (they erase previous
+%% settings to the corresponding context!).
+%% For new scores, one should simply insert the \RemoveEmptyStaves settings
+%% into the desired context. That's just as easy, requires only one line more
+%% (the \*Staff), but preserves previous context mods.
+%% TODO: DEPRECATED_2.13.17, remove at some point in the future
+RemoveEmptyStaffContext = \context {
+ \Staff
+ \RemoveEmptyStaves
+}
+
+AncientRemoveEmptyStaffContext = \context {
+ \VaticanaStaff
+ \RemoveEmptyStaves
+}
+
RemoveEmptyDrumStaffContext = \context {
\DrumStaff
- \remove "Axis_group_engraver"
- \override VerticalAxisGroup #'remove-empty = ##t
- \consists "Hara_kiri_engraver"
+ \RemoveEmptyStaves
}
RemoveEmptyRhythmicStaffContext = \context {
\RhythmicStaff
- \remove "Axis_group_engraver"
- \override VerticalAxisGroup #'remove-empty = ##t
- \consists "Hara_kiri_engraver"
+ \RemoveEmptyStaves
}
RemoveEmptyTabStaffContext = \context {
\TabStaff
- \remove "Axis_group_engraver"
- \override VerticalAxisGroup #'remove-empty = ##t
- \consists "Hara_kiri_engraver"
+ \RemoveEmptyStaves
}