summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/smartdiagram/smartdiagramlibrarycore.styles.code.tex
blob: 98c755f241f9843859d8c8586b4741a3c6227d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
%%
%% This is file `smartdiagramlibrarycore.styles.code.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% smartdiagram.dtx  (with options: `styles')
%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
%% smartdiagram --- Automatic creation of smart diagrams from lists of items.
%% 
%% E-mail: claudio <dot> fiandrino <at> gmail <dot> com
%% 
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
%% 

\tikzfading[name=priorityarrowfading,
  bottom color=transparent!5,
  top color=transparent!80
]
\tikzset{priority arrow fill/.style={
  fill=gray,
  path fading=priorityarrowfading
  }
}

\tikzset{module/.style={%
      \pgfkeysvalueof{/smart diagram/module shape},
      thick,
      draw=\sm@core@bordercolor,
      top color=white,
      bottom color=\col,
      text=\sm@core@textcolor,
      text width=\sm@core@moduletextwidth,
      minimum width=\sm@core@modulewidth,
      minimum height=\sm@core@moduleheight,
      font=\sm@core@modulefontsize,
      \sm@core@borderdecoration
   },
   diagram arrow type/.style={%
      \sm@core@arrowstyle,
      >=\sm@core@arrowtip,
      line width=\sm@core@arrowlinewidth,
      \col
   },%
}
\tikzset{description title/.style={%
      circle,
      draw=\sm@core@bordercolor,
      minimum width=\sm@core@descriptiontitlewidth,
      anchor=east,
      bottom color=\col,
      top color=white!80!\col,
      font=\sm@core@descriptiontitlefontsize,
      text width=\sm@core@descriptiontitletextwidth,
      \sm@core@borderdecoration,
   },
   description/.style={%
      \pgfkeysvalueof{/smart diagram/module shape},
      text width=\sm@core@descriptiontextwidth,
      draw=\sm@core@bordercolor,
      anchor=west,
      minimum height=\sm@core@moduleheight,
      minimum width=\sm@core@descriptionwidth,
      bottom color=\col,
      top color=white!80!\col,
      font=\sm@core@descriptionfontsize,
      \sm@core@borderdecoration,
   }%
}
\tikzset{priority arrow/.style={
      draw=\sm@core@bordercolor,
      single arrow,
      minimum height=\distancemodules,
      minimum width=\sm@core@priorityarrowwidth,
      priority arrow fill,
      rotate=90,
      single arrow head extend=\sm@core@priorityarrowheadextend,
      anchor=west,
   }
}
\tikzset{bubble center node/.style={
      minimum size=\sm@core@bubblecenternodesize,
      circle,
      fill=\sm@core@bubblecenternodecolor,
      font=\sm@core@bubblecenternodefont,
      outer sep=\sm@core@distancecenterotherbubbles,
      inner sep=\sm@core@distancetextcenterbubble,
   },
   bubble node/.style={
      minimum size=\sm@core@bubblenodesize,
      circle,
   ultra thick,
   font=\sm@core@bubblenodefont,
   draw=white,
   fill opacity=\sm@core@bubblefillopacity,
   fill=\col,
   text opacity=\sm@core@bubbletextopacity,
   }
}
\tikzset{planet/.style={
      minimum size=\sm@core@planetminimumsize,
      circle,
      fill=\sm@core@planetcolor,
      font=\sm@core@planetfont,
      outer sep=\sm@core@planetoutersep,
      inner sep=\sm@core@planetinnersep,
      text width=\sm@core@planettextwidth,
   },
   satellite/.style={
      minimum size=\sm@core@satelliteminimumsize,
      circle,
    font=\sm@core@satellitefont,
    fill opacity=\sm@core@satellitefillopacity,
    fill=\col,
    text opacity=\sm@core@satellitetextopacity,
    text width=\sm@core@satellitetextwidth,
    outer sep=\sm@core@satelliteoutersep,
   },
   connection planet satellite/.style={
     ->,
     line width=\sm@core@connectionlinewidth,
     >=\sm@core@arrowtip,
     \col,
   }
}

\tikzset{sequence item/.style={
      minimum height=\sm@core@seqitemheight,
      minimum width=\sm@core@seqitemwidth,
      signal,
      signal from=west,
      signal to=east,
      draw=\sm@core@seqitembordercolor,
      line width=\sm@core@seqlinewidth,
    font=\sm@core@seqitemfont,
    fill opacity=\sm@core@seqitemfillopacity,
    fill=\col,
    text opacity=\sm@core@seqitemtextopacity,
    text width=\sm@core@seqitemtextwidth,
      text=\sm@core@seqitemtextcolor,
  }
}
\tikzset{let hypenation/.style={%
    execute at begin node={%
       \hspace{0pt}%
    }%
  }%
}%
\tikzset{%
   sminvisible/.style={opacity=0,text opacity=0},
   smvisible on/.style={smalt=#1{}{sminvisible}},
   smalt/.code args={<#1>#2#3}{%
      \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}
   },%
}%

%% 
%% Copyright (C) 2012-2013 by Claudio Fiandrino
%% E-mail: <claudio <dot> fiandrino <at> gmail <dot> com>
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version.  The latest version of this license is in the file:
%% 
%% http://www.latex-project.org/lppl.txt
%% 
%% This work is "maintained" (as per LPPL maintenance status) by
%% Claudio Fiandrino.
%% 
%% This work consists of the file  smartdiagram.dtx
%% and the derived files           smartdiagram.ins,
%%                                 smartdiagram.pdf,
%%                                 smartdiagramlibrarycore.definitions.code.tex,
%%                                 smartdiagramlibrarycore.styles.code.tex,
%%                                 smartdiagramlibrarycore.commands.code.tex
%%                                 smartdiagramlibraryadditions.code.tex and
%%                                 smartdiagram.sty.
%% 
%%
%% End of file `smartdiagramlibrarycore.styles.code.tex'.