I'm trying to import a graphic created in LibreOffice Draw in a LaTeX document.
So far I've tried the Way:
- Export Document to SVG file.
- Open with Inkscape and Export using eps+latex
- Including resulting xxx.eps_tex in latex
Although the SVG seems to be just fine (also in Inkscape), the exported positions of the text are bad:
\begin{picture}(1,0.73115748)%
\put(0,0){\includegraphics[width=\unitlength]{ModeDispersion.eps}}%
\put(-0.05241193,0.78432034){\makebox(0,0)[lb]{\smash{Cladding (air)}}}%
\put(-0.05241193,0.78432034){\makebox(0,0)[lb]{\smash{Substrate}}}%
\put(-0.05241193,0.78432034){\makebox(0,0)[lb]{\smash{In}}}%
\put(-0.05472789,0.25830639){\makebox(0,0)[lb]{\smash{Out}}}%
\put(-0.05472789,0.25830639){\makebox(0,0)[lb]{\smash{Single-mode}}}%
\end{picture}%
and so on. Same for pdf+latex.
Original LibreOffice (version 4.0.1.2) file and exported SVG: ODG SVG
I can't attach the files created by Inkscape (version 0.48.3.1), as stackoverflow told me that I would need at least ten reputations to do so...
Does anyone know how to solve this problem?
edit: Shown in inkscpae:
(source: x-linux.de)
Processed using latex:
(source: x-linux.de)