Overview
Giac provides functions to export mathematical expressions and plots to various formats including LaTeX, MathML, SVG, Maple, and TI-89 formats.LaTeX Export
gen2tex
The expression to convert
LaTeX representation of the expression
graph2tex
Output filename
Vector of graphic objects to export
Minimum x coordinate
Maximum x coordinate
Minimum y coordinate
Maximum y coordinate
Horizontal scaling unit
Vertical scaling unit
Whether to include Giac logo
spread2tex
The matrix/spreadsheet data
Formula display mode
LaTeX table representation
LaTeX Global Variables
MathML Export
gen2mathml
The expression to convert
Optional SVG output for graphics
MathML representation of the expression
spread2mathml
The matrix/spreadsheet data
Formula display mode
MathML table representation
matrix2mathml
The matrix to convert
MathML matrix representation
SVG Export
gen2svg
The graphic object to export
Minimum x coordinate
Maximum x coordinate
Minimum y coordinate
Maximum y coordinate
Aspect ratio (y/x)
Whether to include SVG XML preamble
SVG representation
svg_preamble
Width in centimeters
Height in centimeters
Whether to include XML declaration
Background color
Whether to use orthonormal axes
svg_grid
Minimum x coordinate
Maximum x coordinate
Minimum y coordinate
Maximum y coordinate
Grid color
SVG grid markup
Maple Format
The maple.h header provides compatibility functions for Maple-style operations.Time Measurement
CPU time in seconds
Wall-clock time in seconds
TI-89 Format
The ti89.h header provides TI-89 calculator compatibility functions for importing and exporting expressions.ti2gen
Pointer to TI-89 binary data
Giac expression
exact
Expression with floating-point values
Expression with exact values (fractions, radicals, etc.)
Utility Functions
translate_underscore
Input string
String with escaped characters
greek2tex
Greek letter name (e.g., “alpha”)
Output LaTeX command (e.g., “\alpha”)
Whether output is for math mode
Status code
arc_en_ciel
Color index (reduced modulo 126)
Red component (0-255)
Green component (0-255)
Blue component (0-255)
See Also
- Plotting Functions - Generate plots for export
- Expression Manipulation - Work with symbolic expressions
