From 5c2154214afee3119a591c6a9f9447a652d2ef4c Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 13 Jan 2006 00:40:05 +0000
Subject: ltxmisc

git-svn-id: svn://tug.org/texlive/trunk@1476 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ltxmisc/ftcap.sty | 75 +++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/ltxmisc/ftcap.sty

(limited to 'Master/texmf-dist/tex/latex/ltxmisc/ftcap.sty')

diff --git a/Master/texmf-dist/tex/latex/ltxmisc/ftcap.sty b/Master/texmf-dist/tex/latex/ltxmisc/ftcap.sty
new file mode 100644
index 00000000000..a9d190486f1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ltxmisc/ftcap.sty
@@ -0,0 +1,75 @@
+% hans.steffani@e-technik.tu-chemnitz.de (Hans Friedrich Steffani)
+% Copyright (C) 1999 Hans Friedrich Steffani
+
+%  This program is free software; you can redistribute it and/or modify
+%  it under the terms of the GNU General Public License as published by
+%  the Free Software Foundation; either version 2 of the License, or
+%  (at your option) any later version.
+
+%  This program is distributed in the hope that it will be useful,
+%  but WITHOUT ANY WARRANTY; without even the implied warranty of
+%  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%  GNU General Public License for more details.
+
+%  You should have received a copy of the GNU General Public License
+%  along with this program; see the file COPYING.  If not, write to
+%  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+%  Boston, MA 02111-1307, USA.
+
+
+
+% Version: 1.4 Die optionalen Parameter von table sollten nun gehen
+% Version: 1.3 Einige Versuche rueckgaengig gemacht
+% Version: 1.2 Es heisst nun \ProvidesPackage{ftcap} ohne sty
+%              ausserdem stimmt das Datum
+% Version: 1.1
+
+
+\ProvidesPackage{ftcap}[1999/10/16 ..captionskip richtig setzen]
+
+% Lamport places the \caption below tables and figures. That is ok
+% for figures but not for tables, as tables may be longer than one
+% page. In this case the reader has to search for the \verb|\caption|
+% until  he finds it after a couple of pages. If you have the
+% \verb|\caption| at  the top of the table there is no such problem.
+% And as the \caption  of a table should always be at the same place,
+% we have to place the  \verb|\caption| \emph{always} at the top of
+% the table  If you want \verb|\caption| above tabular, you cannot
+% use the normal  \verb|\caption|, because the spaces above and below
+% \verb|\caption| are wrong.   Some stys (e.g. topcapt.sty) recommend
+% to have a special makro like  \verb|\topcaption| for captions above
+% an object. I prefer to have ONE  caption and changing the spaces
+% whenever we are within a table  environment. That's what this sty
+% does.
+
+% Lamport plaziert seine \verb|\caption| ueber Tabellen und Bildern.
+% Bei Bildern ist das ok. Bei mehrseitigen Tabellen muss man
+% allerdings nach der \verb|\caption| suchen, so dass es guenstiger
+% erscheint, die \verb|\caption| \emph{oberhalb} der Tabelle zu
+% setzen. Und das sollte natuerlich um der Einheitlichkeit willen
+% dann auch bei kuerzeren Tabellen so sein.
+% Wenn die \verb|\caption| bei Tabellen ueber der Tabelle, bei
+% Bildern aber  daruntersteht, braucht man verschiedene Werte fuer
+% \verb|\abovecaptionskip| und \verb|\belowcaptionskip|.
+% Gelegentlich werden dazu zwei makros, \verb|\tablecaption und
+% \verb|\figurecaption| oder auch \verb|\topcaption| vorgeschlagen,
+% aber das finde ich umstaendlich und fehleranfaellig.
+% \verb|\caption| ist \verb|\caption| und der Nutzer soll sich nicht
+% um Details  kuemmern. Daher also:
+
+% from book.cls
+%% \renewenvironment{figure}
+%%                 {\@float{figure}}
+%%                {\end@float}
+
+%% \newenvironment{table}
+%%                {\@float{table}}
+%%                {\end@float}
+
+\newcommand{\@ldtable}{}
+\let\@ldtable\table
+\renewcommand{\table}{%
+                 \setlength{\@tempdima}{\abovecaptionskip}%
+                 \setlength{\abovecaptionskip}{\belowcaptionskip}%
+                 \setlength{\belowcaptionskip}{\@tempdima}%
+                 \@ldtable}%
-- 
cgit v1.2.3

