¿Cómo editar esta figura para que se dibuje en solo una columna de papel de 2 columnas?

¿Cómo editar esta figura para que se dibuje en solo una columna de papel de 2 columnas?

El siguiente código hace que la figura de salida tenga el ancho de página completo. Necesito tener la misma figura de salida con el ancho de la columna (ancho de 3,9 pulgadas).

Intenté usar este comando para la figura producida por el siguiente código, \includegraphics[width=0.45\textwidth]{figures/selection.pdf} pero la imagen era relativamente pequeña y el tamaño del texto no era legible como en la siguiente imagen. ¿Cómo utilizar el paquete tkiz para dibujar el mismo protocolo pero dentro del ancho de columna de un documento de 2 columnas con texto legible en su interior? ingrese la descripción de la imagen aquí

\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{positioning,calc,arrows.meta}
\begin{document}
\begin{tikzpicture}[%
block/.style={rectangle, draw, fill=blue!10, text width=5em, text centered,
rounded corners},line/.style={draw, -latex},arrow/.style={draw, -latex}]

  \node[block,text width=3.cm, align=center,font=\bfseries](man) at (0,0){Device A};
  \node[block,text width=3cm,right=5cm of man, align=center,font=\bfseries](smart) {Device B};
  \node[block,text width=3cm,right=5cm of smart,align=center,font=\bfseries](recv) {Device C};

  \path[line, line width=0.5mm] (man.south) -- ($(man)+(0,-8)$);
  \path[line, line width=0.5mm] (smart.south) -- ($(smart)+(0,-8)$);
  \path[line, line width=0.5mm] (recv.south) -- ($(recv)+(0,-8)$);

  \path [arrow, text width=4.5cm, align=left] ($(man)+(0,-0.5)$) -- ++(0.5cm,0cm) |- node[near start, right] { 
  \begin{tabular}{ll}
   Computes & $G^R_0= M^R_0$ \\  Computes & $G^R_n = l^R_n$\\ Picks & $I^R_0  = t^R_0$
   \end{tabular}} ($(man)+(0,-1.7)$);
  \draw[-{Latex[length=3mm, width=2mm]}] ($(man)+(0,-3)$) to node [above, black]{$T(R)=X^R_0, X^R_0, Y^R_d $} ($(smart)+(0,-3)$);
  \path [arrow, text width=4.5cm, align=left] ($(recv)+(0,-1.5)$) -- ++(0.5cm,0cm) |- node[near start, right] 
  {\begin{tabular}{ll}
    Picks & $Z^R_0 \leftarrow l^R_0$ \\ 
    computes & $Z^R_n \leftarrow l^R_n$\\ 
    & $I^R_0  \leftarrow t^R_0$
    \end{tabular}} ($(recv)+(0,-2.9)$);
  \draw[-{Latex[length=3mm, width=2mm]}] ($(recv)+(0,-3.8)$) to 
  node[above, black]{$S^{D_1}_0, S^{D_1}_n, t^{D_1}_0, t^{M_1}_n, F_{M_1}$} ($(smart)+(0,-3.8)$);
  \path [arrow, text width=4.5cm, align=left] ($(smart)+(0,-4.5)$) 
  -- ++(0.5cm,0cm) |- node[near start, right] {
  \begin{tabular}{ll}
   Picks & $Z^R_0 \leftarrow l^R_0$ \\ 
   computes &  $Z^R_n \leftarrow l^R_n$\\ 
   & $I^R_0  \leftarrow t^R_0$
  \end{tabular}} ($(smart)+(0,-5.9)$);
\end{tikzpicture}
\end{document}

Tenga en cuenta que: esta buena respuesta de¿Existe una manera eficiente de editar el siguiente UML?

Respuesta1

intentar

\includegraphics[width=\columnwidth]{figures/selection.pdf}

y puesto en standaloneimagen border=0pt.

Si proporciona un ejemplo de documento (con texto ficticio), podré probar cómo funcionan las siguientes mejoras del código de imagen en su documento:

\documentclass[tikz,border=0pt]{standalone}
\usetikzlibrary{arrows.meta, calc, positioning, quotes}

\begin{document}
    \begin{tikzpicture}[
node distance = 3mm and 17mm,
 block/.style = {draw, rounded corners, fill=blue!10,
                 font=\bfseries},
  line/.style = {line width=0.5mm, -Latex},
 arrow/.style = {draw, -Latex}
                    ]
\node (man)   [block]                {Device A};
\node (smart) [block,right=of man]   {Device B};
\node (recv)  [block,right=of smart] {Device C};
%
\draw[line] (man.south)   edge ++ (0,-6.6)
            (smart.south) edge ++ (0,-6.6)
            (recv.south)   to  ++ (0,-6.6);
%
\draw[arrow]
    ($(man)+(0,-0.5)$) -- ++(0.4,0)
                        |- node[near start, right] {\begin{tabular}{@{} l @{\ }l@{}}
                                   Computes & $G^R_0= M^R_0$ \\
                                   Computes & $G^R_n = l^R_n$\\
                                   Picks & $I^R_0  = t^R_0$
                                                \end{tabular} }
    ($(man)+(0,-1.7)$);
\draw[arrow,thick]
    ($(man)+(0,-3)$)     to ["${T(R)=X^R_0, X^R_0, Y^R_d}$"] ($(smart)+(0,-3)$);
\draw[arrow,thick]
    ($(recv)+(0,-3.8)$)  to ["${S^{D_1}_0, S^{D_1}_n, t^{D_1}_0, t^{M_1}_n, F_{M_1}}$" '] ($(smart)+(0,-3.8)$);
\draw[arrow]
    ($(recv)+(0,-1.5)$) -- ++(0.4,0)
                        |- node[near start, right] {\begin{tabular}{@{} l @{\ }l@{}}
                                  Picks     & $Z^R_0 \leftarrow l^R_0$ \\
                                  Computes  & $Z^R_n \leftarrow l^R_n$\\
                                            & $I^R_0 \leftarrow t^R_0$
                                                    \end{tabular}}
    ($(recv)+(0,-2.9)$);
\path[arrow]
    ($(smart)+(0,-4.5)$) -- ++(0.4cm,0cm)
                        |- node[near start, right] {\begin{tabular}{@{} l @{\ }l@{}}
                                   Picks    & $Z^R_0 \leftarrow l^R_0$ \\
                                   Computes &  $Z^R_n \leftarrow l^R_n$\\
                                            & $I^R_0  \leftarrow t^R_0$
                                                    \end{tabular}}
    ($(smart)+(0,-5.9)$);
\end{tikzpicture}
\end{document}

cuyo ancho es de aproximadamente 113 mm.

ingrese la descripción de la imagen aquí

información relacionada