scores-tinwhistle/book/book.sly
Eric Teunis de Boone 2371843552 Further tweaking on lytex book
Tunebook.cls added
2018-02-14 14:25:21 +01:00

72 lines
1.7 KiB
Text

%{
Lilypond Stylesheet for my tinwhistle tunebook
%}
\version "2.19.80"
% Default Titling per score
%\include "/home/ericteunis/projects/scoring/lib/styles/defs/header_default.ily"
%{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 }
}
}
}
% Remove all book titling
%\include "/home/ericteunis/projects/scoring/lib/styles/defs/no_book_header.ily"
\paper {
bookTitleMarkup = {}
}
% Get My own tagline
\include "/home/ericteunis/projects/scoring/lib/styles/defs/tagline.ily"
\layout {
indent = 0.0
ragged-right = ##f
ragged-bottom = ##f
\context {
\Staff
% Messes with indentation
\remove "Instrument_name_engraver"
% Cool to see, whether it can be played
\consists "Ambitus_engraver"
}
}