AKModel.environment module

Environment definitions Needed for tex compilation

AKModel.environment.latex_escape_utf8(value)[source]

Escape latex special chars and remove invalid utf-8 values

Parameters:

value (str) – string to escape

Returns:

escaped string

Return type:

str

AKModel.environment.improved_tex_environment(**options)[source]

Encapsulate our improved latex environment for usage