Skip to content
Snippets Groups Projects
Commit b796950b authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent f5473517
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,10 @@ ...@@ -65,7 +65,10 @@
\preto\@classoptionslist{a0paper,portrait,ngerman,} \preto\@classoptionslist{a0paper,portrait,ngerman,}
% Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung? % Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung?
\LoadClass{scrartcl} \LoadClass[%
%,headings=normal
%,parskip=half
]{scrartcl}
\@ifundefined{changefontsizes}{% \@ifundefined{changefontsizes}{%
\ClassError{ptbposter}{% \ClassError{ptbposter}{%
...@@ -126,7 +129,7 @@ ...@@ -126,7 +129,7 @@
\renewcommand*\familydefault{\sfdefault} \renewcommand*\familydefault{\sfdefault}
\fi \fi
\RequirePackage{geometry}% Papiergröße steht bereits fest (Standard: A0) \RequirePackage[verbose]{geometry}% Papiergröße steht bereits fest (Standard: A0)
\ifdim\paperheight>\paperwidth \ifdim\paperheight>\paperwidth
\setlength\PTB@scale@base{\paperheight} \setlength\PTB@scale@base{\paperheight}
...@@ -398,6 +401,7 @@ ...@@ -398,6 +401,7 @@
%%%\makeatletter\input{ptbposter-size.clo}\makeatother %%%\makeatletter\input{ptbposter-size.clo}\makeatother
%%%\makeatletter\input{ptbposter.patch}\makeatother% weiter vorn! Test auf Version %%%\makeatletter\input{ptbposter.patch}\makeatother% weiter vorn! Test auf Version
\changefontsizes{\the\PTB@default@fsize}% \changefontsizes{\the\PTB@default@fsize}%
\KOMAoptions{headings=normal,parskip=half} \normalsize
\setlength\PTB@texthsep{.5em}% \setlength\PTB@texthsep{.5em}%
\setlength\PTB@textvsep{.75em}% \setlength\PTB@textvsep{.75em}%
\ifPTB@landscape \ifPTB@landscape
...@@ -416,18 +420,38 @@ ...@@ -416,18 +420,38 @@
textheight=\the\dimexpr\PTB@frameheight-2\PTB@textvsep}% textheight=\the\dimexpr\PTB@frameheight-2\PTB@textvsep}%
\noexpand\normalsize \noexpand\normalsize
}% }%
\typeout{XXXXXXXXXXXXXXXXXXXXXXXXXXXXX}%
\PTB@tempa \PTB@tempa
\iffalse
\paperwidth=2392.87677pt %
\paperheight=3383.03267pt %
\textwidth=2175.25656pt %
\textheight=2437.77509pt %
\oddsidemargin=36.54012pt %
\evensidemargin=36.54012pt %
\topmargin=535.06314pt %
\headheight=17.0pt %
\headsep=20.40001pt %
\topskip=11.0pt %
\footskip=47.6pt %
\marginparwidth=59.7508pt %
\marginparsep=12.8401pt %
\columnsep=88.06537pt %
\fi
\typeout{YYYYYYYYYYYYYYYYYYYYYYYYYYYYY}%
%\columnsep=2em %
%\textwidth=\the\dimexpr\PTB@framewidth-2\PTB@texthsep
%\textheight=\the\dimexpr\PTB@frameheight-2\PTB@textvsep
\ifx\PTB@final@paper\@empty\else\PTB@scaletoPaper{\PTB@final@paper}\fi \ifx\PTB@final@paper\@empty\else\PTB@scaletoPaper{\PTB@final@paper}\fi
\KOMAoptions{parskip=half} %\KOMAoptions{parskip=half}
\renewcommand\section{\@startsection{section}{1}{\z@}% %\KOMAoptions{headings=normal,parskip=half}
{-1.5ex \@plus -.5ex \@minus -.2ex}%
{.8ex \@plus .2ex}%
{\raggedsection\normalfont\sectfont\size@section}%
}
\setlength\emergencystretch{3em}% \setlength\emergencystretch{3em}%
\@ifpackageloaded{multicol}{% \@ifpackageloaded{multicol}{%
\def\setemergencystretch#1#2{}% \def\setemergencystretch#1#2{}%
}{}% }{}%
\RequirePackage{paralist} \RequirePackage{paralist}
\newcommand*\PTB@begin@list[1]{% \newcommand*\PTB@begin@list[1]{%
%\PTB@tempdima=\parindent %\PTB@tempdima=\parindent
...@@ -459,31 +483,92 @@ ...@@ -459,31 +483,92 @@
\KOMAoptions{captions=oneline} \KOMAoptions{captions=oneline}
\renewenvironment{figure}[1][]{% \newcommand*\ptb@figure{%
\def\@captype{figure}%
\trivlist\item\relax \trivlist\item\relax
}{\endtrivlist} \minipage{\linewidth}%
\renewenvironment{figure*}[1][]{% \def\@captype{figure}%
\def\@captype{figure}% }
\newcommand*\ptb@table{%
\trivlist\item\relax \trivlist\item\relax
}{\endtrivlist} \minipage{\linewidth}%
\def\@captype{table}%
}
\newcommand*\ptb@endfigtab{%
\endminipage
\endtrivlist
}
\renewenvironment{figure}[1][]{%
\ptb@figure
}{\ptb@endfigtab}
\renewenvironment{figure*}[1][]{%
\ptb@figure
}{\ptb@endfigtab}
\renewenvironment{table}[1][]{% \renewenvironment{table}[1][]{%
\def\@captype{table}% \ptb@table
\trivlist\item\relax }{\ptb@endfigtab}
}{\endtrivlist}
\renewenvironment{table*}[1][]{% \renewenvironment{table*}[1][]{%
\def\@captype{table}% \ptb@table
\trivlist\item\relax }{\ptb@endfigtab}
}{\endtrivlist}
\addtokomafont{caption}{\small} \addtokomafont{caption}{\small}
\addtokomafont{captionlabel}{\sffamily\bfseries} \addtokomafont{captionlabel}{\sffamily\bfseries}
\setcapindent{1em} \setcapindent{1em}
%\setcapwidth[l]{\linewidth} %\setcapwidth[l]{\linewidth}
\AtBeginDocument{%
\RedeclareSectionCommand[%
style=section,%
level=1,%
indent=\z@,%
beforeskip=-3.5ex \@plus -1ex \@minus -.2ex,%
afterskip=0.1ex \@plus.2ex,%
tocindent=0pt,%
tocnumwidth=1.5em%
]{section}
\RedeclareSectionCommand[%
style=section,%
level=2,%
indent=\z@,%
beforeskip=-1.2ex\@plus -1ex \@minus -.2ex,%
afterskip=0.1ex \@plus .2ex,%
tocindent=1.5em,%
tocnumwidth=2.3em%
]{subsection}
\RedeclareSectionCommand[%
style=section,%
level=3,%
indent=\z@,%
beforeskip=-1.2ex\@plus -1ex \@minus -.2ex,%
afterskip=0.1ex \@plus .2ex,%
tocindent=3.8em,%
tocnumwidth=3.2em%
]{subsubsection}
\RedeclareSectionCommand[%
style=section,%
level=4,%
indent=\z@,%
beforeskip=1.2ex \@plus1ex \@minus.2ex,%
afterskip=-1em,%
tocindent=7.0em,%
tocnumwidth=4.1em%
]{paragraph}
\RedeclareSectionCommand[%
style=section,%
level=5,%
indent=\scr@parindent,%
beforeskip=1.2ex \@plus1ex \@minus .2ex,%
afterskip=-1em,%
tocindent=10em,%
tocnumwidth=5em%
]{subparagraph}
}
\setcounter{secnumdepth}{-2} \setcounter{secnumdepth}{-2}
\renewcommand*\maketitle[1][1]{} \renewcommand*\maketitle[1][1]{}
\renewcommand*\tableofcontents{} \renewcommand*\tableofcontents{}
\pagestyle{empty} \pagestyle{empty}
\raggedbottom
\endinput \endinput
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment