I want to include a simple vector graphic (SVG, 1 circle and a path with 20 nodes) in the text, so it appears like a character.
ifsym does this with metafont, however metafont generates only bitmapped fonts.
My current solution is to create a new font with FontForge, export it as OTF, include it with \newfontface\foo{foo.otf} and include it with {\foo\symbol{1}}.
This works (with XeLaTeX at least), however it is cumbersome and I need to distribute the font file every time I need to send someone the .tex-files.
How can I insert a simple vector graphic as a character into the text?
\includegraphics. – egreg Mar 31 '12 at 17:07pdflatex). With XeLaTeX I get 7186 bytes for 100 times and 10333 bytes for 500 times and – egreg Mar 31 '12 at 17:34pgfmanual(very very good) contains several examples of these inline graphics. – jmc Mar 31 '12 at 17:36