Skip to content

Commit 01875ed

Browse files
committed
add Piano.ly template
1 parent 6f50781 commit 01875ed

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

extension/templates/2.12/Piano.ly

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
\include "lilypond-book-preamble.ly"
2+
#(set-global-staff-size %{OOoLilyPondStaffSize%} 20 %{OOoLilyPondEnd%})
3+
#(define version-seen #t) % don't remove, because
4+
% the version warning has a slightly different format than normal error messages.
5+
% This (still) would crash OLy's message handling...
6+
7+
\paper {
8+
#(define dump-extents #t)
9+
line-width = %{OOoLilyPondLineWidth%}17\cm%{OOoLilyPondEnd%}
10+
}
11+
12+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13+
14+
%{OOoLilyPondCode%}
15+
{
16+
\new PianoStaff {
17+
<<
18+
\new Staff {c'4 d' e' f' g'2 g'}
19+
\new Staff {\clef bass c2 c4 d e2 e}
20+
>>
21+
}
22+
}
23+
24+
% -------------------------------------------------------
25+
26+
\paper {
27+
short-indent = 0\cm
28+
indent = 0\cm
29+
ragged-right = ##t
30+
}
31+
32+
\layout {
33+
\context {
34+
\Score
35+
\remove "Bar_number_engraver"
36+
}
37+
}
38+
%{OOoLilyPondEnd%}

0 commit comments

Comments
 (0)