torchcell.paper.tables.Cell

class Cell(*, md: str, tex: str)[source]

Bases: BaseModel

A table cell that renders differently in markdown vs LaTeX.

Use when a value needs markup that differs between the two targets – e.g. scientific notation, where markdown wants unicode superscripts (1.3×10⁵) and LaTeX wants math mode ($1.3\times10^{5}$). tex is emitted RAW (not escaped); plain str cells are tex-escaped as usual.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].