summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty
blob: 4927a9cf7f61a6d9472ac56f132bc5f6d5bf91bf (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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
%%
%% This is file `tudscrcomp-poster.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tudscr-version.dtx  (with options: `package,comp,poster')
%% tudscr-comp.dtx  (with options: `package,comp,poster,identify')
%% tudscr-comp.dtx  (with options: `package,comp,poster,option')
%% tudscr-misc.dtx  (with options: `package,comp,poster,execute')
%% tudscr-comp.dtx  (with options: `package,comp,poster,body')
%% 
%% TUD-Script -- Corporate Design of Technische Universitaet Dresden
%% 
%%   2019/07/09 v2.06a TUD-Script
%% 
%% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019
%% 
%% This file was generated from file(s) of the TUD-Script bundle.
%% ----------------------------------------------------------------------------
%% 
%% This work may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, version 1.3c of the license.
%% The latest version of this license is in
%%     http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of
%% LaTeX 2005/12/01 or later and of this work.
%% 
%% This work has the LPPL maintenance status "author-maintained".
%% 
%% The current maintainer and author of this work is Falk Hanisch.
%% 
%%% From File: tudscr-version.dtx
\begingroup
  \catcode`\@11\relax
  \ifx\TUD@Version\@undefined
    \newcommand*\TUD@Version@Check[1]{%
      \gdef\TUD@Version{#1}%
      \gdef\TUDScriptVersion{#1}%
      \def\@tempb##1 v##2 ##3\relax##4\relax{\gdef\TUDScriptVersionNumber{##2}}%
      \edef\@tempa{\TUD@Version}%
      \expandafter\@tempb\@tempa\relax? ? \relax\relax%
      \gdef\TUD@Version@KOMA{3.25}%
    }
  \else
    \newcommand*\TUD@Version@Check[1]{%
      \def\@tempa{#1}%
      \ifx\TUD@Version\@tempa\else%
        \@latex@warning@no@line{%
          \noexpand\TUD@Version\space is `\TUD@Version',\MessageBreak%
          but `#1' was expected!\MessageBreak%
          You should not use classes, packages or files from\MessageBreak%
          different TUD-Script-Bundle versions%
        }%
      \fi%
    }
  \fi
  \TUD@Version@Check{2019/07/09 v2.06a TUD-Script}
\endgroup
\NeedsTeXFormat{LaTeX2e}
\providecommand*\tudscrmail{hanisch.latex@outlook.com}
\ifx\TUD@Class@Name\@undefined
  \PackageError{%
    tudscrcomp-poster%
  }{Unsupported class found}{%
    This package can only be used with a class out of the\MessageBreak%
    tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl, tudscrposter).%
  }%
  \endinput%
\fi
\@ifundefined{TUDScript}{%
  \DeclareRobustCommand\TUDScript{%
    \begingroup%
      \def\tud@res@b##1{T\kern.05em U\kern.05em D\kern.1em-\kern.1em ##1}%
      \tud@ifdin{%
        \edef\tud@res@a{\tud@res@b{SCRIPT}}%
      }{%
        \edef\tud@res@a{\noexpand\textsf{\tud@res@b{Script}}}%
      }%
    \expandafter\endgroup\tud@res@a%
    \csname xspace\endcsname%
  }%
}{}
%%% From File: tudscr-comp.dtx
\ProvidesPackage{tudscrcomp-poster}[%
  2019/07/09 v2.06a TUD-Script
  package
  (compatibility for old tud(scr) classes)%
]
%%% From File: tudscr-comp.dtx
\TUD@key{bluebg}[true]{%
  \TUD@set@ifkey{bluebg}{@tempswa}{#1}%
  \ifx\FamilyKeyState\FamilyKeyStateProcessed%
    \if@tempswa%
      \TUDoptions{backcolor=true}%
    \else%
      \TUDoptions{backcolor=false}%
    \fi%
  \fi%
}
\newif\if@tud@mathposterfoot
\TUD@key{tudmathposterfoot}[true]{%
  \TUD@set@ifkey{tudmathposterfoot}{@tud@mathposterfoot}{#1}%
  \ifx\FamilyKeyState\FamilyKeyStateProcessed%
    \if@tud@mathposterfoot%
      \footcontent[\small]{%
        \tud@footcontent@@left{}%
      }[%
        \tud@footcontent@@right{}{}%
      ]%
    \else%
      \footcontent{%
        \tud@footcontent@@left{\contactname}%
      }[%
        \tud@footcontent@@right{\authorname}{\contactpersonname}%
      ]%
    \fi%
  \fi%
}
\TUD@key{cdfoot}[true]{%
  \TUD@set@numkey{cdfoot}{@tempa}{%
    {tudscrposter}{0},{tudscrposterfoot}{0},{cdposter}{0},{poster}{0},%
    {tudmathposter}{1},{tudmathposterfoot}{1},{mathposter}{1},{tudposter}{1}%
  }{#1}%
  \ifx\FamilyKeyState\FamilyKeyStateProcessed%
    \ifcase\@tempa\relax% tudscrposter
      \TUDoptions{tudmathposterfoot=false}%
    \else% tudmathposter
      \TUDoptions{tudmathposterfoot=true}%
    \fi%
  \fi%
}
%%% From File: tudscr-misc.dtx
\DeclareOption*{\TUDoptions{\CurrentOption}}
\TUDExecuteOptions{%
}
\TUDProcessOptions\relax
%%% From File: tudscr-comp.dtx
\newcommand*\einrichtung{\faculty}
\newcommand*\fachrichtung{\department}
\newcommand*\institut{\institute}
\newcommand*\professur{\chair}
\newcommand*\dinBold{\dinbn}
\newcommand*\dinfamily{\dinbn}
\newcommand*\ps@tudposter{}
\let\ps@tudposter\ps@empty
\AfterPackage*{scrlayer-scrpage}{%
  \DeclarePageStyleAlias{tudposter}{empty.tudheadings}%
}
\newrobustcmd*\telefon{\telephone}
\patchcmd{\tud@split@author@list}{telephone}{%
  telephone,telefon%
}{}{\tud@patch@wrn{tud@split@author@list}}
\newrobustcmd*\fax{\telefax}
\patchcmd{\tud@split@author@list}{telefax}{%
  telefax,fax%
}{}{\tud@patch@wrn{tud@split@author@list}}
\newrobustcmd*\email[1]{\emailaddress*{#1}}
\patchcmd{\tud@split@author@list}{emailaddress}{%
  emailaddress,email%
}{}{\tud@patch@wrn{tud@split@author@list}}
\newcommand*\homepage[1]{\webpage*{#1}}
\newcommand*\zweitlogofile[2][]{\headlogo[#1]{#2}}
\newcommand*\zweitlogo[1]{%
  \PackageWarning{tudscrcomp}{%
    It isn't possible to redefine the definition for\MessageBreak%
    including a logo in the header. Please see the\MessageBreak%
    documentation of \string\headlogo%
  }%
}
\newcommand*\institutslogofile[2][]{\footlogo[#1]{,,,,,,,#2,}}
\newcommand*\institutslogo[1]{%
  \PackageWarning{tudscrcomp}{%
    It isn't possible to redefine the definition for\MessageBreak%
    including a logo in the footer. Please see the\MessageBreak%
    documentation of \string\footlogo%
  }%
}
\newcommand*\drittlogofile[1]{%
  \PackageWarning{tudscrcomp}{%
    Nothing happened, you should use \string\footlogo\MessageBreak%
    instead. Please see the documentation of \string\footlogo\MessageBreak%
    and option `ddc' or `ddcfoot'%
  }%
}
\newcommand*\drittlogo[1]{%
  \PackageWarning{tudscrcomp}{%
    It isn't possible to redefine the definition for\MessageBreak%
    including a logo in the footer. Please see the\MessageBreak%
    documentation of \string\footlogo\space and option\MessageBreak%
    `ddc' or `ddcfoot'%
  }%
}
\newcommand*\topsectionnumdepth{\sectionnumdepth}
\newcommand*\scr@topsection@sectionindent{\scr@section@sectionindent}
\newcommand*\scr@topsection@beforeskip{\scr@section@beforeskip}
\newcommand*\scr@topsection@afterskip{\scr@section@afterskip}
\newcommand*\topsectiontocdepth{\sectiontocdepth}
\newcommand*\scr@topsection@tocindent{\scr@section@tocindent}
\newcommand*\scr@topsection@tocnumwidth{\scr@section@tocnumwidth}
\newcommand*\l@topsection{\l@section}
\DeclareNewSectionCommand[%
  style=section,%
  font={\usekomafont{section}},%
  beforeskip=\z@,%
]{topsection}
\let\c@topsection\c@section
\newcommand*\topsubsectionnumdepth{\subsectionnumdepth}
\newcommand*\scr@topsubsection@sectionindent{\scr@subsection@sectionindent}
\newcommand*\scr@topsubsection@beforeskip{\scr@subsection@beforeskip}
\newcommand*\scr@topsubsection@afterskip{\scr@subsection@afterskip}
\newcommand*\topsubsectiontocdepth{\subsectiontocdepth}
\newcommand*\scr@topsubsection@tocindent{\scr@subsection@tocindent}
\newcommand*\scr@topsubsection@tocnumwidth{\scr@subsection@tocnumwidth}
\newcommand*\l@topsubsection{\l@subsection}
\DeclareNewSectionCommand[%
  style=section,%
  font={\usekomafont{subsection}},%
  beforeskip=\z@,%
]{topsubsection}
\let\c@topsubsection\c@subsection
\newcommand*\centersection[2][\@nil]{%
  \tud@comp@centersection{section}{#1}{#2}%
}
\newcommand*\centersubsection[2][\@nil]{%
  \tud@comp@centersection{subsection}{#1}{#2}%
}
\newcommand*\topcentersection[2][\@nil]{%
  \tud@comp@centersection{topsection}{#1}{#2}%
}
\newcommand*\topcentersubsection[2][\@nil]{%
  \tud@comp@centersection{topsubsection}{#1}{#2}%
}
\newcommand*\tud@comp@centersection[3]{%
  \tud@cs@store{raggedsection}%
  \let\raggedsection\centering%
  \ifx#2\@nil\relax%
    \csuse{#1}{#3}%
  \else%
    \csuse{#1}[#2]{#3}%
  \fi%
  \tud@cs@restore{raggedsection}%
}
\newcommand\sectiontopskip{\scr@section@beforeskip}
\newcommand\subsectiontopskip{\scr@subsection@beforeskip}
\setcounter{secnumdepth}{\m@ne}
\newcommand*\fusszeile[2][]{\footcontent[#1]{#2}}
\newcommand*\footcolumn[2]{%
  \ifnumber{#1}{%
    \ifcase#1\relax%
      \footcontent{#2}%
    \or%
      \footcontent{#2}[*]%
    \or%
      \footcontent{*}[#2]%
    \fi%
  }{}%
}
\newcommand*\tud@comp@mathposterwidth{4.2\tud@len@widemargin}
\patchcmd{\tud@footcontent@use}{%
  \hsize=\dimexpr#2-\@tempdimc\relax%
}{%
  \if@tud@mathposterfoot%
    \hsize=\dimexpr\tud@comp@mathposterwidth\relax%
  \else%
    \hsize=\dimexpr#2-\@tempdimc\relax%
  \fi%
}{}{\tud@patch@wrn{tud@footcontent@use}}
\patchcmd{\tud@footcontent@use}{%
  \hsize=\dimexpr(#2-\columnsep)/2\relax%
}{%
  \if@tud@mathposterfoot%
    \hsize=\dimexpr(\tud@comp@mathposterwidth-\columnsep)/2\relax%
  \else%
    \hsize=\dimexpr(#2-\columnsep)/2\relax%
  \fi%
}{}{\tud@patch@wrn{tud@footcontent@use}}
\patchcmd{\tud@footcontent@use}{%
  \hsize=\dimexpr(#2-\columnsep)/2-\@tempdimc\relax%
}{%
  \if@tud@mathposterfoot%
    \hsize=\dimexpr(\tud@comp@mathposterwidth-\columnsep)/2\relax%
  \else%
    \hsize=\dimexpr(#2-\columnsep)/2-\@tempdimc\relax%
  \fi%
}{}{\tud@patch@wrn{tud@footcontent@use}}
\newenvironment{figurehere}{%
  \def\@captype{figure}%
  \renewcommand*\caption{\captionof{figure}}%
  \renewcommand*\captionabove{\captionaboveof{figure}}%
  \renewcommand*\captionbelow{\captionbelowof{figure}}%
  \vskip\intextsep%
  \vbox \bgroup%
    \hsize=\columnwidth%
    \@parboxrestore%
    \ignorespaces%
}{%
  \egroup%
  \vskip\intextsep%
  \ignorespaces%
}
\newenvironment{tablehere}{%
  \def\@captype{table}%
  \renewcommand*\caption{\captionof{table}}%
  \renewcommand*\captionabove{\captionaboveof{table}}%
  \renewcommand*\captionbelow{\captionbelowof{table}}%
  \vskip\intextsep%
  \vbox \bgroup%
    \hsize=\columnwidth%
    \@parboxrestore%
    \ignorespaces%
}{%
  \egroup%
  \vskip\intextsep%
  \ignorespaces%
}
\PassOptionsToPackage{table}{xcolor}
\newif\if@tud@comp@graytable
\newcommand*\blautabelle{\@tud@comp@graytablefalse}
\newcommand*\grautabelle{\@tud@comp@graytabletrue}
\newenvironment{farbtabellen}{%
  \if@tud@comp@graytable%
    \rowcolors{1}{HKS92!20}{HKS92!10}%
  \else%
    \rowcolors{1}{HKS41!20}{HKS41!10}%
  \fi%
}{}
\ifundef{\schnittrand}{}{%
  \ifisdimension{\schnittrand}{%
    \edef\@tempa{%
      paperwidth=\the\dimexpr\paperwidth+\schnittrand*2\relax,%
      paperheight=\the\dimexpr\paperheight+\schnittrand*2\relax,%
      layout=\the\paperwidth:\the\paperheight,%
      layoutoffset=\the\dimexpr\schnittrand\relax,%
      showcrop%
    }%
    \expandafter\geometry\expandafter{\@tempa}%
  }{%
    \PackageErrorNoLine{tudscrcomp}{%
      Wrong definition for `\string\schnittrand'%
    }{%
      The definition of `\string\schnittrand' does not expand to\MessageBreak%
      a valid dimension expression.%
    }%
  }%
}%
\AtEndPreamble{%
  \RequirePackage{amsmath}[2016/06/28]%
  \RequirePackage{amsfonts}[2013/01/14]%
  \RequirePackage{calc}[2014/10/28]%
  \RequirePackage{textcomp}[2016/06/19]%
  \RequirePackage{tabularx}[2016/02/03]%
}
\endinput
%%
%% End of file `tudscrcomp-poster.sty'.