2023-07-22 22:07:57 +02:00
|
|
|
\language "deutsch"
|
|
|
|
|
2023-11-22 17:31:33 +01:00
|
|
|
\include "default_style.ly"
|
2023-10-31 13:31:50 +01:00
|
|
|
\include "default_songinfo_style.ly"
|
2023-11-01 09:48:52 +01:00
|
|
|
\include "footer_with_songinfo.ly"
|
2023-07-22 22:07:57 +02:00
|
|
|
|
2023-07-24 08:39:30 +02:00
|
|
|
\include #(if (defined? 'customStyleOverridesFile) customStyleOverridesFile "void.ly")
|
|
|
|
|
2023-07-22 22:07:57 +02:00
|
|
|
#(set-default-paper-size songFormatAndSize)
|
|
|
|
#(set-global-staff-size globalSize)
|
|
|
|
|
|
|
|
\paper {
|
2023-08-08 19:21:51 +02:00
|
|
|
property-defaults.fonts.serif = \songChordFont
|
|
|
|
property-defaults.fonts.sans = \songLyricFont
|
2023-07-22 22:07:57 +02:00
|
|
|
%annotate-spacing = ##t
|
|
|
|
% spacing stuff
|
|
|
|
two-sided = ##t
|
|
|
|
inner-margin = 1.5\cm
|
|
|
|
outer-margin = \songMargin
|
|
|
|
binding-offset = 0\cm
|
|
|
|
top-margin = \songMargin
|
|
|
|
bottom-margin = \songMargin
|
|
|
|
system-system-spacing = #'((basic-distance . 10) (padding . 1.5))
|
|
|
|
markup-system-spacing = #'((basic-distance . 1))
|
|
|
|
score-markup-spacing = #'((padding . 2))
|
|
|
|
top-markup-spacing = #'((basic-distance . 0) (minimum-distance . 0) (padding . 0))
|
|
|
|
}
|
|
|
|
|
|
|
|
generalLayout = \layout {
|
|
|
|
indent = #0
|
|
|
|
\context {
|
|
|
|
\Lyrics
|
|
|
|
\override LyricText.font-size = #lyricSize
|
|
|
|
\override StanzaNumber.font-size = #lyricSize
|
|
|
|
\override StanzaNumber.font-family = #'sans
|
|
|
|
\override LyricText.font-family = #'sans
|
|
|
|
\override LyricExtender.minimum-length = 0
|
|
|
|
}
|
|
|
|
\context {
|
|
|
|
\Staff
|
|
|
|
\accidentalStyle modern
|
2024-06-02 19:46:28 +02:00
|
|
|
\consists Merge_rests_engraver
|
2023-07-22 22:07:57 +02:00
|
|
|
}
|
|
|
|
\context {
|
|
|
|
\Score
|
|
|
|
\remove "Bar_number_engraver"
|
|
|
|
\RemoveEmptyStaves
|
|
|
|
\override VerticalAxisGroup.remove-first = ##t
|
|
|
|
\overrideTimeSignatureSettings
|
|
|
|
4/4 % timeSignatureFraction
|
|
|
|
1/4 % baseMomentFraction
|
|
|
|
#'(1 1 1 1) % beatStructure
|
|
|
|
#'() % beamExceptions
|
|
|
|
\overrideTimeSignatureSettings
|
|
|
|
3/4 % timeSignatureFraction
|
|
|
|
1/4 % baseMomentFraction
|
|
|
|
#'(1 1 1 1) % beatStructure
|
|
|
|
#'() % beamExceptions
|
|
|
|
}
|
|
|
|
\context {
|
|
|
|
\Voice
|
|
|
|
% ich will lines breaken wie ich will!
|
|
|
|
\remove "Forbid_line_break_engraver"
|
2024-06-30 15:27:53 +02:00
|
|
|
\override NoteHead.layer = 2
|
|
|
|
\override Dots.layer = 2
|
|
|
|
\override Stem.layer = 2
|
|
|
|
\override Flag.layer = 2
|
|
|
|
\override Beam.layer = 2
|
2023-07-22 22:07:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%%% kleine Helferlein:
|
|
|
|
|
|
|
|
textp = \lyricmode { \markup { \raise #1 \musicglyph #"rests.3" } }
|
|
|
|
|
|
|
|
% zweite Stimme alles grau
|
|
|
|
secondVoiceStyle = {
|
|
|
|
\override NoteHead.color = #grey
|
2024-06-29 16:56:53 +02:00
|
|
|
\override Dots.color = #grey
|
2023-07-22 22:07:57 +02:00
|
|
|
\override Stem.color = #grey
|
|
|
|
\override Flag.color = #grey
|
|
|
|
\override Beam.color = #grey
|
2024-06-30 15:27:53 +02:00
|
|
|
\override NoteHead.layer = 1
|
|
|
|
\override Dots.layer = 1
|
|
|
|
\override Stem.layer = 1
|
|
|
|
\override Flag.layer = 1
|
|
|
|
\override Beam.layer = 1
|
2023-07-22 22:07:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
firstVoiceStyle = {
|
|
|
|
\override NoteHead.color = #black
|
2024-06-29 16:56:53 +02:00
|
|
|
\override Dots.color = #black
|
2023-07-22 22:07:57 +02:00
|
|
|
\override Stem.color = #black
|
|
|
|
\override Flag.color = #black
|
|
|
|
\override Beam.color = #black
|
|
|
|
}
|
|
|
|
|
2024-06-30 15:27:53 +02:00
|
|
|
% Deprecated: einzelne Noten innerhalb von \secondVoiceStyle mit schwarzem statt grauem Kopf
|
2023-07-22 22:07:57 +02:00
|
|
|
schwarzkopf =
|
|
|
|
#(define-music-function (parser location noten) (ly:music?)
|
2024-06-30 15:27:53 +02:00
|
|
|
(begin (ly:warning "\\schwarzkopf brauchts nicht mehr, das kann ersatzlos weg!") noten))
|
2023-07-22 22:07:57 +02:00
|
|
|
|
2024-06-29 19:18:05 +02:00
|
|
|
romanStanza =
|
|
|
|
#(define-music-function (parser location) ()
|
|
|
|
#{ \override StanzaNumber.style = #'roman #})
|
|
|
|
|
2024-11-20 17:14:04 +01:00
|
|
|
override-stanza =
|
|
|
|
#(define-music-function (parser location stanzanumber) (number?)
|
|
|
|
#{
|
|
|
|
\once \override StanzaNumber.forced-spacing = #stanzanumber % misuse property "forced-spacing" to override the stanzanumber
|
|
|
|
#}
|
|
|
|
)
|
|
|
|
|
2023-11-22 16:48:44 +01:00
|
|
|
stanza =
|
2024-06-29 19:18:05 +02:00
|
|
|
#(define-music-function (parser location stanzanumber) (number?)
|
2024-06-30 10:28:21 +02:00
|
|
|
#{
|
|
|
|
\once \override StanzaNumber.layer = 23 % set this to signal that there is a real stanza and no repeat signs
|
|
|
|
\applyContext
|
|
|
|
#(lambda (context)
|
2024-11-20 17:14:04 +01:00
|
|
|
(let* ((stanzanumber (ly:assoc-get 'forced-spacing (ly:context-grob-definition context 'StanzaNumber) stanzanumber))
|
|
|
|
(stanzastyle (ly:assoc-get 'style (ly:context-grob-definition context 'StanzaNumber)))
|
2024-06-30 10:28:21 +02:00
|
|
|
(formattedStanzaNumber (format #f (if (eq? stanzastyle 'roman) romanStanzaFormat stanzaFormat) stanzanumber)))
|
|
|
|
(ly:context-set-property! context 'stanza formattedStanzaNumber)))
|
|
|
|
#}
|
|
|
|
)
|
2023-11-22 16:48:44 +01:00
|
|
|
|
2024-06-30 10:28:21 +02:00
|
|
|
ref = {
|
|
|
|
\once \override StanzaNumber.layer = 23 % set this to signal that there is a real stanza and no repeat signs
|
|
|
|
\set stanza = \refString
|
|
|
|
}
|
|
|
|
|
|
|
|
% prints a repStart Sign as stanza if the tag 'repeats is kept.
|
|
|
|
% if there was a stanza already set by the stanza function with StanzaNumber.layer = 23 we set that also as stanza.
|
|
|
|
repStartWithTag = \lyricmode {
|
|
|
|
\tag #'repeats {
|
|
|
|
\applyContext
|
|
|
|
#(lambda (context)
|
|
|
|
(let ((lastStanza (ly:context-property context 'stanza))
|
|
|
|
(printLastStanza (= (ly:assoc-get 'layer (ly:context-grob-definition context 'StanzaNumber) 0) 23))
|
|
|
|
(stanzaFontSeries (ly:assoc-get 'font-series (ly:context-grob-definition context 'StanzaNumber) 'normal)))
|
|
|
|
(ly:context-set-property! context 'stanza
|
|
|
|
(make-concat-markup
|
|
|
|
(if printLastStanza
|
|
|
|
(list (make-override-markup `(font-series . ,stanzaFontSeries) lastStanza) (make-hspace-markup 1) repStart)
|
|
|
|
(list repStart)
|
|
|
|
)))))
|
|
|
|
\once \override StanzaNumber.font-series = #'normal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repStopWithTag = \lyricmode {
|
|
|
|
\tag #'repeats {
|
|
|
|
\once \override StanzaNumber.font-series = #'normal
|
|
|
|
\once \override StanzaNumber.direction = 1
|
|
|
|
\set stanza = \markup { \repStop }
|
|
|
|
}
|
2024-10-23 22:21:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
rightHyphen = \lyricmode {
|
|
|
|
\once \override StanzaNumber.font-series = #'normal
|
|
|
|
\once \override StanzaNumber.direction = 1
|
|
|
|
\set stanza = "-"
|
|
|
|
}
|
|
|
|
|
|
|
|
leftHyphen = \lyricmode {
|
|
|
|
\once \override StanzaNumber.font-series = #'normal
|
|
|
|
\set stanza = "-"
|
2024-11-03 17:29:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
multiVerseSkips =
|
|
|
|
#(define-music-function (parser location skips) (number?)
|
|
|
|
#{ \tag #'multiVerse { \repeat unfold #skips { \skip4 } } #})
|
|
|
|
|
|
|
|
alt =
|
|
|
|
#(define-music-function (parser location a b) (ly:music? ly:music?)
|
2024-12-04 20:37:44 +01:00
|
|
|
#{ \tag #'firstVerse { #a } \tag #'multiVerse { #b } #})
|
|
|
|
|
|
|
|
updown =
|
|
|
|
#(define-music-function (parser location word) (string?)
|
|
|
|
#{
|
|
|
|
\lyricmode {
|
|
|
|
\tag #'up { \markup { #(string-capitalize word) } }
|
|
|
|
\tag #'down { \markup { #(string-downcase word) } }
|
|
|
|
}
|
|
|
|
#})
|