
Para incluir uma pequena subfigura na minha figura principal, tentei usar o escopo em escala. Porém, quando tento me referir a um nó fora do escopo escalado, o nó apontado está na posição do antigo nó não escalado... Aqui está uma imagem:
Você sabe como evitar isso?
Obrigado !
PS: Aqui está meu WME.
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{float}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,arrows}
\usetikzlibrary{mindmap,backgrounds,positioning}
\usetikzlibrary{automata,positioning,fit,backgrounds}
\usetikzlibrary{positioning,arrows,matrix,calc}
\begin{document}
\begin{figure}[H]
\centering
\begin{tikzpicture}
\begin{scope}[transform canvas={scale=1},overlay]
\node[fill=green] (a) {A};
\node[fill=green,right=of a] (b) {B};
\end{scope}
\node[draw,below=5mm of b] (c) {C};
\draw[<->] (c) -- (b);
\end{tikzpicture}%
\hspace{3cm}%
\begin{tikzpicture}
\begin{scope}[transform canvas={scale=0.2},overlay]
\node[fill=green] (a) {A};
\node[fill=green,right=of a] (b) {B};
\end{scope}
\node[draw,below=5mm of b] (c) {C};
\draw[<->] (c) -- (b);
\end{tikzpicture}%
\end{figure}
\end{document}
Responder1
Talvez você queira isso?
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{tikz}
\usetikzlibrary{positioning,babel}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\node[fill=green] (a) {A};
\node[fill=green,right=of a] (b) {B};
\node[draw,below=5mm of b] (c) {C};
\draw[<->] (c) -- (b);
\end{tikzpicture}
\hspace{3cm}
\begin{tikzpicture}
\begin{scope}[scale=0.2, every node/.append style={transform shape}]
\node [fill=green] (a) {A};
\node [fill=green,right=of a] (b) {B};
\end{scope}
\node [draw,below=5mm of b] (c) {C};
\draw [<->] (c) -- (b);
\end{tikzpicture}
\end{figure}
\end{document}