Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am doing a thesis on graph theory, and I am currently drawing graphs with Illustrator. Vertexes and edges are easy to draw, but how about naming them? How do I get the symbols in image look like symbols in the text?

share|improve this question
    
AFAIK there once (years ago) was a special plugin for Illustrator for this. –  Martin Schröder Jan 9 '13 at 16:06
add comment

4 Answers

Use a font with Illustrator which is also available as Type 1 for TeX, eg. Lucida, DejaVu, Libertine, ... If you can use XeTeX or LuaTeX then you can use for both the same OpenType version.

share|improve this answer
    
Which one is of Illustrator's fonts is looks most like TeX mathematical font? Can an occasional reader be fooled? –  Ohto Nordberg Jan 10 '13 at 10:03
1  
you can copy the OpenType fonts of Latin Modern Math from $TEXMF/fonts/opentype/public/lm-math/ to your system font folder. OR you can use STIX mathfont with Illustrator and XITS Math with LuaTeX/XeTeX –  Herbert Jan 10 '13 at 10:08
    
Lucida Calligraphy Italic seems close enough, thanks. If/when I find a better solution, I will post it here. –  Ohto Nordberg Jan 10 '13 at 12:28
add comment
up vote 1 down vote accepted

The fault seems to be at the Illustrators (CS4) end. I do have the fonts embedded but Illustrator is not able to use them:

Fonts are embedded, enter image description here

but Illustrator cannot use them.

Illustrator cannot use them

I did find an alternative way of doing this, although it is not fully satisfactory either:

  1. Create new document in Illustrator
  2. Drag the pdf in.
  3. Select from menu Object - Flatten transparency
  4. Select "Convert All Text to Outlines".
  5. Now you can copy the symbols you need.
share|improve this answer
add comment

I use Illustrator a lot and certainly understand your dilemma. As pltuon states, you can get LaTeX fonts into Illustrator but you will not get the capability of LaTeX kerning and other typographic features automatically. It is also possible to write the text in LaTeX and import the pdf into Illustrator and cut and paste the text/equations from the pdf to the Illustrator file, given that fonts are scalable and available to both as stated by Herbert. Nevertheless, I would like you to consider using tikz-pgf as an option. If I understand the types of graphs you try to draw they would be well suited for tikz-type drawings.

share|improve this answer
    
I am looking at importing of fonts atm, but not fully successfull yet. Do you happen to have a tested method of doing this? –  Ohto Nordberg Jan 28 '13 at 15:41
    
@OhtoNordberg May be you could look at LaTeXIt or something similar, which let you create formulas and export them to little pdfs, and if you want to edit them, just drop it again in LaTeXIt and you could edit it. –  Manuel Jan 30 '13 at 11:33
    
@Manuel How do I get fonts or symbols used in LaTeXit into Illustrator? And finally to the finished PDF including the images, which have same symbols as the equations? –  Ohto Nordberg Jan 30 '13 at 11:50
1  
@OhtoNordberg Here it is the official page. There it explains how it works. I don't know if this is what you want but may be a workflow could be that way. You type the equations in LaTeXiT, it gives you an small pdf (may be containing only one letter), you put manually that pdf in Illustrator. I meant use LaTeXiT to avoid the problem of using the fonts in Illustrator. –  Manuel Jan 30 '13 at 12:01
    
@Manuel Yes I see your point now. Is that essentially someway different from taking screenshots of say DVI containing the symbol and copying that to Illustrator? –  Ohto Nordberg Jan 30 '13 at 12:06
show 1 more comment

One way would be to use the overpic package.

Another solution would be to make the Latex fonts you are using in your documents available to Illustrator. Things go fast so I may be wrong here but in the past, I had success putting the .pfb kpfonts (a Latex font) files into C:\Program Files\Common Files\Adobe\Fonts. They were then available in Illustrator. One drawback is that all the mathematical signs will be understood if you open a file containing them (.eps file for instance) into Illustrator but you will not be able to have access to them in Illustrator directly from your keyboard (more exactly, I do not know how to achieve that).

share|improve this answer
    
nowadays we have some fonts which are avilable in OpenType and Type~1 –  Herbert Jan 9 '13 at 14:46
    
I cannot add fonts to these computers, they are owned by my university and I have no admin rights. –  Ohto Nordberg Jan 10 '13 at 10:10
    
@OhtoNordberg you can always ask the sysadmin for this. Since the fonts are licensed free, and available online, it should not be a problem. –  tohecz Jan 10 '13 at 10:13
    
I copied all the fonts from MikTek fonts folder to the folder you mention, which is pretty brutal. It worked, though. Which files exactly should I copy? I cannot find any kp.pfb files. –  Ohto Nordberg Jan 14 '13 at 9:50
    
I put all the .tfm, .afm, and .pbf kpfonts (their name start with jkp....afm for instance) in the previously mentioned folder. Then they are accessible within Illustrator. Now, that I am reconsidering your question, the .afm files may be the ones used by Illustrator. –  pluton Jan 14 '13 at 14:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.