Hey liebes Forum,
ich erstelle Diagramme mittels draw.io, importiere diese dann in Inkscape und gebe mir diese gesplittet als PDFs (für die "Grafiken") und tex-Dateien (für die Schriften/Texte) aus. Die tex-Dateien, die Inkscape generiert, enthalten \put-Befehle, um die einzelnen Texte zu platzieren, sozusagen als Overlay.
Sowas kann dann so aussehen (nur ein Auszug):
Code:
%% Creator: Inkscape 0.48.3.1, www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file '05ablauf.pdf' (pdf, eps, ps)
%%
%% To include the image in your LaTeX document, write
%% \input{.pdf_tex}
%% instead of
%% \includegraphics{.pdf}
%% To scale the image, write
%% \def\svgwidth{}
%% \input{.pdf_tex}
%% instead of
%% \includegraphics[width=]{.pdf}
\begingroup%
\makeatletter%
\providecommand\color[2][]{%
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
\renewcommand\color[2][]{}%
}%
\providecommand\transparent[1]{%
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
\renewcommand\transparent[1]{}%
}%
\providecommand\rotatebox[2]{#2}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{547.7bp}%
\ifx\svgscale\undefined%
\relax%
\else%
\setlength{\unitlength}{\unitlength * \real{\svgscale}}%
\fi%
\else%
\setlength{\unitlength}{\svgwidth}%
\fi%
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,1.61511777)%
\put(0,0){\includegraphics[width=\unitlength]{BLA.pdf}}%
\put(0.25579697,0.87675735){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{EIN TEXT HIER}}}%
\put(0.25579697,0.8563082){\color[rgb]{0,0,0}\makebox(0,0)[b]{\smash{eine formel hier: $g_{lim} > Gmin$}}}%
\end{picture}%
\endgroup%
Eingebunden via:
Code:
\begin{figure}[thb]
\centering
\hfill
\subfloat[htb][BLA]{\fcolorbox{plotBord}{plotPadd}{
\def\svgwidth{0.95\textwidth}
\input{BLA.pdf_tex}
}\label{fig:blaaaaaaa}}
\hfill\null\\
\caption{ASD}\label{fig:ASD}
\end{figure}
Ich würde gerne ALLE Schriftarten innerhalb der Figure verkleinern, auch die innerhalb der mathematischen Formeln. Gibt es hierfür einen Befehl? Habe schon folgendes versucht, leider hat es nicht geklappt:
Code:
\begingroup
\fontsize{10pt}{12pt}\selectfont
\begin{figure}[thb]
\centering
\hfill
\subfloat[htb][BLA]{\fcolorbox{plotBord}{plotPadd}{
\def\svgwidth{0.95\textwidth}
\input{BLA.pdf_tex}
}\label{fig:blaaaaaaa}}
\hfill\null\\
\caption{ASD}\label{fig:ASD}
\end{figure}
\endgroup
Ich möchte nicht jeden \put-Befehl modifizieren müssen (v.a. weil es nervig wird, wenn ich sptäer merke, dass ich doch eine andere Schriftgröße verwenden möchte...
Danke und LG
Lesezeichen