Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bugmario

Pages: [1]
1
WinFIG and LaTeX / Display Latex string in Winfig and Latex
« on: July 24, 2012, 04:24:31 PM »
Hi everyone,

I've encountered a problem of creating a figure with latex string in Latex environment. Also, something weird happened when I use Winfig to display latex string.

In Winfig

I have a saved figure that have some latex strings. Every time when I open the saved figure in Winfig, I have to click "Flush LaTex images" in the preference before  the text display properly. It didn't happen (as far as I can remember) when I was trying the trial version. Is the problem caused by my window setting?

In Latex
After making sure the Latex strings display properly, I exported the figure via the option of PsTex, two files generated as stated in FAQ. By following the steps in FAQ, the figure perfectly displays on the .dvi file, only on the first time. If I run Latex again on the same tex file, even without making any changes. All the Latex strings disappeared from the figure (the drawing remains) and the scale of the figure changes.


Also, as I want to scale the figure in the following environment

                \begin{figure}
                 \centerline{
                 \mbox{\includegraphics[width=5in]{fig.pstex_t}}}
                 \caption{caption}
                 \label{fig:fig}
              \end{figure}

Latex requires a bounding box. Can this be created in Winfig? Or this needs to be done outside Winfig?

As I am new to Winfig and Latex, is there anything I have missed causing the problem? Your help on my problems is really appreciated. 

Pages: [1]