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

nichtgleitende figure/table (Code geändert)

parent 4e91a479
No related branches found
No related tags found
No related merge requests found
......@@ -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]{}
......
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