On this page

DisplaySettings

symbolica.community.spenso Class

DisplaySettings(tensor_layout: str = 'ports', show_dimensions: bool = False, parentheses: bool = True, commas: Optional[bool] = None, symbol_scripts: bool = True, index_gap: str = '0.08em', factor_gap: str = '0.12em')

Presentation settings shared by Typst source, HTML, and SVG rendering.

Constructor

#

Parameters

NameTypeDefaultDescription
tensor_layoutstr'ports'—
show_dimensionsboolFalse—
parenthesesboolTrue—
commasOptional[bool]None—
symbol_scriptsboolTrue—
index_gapstr'0.08em'—
factor_gapstr'0.12em'—

Member details

tensor_layout

Property · read-only
#
tensor_layout: str

No description is available for this member.

show_dimensions

Property · read-only
#
show_dimensions: bool

No description is available for this member.

parentheses

Property · read-only
#
parentheses: bool

No description is available for this member.

commas

Property · read-only
#
commas: Optional[bool]

No description is available for this member.

symbol_scripts

Property · read-only
#
symbol_scripts: bool

No description is available for this member.

index_gap

Property · read-only
#
index_gap: str

No description is available for this member.

factor_gap

Property · read-only
#
factor_gap: str

No description is available for this member.

ports

Static method
#
ports() -> DisplaySettings

No description is available for this member.

schoonschip

Static method
#
schoonschip() -> DisplaySettings

No description is available for this member.

call

Static method
#
call() -> DisplaySettings

No description is available for this member.

__repr__

Method
#
__repr__() -> str

No description is available for this member.