
ich benutze
\usepackage{pdflscape}
\usepackage{tikz}
\usetikzlibrary{automata}
und mein Code sieht so aus
\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}
wenn ich es kompiliere ist das resultierende Bild
wie werde ich die Linien zwischen den Applet-Boxen los?
Ich würde mich auch über eine Anleitung freuen, wie man die Höhe der Kisten richtig ausrichtet - aber nicht zu kompliziert ;-).
Antwort1
Die Applet
's liegen zu nah beieinander und überlappen sich. Vergleichen Sie bitte ein modifiziertes Beispiel. Ich bin nicht sicher, was Sie \gls
meinen...
\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}