10.1.12.1. Buffer

class Musica.Tex.Buffer.BasicCommandMixin[source]

Bases: object

centerline(content)[source]
define(name, value, unit='')[source]
font_size(font_size, base_line_skip=None)[source]
static format(pattern, *args, **kwargs)[source]
new_command(name, number_of_parameters, code)[source]
set_main_font(name)[source]
static to_tex(x)[source]
class Musica.Tex.Buffer.Buffer[source]

Bases: object

__iter__()[source]
_append(data, deepcopy=False)[source]
append(data, deepcopy=False, newline=True)[source]
clear()[source]
to_string(context)[source]
LINE_BREAK = '\\\\'
class Musica.Tex.Buffer.ContentCommandMixin[source]

Bases: object

empty_page_style()[source]
new_page()[source]
page_style(style)[source]
class Musica.Tex.Buffer.PreambuleBuffer[source]

Bases: Musica.Tex.Buffer.Buffer, Musica.Tex.Buffer.BasicCommandMixin

class Musica.Tex.Buffer.TexContent[source]

Bases: Musica.Tex.Buffer.BasicCommandMixin, Musica.Tex.Buffer.ContentCommandMixin

append(data, deepcopy=False, newline=True)[source]
append_preambule(data, deepcopy=False, newline=True)[source]
collect_packages()[source]
collect_preambule()[source]
to_string(context)[source]
content
packages
preambule