Wednesday, November 22, 2006

Save eps file for LaTeX using PhotoShop

1. save as eps... choose 'photoshop eps', option 'preview-None', 'Encoding-ASCII85', then you can just insert the pic regularly in LaTeX


\begin{figure}[htpb]

\centering

\includegraphics[width=0.4\textwidth]{bead_actual2.eps}

\caption{The target and the trajectory.} \label{fig:bead_actual}

\end{figure}


2. save as eps... choose 'photoshop eps', option 'preview-TIFF', 'Encoding-ASCII85', then you have to add 'bb=0 0 width height' to avoid the error message "cannot detect the size of the imate"


\begin{figure}[htpb]

\centering

\includegraphics[width=0.4\textwidth, bb=0 0 433 341]{bead_actual2.eps}

\caption{The target and the trajectory.} \label{fig:bead_actual}

\end{figure}

No comments:

Post a Comment