formattools.wrapper

abjad.tools.formattools.wrapper(container)

Read-only string representation of all parts of container format except container contents.

abjad> container = Container(construct.scale(12))
abjad> container.notehead.color = 'red'
abjad> container.notehead.style = 'harmonic'
abjad> container.comments.before.append('Container comments')
abjad> print container.formatter.wrapper
{
        \override NoteHead #'style = #'harmonic
        \override NoteHead #'color = #red

        %%% 12 components omitted %%%

        \revert NoteHead #'style
        \revert NoteHead #'color
}

Previous topic

durtools.within_seconds

Next topic

fuse.containers_by_reference

This Page