Graphics, Figures & TablesLetters became larger when eps file is included as Latex doc

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
hajime
Posts: 10
Joined: Sat Aug 15, 2009 1:03 am

Letters became larger when eps file is included as Latex doc

Post by hajime »

Hello. I used Adobe Illustrator 10 (Windows version) to create a flowchart. All the letters are within the boxes (flowchart symbols). When I double clicked the file under Mac OS, it was opened as a pdf file under Preview. The flowchart looked fine. However, when I included the eps file as a Latex figure, some of the letters are out of the boxes in the resulting Latex document. Anybody knows what is going on and how to fix it? I use Time Roman and Symbol as fonts for the flowchart. Thanks.

Recommended reading 2024:

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

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

benti
Posts: 42
Joined: Fri Mar 06, 2009 4:51 pm

Re: Letters became larger when eps file is included as Latex doc

Post by benti »

If I understand you correctly, the problem can be related to either Illustrator or Latex. Have you looked at the .eps without including it in a Latex document? And have you set Illustrator to embed the font you use?
hajime
Posts: 10
Joined: Sat Aug 15, 2009 1:03 am

Letters became larger when eps file is included as Latex doc

Post by hajime »

benti wrote:If I understand you correctly, the problem can be related to either Illustrator or Latex. Have you looked at the .eps without including it in a Latex document? And have you set Illustrator to embed the font you use?
Yes. I looked at the .eps file without including it in a Latex document. I opened it under MacOS and it looked fine. So, I thought it must be a problem with Latex. However, after I read your reply, I chose "embed font" and saved the .eps file again under Illustrator. Then, the figure looks good even in a Latex document. Thank you very much.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Letters became larger when eps file is included as Latex doc

Post by localghost »

With the psfrag(x) package you can replace certain strings by LaTeX expressions. Depending on the complexity of your charts, you may try graphics package like pgf/tikZ or pstricks to create them directly inside the code.


Best regards
Thorsten
Post Reply