diff --git a/cmpd.sly b/cmpd.sly new file mode 100644 index 0000000..279b704 --- /dev/null +++ b/cmpd.sly @@ -0,0 +1,53 @@ +%{ + Pipeband Stylesheet + for the Canadian Memorial Pipes and Drums of Holland + (expected to be in lib/styles/ ) + + Includes some defs from lib/styles/defs +%} + +\version "2.19.80" + +#(ly:set-option 'relative-includes #t) + +\include "./pipeband.sly" + + +bandname = "Canadian Memorial Pipes and Drums" +bandnameFull = "Canadian Memorial Pipes and Drums of Holland" +bandnameTagline = \bandnameFull +bandnameShort = "CMPD" +bandWebsite = "https://canadianmemorialpipesanddrums.nl" + +% Reload the tagline +\include "./defs/tagline_band.ily" + +% Reset the TitleMarkup + +\paper { + scoreTitleMarkup = \markup { + \override #'(baseline-skip . 3) + \column { + \fill-line { + \column { + \large \bold \fromproperty #'header:title + \bold \fromproperty #'header:subtitle + } + \fromproperty #'header:meter + \column \right-align { + \fromproperty #'header:instrument + \line { + \fromproperty #'header:composer + $(if (and (ly:get-option 'header:composer) (ly:get-option 'header:arranger)) + (markup " ")) + $(if (ly:get-option 'header:arranger) + (markup " Arr.")) + \italic \fromproperty #'header:arranger } + } + } + $(if (not (ly:get-option 'without-comment)) + (markup #:justify-field 'header:comment) + (markup)) + } + } +} diff --git a/defs/header_default.ily b/defs/header_default.ily index 4407b1d..4637044 100644 --- a/defs/header_default.ily +++ b/defs/header_default.ily @@ -12,6 +12,7 @@ \column { \large \bold \fromproperty #'header:title \bold \fromproperty #'header:subtitle + \small \bold \fromproperty #'header:band } \fromproperty #'header:meter \column \right-align { diff --git a/defs/tagline_seaforth.ily b/defs/tagline_band.ily similarity index 91% rename from defs/tagline_seaforth.ily rename to defs/tagline_band.ily index 049707a..483f992 100644 --- a/defs/tagline_seaforth.ily +++ b/defs/tagline_band.ily @@ -1,4 +1,4 @@ -%{0 +%{ Tagline. Customize to get your name in the tag line. %} @@ -22,7 +22,7 @@ today = #(strftime "%Y-%m-%d" (localtime (current-time))) ", " \with-url #"https://deboone.nl" "by ET de Boone" ", " - \with-url #"https://seaforth.nl" "Seaforths of Holland" + \with-url #bandWebsite \bandnameFull ", " \concat { "(rev. " \today ", #" \commit ")" } } diff --git a/pipeband.sly b/pipeband.sly index 0071b8e..0e47228 100644 --- a/pipeband.sly +++ b/pipeband.sly @@ -26,8 +26,15 @@ bagpipeKey = { % Default Score Titling \include "defs/header_default.ily" + +bandname = "Seaforth Highlanders of Holland" +bandnameFull = "Seaforth Highlanders of Holland Memorial Pipes and Drums" +bandnameTagline = "Seaforths of Holland" +bandnameShort = "Seaf" +bandWebsite = "https://seaforth.nl" + % Seaforth Tagline -\include "defs/tagline_seaforth.ily" +\include "defs/tagline_band.ily" \layout { indent = 0.0