Creating music sheet with blank piano staves: Difference between revisions
Appearance
Import snippet from LSR |
m New category |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
To create a piano music sheet with blank staves, use a Piano template, generate empty measures then remove the <code>Bar_number_engraver</code> from the <code>Score</code> context, and the <code>Time_signature_engraver</code>, (optionally the <code>Clef_engraver</code>) and <code>Bar_engraver</code> from the <code>Staff</code> context. | To create a piano music sheet with blank staves, use a Piano template, generate empty measures then remove the <code>Bar_number_engraver</code> from the <code>Score</code> context, and the <code>Time_signature_engraver</code>, (optionally the <code>Clef_engraver</code>) and <code>Bar_engraver</code> from the <code>Staff</code> context. | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=663 | %% http://lsr.di.unimi.it/LSR/Item?id=663 | ||
| Line 39: | Line 39: | ||
[[Category:Paper and layout]] | [[Category:Paper and layout]] | ||
[[Category:Keyboards]] | [[Category:Keyboards]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:13, 21 November 2025
To create a piano music sheet with blank staves, use a Piano template, generate empty measures then remove the Bar_number_engraver from the Score context, and the Time_signature_engraver, (optionally the Clef_engraver) and Bar_engraver from the Staff context.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=663
\score {
\new PianoStaff <<
\new Staff {
\repeat unfold 8 { s1 \break } }
\new Staff { \clef bass \repeat unfold 8 { s1 \break } }
>>
\layout {
indent = 0\in
\context {
\Staff
\remove "Time_signature_engraver"
%\remove "Clef_engraver"
\remove "Bar_engraver"
}
\context {
\Score
\remove "Bar_number_engraver"
}
}
}
\paper {
ragged-last-bottom = ##f
line-width = 7.5\in
left-margin = 0.5\in
bottom-margin = 0.25\in
top-margin = 0.25\in
}