I was trying to "update" and change some properties from the "Blank Staff Page" piece of code that appears here:
https://snipplr.com/view/579/blank-staff-paper-with-lilypond
Which is this:
\version "2.9.13"
\header {
tagline = "http://george.sudarkoff.com/music"
}
\paper {
#(set-paper-size "letter")
top-margin = 0.7\cm
}
emptymusic = {
\repeat unfold 10 % Change this for more lines.
{ s1\break }
}
\layout {
indent = 0.0\cm
pagenumber = no
}
\new Score \with {
\override TimeSignature #'transparent = ##t
\override Clef #'transparent = ##t
defaultBarType = #""
\remove Bar_number_engraver
\remove Clef_engraver
} <<
\context Staff \emptymusic
>>
Since it's made in a really early version and the coding style feels a little odd (for me) I was trying to put it in a more understandable way, but I can't seem to understand some things in the documentation.
This is what I've come up with so far, but it doesn't compile since it has errors:
\version "2.23.2"
\header {
tagline = ##f
% tagline = "http://george.sudarkoff.com/music"
}
\paper {
#(set-paper-size "letter")
top-margin = 0.7\cm
}
emptymusic = {
\repeat unfold 33 % Change this for more lines.
{ s1\break }
}
\layout {
indent = 0.0\cm
pagenumber = no
}
score {
\relative {
\omit Score.BarLine
\emptymusic
}
\layout {
\context {
\Score
% defaultBarType = #""
\omit BarNumber
#(layout_set_staff_size 20)
}
\context {
\Staff
\override TimeSignature #'transparent = ##t
\override Clef #'transparent = ##t
\remove Clef_engraver
}
}
}
Can someone please guide me to what things I should hide and how to write them?