torchcell.paper.tables.Cell
- class Cell(*, md: str, tex: str)[source]
Bases:
BaseModelA 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}$).texis emitted RAW (not escaped); plainstrcells are tex-escaped as usual.- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].