New in version 2.0.
Make basic LilyPond file with music:
abjad> score = Score([Staff("c'8 d'8 e'8 f'8")])
abjad> lilypond_file = lilypondfiletools.make_basic_lilypond_file(score)
abjad> lilypond_file.header_block.composer = markuptools.Markup('Josquin')
abjad> lilypond_file.layout_block.indent = 0
abjad> lilypond_file.paper_block.top_margin = 15
abjad> lilypond_file.paper_block.left_margin = 15
abjad> f(lilypond_file) # doctest: +SKIP
\header {
composer = \markup { Josquin }
}
\layout {
indent = #0
}
\paper {
left-margin = #15
top-margin = #15
}
\new Score <<
\new Staff {
c'8
d'8
e'8
f'8
}
>>
Equip LilyPond file with header, layout and paper blocks.
Return LilyPond file.