diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty | 357 |
1 files changed, 357 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty new file mode 100644 index 00000000000..aa9387b57a9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tudscr/tudscrcomp-poster.sty @@ -0,0 +1,357 @@ +%% +%% 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-KOMA-Script +%% Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016 +%% +%% ============================================================================ +%% +%% 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. +%% +%% ---------------------------------------------------------------------------- +%% +%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz +%% in der Version 1.3c, verteilt und/oder veraendert werden. Die aktuelle +%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und +%% Version 1.3c oder spaeter ist Teil aller Verteilungen von LaTeX 2005/12/01 +%% oder spaeter und dieses Werks. Dieses Werk hat den LPPL-Verwaltungs-Status +%% "author-maintained", wird somit allein durch den Autor verwaltet. Der +%% aktuelle Verwalter und Autor dieses Werkes ist 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.17}% + } + \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-KOMA-Script-Bundle versions% + }% + \fi% + } + \fi + \TUD@Version@Check{2016/07/26 v2.05 TUD-KOMA-Script} +\endgroup +\NeedsTeXFormat{LaTeX2e} +\providecommand*\tudscrmail{tudscr@gmail.com} +\@ifundefined{TUD@Class@Name}{% + \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 +}{} +\@ifundefined{TUDScript}{% + \DeclareRobustCommand\TUDScript{% + \ifdin{TUD-KOMA-SCRIPT}{% + \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript% + }\csname xspace\endcsname% + }% +}{} +%%% From File: tudscr-comp.dtx +\ProvidesPackage{tudscrcomp-poster}[% + 2016/07/26 v2.05 TUD-KOMA-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{backgroundcolor=true}% + \else% + \TUDoptions{backgroundcolor=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}} +\TUDProcessOptions\relax +%%% From File: tudscr-comp.dtx +\def\dinBold{\dinbn} +\def\dinfamily{\dinbn} +\newcommand*\einrichtung{\faculty} +\newcommand*\fachrichtung{\department} +\newcommand*\institut{\institute} +\newcommand*\professur{\chair} +\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'% + }% +} +\newcounter{topsection} +\let\c@topsection\c@section +\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} +\newcounter{topsubsection} +\let\c@topsubsection\c@subsection +\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} +\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@cmd@store{raggedsection}% + \let\raggedsection\centering% + \ifx#2\@nil\relax% + \csuse{#1}{#3}% + \else% + \csuse{#1}[#2]{#3}% + \fi% + \tud@cmd@restore{raggedsection}% +} +\newcommand\sectiontopskip{\scr@section@beforeskip} +\newcommand\subsectiontopskip{\scr@subsection@beforeskip} +\setcounter{secnumdepth}{-1} +\newcommand*\fusszeile[2][]{\footcontent[#1]{#2}} +\newcommand*\footcolumn[2]{% + \ifxnumber{#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}{}{% + \ifxlen{\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'. |