Initial Working Commit

This commit is contained in:
Eric Teunis de Boone 2018-12-27 11:08:42 +01:00
commit de38a589d5
10 changed files with 237 additions and 0 deletions

12
default.sly Normal file
View File

@ -0,0 +1,12 @@
%{
Default Stylesheet
(expected to be in lib/styles/ )
Includes some defs from lib/styles/defs
%}
\version "2.19.80"
#(ly:set-option 'relative-includes #t)
% Default tagline
\include "./defs/tagline.ily"

11
defs/cropped.ily Normal file
View File

@ -0,0 +1,11 @@
\paper {
tagline = ""
copyright = ""
indent = 0\mm
line-width = 110\mm
oddHeaderMarkup = ""
evenHeaderMarkup = ""
oddFooterMarkup = ""
evenFooterMarkup = ""
}

33
defs/header_book.ily Normal file
View File

@ -0,0 +1,33 @@
%{
Header formatting for tunes.
%}
\version "2.16.0"
\paper {
bookTitleMarkup = \markup {
\override #'(baseline-skip . 3.5)
\column {
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
\huge \larger \bold
\fill-line {
\larger \fromproperty #'header:title
}
\fill-line {
\large \smaller \bold
\larger \fromproperty #'header:subtitle
}
\fill-line {
\smaller \bold
\fromproperty #'header:source
}
\fill-line {
\line { \fromproperty #'header:meter }
\line { \fromproperty #'header:composer " " \italic \fromproperty #'header:arranger }
}
}
}
}
}

40
defs/header_book_tune.ily Normal file
View File

@ -0,0 +1,40 @@
%{0
Header formatting for tunes in a book
%}
\version "2.16.0"
\paper {
scoreTitleMarkup = \markup {
\override #'(baseline-skip . 3)
\column {
\fill-line {
\column {
\fromproperty #'header:meter
}
\column \center-align {
\huge \bold \fromproperty #'header:title
\large \bold \fromproperty #'header:subtitle
}
\column \right-align {
\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))
}
}
oddFooterMarkup = \markup {
\column {
\fill-line { \fromproperty #'header:copyright }
\fill-line { \fromproperty #'header:tagline }
}
}
}

39
defs/header_default.ily Normal file
View File

@ -0,0 +1,39 @@
%{0
Header formatting for tunes.
%}
\version "2.16.0"
\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))
}
}
oddFooterMarkup = \markup {
\column {
\fill-line { \fromproperty #'header:copyright }
\fill-line { \fromproperty #'header:tagline }
}
}
}

10
defs/no_book_header.ily Normal file
View File

@ -0,0 +1,10 @@
%{
No Book Titling
Header formatting for tunes.
%}
\version "2.16.0"
\paper {
bookTitleMarkup = \markup {}
}

19
defs/tagline.ily Normal file
View File

@ -0,0 +1,19 @@
%{0
Tagline. Customize to get your name in the tag line.
%}
\version "2.16.0"
today = #(strftime "%b %e, %Y" (localtime (current-time)))
\paper {
tagline = \markup {
\concat {
\with-url #"http://lilypond.org" #(format #f "Typeset with LilyPond ~a" (lilypond-version) )
", "
\with-url #"https://deboone.nl" " by ET de Boone"
", "
\concat { "(rev. " \today ")" }
}
}
}

21
defs/tagline_seaforth.ily Normal file
View File

@ -0,0 +1,21 @@
%{0
Tagline. Customize to get your name in the tag line.
%}
\version "2.16.0"
today = #(strftime "%b %e, %Y" (localtime (current-time)))
\paper {
tagline = \markup {
\concat {
\with-url #"http://lilypond.org" #(format #f "Typeset with LilyPond ~a" (lilypond-version) )
", "
\with-url #"https://deboone.nl" " by ET de Boone"
", "
\with-url #"https://seaforth.nl" "Seaforths of Holland"
", "
\concat { "(rev. " \today ")" }
}
}
}

34
pipeband.sly Normal file
View File

@ -0,0 +1,34 @@
%{
Pipeband Stylesheet
(expected to be in lib/styles/ )
Includes some defs from lib/styles/defs
%}
%% TODO: Change Me
\include "/home/ericteunis/projects/scoring/pipeband/music/defs.ily"
\version "2.19.80"
#(newline)
#(display "Fix BagpipeKey instance in repo")
#(display "**not** in stylesheet")
bagpipeKey = {
\key d \major
\accidentalStyle forget
}
#(ly:set-option 'relative-includes #t)
% Default Score Titling
\include "defs/header_default.ily"
% Seaforth Tagline
\include "defs/tagline_seaforth.ily"
\layout {
indent = 0.0
ragged-right = ##f
ragged-bottom = ##f
}

18
tinwhistle.sly Normal file
View File

@ -0,0 +1,18 @@
%{
Tinwhistle Stylesheet
(expected to be in lib/styles/ )
Includes lib/tinwhistle/tinwhistle.ily
And some defs from lib/styles/defs
%}
\version "2.19.80"
#(ly:set-option 'relative-includes #t)
% Tinwhistle.ily
\include "../tinwhistle/tinwhistle.ily"
% Various styling
\include "./defs/header_book.ily"
\include "./defs/tagline.ily"