0

I have some wide graphics as .pgf files. I include them in my .tex document as follows:

\begin{figure}[ht!]
    \centering
    \resizebox{\linewidth}{!}{\input{file.pgf}}
    \caption{the caption}
\end{figure}

Unfortunately, \resizebox{\linewidth}{!} also shrinks the text inside the graphic. How can I rescale the graphic but fix the font size?

2
  • 1
    You should probably do the scaling inside the .pgf file directly. Commented Mar 29, 2023 at 8:08
  • Fine. Maybe that's the right way to go. Thanks.
    – CLRW97
    Commented Mar 29, 2023 at 8:15

0

You must log in to answer this question.

Browse other questions tagged .