aboutsummaryrefslogtreecommitdiffstats
path: root/libccnx-portal/ccnx/api/ccnx_Portal/documentation/Packages.tex
diff options
context:
space:
mode:
Diffstat (limited to 'libccnx-portal/ccnx/api/ccnx_Portal/documentation/Packages.tex')
-rw-r--r--libccnx-portal/ccnx/api/ccnx_Portal/documentation/Packages.tex46
1 files changed, 46 insertions, 0 deletions
diff --git a/libccnx-portal/ccnx/api/ccnx_Portal/documentation/Packages.tex b/libccnx-portal/ccnx/api/ccnx_Portal/documentation/Packages.tex
new file mode 100644
index 00000000..b09403e8
--- /dev/null
+++ b/libccnx-portal/ccnx/api/ccnx_Portal/documentation/Packages.tex
@@ -0,0 +1,46 @@
+%
+% Specify packages that you need in this file.
+% If a package requires configuration, do that here.
+\usepackage{lipsum}
+
+\usepackage{tikz}
+\usetikzlibrary{shadows,arrows}
+% Define the layers to draw the diagram
+\pgfdeclarelayer{background}
+\pgfdeclarelayer{foreground}
+\pgfsetlayers{background,main,foreground}
+
+% Define block styles
+\tikzstyle{materia}=[draw, fill=blue!20, text width=6.0em, text centered,
+ minimum height=1.5em,drop shadow]
+\tikzstyle{component} = [materia, text width=9em, minimum width=10em,
+ minimum height=3em, rounded corners, drop shadow]
+\tikzstyle{texto} = [above, text width=6em, text centered]
+\tikzstyle{linepart} = [draw, thick, color=black!50, -latex', dashed]
+\tikzstyle{line} = [draw, thick, color=black!50, -latex']
+\tikzstyle{ur}=[draw, text centered, minimum height=0.01em]
+
+% Define distances for bordering
+\newcommand{\blockdist}{1.3}
+\newcommand{\edgedist}{1.5}
+
+\newcommand{\component}[3]{node (p#1) [component]%
+ {#2\\{\scriptsize\textit{#3}}}}
+
+% Draw background
+\newcommand{\background}[5]{%
+ \begin{pgfonlayer}{background}
+ % Left-top corner of the background rectangle
+ \path (#1.west |- #2.north)+(-0.5,0.5) node (a1) {};
+ % Right-bottom corner of the background rectangle
+ \path (#3.east |- #4.south)+(+0.5,-0.25) node (a2) {};
+ % Draw the background
+ \path[fill=orange!10,rounded corners, draw=black!50, dashed]
+ (a1) rectangle (a2);
+ \path (a1.east |- a1.south)+(0.8,-0.3) node (u1)[texto]
+ {\scriptsize\textit{#5}};
+ \end{pgfonlayer}}
+
+\newcommand{\transreceptor}[3]{%
+ \path [linepart] (#1.east) -- node [above]
+ {\scriptsize Transreceptor #2} (#3);}