FUNCTION: Tex - produce TeX output
CALLING SEQUENCE:
- Tex(expr)
- Tex(expr, args)
- TEX[Tex](expr)
- TEX[Tex](expr, args)
-
PARAMETERS:
- expr = any expression
- args = (optional) sequence of expressions like <var>=<val>
SYNOPSIS:
- The Tex function produces ouput suitable for TeX printing for the
expression expr.
- When called with other parameters, it provides a way to control the
output. Options have the Maple type `=`, so that the left operand is a
known variable (see TEX[variables]) and the right operand is a value,
compatible with this variable.
- Whenever there is a conflict between the function name Tex and another
name used in the same session, use the long form TEX['Tex'].
EXAMPLES:
> with(TEX):
> Tex(-b+abc+'cos'(4*Pi/3));
-b+{abc}+\\cos (4/3\\pi )
> Tex(Int(x,y),'TEX_MODE'='DISPLAY');
$$\\int \\! {x}{dy}$$
SEE ALSO: Texer