New in version 2.0.
Abjad model of LilyPond input file:
abjad> staff = Staff("c'8 d'8 e'8 f'8")
abjad> lilypond_file = lilypondfiletools.make_basic_lilypond_file(staff)
abjad> lilypond_file.file_initial_user_comments.append('File construct as an example.')
abjad> lilypond_file.file_initial_user_comments.append('Parts shown here for positioning.')
abjad> lilypond_file.file_initial_user_includes.append('external-settings-file-1.ly')
abjad> lilypond_file.file_initial_user_includes.append('external-settings-file-2.ly')
abjad> lilypond_file.default_paper_size = 'letter', 'portrait'
abjad> lilypond_file.global_staff_size = 16
abjad> lilypond_file.header_block.composer = markuptools.Markup('Josquin')
abjad> lilypond_file.header_block.title = markuptools.Markup('Missa sexti tonus')
abjad> lilypond_file.layout_block.indent = 0
abjad> lilypond_file.layout_block.left_margin = 15
abjad> lilypond_file.paper_block.oddFooterMarkup = markuptools.Markup('The odd-page footer')
abjad> lilypond_file.paper_block.evenFooterMarkup = markuptools.Markup('The even-page footer')
abjad> f(lilypond_file) # doctest: +SKIP
% Abjad revision 3719
% 2010-09-24 09:01
% File construct as an example.
% Parts shown here for positioning.
\version "2.13.32"
\include "english.ly"
\include "/Users/trevorbaca/Documents/abjad/trunk/abjad/cfg/abjad.scm"
\include "external-settings-file-1.ly"
\include "external-settings-file-2.ly"
#(set-default-paper-size "letter" 'portrait)
#(set-global-staff-size 16)
\header {
composer = \markup { Josquin }
title = \markup { Missa sexti tonus }
}
\layout {
indent = #0
left-margin = #15
}
\paper {
evenFooterMarkup = \markup { The even-page footer }
oddFooterMarkup = \markup { The odd-page footer }
}
\new Staff {
c'8
d'8
e'8
f'8
}
L.append(object) – append object to end
Note
Inherited from __builtin__.list
Note
Inherited from __builtin__.list
L.extend(iterable) – extend list by appending elements from the iterable
Note
Inherited from __builtin__.list
Raises ValueError if the value is not present.
Note
Inherited from __builtin__.list
L.insert(index, object) – insert object before index
Note
Inherited from __builtin__.list
Raises IndexError if list is empty or index is out of range.
Note
Inherited from __builtin__.list
L.remove(value) – remove first occurrence of value. Raises ValueError if the value is not present.
Note
Inherited from __builtin__.list
L.reverse() – reverse IN PLACE
Note
Inherited from __builtin__.list
L.sort(cmp=None, key=None, reverse=False) – stable sort IN PLACE; cmp(x, y) -> -1, 0, 1
Note
Inherited from __builtin__.list
x.__add__(y) <==> x+y
Note
Inherited from __builtin__.list
x.__contains__(y) <==> y in x
Note
Inherited from __builtin__.list
x.__delattr__(‘name’) <==> del x.name
Note
Inherited from __builtin__.object
x.__delitem__(y) <==> del x[y]
Note
Inherited from __builtin__.list
x.__delslice__(i, j) <==> del x[i:j]
Use of negative indices is not supported.
Note
Inherited from __builtin__.list
x.__eq__(y) <==> x==y
Note
Inherited from __builtin__.list
x.__ge__(y) <==> x>=y
Note
Inherited from __builtin__.list
x.__getitem__(y) <==> x[y]
Note
Inherited from __builtin__.list
x.__getslice__(i, j) <==> x[i:j]
Use of negative indices is not supported.
Note
Inherited from __builtin__.list
x.__gt__(y) <==> x>y
Note
Inherited from __builtin__.list
x.__iadd__(y) <==> x+=y
Note
Inherited from __builtin__.list
x.__imul__(y) <==> x*=y
Note
Inherited from __builtin__.list
Note
Inherited from __builtin__.list
x.__le__(y) <==> x<=y
Note
Inherited from __builtin__.list
Note
Inherited from __builtin__.list
x.__lt__(y) <==> x<y
Note
Inherited from __builtin__.list
x.__mul__(n) <==> x*n
Note
Inherited from __builtin__.list
x.__ne__(y) <==> x!=y
Note
Inherited from __builtin__.list
L.__reversed__() – return a reverse iterator over the list
Note
Inherited from __builtin__.list
x.__rmul__(n) <==> n*x
Note
Inherited from __builtin__.list
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object
x.__setitem__(i, y) <==> x[i]=y
Note
Inherited from __builtin__.list
x.__setslice__(i, j, y) <==> x[i:j]=y
Use of negative indices is not supported.
Note
Inherited from __builtin__.list
Note
Inherited from __builtin__.object