Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}[14pt,a4paper]
- % Comment the following line to NOT allow the usage of umlauts
- \usepackage[utf8]{inputenc}
- %\usepackage[english]{babel}
- \usepackage[a4paper, lmargin=2cm, rmargin=2cm, bottom=2cm]{geometry}
- \usepackage{color}
- % Uncomment the following line to allow the usage of graphics (.png, .jpg)
- \usepackage{verbatim}
- \usepackage{graphicx}
- \usepackage{amsmath}
- \usepackage[all]{xy}
- \usepackage{pst-all}
- \usepackage{tikz}
- %\usepackage{gnuplottex}
- %\usepackage{chronology}
- \usepackage{pst-pdf}
- %\usepackage{pstricks}
- \usepackage{pst-solides3d}
- \pagestyle{empty}
- \tikzset{flippedeventlabel/.append style={align=center}}
- \usetikzlibrary{matrix.skeleton}
- \usetikzlibrary[shapes,arrows,positioning,fit,backgrounds,intersections,shadows,calc]
- \usetikzlibrary[datavisualization]
- \usepackage{pgfplots}
- \pgfplotsset{width=10cm,compat=1.9}
- % Start the document
- \begin{document}
- \begin{flushleft}
- \begin{tikzpicture}
- [scale=2,line cap=round,decoration={snake,amplitude=.4mm,segment length=2mm,post length=1mm},
- % Styles
- axes/.style=,
- important line/.style={very thick},
- information text/.style={rounded corners,fill=red!10,inner sep=1ex}]
- % Local definitions
- \def\costhirty{0.8660256}
- % Colors
- \colorlet{angulocolor}{green!50!black}
- \colorlet{sincolor}{red}
- \colorlet{tancolor}{orange!80!black}
- \colorlet{coscolor}{blue}
- % The graphic
- %\draw[help lines,step=0.5cm,gray] (-3,-3) grid (5,3);
- %Contorno del 2do.Nivel
- \begin{scope}[ultra thick,blue]
- \draw (-2,-2) to (3.35,-2);
- \draw (-2,-2) to (-2,-1.25) to (-1,-1.25) to (-1,1) to (0.25,1) to (0.25,2) to (1.5,2) to (3,2);
- \draw [-] (3,2) to [bend left] (3.5,1.5);
- \draw (3.5,1.5) to (3.5,0.75);
- \draw [-] (3.5,0.75) ..controls (4.2,0.75) and (4.2,-0.25).. (3.5,-0.25);
- \draw (3.5,-0.25) to (3.5,-1.25) to (3.35,-1.25) to (3.35,-2);
- \draw (2,-1.25) to (3.1,-1.25);
- \draw (2.75,-2) to (2.75,-1.5);
- %Divisiones del 2do. Nivel
- \draw (-1,-1.5) to (-1,-2);
- \draw (-0.75,-1.5) to (-0.75,-1.25) to (0.25,-1.25) to (0.25,0.5) ;
- \draw (0.25,-1.25) to (0.25,-2);
- \draw (-1,0.25) to (0,0.25);
- \draw (0.25,-0.25) to (1.75,-0.25) to (1.75,0.5)to (0.5,.5) ;
- \draw (0.5,1) to (1.75,1);
- \draw (2,1) to (2,2);
- \draw (2,-2) to (2,-0.25);
- \draw (0.25,-1.25) to (2,-1.25);
- \draw (2.25,-0.25) to (3.5,-0.25);
- \draw (2.25,-0.25) to (2.25,0) to (2,0) to (2,0.75) to (3.25,0.75);
- \draw (3,0.5) to (3,-0.25);
- \end{scope}
- \fill [green!60!blue](4.5,3) circle (0.1cm);
- \draw (-0.25,-1.25)node [circle,fill, black]{};
- %Nodos de trayectorias
- \path (-0.5,-0.5) node (a) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{1}}(2.75,-0.75) node (b) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{3}}(2.75,1.5) node (c) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{4}}(1,-0.75) node (d) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{2}}(-0.5,-1.75) node (e) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{1.1}}} (-1.5,-1.75) node (f) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{1.2}}}
- (1.25,-1.75) node (g) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{2.1}}}
- (3,-1.75) node (h) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{3.1}}}
- (2.3,-1.75) node (i) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{3.2}}}
- (3.5,0.25) node (j) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{4.1}}}
- (2.5,0.25) node (k) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{\tiny{4.2}}}
- (-0.5,0.65) node (l) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{5}}
- (1.25,0.75) node (m) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{6}}
- (1,0.1) node (n) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{7}} (1.25,1.5) node (o) [circle,minimum size=0.3cm,draw,fill,brown!25] {\textcolor{black}{8}}
- ;
- \path (-0.25,-1.25) node (p) [below=0.1cm,red]{\tiny{Claro tv \& Red}}(0.25,-0.75) node (q)[left,green!60!blue]{A}
- (-0.25,0.25) node (r)[below,green!60!blue]{B}
- (-0.5,1) node (s)[above,green!60!blue]{C}
- (0.25,-0.75) node (t)[right,green!60!blue]{D}
- (3.5,-0.70) node (u)[left,green!60!blue]{E}
- (3.5,-0.7) node (v)[right,blue]{F}
- (3.5,1.4) node (w)[left,green!60!blue]{G} (4.5,3) node [below=.4cm](x) {Cable vision}
- (2.8,-1.25) node (y)
- [blue] {G};
- \draw [->,decorate,red] (p) to [bend left](q) ;
- \draw [->,decorate,red] (q) to [bend right] (r) ;
- \draw [->,decorate,red] (r) to [bend left=50] (s);
- \draw [->,decorate,red] (q) to (t);
- \draw [->,decorate,red] (t) to [bend right] (u);
- \draw [->,decorate,red] (u) to (w);
- \draw [->,decorate,green!60!blue] (x) to [bend left] (v);
- \draw [->,decorate,green!60!blue] (u) to [bend left] (y);
- \draw [->,decorate,green!60!blue] (v) to (u);
- \draw [<->] (-1.25,2)node[left]{E} to (-0.75,2) node [right] {O};
- \draw [<->] (-1,1.75)node[below]{N} to (-1,2.25) node [above] {S};
- %carretera
- \draw [yellow, line width=5pt] (-3,4) -- (5,4);
- \draw [gray!70!black,line width=20pt] (-3,4.2) -- (5,4.2);
- \draw [gray!70!black,line width=20pt] (-3,3.8) -- (5,3.8);
- \draw [->,line width=3pt,white] (1,3.8)--(1.5,3.8);
- \draw [<-,line width=3pt,white] (1,4.2)--(1.5,4.2);
- %cuadro informativo
- \draw[xshift=1.5cm,black!90]
- node[below=5cm,text width=15cm,information text]
- {\begin{center}
- Segundo Nivel
- \end{center}
- El diagrama muestra el segundo nivel de la residencia con una orientación de norte a sur, pues es la correspondiente a la vista de una persona frente a la caja de distribución (\large{\textbullet}), que se encuentra en la vertical justo por encima de la que administra el primer nivel. El acceso de claro TV y red es por la terraza justo por encima de la caja eléctrica de seguros.\\
- \begin{center}
- Tabla de Control de Seguros\\
- \begin{tabular}{|c|l|c|l|}
- \hline
- 1 & \textcolor{yellow!80!blue}{\huge{$\star$}} \begin{minipage}{.30\textwidth}{ Iluminación de las habitaciones del lado este}\end{minipage} & 2 & Iluminación\\
- \hline
- 3 & {\color{coscolor}$\models$} Tomas & 4 & Tomas \\
- \hline
- 5 & Tomas & 6 & AC \\
- \hline
- 7 & Iluminación & 8 & AC \\
- \hline
- \end{tabular}
- \end{center}
- };
- \end{tikzpicture}
- \end{flushleft}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement