New in version 2.4.
Abjad model of bar line:
abjad> staff = Staff("c'4 d'4 e'4 f'4")
abjad> bar_line = marktools.BarLine('|.')(staff[-1])
abjad> bar_line
BarLine('|.')(f'4)
abjad> f(staff)
\new Staff {
c'4
d'4
e'4
f'4
\bar "|."
}
Return bar line.
Read-only LilyPond input format of LilyPond command mark:
abjad> note = Note("c'4")
abjad> lilypond_command = marktools.LilyPondCommandMark('slurDotted')(note)
abjad> lilypond_command.format
'\slurDotted'
Return string.
Note
Inherited from marktools.LilyPondCommandMark
Read-only reference to mark start component:
abjad> note = Note("c'4")
abjad> mark = marktools.Mark()(note)
abjad> mark.start_component
Note("c'4")
Return component or none.
Note
Inherited from marktools.Mark
Get bar line string of bar line:
abjad> staff = Staff("c'4 d'4 e'4 f'4")
abjad> bar_line = marktools.BarLine()(staff[-1])
abjad> bar_line.bar_line_string
'|'
Set bar line string of bar line:
abjad> bar_line.bar_line_string = '|.'
abjad> bar_line.bar_line_string
'|.'
abjad> f(staff)
\new Staff {
c'4
d'4
e'4
f'4
\bar "|."
}
Set string.
Get command name of LilyPond command mark:
abjad> lilypond_command = marktools.LilyPondCommandMark('slurDotted')
abjad> lilypond_command.command_name
'slurDotted'
Set command name of LilyPond command mark:
abjad> lilypond_command.command_name = 'slurDashed'
abjad> lilypond_command.command_name
'slurDashed'
Set string.
Note
Inherited from marktools.LilyPondCommandMark
New in version 2.3.
Get format slot of LilyPond command mark:
abjad> note = Note("c'4")
abjad> lilypond_command = marktools.LilyPondCommandMark('break', 'after')
abjad> lilypond_command.format_slot
'after'
Set format slot of LiyPond command mark:
abjad> note = Note("c'4")
abjad> lilypond_command = marktools.LilyPondCommandMark('break', 'after')
abjad> lilypond_command.format_slot = 'before'
abjad> lilypond_command.format_slot
'before'
Set to 'before', 'after', 'opening', 'closing', 'right' or none.
Note
Inherited from marktools.LilyPondCommandMark
Attach mark to start_component:
abjad> note = Note("c'4")
abjad> mark = marktools.Mark()
abjad> mark.attach(note)
Mark()(c'4)
abjad> mark.start_component
Note("c'4")
Return mark.
Note
Inherited from marktools.Mark
Detach mark:
abjad> note = Note("c'4")
abjad> mark = marktools.Mark()(note)
abjad> mark.start_component
Note("c'4")
abjad> mark.detach()
Mark()
abjad> mark.start_component is None
True
Return mark.
Note
Inherited from marktools.Mark
Note
Inherited from marktools.Mark
Note
Inherited from marktools.Mark
Note
Inherited from marktools.LilyPondCommandMark
Abjad objects by default do not implement this method.
Raise exception.
Note
Inherited from abctools.AbjadObject
Abjad objects by default do not implement this method.
Raise exception
Note
Inherited from abctools.AbjadObject
Note
Inherited from __builtin__.object
Abjad objects by default do not implement this method.
Raise exception.
Note
Inherited from abctools.AbjadObject
Abjad objects by default do not implement this method.
Raise exception.
Note
Inherited from abctools.AbjadObject
Note
Inherited from marktools.Mark
Note
Inherited from marktools.Mark
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object
Note
Inherited from __builtin__.object