1
0
Fork 0
mirror of https://github.com/kastdeur/bagpipe.ly.git synced 2024-11-01 01:53:32 +01:00
bagpipe.ly/formatbook.ly

48 lines
1.2 KiB
Text
Raw Normal View History

2009-02-15 13:55:36 +01:00
%{
Header formatting for bagpipe tunes. Customize to get your name in the tag line.
%}
\version "2.12.0"
2009-02-15 13:55:36 +01:00
% Bring in the time/date package. Set format to month day, year
#(use-modules (srfi srfi-19))
today = #(date->string (current-date) "~B ~e, ~Y")
2009-02-15 13:55:36 +01:00
\paper {
raggedbottom = ##t
tagline = \markup {
\line {
2009-04-12 11:56:46 +02:00
"Rev. " \today
2009-02-15 13:55:36 +01:00
#(ly:export (ly:wide-char->utf-8 #x2014)) % Em-dash
"P/S Sven Axelsson, MPD"
}
}
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
2009-04-12 11:56:46 +02:00
\fromproperty #'header:source
2009-02-15 13:55:36 +01:00
}
\fill-line {
\line { \fromproperty #'header:meter }
\line { \fromproperty #'header:composer " " \italic \fromproperty #'header:arranger }
}
}
}
}
2009-04-12 11:56:46 +02:00
2009-02-15 13:55:36 +01:00
}