Dear stackoverflow community,
I am in the midst of writing my thesis and I want my figures to have the same font as my text in Latex. I have a lot of figures, so I would like the process to be automatic. for that purpose, I have found the neat *.pgf format that Latex can handle with
\usepackage{pgfplots}
and
\begin{figure}
\input{./example.pgf}
\end{figure}
With *.pgf files the font is automatically adjusted, which is exactly what I want. It works great with the figures that I created with matplotlib.pyplot.
My issue: I have now created figures in CorelDraw such as this one. I also want these figures as *.pgf so Latex automatically knows what is text and converts it to the same font as the rest of the document.
My question: Do you have an idea how to create *pgf files? Or is there another way of editing the font in my figures?
My attempt to solve it: I have tried exporting the file in CorelDraw to *.eps and using eps2pgf converting it to *.pgf. Sadly eps2pgf does not show compability with the *.eps file created by CorelDraw (error report). I thought I might be able to export it to Inkscape and exporting as an *.eps file there, but the conversion doesn't work either.
PS: CorelDraw can export to all of these file formats.
pgfplotsis here sort of an overkill. It should of course do the job, since it is based on TikZ/pgf, but a slightly more minimal package to load would betikz. – Nov 06 '18 at 14:41