From f5473517e65d6a034981356d13ed1a94a513093d Mon Sep 17 00:00:00 2001
From: niepra01 <rolf.niepraschk@ptb.de>
Date: Mon, 11 May 2015 08:46:47 +0200
Subject: [PATCH] =?UTF-8?q?nichtgleitende=20figure/table=20(Code=20ge?=
 =?UTF-8?q?=C3=A4ndert)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ptbposter/ptbposter.cls | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls
index 488d0cb..1c5caeb 100644
--- a/ptbposter/ptbposter.cls
+++ b/ptbposter/ptbposter.cls
@@ -4,7 +4,7 @@
 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{ptbposter}
-    [2015/05/08 v0.3d PTB-Poster-Klasse (RN)]
+    [2015/05/11 v0.3e PTB-Poster-Klasse (RN)]
 
 \newdimen\PTB@topmargin      % Abstand zum Rahmen
 \newdimen\PTB@leftmargin     % Abstand zum Rahmen
@@ -457,17 +457,29 @@
   \setlength\labelsep{.5em}
 }
 
+\KOMAoptions{captions=oneline}
 
 \renewenvironment{figure}[1][]{%
-  \renewcommand*\caption[2][]{\captionof{figure}{##2}}%
-}{}
+  \def\@captype{figure}%
+  \trivlist\item\relax
+}{\endtrivlist}
+\renewenvironment{figure*}[1][]{%
+  \def\@captype{figure}%
+  \trivlist\item\relax
+}{\endtrivlist}
 \renewenvironment{table}[1][]{%
-  \renewcommand*\caption[2][]{\captionof{table}{##2}}%
-}{}
+  \def\@captype{table}%
+  \trivlist\item\relax
+}{\endtrivlist}
+\renewenvironment{table*}[1][]{%
+  \def\@captype{table}%
+  \trivlist\item\relax
+}{\endtrivlist}
+
 \addtokomafont{caption}{\small}
-\addtokomafont{captionlabel}{\bfseries}
+\addtokomafont{captionlabel}{\sffamily\bfseries}
 \setcapindent{1em}
-\setcapwidth[l]{\textwidth}
+%\setcapwidth[l]{\linewidth}
 
 \setcounter{secnumdepth}{-2}
 \renewcommand*\maketitle[1][1]{}
-- 
GitLab