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 @@
\preto\@classoptionslist{a0paper,portrait,ngerman,}
% Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung?
\LoadClass{scrartcl}
\LoadClass[%
%,headings=normal
%,parskip=half
]{scrartcl}
\@ifundefined{changefontsizes}{%
\ClassError{ptbposter}{%
......@@ -126,7 +129,7 @@
\renewcommand*\familydefault{\sfdefault}
\fi
\RequirePackage{geometry}% Papiergröße steht bereits fest (Standard: A0)
\RequirePackage[verbose]{geometry}% Papiergröße steht bereits fest (Standard: A0)
\ifdim\paperheight>\paperwidth
\setlength\PTB@scale@base{\paperheight}
......@@ -398,6 +401,7 @@
%%%\makeatletter\input{ptbposter-size.clo}\makeatother
%%%\makeatletter\input{ptbposter.patch}\makeatother% weiter vorn! Test auf Version
\changefontsizes{\the\PTB@default@fsize}%
\KOMAoptions{headings=normal,parskip=half} \normalsize
\setlength\PTB@texthsep{.5em}%
\setlength\PTB@textvsep{.75em}%
\ifPTB@landscape
......@@ -416,18 +420,38 @@
textheight=\the\dimexpr\PTB@frameheight-2\PTB@textvsep}%
\noexpand\normalsize
}%
\typeout{XXXXXXXXXXXXXXXXXXXXXXXXXXXXX}%
\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
\KOMAoptions{parskip=half}
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-1.5ex \@plus -.5ex \@minus -.2ex}%
{.8ex \@plus .2ex}%
{\raggedsection\normalfont\sectfont\size@section}%
}
%\KOMAoptions{parskip=half}
%\KOMAoptions{headings=normal,parskip=half}
\setlength\emergencystretch{3em}%
\@ifpackageloaded{multicol}{%
\def\setemergencystretch#1#2{}%
}{}%
\RequirePackage{paralist}
\newcommand*\PTB@begin@list[1]{%
%\PTB@tempdima=\parindent
......@@ -459,31 +483,92 @@
\KOMAoptions{captions=oneline}
\renewenvironment{figure}[1][]{%
\def\@captype{figure}%
\newcommand*\ptb@figure{%
\trivlist\item\relax
}{\endtrivlist}
\renewenvironment{figure*}[1][]{%
\def\@captype{figure}%
\minipage{\linewidth}%
\def\@captype{figure}%
}
\newcommand*\ptb@table{%
\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][]{%
\def\@captype{table}%
\trivlist\item\relax
}{\endtrivlist}
\ptb@table
}{\ptb@endfigtab}
\renewenvironment{table*}[1][]{%
\def\@captype{table}%
\trivlist\item\relax
}{\endtrivlist}
\ptb@table
}{\ptb@endfigtab}
\addtokomafont{caption}{\small}
\addtokomafont{captionlabel}{\sffamily\bfseries}
\setcapindent{1em}
%\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}
\renewcommand*\maketitle[1][1]{}
\renewcommand*\tableofcontents{}
\pagestyle{empty}
\raggedbottom
\endinput
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment