pub trait Latexify {
type Context;
// Required method
fn fmt<W: Write>(&self, c: &Self::Context, f: &mut W) -> Result;
// Provided method
fn to_latex(&self, config: &Self::Context) -> String { ... }
}
Expand description
A trait for LaTeX representation.