How can I resize a pgf image, but keep the text in the image the same size?
I can't use \resizebox because this also resizes the text.
I understand that I can use the following in my pgf file:
Code: Select all
\begin{tikzpicture}[scale=2]
Thank you!
Code: Select all
\begin{tikzpicture}[scale=2]
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\newcommand{\cmsperinch}{2.54}
\begin{tikzpicture}[scale=\cmsperinch*4/3]
\path[use as bounding box, draw] (2,2) rectangle (5,7);
\draw (3,3) -- (4.5,6);
\end{tikzpicture}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis