-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheaders.py
33 lines (28 loc) · 1.08 KB
/
headers.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
lilypondheader = """%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LILYPOND HEADERS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\\version "2.18.2"
\header {{
\ttitle = \markup {font} \\fontsize #+3 {{ {title}{keytitle} }}
\tsubtitle = \markup {font} \\fontsize #+2 {{ Name:_______________________ }}
\ttagline = \markup {font} \\fontsize #+1 {{ {tag} }}
\t}}
\paper {{
\t{raggedright}
\t{raggedbottom}
\t{raggedlastbottom}
\t#(set-paper-size "{papersize}"{orientation})
\t}}
#(set-global-staff-size {scaling})
indent = 0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BAKED IN LILYPOND FUNCTIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
notimesig = {{ \omit Staff.TimeSignature }}
nobarline = {{ \override Staff.BarLine #'transparent = ##t }}
nobarlinenumbers = {{ \override Score.BarNumber #'transparent = ##t }}
noclef = {{ \override Staff.Clef #'transparent = ##t }}
nokeycancel = {{ \set Staff.printKeyCancellation = ##f }}
noclefresize = {{ \override Staff.Clef #'full-size-change = ##t }}
\markup \\null
"""