Debian Codegraph @

texmf-dist/tex/latex/tikzposter/tikzposterTitlestyles.tex

raw
1 %%
2 %% This is file `tikzposterTitlestyles.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% tikzposter.dtx (with options: `tikzposterTitlestyles.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 % width
34 % roundedcorners
35 % linewidth
36 % innersep
37 % titletotopverticalspace
38 % titletoblockverticalspace
39 % titlegraphictotitledistance
40 % titletextscale
41
42 % Parameter:
43 % \textwidth - length
44 % \textheight - length
45 % \titlewidth - length
46 % \titlegraphicheight - length
47 % \titlelinewidth - length
48 % \titleinnersep - length
49 % \titleposleft, \titleposright, \titleposbottom, \titlepostop - length
50 % \titletotopverticalspace - length
51 % titlebgcolor - color
52
53 \definetitlestyle{Default}{
54 width=600mm, roundedcorners=30, linewidth=0.4cm, innersep=1cm,
55 titletotopverticalspace=15mm, titletoblockverticalspace=20mm,
56 titlegraphictotitledistance=10pt, titletextscale=1
57 }{
58 \begin{scope}[line width=\titlelinewidth, rounded corners=\titleroundedcorners]
59 \draw[color=framecolor, fill=titlebgcolor]%
60 (\titleposleft,\titleposbottom) rectangle (\titleposright,\titlepostop);
61 \end{scope}
62 }
63
64 \definetitlestyle{Basic}{
65 width=770mm, roundedcorners=0, linewidth=0pt, innersep=10pt,
66 titletotopverticalspace=20mm, titletoblockverticalspace=20mm,
67 titlegraphictotitledistance=25mm, titletextscale=1
68 }{
69 \coordinate (topright) at (0.5\textwidth-0.5\titlelinewidth, 0.5\textheight-0.5\titlelinewidth);
70 \coordinate (bottomleft) at (-0.5\textwidth+0.5\titlelinewidth, 0.5\textheight-\titlegraphicheight-0.5\titlelinewidth-2\titletotopverticalspace-2\titleinnersep);
71 \draw[line width=\titlelinewidth, inner sep=\titleinnersep, fill=titlebgcolor] (bottomleft) rectangle (topright);
72 }
73
74 \definetitlestyle{Envelope}{
75 width=\paperwidth, roundedcorners=0, linewidth=0pt, innersep=1.5cm,
76 titletotopverticalspace=0mm, titletoblockverticalspace=20mm,
77 titlegraphictotitledistance=10pt, titletextscale=1
78 }{
79 \coordinate (topleft) at (\titleposleft,\titlepostop);
80 \coordinate (topright) at (\titleposright,\titlepostop);
81 \coordinate (lefttoright) at (\titlewidth,0);
82 \coordinate (head) at (0,\titlepostop-\titleposbottom);
83 %
84 \draw[draw=none, bottom color=blocktitlebgcolor!90!black, %
85 top color=titlebgcolor!90] %
86 (topleft) -- ($(topleft)-0.2*(head)$) .. controls ($(topleft)-(head)+(1,0)$)
87 .. ($(topleft)-(head)+0.2*(lefttoright)$) --
88 ($(topleft)-(head)+0.8*(lefttoright)$) .. controls ($(topright)-(head)-(1,0)$)
89 .. %
90 ($(topright)-0.2*(head)$) -- (topright) -- cycle;
91 %
92 \draw[draw=none, right color=white, left color=blocktitlebgcolor]
93 ($(topleft)-(head)+0.8*(lefttoright)$) .. controls
94 ($(topleft)-(head)+0.92*(lefttoright)+(0,0.7)$) and %
95 ($(topright)- 0.13*(lefttoright)$) .. %
96 (topright) .. controls %
97 ($(topright)- 0.11*(lefttoright)$) and%
98 ($(topleft)-(head)+0.95*(lefttoright)$) .. %
99 ($(topleft)-(head)+0.82*(lefttoright)$);
100 %
101 \draw[draw=none, right color=white, left color=blocktitlebgcolor]
102 ($(topleft)-(head)+0.83*(lefttoright)$) .. controls
103 ($(topleft)-(head)+0.97*(lefttoright)+(0,0.2)$) and %
104 ($(topright)- 0.08*(lefttoright)$) .. %
105 (topright) .. controls %
106 ($(topright)- 0.06*(lefttoright)$) and %
107 ($(topleft)-(head)+0.99*(lefttoright)$) .. %
108 ($(topleft)-(head)+0.85*(lefttoright)$); %
109 }
110
111 \definetitlestyle{Wave}{
112 width=\paperwidth, roundedcorners=0, linewidth=0pt, innersep=1.5cm,
113 titletotopverticalspace=0mm, titletoblockverticalspace=20mm,
114 titlegraphictotitledistance=10pt, titletextscale=1
115 }{
116 \coordinate (topleft) at (\titleposleft,\titlepostop);
117 \coordinate (topright) at (\titleposright,\titlepostop);
118 \coordinate (lefttoright) at (\titlewidth,0);
119 \coordinate (head) at (0,\titlepostop-\titleposbottom);
120 %
121 \draw[draw=none, left color=blocktitlebgcolor!90!black, right color=titlebgcolor!95]%
122 (topright) -- (topleft) -- %
123 ($(topleft) - (head)-(0,6)$) .. controls %
124 ($(topleft) - (head)-(0,6) + 0.25*(lefttoright) + (0,9)$) and %
125 ($(topright) - (head) - 0.5*(lefttoright) - (-10,16)$) .. %
126 ($(topright) - (head)$) -- cycle;
127 %
128 \draw[draw=none, left color=blocktitlebgcolor, right color=white] %
129 ($(topleft) - (head)-(0,2)$) .. controls %
130 ($(topleft) - (head)-(-6,3) + 0.25*(lefttoright) + (0,10)$) and ($(topright) -
131 (head) - 0.25*(lefttoright) - (-6,17)$).. %
132 ($(topright) - (head)$) .. controls %
133 ($(topright) - (head) - 0.25*(lefttoright)-(-7,19)$) and %
134 ($(topleft) - (head)-(-9,5) + 0.25*(lefttoright) + (0,10)$) .. %
135 ($(topleft) - (head)-(0,4)$);
136 %
137 \draw[draw=none, left color=white, right color=blocktitlebgcolor!90!black]%
138 ($(topleft) - (head)-(0,2)$) .. controls %
139 ($(topleft) - (head)-(-6,3) + 0.25*(lefttoright) + (0,10)$) and ($(topright) -
140 (head)+(0,6) - 0.25*(lefttoright) - (-6,20)$)..%
141 ($(topright) - (head)+(0,6)$) -- %
142 ($(topright) - (head)$) .. controls %
143 ($(topright) - (head) - 0.25*(lefttoright) - (-6,17)$) and %
144 ($(topleft) - (head)-(-8,4) + 0.25*(lefttoright) + (0,10)$) .. %
145 ($(topleft) - (head)-(0,2)$);
146 \setlength{\TP@titletoblockverticalspace}{5\TP@titletoblockverticalspace}
147 }
148
149 \definetitlestyle{VerticalShading}{
150 width=\paperwidth, roundedcorners=0, linewidth=0pt, innersep=1.5cm,
151 titletotopverticalspace=0mm, titletoblockverticalspace=20mm,
152 titlegraphictotitledistance=10pt, titletextscale=1
153 }{
154 \draw[draw=none, bottom color=framecolor, top color=titlebgcolor]%
155 (\titleposleft,\titleposbottom) rectangle (\titleposright,\titlepostop); %
156 }
157
158 \definetitlestyle{Filled}{
159 width=\paperwidth, roundedcorners=0, linewidth=0pt, innersep=1.5cm,
160 titletotopverticalspace=0mm, titletoblockverticalspace=20mm,
161 titlegraphictotitledistance=10pt
162 }{
163 \draw[draw=none, fill=titlebgcolor]%
164 (\titleposleft,\titleposbottom) rectangle (\titleposright,\titlepostop); %
165 }
166
167 \definetitlestyle{Empty}{
168 width=750mm, roundedcorners=0, linewidth=0pt, innersep=8mm,
169 titletotopverticalspace=5mm, titletoblockverticalspace=20mm,
170 titlegraphictotitledistance=10pt
171 }{}
172
173
174 \endinput
175 %%
176 %% End of file `tikzposterTitlestyles.tex'.