diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/nofloat.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-tipps-und-tricks/nofloat.sty | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/nofloat.sty b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/nofloat.sty new file mode 100644 index 00000000000..bd636c84bcb --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/nofloat.sty @@ -0,0 +1,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}} |