jmn@power.berkeley.edu (J. Mark Noworolski) (03/09/91)
I've been trying to include figures in slitex, similarly to how I include them in latex. I use xfig to generate them, transfig -L epic to convert them to tex, and then with to include them in my slitex files. Unfortunately problems crop up. 1. Slitex does not appear to have a \begin{figure} environment like latex- is there some way I can add one? (I know almost nothing about tex macros and such). Maybe someone out there has done it already? 2. If I do: \begin{center} \input{fig/window} \end{center} to include my figure slitex has a tendency to try to barf on any text in the figure (I can keep pressing return and it will get through it alright- but the text will come out at some default font size it seems). Presumably this is related to problem 1. Any suggestions will be appreciated, I will summarize and post. mark -- "There's a really fine line between clever and stupid" Nigel- Lead Guitar (Spinal Tap) jmn@united.berkeley.edu, or jmn@power.berkeley.edu
spqr@ecs.soton.ac.uk (Sebastian Rahtz) (03/11/91)
In article <jmn.668461592@power.Berkeley.EDU> jmn@power.berkeley.edu (J. Mark Noworolski) writes:
1. Slitex does not appear to have a \begin{figure} environment like latex-
is there some way I can add one? (I know almost nothing about tex macros and
such). Maybe someone out there has done it already?
it would hardly make sense. how can you have `floating figures' on
slides?
\begin{center}
\input{fig/window}
\end{center}
how about just
\input{fig/window}
?
or do you mean that your file says \begin{figure} in it? in which
case
\newenvironment{figure}{}{}
sebastian
--
Sebastian Rahtz S.Rahtz@uk.ac.soton.ecs (JANET)
Computer Science S.Rahtz@ecs.soton.ac.uk (Bitnet)
Southampton S09 5NH, UK S.Rahtz@sot-ecs.uucp (uucp)