avoid duplicated tikz code

This commit is contained in:
Frank Morgner
2013-06-18 08:12:03 +02:00
parent 70a11cdbe8
commit 0c8dccdaf2
5 changed files with 14 additions and 263 deletions

View File

@@ -70,37 +70,10 @@ code are based on the GadgetFS example and on the source code of the OpenSC
tools.
.. tikz:: Software stack of the USB CCID Emulator running on the OpenMoko Neo FreeRunner
:stringsubst:
:libs: arrows, calc, fit, patterns, plotmarks, shapes.geometric, shapes.misc, shapes.symbols, shapes.arrows, shapes.callouts, shapes.multipart, shapes.gates.logic.US, shapes.gates.logic.IEC, er, automata, backgrounds, chains, topaths, trees, petri, mindmap, matrix, calendar, folding, fadings, through, positioning, scopes, decorations.fractals, decorations.shapes, decorations.text, decorations.pathmorphing, decorations.pathreplacing, decorations.footprints, decorations.markings, shadows
\definecolor{hublue}{cmyk}{1.00, 0.60, 0.00, 0.20}
\definecolor{hured}{cmyk}{0.00, 0.90, 0.80, 0.40}
\definecolor{hugreen}{cmyk}{0.90, 0.10, 0.80, 0.40}
\definecolor{husand}{cmyk}{0.00, 0.05, 0.50, 0.20}
\definecolor{huslategreen}{cmyk}{0.00, 0.00, 0.10, 0.20}
\definecolor{huslateblue}{cmyk}{0.10, 0.00, 0.00, 0.20}
\tikzstyle{klein}=[font={\small}]
\tikzstyle{kleiner}=[font={\footnotesize}]
\tikzstyle{box}=[line width=2pt, draw=huslateblue, rounded corners, inner
sep=.2cm, shadeslate, drop shadow={opacity=.15}, shadow scale=1.05]
\tikzstyle{aktivbox}=[box, darkshadeslate]
\tikzstyle{nichtrundelinie}=[line width=2pt, draw=hublue, kleiner, color=hublue]
\tikzstyle{linie}=[nichtrundelinie, line cap=round]
\tikzstyle{pfeil}=[linie, -stealth']
\tikzstyle{doppelpfeil}=[linie, stealth'-stealth']
\tikzstyle{usb}=[line width=2pt, line cap=round, draw=black, decorate,
decoration=coil, kleiner]
\tikzstyle{rfid}=[decorate, decoration={expanding waves, angle=30, segment
length=6}, nichtrundelinie]
\tikzstyle{shadeslate}=[shade, top color=huslateblue!2, bottom color=huslateblue!10]
\tikzstyle{darkshadeslate}=[shade, top color=huslateblue!20, bottom
color=huslateblue!50]
\tikzstyle{internet}=[cloud, cloud ignores aspect, minimum height=1.5cm, kleiner,
line width=2pt, draw=huslateblue, inner sep=.2cm, darkshadeslate,
drop shadow={opacity=.15}, shadow scale=1.05]
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
[klein]
\input{%(wd)s/bilder/tikzstyles.tex}
\tikzstyle{schicht}=[text width=5cm, align=right]
\tikzstyle{fade down}=[path fading=south, color=huslateblue]

View File

@@ -70,37 +70,10 @@ code are based on the GadgetFS example and on the source code of the OpenSC
tools.
.. tikz:: Software stack of the @PACKAGE_NAME@ running on the OpenMoko Neo FreeRunner
:stringsubst:
:libs: arrows, calc, fit, patterns, plotmarks, shapes.geometric, shapes.misc, shapes.symbols, shapes.arrows, shapes.callouts, shapes.multipart, shapes.gates.logic.US, shapes.gates.logic.IEC, er, automata, backgrounds, chains, topaths, trees, petri, mindmap, matrix, calendar, folding, fadings, through, positioning, scopes, decorations.fractals, decorations.shapes, decorations.text, decorations.pathmorphing, decorations.pathreplacing, decorations.footprints, decorations.markings, shadows
\definecolor{hublue}{cmyk}{1.00, 0.60, 0.00, 0.20}
\definecolor{hured}{cmyk}{0.00, 0.90, 0.80, 0.40}
\definecolor{hugreen}{cmyk}{0.90, 0.10, 0.80, 0.40}
\definecolor{husand}{cmyk}{0.00, 0.05, 0.50, 0.20}
\definecolor{huslategreen}{cmyk}{0.00, 0.00, 0.10, 0.20}
\definecolor{huslateblue}{cmyk}{0.10, 0.00, 0.00, 0.20}
\tikzstyle{klein}=[font={\small}]
\tikzstyle{kleiner}=[font={\footnotesize}]
\tikzstyle{box}=[line width=2pt, draw=huslateblue, rounded corners, inner
sep=.2cm, shadeslate, drop shadow={opacity=.15}, shadow scale=1.05]
\tikzstyle{aktivbox}=[box, darkshadeslate]
\tikzstyle{nichtrundelinie}=[line width=2pt, draw=hublue, kleiner, color=hublue]
\tikzstyle{linie}=[nichtrundelinie, line cap=round]
\tikzstyle{pfeil}=[linie, -stealth']
\tikzstyle{doppelpfeil}=[linie, stealth'-stealth']
\tikzstyle{usb}=[line width=2pt, line cap=round, draw=black, decorate,
decoration=coil, kleiner]
\tikzstyle{rfid}=[decorate, decoration={expanding waves, angle=30, segment
length=6}, nichtrundelinie]
\tikzstyle{shadeslate}=[shade, top color=huslateblue!2, bottom color=huslateblue!10]
\tikzstyle{darkshadeslate}=[shade, top color=huslateblue!20, bottom
color=huslateblue!50]
\tikzstyle{internet}=[cloud, cloud ignores aspect, minimum height=1.5cm, kleiner,
line width=2pt, draw=huslateblue, inner sep=.2cm, darkshadeslate,
drop shadow={opacity=.15}, shadow scale=1.05]
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
[klein]
\input{%(wd)s/bilder/tikzstyles.tex}
\tikzstyle{schicht}=[text width=5cm, align=right]
\tikzstyle{fade down}=[path fading=south, color=huslateblue]