\documentclass{artilce}
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{tikz}
\tikzset{
keep name/.style={
prefix after command={
\pgfextra{\let\fixname\tikzlastnode}
}
},
partialbox/.style={
keep name,
append after command={
([xshift=#1]\fixname.north west) --
(\fixname.north west) --
(\fixname.south west) --
([xshift=#1]\fixname.south west)
([xshift=-#1]\fixname.north east) --
(\fixname.north east) --
(\fixname.south east) --
([xshift=-#1]\fixname.south east)
}
},
partialbox/.default=15pt
}
\begin{document}
\begin{tikzpicture}
\path[draw,rounded corners]
node[partialbox,minimum height=30pt,align=center]
at (0,4) (A) {\TeX};
\path[draw,rounded corners]
node[partialbox=30pt,minimum height=30pt,align=center]
at (0,2) (B) {\LaTeX};
\path[draw,rounded corners]
node[partialbox=30pt,minimum height=30pt,fill=cyan!20]
at (0,-1)
(C)
{PostScript};
\path[draw,rounded corners]
node[partialbox=30pt,minimum height=30pt,fill=cyan!20]
at (-3,-1)
(D)
{PDF};
\path[draw,rounded corners]
node[partialbox=20pt,minimum height=30pt,fill=cyan!20]
at (3,-1)
(E)
{DVI};
%\path[draw,rounded corners,dashed]
%node[partialbox,minimum height=30pt,align=center]
% at (4,-4)
% (C)
% {Some gffggfg};
\draw[-latex]
(A.east) -- ++(0pt,0pt) -| (E.north);
\draw[-latex]
(A.west) -- ++(0pt,0pt) -| (D.north);
\draw[-latex]
(B.east) -- ++(0pt,0pt) -| (E.north);
\draw[-latex]
(B.west) -- ++(0pt,0pt) -| (D.north);
\draw[latex-latex]
(D.east) -- ++(10pt,0pt) |- (C.west);
\draw[latex-]
(C.east) -- ++(10pt,0pt) |- (E.west);
\draw[latex-]
(D.south) -- ++(0pt,-25pt) -| (E.south);
\end{tikzpicture}
\end{document}
[Tex/LaTex] How to draw this latex diagram. I need to, how to fix it
tikz-arrowstikz-pgftikz-styles
Related Question
- [Tex/LaTex] use circuitikz picture inside tikzpicture
- [Tex/LaTex] TikZ: Drawing an arc from an intersection to an intersection
- [Tex/LaTex] Drawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawing
- [Tex/LaTex] Line up nested tikz enviroments or how to get rid of them
- [Tex/LaTex] How to draw angled lines in LaTeX to create ruled template for calligraphy
- How to change the radius of circle in a node in tikz style
- Document header with tikz
Best Answer
Like this?