class
Crst::LaTeXRenderer
- Crst::LaTeXRenderer
- Crst::BaseRenderer
- Reference
- Object
Overview
Renders the AST as LaTeX
This class traverses the document tree and converts each node to its corresponding LaTeX representation.
Defined in:
crst/latex_renderer.crInstance Method Summary
-
#render(node : Node) : String
Render a node to LaTeX string
Instance methods inherited from class Crst::BaseRenderer
render(node : Node) : String
render,
render_to_builder(node : Node, builder : String::Builder)
render_to_builder
Constructor methods inherited from class Crst::BaseRenderer
new(config : Config = Config.new)
new
Instance Method Detail
Render a node to LaTeX string
node - The node to render Returns the LaTeX representation of the node