Menu

Printable

Nicolas Hainaux

All objects that can be represented as a string are Printable. This is basically the case of all calculus objects, like Equation, Table or Item etc.

Fields Methods (provided) Methods (must be reimplemented)
into_str()

into_str() computes the string representation of the object in a markup language (which one is provided in the configuration file).

For instance, if the markup language is LaTeX and the object is a Fraction having a plus sign, a numerator being a Product of Item 3 and Item 4 and a denominator being an Item 5, the result of into_str() should be something like \frac{3\times 4}{5}.

Back

Check Printable's complete doc


Related

Doc for dev: Core Objects

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.