Hi, this is my first time in the forum and first time using latex...
I am using Scientific Word in Windows Vista and I would like to insert a figure using latex commands.
The figure does not show up...Below is my code.
THanks a lot
Javier
\begin{document}
\usepackage{graphicx}
\usepackage{float}
\begin{document}
Text
\begin{figure}[ht]
\centering
\includegraphics[scale=0.5]{image}
\caption{caption text}
\label{fig:image}
\end{figure}
\end{document}
Scientific Word/Workplace ⇒ Figure doesn't appear
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: Figure doesn't appear
Welcome! When you say the figure doesn't show up, do you mean in the DVI, the PDF, the Postscript, ... ? Also, do you get any error messages (if so, what are they)? Does the image you're trying to include look correct when printed and/or viewed on the screen?
Sometimes Postscript graphics (.ps, .eps) don't appear correctly when viewing the DVI, but they look fine in the PDF or Postscript output. TeX (and thus DVI) itself doesn't handle Postscript all that well, but dvips and the like will fix that.
Sometimes Postscript graphics (.ps, .eps) don't appear correctly when viewing the DVI, but they look fine in the PDF or Postscript output. TeX (and thus DVI) itself doesn't handle Postscript all that well, but dvips and the like will fix that.
Re: Figure doesn't appear
SW handles graphics in a unique way. The \includegraphics{} command wouldn't be handled by the SW gui. Also \includegraphics{filename} without the .eps extension wouldn't compile. To include graphics in SW, use the File -> Import Picture menu. The generated LaTeX code is long and complicated (you wouldn't want to understand it), and if you have it compiled by your usual latex, you will see no graphics in your output (dvi, ps or pdf). So my recommendation: (i) Don't use \includegraphics in SW; use the menu instead. (ii) If you include graphics by the SW menu, don't process by usual latex; use SW.