
yo suelo
\usepackage{pdflscape}
\usepackage{tikz}
\usetikzlibrary{automata}
y mi código se ve así
\begin{figure}
\centering
\begin{tikzpicture}
\node[draw,align=center,text width=0.16\textwidth] at (-0.34\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (-0.17\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (0,0) {Applet};
\node[draw,align=center,text width=0.5\textwidth] at (-0.17\textwidth,-0.7) {Java Card Operating System};
\node[draw,align=center,text width=0.3\textwidth] at (0.27\textwidth,-0.35) { Native \\ Application \vspace{8pt}};
\node[draw,align=center,text width=0.84\textwidth] at (0,-1.44) {\gls{ic} Platform};
\end{tikzpicture}
\caption{Architecture of a \gls{smartcard}}
\label{figure:smartcardarchitecture}
\end{figure}
cuando lo compilo la imagen resultante es
¿Cómo me deshago de las líneas entre los cuadros del Applet?
También me encantaría recibir orientación sobre cómo alinear correctamente la altura de las cajas, pero no demasiado complicado ;-).
Respuesta1
Los Applet
's están demasiado cerca uno del otro y se superponen. Por favor compare un ejemplo modificado. No estoy seguro de lo que \gls
quieres decir...
\documentclass{article}
\usepackage{pdflscape}
\usepackage{tikz}
\usetikzlibrary{automata}
\begin{document}
and my code looks like this
\def\gls{\MakeUppercase}
\begin{figure}
\centering
\begin{tikzpicture}
\node[draw,color=red,align=center,text width=0.16\textwidth] at (-0.34\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (-0.17\textwidth,0) {Applet};
\node[draw,align=center,text width=0.16\textwidth] at (0,0) {Applet};
\node[draw,align=center,text width=0.5\textwidth] at (-0.17\textwidth,-0.7) {Java Card Operating System};
\node[draw,align=center,text width=0.3\textwidth] at (0.27\textwidth,-0.35) { Native \\ Application \vspace{8pt}};
\node[draw,align=center,text width=0.84\textwidth] at (0,-1.44) {\gls{ic}
Platform};
\end{tikzpicture}
\caption{Architecture of a \gls{smartcard}}
\label{figure:smartcardarchitecture}
\end{figure}
\end{document}