> Is there a way to configure it to remove the equation number?
What you can do, is to let TeX expand \leqno(...) to nothing.
Put the following into the prologue of your .tex document.
\def\leqno#1){}
Of course, that runs into problems if you use \leqno in other places of
your document. If that is the case, then you would have to wrap each
$$ ... $$
that is produced by FriCAS into something like
\begingroup\def\leqno#1){}$$ ... $$\endgroup.
Or you can use my version of tex.spad.
https://github.com/hemmecke/fricas/blob/master-hemmecke/src/algebra/tex.spad
Look at the patches that introduced it in my git repository.
https://github.com/hemmecke/fricas/commits/master-hemmecke
Then with ")set output tex on" you would get something like
(2) -> s:=asin(sqrt(1-x^2))/sqrt(1-x^2);
Type:
Expression(Integer)
(3) -> ii:=integrate(s,x)
+--------+ 2
| 2
asin(\|- x + 1 )
(3) - ------------------
2
\begin{fricasmath}{3}
-{\frac{\SUPER{\PAREN{\arcsin{\sqrt{-{\SUPER{\SYMBOL{x}}{2}}+1}}}}{2}}{2}}%
\end{fricasmath}
Type:
Union(Expression(Integer),...)
Note that there is a file fricasmath.sty where all the TeX commands are
defined. And you can redefine them as you like.
https://github.com/hemmecke/fricas/blob/master-hemmecke/src/doc/fricasmath.sty
In particular you can redefine the fricasmath environment so that it
ignores its argument.
Ralf
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.