Annotate Inkscape figures with LaTeX labels
- Inkscape:
- annotate math symbols in Inkscape, e. g.
$\frac{a}{b}$
- Save (copy) as: <filename>.pdf
- Text output options: Omit text in PDF and create LaTeX file
- uncheck "Rasterize filter effects"
- Output page size: Use exported object's size
- LaTeX
- include Inkscape generated <filename>.pdf_tex file:
\documentclass[]{minimal}
\usepackage{graphicx}
\usepackage{color}
\begin{document}
\input{filename.pdf_tex}
\end{document}
- fine tune <filename>.pdf_tex, e. g. sequence of layers (Inkscape exports layers to individual pdf-pages)
\put(0,0){\includegraphics[width=\unitlength,page=1]{filename.pdf}}%
\put(0,0){\includegraphics[width=\unitlength,page=2]{filename.pdf}}%