FLINT3.7.0-dev

fexpr_write_latex, fexpr_print_latex, fexpr_get_str_latex

Synopsis#include <flint/fexpr.h>
void fexpr_write_latex(calcium_stream_t out, const fexpr_t expr, ulong flags)source
void fexpr_print_latex(const fexpr_t expr, ulong flags)source
char * fexpr_get_str_latex(const fexpr_t expr, ulong flags)source

Writes a LaTeX rendering of expr to out, prints it to standard output, or returns it as a newly allocated string to be freed with flint_free. Builtin symbols are rendered with standard mathematical notation (see fexpr_builtin.h); other calls are rendered as function applications. String atoms are not escaped.

Guides#

Cite this page

The FLINT team, “fexpr_write_latex, fexpr_print_latex, fexpr_get_str_latex (fexpr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr/fexpr_write_latex.html (generated 2026-10-20).