Let's suppose a drawing that uses a simple decoration (for illustration, let's say a simple spring):
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc,patterns,decorations.pathmorphing,decorations.markings}
\begin{document}
\begin{tikzpicture}[scale=2] %scale in question
\draw[decorate,decoration={zigzag,pre length=0.3cm,post length=0.3cm,segment length=6}]
(0,0) -- (2,0);
\end{tikzpicture}
\end{document}
The output without scale:
And with scale:
So yes, the line is scaled, but the decoration is not. Is there an option to scale a decoration?
The spring decoration is a minimal example, more interesting would be fancier decorations like tangent (from here):
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}[
tangent/.style={
decoration={
markings,% switch on markings
mark=
at position #1
with
{
\coordinate (tangent point-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (0pt,0pt);
\coordinate (tangent unit vector-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (1,0pt);
\coordinate (tangent orthogonal unit vector-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (0pt,1);
}
},
postaction=decorate
},
use tangent/.style={
shift=(tangent point-#1),
x=(tangent unit vector-#1),
y=(tangent orthogonal unit vector-#1)
},
use tangent/.default=1
]
\draw [tangent=0.7] (0,0) to [out=90,in=100] (2,0);
\draw [blue, thick, use tangent, ->] (0,0) -- (-1,0);
\end{tikzpicture}
\end{document}
creates the following output:
Adding scale=2:
Is there an option to avoid that?





tikzpicturein a\scalebox{2}{...}. But I don't know if that suffices for your general need. – Steven B. Segletes Sep 18 '17 at 17:13