The common usage is \epsffile[0 0 295 295]{xxx.ps}.
[0 0 295 295] is viewport? You said something about bounding box, are
they related? Is Gdraws_setDimension in Gfun.c supposed to do this?
- Qian
On 2/5/24 07:22, Waldek Hebisch wrote:
Not a TeX expert my self, so how to define the equivalent thing
with includegraphics?
\def\epsfsize#1#2{.24\textheight}
\let\spadepsffilesave\epsffile
\def\epsffile[#1]#2{\begin{center}\spadepsffilesave[#1]{#2}\end{center}}
AFAICS the first line really sets a parameter of "epsf" package,
name suggest that this is image size. AFAIK includegraphics allows
specifying image size, with "good" eps file size can be read from
the image.
The second and third line redefine '\epsffile' command so that
images are centered. That looks dirty to me: I would normally
define a new command or use explicit '\begin{center}' and
'\end{center}'
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/c4d90759-6598-4e49-9511-5cb2d52476bb%40gmail.com.