summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/german/latex-tipps-und-tricks/nofloat.sty
blob: bd636c84bcb7c9fadbffd933a7fc2ea47963168c (plain)
1
2
3
4
5
6
7
8
9
10
11
% NOFLOAT.STY

% \setfloattype{table|figure|...}
\newcommand{\setfloattype}[1]{\def\@captype{#1}}

%  non-floating table-, figure-, ... environment
%  may contain \caption
\newenvironment{nofloat}[1]
  {\setfloattype{#1}
   \begin{trivlist}\item[]}
  {\end{trivlist}}