Scientific Word/WorkplaceFigure doesn't appear

Information and discussion about Scientific Word and Scientific Workplace, two commercial WYSIWYG-like editors for Windows
Post Reply
rockybalboa
Posts: 15
Joined: Wed Mar 04, 2009 12:33 am

Figure doesn't appear

Post by rockybalboa »

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}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Figure doesn't appear

Post by kaiserkarl13 »

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.
hanchiro
Posts: 5
Joined: Fri Feb 12, 2010 3:07 am

Re: Figure doesn't appear

Post by hanchiro »

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.
Post Reply