new¶
-
abjad.top.new.
new
(argument, **keywords)¶ Makes new
argument
with optionalkeywords
.Makes markup with new direction:
>>> markup = abjad.Markup('Andante assai', direction=abjad.Up).italic() >>> staff = abjad.Staff("c'4 d' e' f'") >>> abjad.attach(markup, staff[0]) >>> abjad.show(staff)
>>> markup = abjad.new(markup, direction=abjad.Down) >>> staff = abjad.Staff("c'4 d' e' f'") >>> abjad.attach(markup, staff[0]) >>> abjad.show(staff)
Returns new object with type equal to that of
argument
.