| 1 |
%% |
| 2 |
%% This is file `tikzposterInnerblockstyles.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% tikzposter.dtx (with options: `tikzposterInnerblockstyles.tex') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Copyright (C) 2014 by Pascal Richter, Elena Botoeva, Richard Barnard, and Dirk Surmann |
| 12 |
%% |
| 13 |
%% This file may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either |
| 15 |
%% version 2.0 of this license or (at your option) any later |
| 16 |
%% version. The latest version of this license is in: |
| 17 |
%% |
| 18 |
%% http://www.latex-project.org/lppl.txt |
| 19 |
%% |
| 20 |
%% and version 2.0 or later is part of all distributions of |
| 21 |
%% LaTeX version 2013/12/01 or later. |
| 22 |
%% |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
% Options: |
| 35 |
% titlewidth |
| 36 |
% bodywidth |
| 37 |
% titlewidthscale |
| 38 |
% bodywidthscale |
| 39 |
% titlecenter, titleleft, titleright |
| 40 |
% titleoffsetx |
| 41 |
% titleoffsety |
| 42 |
% bodyoffsetx |
| 43 |
% bodyoffsety |
| 44 |
% bodyverticalshift |
| 45 |
% roundedcorners |
| 46 |
% linewidth |
| 47 |
% titleinnersep |
| 48 |
% bodyinnersep |
| 49 |
|
| 50 |
% Parameter: |
| 51 |
% \ifInnerblockHasTitle - boolean |
| 52 |
% innerblocktitle - coordinate |
| 53 |
% innerblockbody - coordinate |
| 54 |
% \innerblockroundedcorners - number |
| 55 |
% \innerblocklinewidth - length |
| 56 |
% \innerblockbodyinnersep - length |
| 57 |
% \innerblocktitleinnersep - length |
| 58 |
% innerblockbodybgcolor - color |
| 59 |
% innerblocktitlebgcolor - color |
| 60 |
% framecolor - color |
| 61 |
|
| 62 |
\defineinnerblockstyle{Default}{ |
| 63 |
titlewidthscale=1, bodywidthscale=1, titlecenter, |
| 64 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 65 |
bodyverticalshift=0pt, roundedcorners=20, linewidth=4pt, |
| 66 |
titleinnersep=10pt, bodyinnersep=12pt |
| 67 |
}{ |
| 68 |
\begin{scope}[line width=\innerblocklinewidth, rounded |
| 69 |
corners=\innerblockroundedcorners, solid] |
| 70 |
\ifInnerblockHasTitle % |
| 71 |
\draw[color=innerblocktitlebgcolor, fill=innerblocktitlebgcolor] |
| 72 |
(innerblockbody.south west) rectangle (innerblocktitle.north east); |
| 73 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor] |
| 74 |
(innerblockbody.south west) rectangle (innerblockbody.north east); |
| 75 |
\else |
| 76 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor] |
| 77 |
(innerblockbody.south west) rectangle (innerblockbody.north east); |
| 78 |
\fi |
| 79 |
\end{scope} |
| 80 |
} |
| 81 |
|
| 82 |
\defineinnerblockstyle{Table}{ |
| 83 |
titlewidthscale=0.25, bodywidthscale=0.75, titleleft, |
| 84 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 85 |
bodyverticalshift=0pt, roundedcorners=15, linewidth=3mm, |
| 86 |
titleinnersep=15pt, bodyinnersep=15pt |
| 87 |
}{ |
| 88 |
% minimum height should be the maximum of \TP@innerblocktitleheight and |
| 89 |
% \TP@innerblockbodyheight |
| 90 |
\node[minimum width=\TP@innerblocktitlewidth, minimum |
| 91 |
height=\TP@innerblockbodyheight, anchor=center] (innerblocktitle) at |
| 92 |
(\[email protected]\TP@innerblockbodywidth+\TP@innerblocktitleoffsetx, |
| 93 |
{-\[email protected]\TP@innerblockbodyheight+\TP@innerblocktitleoffsety}) |
| 94 |
{};% |
| 95 |
% |
| 96 |
\ifInnerblockHasTitle% |
| 97 |
\node[minimum width=\TP@innerblockbodywidth, minimum |
| 98 |
height=\TP@innerblockbodyheight, anchor=center] (innerblockbody) at |
| 99 |
(\TP@innerblockcenter+0.5\TP@innerblocktitlewidth+\TP@innerblockbodyoffsetx, |
| 100 |
{-\[email protected]\TP@innerblockbodyheight+\TP@innerblockbodyoffsety}) |
| 101 |
{};% |
| 102 |
% |
| 103 |
\else% |
| 104 |
\node[minimum width=\TP@innerblockbodywidth, minimum |
| 105 |
height=\TP@innerblockbodyheight, anchor=center] (innerblockbody) at |
| 106 |
(\TP@innerblockcenter+\TP@innerblockbodyoffsetx, |
| 107 |
{-\[email protected]\TP@innerblockbodyheight}) {};% |
| 108 |
\fi |
| 109 |
\begin{scope}[rounded corners=\innerblockroundedcorners, line width=\innerblocklinewidth] |
| 110 |
\ifInnerblockHasTitle |
| 111 |
% the big rectangle |
| 112 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor] |
| 113 |
(innerblocktitle.north west) rectangle (innerblockbody.south east);% |
| 114 |
\draw[color=innerblocktitlebgcolor] (innerblocktitle.south east) -- |
| 115 |
(innerblocktitle.north east); % |
| 116 |
\else |
| 117 |
% No title |
| 118 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor] |
| 119 |
(innerblockbody.south west) rectangle (innerblockbody.north east); |
| 120 |
\fi |
| 121 |
\end{scope} |
| 122 |
} |
| 123 |
|
| 124 |
\defineinnerblockstyle{Basic}{ |
| 125 |
titlewidthscale=0.8, bodywidthscale=1, titlecenter, |
| 126 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=6mm, |
| 127 |
bodyverticalshift=6mm, roundedcorners=14, linewidth=2pt, |
| 128 |
titleinnersep=8pt, bodyinnersep=8pt |
| 129 |
}{ |
| 130 |
\draw[rounded corners=\innerblockroundedcorners, inner sep=\innerblockbodyinnersep, line width=\innerblocklinewidth, color=framecolor, fill=innerblockbodybgcolor] |
| 131 |
(innerblockbody.south west) rectangle (innerblockbody.north east); % |
| 132 |
\ifInnerblockHasTitle% |
| 133 |
\draw[rounded corners=\innerblockroundedcorners, inner sep=\innerblocktitleinnersep, line width=\innerblocklinewidth, color=framecolor, fill=innerblocktitlebgcolor] |
| 134 |
(innerblocktitle.south west) rectangle (innerblocktitle.north east); % |
| 135 |
\fi% |
| 136 |
} |
| 137 |
|
| 138 |
\defineinnerblockstyle{Minimal}{ |
| 139 |
titlewidthscale=1, bodywidthscale=1, titleleft, |
| 140 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 141 |
bodyverticalshift=0pt, roundedcorners=0, linewidth=1.5mm, |
| 142 |
titleinnersep=10pt, bodyinnersep=10pt |
| 143 |
}{ |
| 144 |
\begin{scope}[line width=\innerblocklinewidth, rounded corners=\innerblockroundedcorners] |
| 145 |
\ifInnerblockHasTitle % |
| 146 |
\draw[draw=none, fill=innerblockbodybgcolor] |
| 147 |
(innerblockbody.south west) rectangle (innerblocktitle.north east); |
| 148 |
\draw[color=innerblocktitlebgcolor, loosely dashed] |
| 149 |
(innerblocktitle.south west) -- (innerblocktitle.south east);% |
| 150 |
\else |
| 151 |
\draw[draw=none, fill=innerblockbodybgcolor] |
| 152 |
(innerblockbody.south west) rectangle (innerblockbody.north east); |
| 153 |
\fi |
| 154 |
\end{scope} |
| 155 |
} |
| 156 |
|
| 157 |
\defineinnerblockstyle{Envelope}{ |
| 158 |
titlewidthscale=1, bodywidthscale=1, titlecenter, |
| 159 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 160 |
bodyverticalshift=0pt, roundedcorners=20, linewidth=1.3pt, |
| 161 |
titleinnersep=10pt, bodyinnersep=10pt |
| 162 |
}{ |
| 163 |
\begin{scope}[rounded corners=\innerblockroundedcorners, line width=\innerblocklinewidth, |
| 164 |
drop shadow={shadow xshift=0.3cm, shadow yshift=-0.3cm, opacity=0.3} ] |
| 165 |
\ifInnerblockHasTitle |
| 166 |
% the big rectangle |
| 167 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor, drop shadow] |
| 168 |
(innerblockbody.south west) rectangle (innerblocktitle.north east);% |
| 169 |
\begin{scope} |
| 170 |
\clip (innerblocktitle.south west) rectangle (innerblocktitle.north east); |
| 171 |
% fading on top |
| 172 |
\fill[rounded corners=0, path fading=south, fill=innerblocktitlebgcolor, opacity=.4] |
| 173 |
($(innerblocktitle.south west)-(0.1,0)$) rectangle ($(innerblocktitle.north east)+(0.1,0)$); |
| 174 |
% the trapezium |
| 175 |
\draw[draw=none, bottom color=innerblocktitlebgcolor, top |
| 176 |
color=innerblocktitlebgcolor!85!] % |
| 177 |
($(innerblocktitle.north west)+(0.25,0)$) -- ($(innerblocktitle.north west)+(0.75,0)$) -- % |
| 178 |
($(innerblocktitle.south west)+(2.5,0)$) -- ($(innerblocktitle.south east)-(2.5,0)$) -- % |
| 179 |
($(innerblocktitle.north east)-(0.75,0)$) -- ($(innerblocktitle.north east)-(0.25,0)$) -- cycle; |
| 180 |
\end{scope} |
| 181 |
\else |
| 182 |
% No title |
| 183 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor] |
| 184 |
(innerblockbody.south west) rectangle (innerblockbody.north east); |
| 185 |
\fi |
| 186 |
\end{scope} |
| 187 |
} |
| 188 |
|
| 189 |
\defineinnerblockstyle{Corner}{ |
| 190 |
titlewidthscale=1, bodywidthscale=1, titleleft, |
| 191 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 192 |
bodyverticalshift=0pt, roundedcorners=8, linewidth=1pt, |
| 193 |
titleinnersep=10pt, bodyinnersep=10pt |
| 194 |
}{ |
| 195 |
% the shadow above the corner |
| 196 |
\begin{scope} |
| 197 |
\clip (innerblockbody.south west) rectangle (innerblocktitle.north east); |
| 198 |
\begin{scope}[transform canvas={xshift=-1cm, yshift=-0.8cm, rotate |
| 199 |
around={-20:($(innerblocktitle.north east)-(10,0)$)}}] |
| 200 |
\fill[color=gray, path fading=north, opacity=0.8]% |
| 201 |
($(innerblocktitle.north east)-(10,1)$) rectangle ($(innerblocktitle.north east)+(2,2.3)$); |
| 202 |
\end{scope} |
| 203 |
\end{scope} |
| 204 |
% |
| 205 |
% the border |
| 206 |
\def \border{% |
| 207 |
[rounded corners=30] (innerblockbody.south west) -- (innerblocktitle.north west) % |
| 208 |
[rounded corners=30] -- ($(innerblocktitle.north east)-(9.4,0)$) |
| 209 |
[rounded corners=30] -- ($(innerblocktitle.north east)-(0,3.4)$) |
| 210 |
[rounded corners=30] |- (innerblockbody.south west) -- cycle |
| 211 |
} |
| 212 |
\draw[line width=\innerblocklinewidth, color=innerblocktitlebgcolor, fill=innerblockbodybgcolor, |
| 213 |
% drop shadow={shadow xshift=0.3cm, shadow yshift=-0.3cm, opacity=0.3} |
| 214 |
] \border; |
| 215 |
% |
| 216 |
% the corner |
| 217 |
\begin{scope} |
| 218 |
\def \corner{ ($(innerblocktitle.north east)-(0,6)$) -- ($(innerblocktitle.north east)-(0,4.5)$) .. % |
| 219 |
controls ($(innerblocktitle.north east)-(-0,2.7)$) and ($(innerblocktitle.north east)-(2.8,2.2)$) |
| 220 |
.. ($(innerblocktitle.north east)-(3.8,4.6)$) % |
| 221 |
.. controls ($(innerblocktitle.north east)-(8.6,0)$) .. ($(innerblocktitle.north east)-(11.4,0)$) % |
| 222 |
[rounded corners=30] -- ($(innerblocktitle.north east)-(9.4,0)$) % |
| 223 |
[rounded corners=30] -- ($(innerblocktitle.north east)-(0,3.4)$) % |
| 224 |
[rounded corners=0] -- ($(innerblocktitle.north east)-(0,6)$)} |
| 225 |
\draw[innerblocktitlebgcolor] \corner; |
| 226 |
\clip \corner; |
| 227 |
\begin{scope}[transform canvas={xshift=-1cm, yshift=-1.3cm, rotate |
| 228 |
around={-23:($(innerblocktitle.north east)-(10,0)$)}}] |
| 229 |
\fill[color=innerblocktitlebgcolor!90] ($(innerblocktitle.north east) - (10,2)$) |
| 230 |
rectangle ($(innerblocktitle.north east) + (2,3.6)$); % |
| 231 |
\fill[color=innerblocktitlebgcolor , path fading=south, opacity=1] |
| 232 |
($(innerblocktitle.north east) - (10,-1.2)$) rectangle ($(innerblocktitle.north east) + (2,1.6)$); % |
| 233 |
\fill[color=innerblocktitlebgcolor , path fading=north, opacity=1] |
| 234 |
($(innerblocktitle.north east) - (10,-1.6)$) rectangle ($(innerblocktitle.north east) + (2,2.1)$); |
| 235 |
\end{scope} |
| 236 |
\end{scope}% |
| 237 |
} |
| 238 |
|
| 239 |
\defineinnerblockstyle{Slide}{ |
| 240 |
titlewidthscale=1, bodywidthscale=1, titleleft, |
| 241 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 242 |
bodyverticalshift=0pt, roundedcorners=0, linewidth=0pt, |
| 243 |
titleinnersep=10pt, bodyinnersep=10pt |
| 244 |
}{ |
| 245 |
\ifInnerblockHasTitle% |
| 246 |
\draw[draw=none, left color=innerblocktitlebgcolor, right color=innerblockbodybgcolor] |
| 247 |
(innerblocktitle.south west) rectangle (innerblocktitle.north east); |
| 248 |
\fi% |
| 249 |
\draw[draw=none, fill=innerblockbodybgcolor] % |
| 250 |
(innerblockbody.north west) [rounded corners=30] -- (innerblockbody.south west) -- |
| 251 |
(innerblockbody.south east) [rounded corners=0]-- (innerblockbody.north east) -- cycle; |
| 252 |
} |
| 253 |
|
| 254 |
\defineinnerblockstyle{TornOut}{ |
| 255 |
titlewidthscale=1, bodywidthscale=1, titlecenter, |
| 256 |
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=0pt, |
| 257 |
bodyverticalshift=-1.2cm, roundedcorners=0, linewidth=1pt, |
| 258 |
titleinnersep=10pt, bodyinnersep=10pt |
| 259 |
}{ |
| 260 |
\ifInnerblockHasTitle% |
| 261 |
\coordinate (topright) at (innerblocktitle.north east); |
| 262 |
\else |
| 263 |
\coordinate (topright) at (innerblockbody.north east); |
| 264 |
\fi% |
| 265 |
\draw[color=innerblocktitlebgcolor, fill=innerblockbodybgcolor,% |
| 266 |
line width=\innerblocklinewidth, drop shadow={shadow xshift=0.2cm, shadow yshift=-0.2cm,opacity=0.3}, % |
| 267 |
decorate, decoration={random steps,segment length=1.5cm,amplitude=0.15cm} |
| 268 |
% decorate, decoration={penciline,amplitude=0.2cm} |
| 269 |
] (innerblockbody.south west) rectangle (topright);% |
| 270 |
} |
| 271 |
|
| 272 |
\endinput |
| 273 |
%% |
| 274 |
%% End of file `tikzposterInnerblockstyles.tex'. |