Sponsored links: Algebra eBooks
 

Related

texput

texput(%i, "j");

tex(I+theta);

Calculate

texput

texput(theta, "\\thet...

tex(I+theta);

Calculate

texput

texput(theta, "j");

tex(I+theta);

Calculate

texput

texput(theta, "\theta");

tex(I+theta);

Calculate

texput

texput(%i, "j");

tex(I+theta);

Calculate

texput

texput(theta, "\\thet...

tex(I+theta);

Calculate

texput

texput(theta, "j");

tex(I+theta);

Calculate

texput

texput(theta, "\theta");

tex(I+theta);

Calculate

texput

Run Example
(%i1)texput(theta, "\theta");
(%o1)                                theta
(%i2) tex(I+theta);
$$I+theta$$
(%o2)                                false
(%i3) 
Run Example
texput (me,"\\mu_e");
(%o1)                                \mu_e
(%i2)  tex (me);
$$\mu_e$$
(%o2)                                false
(%i3)  texput (lcm, "\\mathrm{lcm}");
(%o3)                            \mathrm{lcm}
(%i4)  tex (lcm (a, b));
$$\mathrm{lcm}\left(a , b\right)$$
(%o4)                                false
(%i5)  texfoo (e) := block ([a, b], [a, b] : args (e),            concat ("\\left[\\stackrel{", tex1 (b), "}{", tex1 (a), "}\\right]"));
(%o5) texfoo(e) := block([a, b], [a, b] : args(e), 
                concat("\left[\stackrel{", tex1(b), "}{", tex1(a), "}\right]"))
(%i6)  texput (foo, texfoo);
(%o6)                               texfoo
(%i7)  tex (foo (2^x, %pi));
$$\left[\stackrel{\pi}{2^{x}}\right]$$
(%o7)                                false
(%i8)  prefix ("grad");
(%o8)                                grad
(%i9)  texput ("grad", " \\nabla ", prefix);
(%o9)                               \nabla 
(%i10)  tex (grad f);
$$ \nabla f$$
(%o10)                               false
(%i11)  infix ("~");
(%o11)                                 ~
(%i12)  texput ("~", " \\times ", infix);
(%o12)                              \times 
(%i13)  tex (a ~ b);
$$a \times b$$
(%o13)                               false
(%i14)  postfix ("##");
(%o14)                                ##
(%i15)  texput ("##", "!!", postfix);
(%o15)                                !!
(%i16)  tex (x ##);
$$x!!$$
(%o16)                               false
(%i17)  nary ("@@");
(%o17)                                @@
(%i18)  texput ("@@", " \\circ ", nary);
(%o18)                               \circ 
(%i19)  tex (a @@ b @@ c @@ d);
$$a \circ b \circ c \circ d$$
(%o19)                               false
(%i20)  nofix ("foo");
(%o20)                                foo
(%i21)  texput ("foo", "\\mathsc{foo}", nofix);
(%o21)                           \mathsc{foo}
(%i22)  tex (foo);
$$\mathsc{foo}$$
(%o22)                               false
(%i23)  matchfix ("<
<
", ">
>
");
(%o23)                                <<
(%i24)  texput ("<
<
", [" \\langle ", " \\rangle "], matchfix);
(%o24)                      [ \langle ,  \rangle ]
(%i25)  tex (<
<
a>
>
);
$$ \langle a \rangle $$
(%o25)                               false
(%i26)  tex (<
<
a, b>
>
);
$$ \langle a , b \rangle $$
(%o26)                               false
(%i27)  texput ("<
<
", [" \\langle ", " \\rangle ", " \\, | \\,"],                matchfix);
(%o27)                 [ \langle ,  \rangle ,  \, | \,]
(%i28)  tex (<
<
a>
>
);
$$ \langle a \rangle $$
(%o28)                               false
(%i29)  tex (<
<
a, b>
>
);
$$ \langle a \, | \,b \rangle $$
(%o29)                               false
(%i30) 
Run Example
texput(theta, "j");
(%o1)                                  j
(%i2) tex(I+theta);
$$I+j$$
(%o2)                                false
(%i3) 

Related Help

Help for Texput