Debian Codegraph @

texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex

raw
1 %%
2 %% This is file `smartdiagramlibrarycore.styles.code.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% smartdiagram.dtx (with options: `styles')
8 %% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
9 %% smartdiagram --- Automatic creation of smart diagrams from lists of items.
10 %%
11 %% E-mail: claudio <dot> fiandrino <at> gmail <dot> com
12 %%
13 %% Released under the LaTeX Project Public License v1.3c or later
14 %% See http://www.latex-project.org/lppl.txt
15 %% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
16 %%
17
18 \tikzfading[name=priorityarrowfading,
19 bottom color=transparent!5,
20 top color=transparent!80
21 ]
22 \tikzset{priority arrow fill/.style={
23 fill=gray,
24 path fading=priorityarrowfading
25 }
26 }
27
28 \tikzset{module/.style={%
29 \pgfkeysvalueof{/smart diagram/module shape},
30 thick,
31 draw=\sm@core@bordercolor,
32 top color=white,
33 bottom color=\col,
34 text=\sm@core@textcolor,
35 text width=\sm@core@moduletextwidth,
36 minimum width=\sm@core@modulewidth,
37 minimum height=\sm@core@moduleheight,
38 font=\sm@core@modulefontsize,
39 \sm@core@borderdecoration
40 },
41 diagram arrow type/.style={%
42 \sm@core@arrowstyle,
43 >=\sm@core@arrowtip,
44 line width=\sm@core@arrowlinewidth,
45 \col
46 },%
47 }
48 \tikzset{description title/.style={%
49 circle,
50 draw=\sm@core@bordercolor,
51 minimum width=\sm@core@descriptiontitlewidth,
52 anchor=east,
53 bottom color=\col,
54 top color=white!80!\col,
55 font=\sm@core@descriptiontitlefontsize,
56 text width=\sm@core@descriptiontitletextwidth,
57 \sm@core@borderdecoration,
58 },
59 description/.style={%
60 \pgfkeysvalueof{/smart diagram/module shape},
61 text width=\sm@core@descriptiontextwidth,
62 draw=\sm@core@bordercolor,
63 anchor=west,
64 minimum height=\sm@core@moduleheight,
65 minimum width=\sm@core@descriptionwidth,
66 bottom color=\col,
67 top color=white!80!\col,
68 font=\sm@core@descriptionfontsize,
69 \sm@core@borderdecoration,
70 }%
71 }
72 \tikzset{priority arrow/.style={
73 draw=\sm@core@bordercolor,
74 single arrow,
75 minimum height=\distancemodules,
76 minimum width=\sm@core@priorityarrowwidth,
77 priority arrow fill,
78 rotate=90,
79 single arrow head extend=\sm@core@priorityarrowheadextend,
80 anchor=west,
81 }
82 }
83 \tikzset{bubble center node/.style={
84 minimum size=\sm@core@bubblecenternodesize,
85 circle,
86 fill=\sm@core@bubblecenternodecolor,
87 font=\sm@core@bubblecenternodefont,
88 outer sep=\sm@core@distancecenterotherbubbles,
89 inner sep=\sm@core@distancetextcenterbubble,
90 },
91 bubble node/.style={
92 minimum size=\sm@core@bubblenodesize,
93 circle,
94 ultra thick,
95 font=\sm@core@bubblenodefont,
96 draw=white,
97 fill opacity=\sm@core@bubblefillopacity,
98 fill=\col,
99 text opacity=\sm@core@bubbletextopacity,
100 }
101 }
102 \tikzset{planet/.style={
103 minimum size=\sm@core@planetminimumsize,
104 circle,
105 fill=\sm@core@planetcolor,
106 font=\sm@core@planetfont,
107 outer sep=\sm@core@planetoutersep,
108 inner sep=\sm@core@planetinnersep,
109 text width=\sm@core@planettextwidth,
110 },
111 satellite/.style={
112 minimum size=\sm@core@satelliteminimumsize,
113 circle,
114 font=\sm@core@satellitefont,
115 fill opacity=\sm@core@satellitefillopacity,
116 fill=\col,
117 text opacity=\sm@core@satellitetextopacity,
118 text width=\sm@core@satellitetextwidth,
119 outer sep=\sm@core@satelliteoutersep,
120 },
121 connection planet satellite/.style={
122 ->,
123 line width=\sm@core@connectionlinewidth,
124 >=\sm@core@arrowtip,
125 \col,
126 }
127 }
128
129 \tikzset{sequence item/.style={
130 minimum height=\sm@core@seqitemheight,
131 minimum width=\sm@core@seqitemwidth,
132 signal,
133 signal from=west,
134 signal to=east,
135 draw=\sm@core@seqitembordercolor,
136 line width=\sm@core@seqlinewidth,
137 font=\sm@core@seqitemfont,
138 fill opacity=\sm@core@seqitemfillopacity,
139 fill=\col,
140 text opacity=\sm@core@seqitemtextopacity,
141 text width=\sm@core@seqitemtextwidth,
142 text=\sm@core@seqitemtextcolor,
143 }
144 }
145 \tikzset{let hypenation/.style={%
146 execute at begin node={%
147 \hspace{0pt}%
148 }%
149 }%
150 }%
151 \tikzset{%
152 sminvisible/.style={opacity=0,text opacity=0},
153 smvisible on/.style={smalt=#1{}{sminvisible}},
154 smalt/.code args={<#1>#2#3}{%
155 \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}
156 },%
157 }%
158
159 %%
160 %% Copyright (C) 2012-2013 by Claudio Fiandrino
161 %% E-mail: <claudio <dot> fiandrino <at> gmail <dot> com>
162 %%
163 %% This work may be distributed and/or modified under the
164 %% conditions of the LaTeX Project Public License (LPPL), either
165 %% version 1.3c of this license or (at your option) any later
166 %% version. The latest version of this license is in the file:
167 %%
168 %% http://www.latex-project.org/lppl.txt
169 %%
170 %% This work is "maintained" (as per LPPL maintenance status) by
171 %% Claudio Fiandrino.
172 %%
173 %% This work consists of the file smartdiagram.dtx
174 %% and the derived files smartdiagram.ins,
175 %% smartdiagram.pdf,
176 %% smartdiagramlibrarycore.definitions.code.tex,
177 %% smartdiagramlibrarycore.styles.code.tex,
178 %% smartdiagramlibrarycore.commands.code.tex
179 %% smartdiagramlibraryadditions.code.tex and
180 %% smartdiagram.sty.
181 %%
182 %%
183 %% End of file `smartdiagramlibrarycore.styles.code.tex'.