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
| Name | Type | Default | Description |
|---|---|---|---|
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' | — |
Member details
tensor_layout
Property · read-onlyshow_dimensions
Property · read-onlyparentheses
Property · read-onlycommas
Property · read-onlysymbol_scripts
Property · read-onlyindex_gap
Property · read-onlyfactor_gap
Property · read-onlyports
Static methodschoonschip
Static methodcall
Static method__repr__
MethodView generated signature source: docs/api/python/spynso3.pyi:114