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

39 lines
1.1 KiB
Text
Raw Normal View History

%{
Header formatting for bagpipe tunes. Customize to get your name in the tag line.
%}
2012-09-16 21:04:09 +02:00
\version "2.16.0"
% 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")
\paper {
raggedbottom = ##t
tagline = \markup {
\line {
2011-11-01 00:30:54 +01:00
"P/S Sven Axelsson, MPD,"
\with-url #"http://svenax.net/site/sheetmusic"
"http://svenax.net/site/sheetmusic"
\concat { "(rev. " \today ")" }
}
}
scoreTitleMarkup = \markup {
\override #'(baseline-skip . 3)
\column {
\fill-line {
\column {
\large \bold \fromproperty #'header:title
\bold \fromproperty #'header:subtitle
}
\fromproperty #'header:meter
\line { \fromproperty #'header:composer " " \italic \fromproperty #'header:arranger }
}
2012-09-16 21:04:09 +02:00
$(if (not (ly:get-option 'without-comment))
(markup #:justify-field 'header:comment)
(markup))
}
}
}