summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nonfloat
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/nonfloat
Initial commit
Diffstat (limited to 'macros/latex/contrib/nonfloat')
-rw-r--r--macros/latex/contrib/nonfloat/nonfloat-en.pdfbin0 -> 131447 bytes
-rw-r--r--macros/latex/contrib/nonfloat/nonfloat-en.tex199
-rw-r--r--macros/latex/contrib/nonfloat/nonfloat.dtx361
-rw-r--r--macros/latex/contrib/nonfloat/nonfloat.ins94
-rw-r--r--macros/latex/contrib/nonfloat/nonfloat.pdfbin0 -> 208681 bytes
5 files changed, 654 insertions, 0 deletions
diff --git a/macros/latex/contrib/nonfloat/nonfloat-en.pdf b/macros/latex/contrib/nonfloat/nonfloat-en.pdf
new file mode 100644
index 0000000000..1f6a391fba
--- /dev/null
+++ b/macros/latex/contrib/nonfloat/nonfloat-en.pdf
Binary files differ
diff --git a/macros/latex/contrib/nonfloat/nonfloat-en.tex b/macros/latex/contrib/nonfloat/nonfloat-en.tex
new file mode 100644
index 0000000000..5f84491e2b
--- /dev/null
+++ b/macros/latex/contrib/nonfloat/nonfloat-en.tex
@@ -0,0 +1,199 @@
+\documentclass{article}
+
+\usepackage{nonfloat}
+
+\def\filedate{1999/07/05}
+\def\fileversion{1.0}
+
+\title{ Nonfloating Tables and Figures\\
+ in \LaTeXe\\
+ --~nonfloat\thanks{This file is version number \fileversion\---last updated \filedate.}~~--}
+
+\author{ Kai Rascher\\
+ Am Remenhof 17a\\
+ D--38104 Braunschweig\\
+ {\tt rascher@ifn.ing.tu-bs.de}\thanks{English translation by Steve Peter. Note that German makes a distinction between an \textit{\"Uberschrift}, which appears above a table, and an \textit{Unterschrift} that appears below a figure. Both are called ``caption'' in English, but where the distinction is important, I also use ``supertitle'' for the former and ``subtitle'' for the latter.}}
+
+\date{Version~\fileversion}
+
+\begin{document}
+\maketitle
+
+\section{Summary}
+
+Placing figures and tables in \LaTeX\ documents always raises questions, especially when the figures and tables shouldn't float, or when captions are needed. Often, users try to achieve this through the use of the [h] parameter. But since the parameter is optional, and since \LaTeX\ isn't required to honor it, using [h] doesn't always put the table or figure quite where ``here'' is given.
+
+The \textsf{float} package provides one alternative. This package, which provides definitions for other floating objects such as program code or algorithms, offers [H] as an additional parameter. This does indeed place the floats ``here'' or at the beginning of the next page, but captions are limited to beneath the float. However, it is typographically correct for tables always to have their captions above the float.
+
+The \textsf{nonfloat} package follows the recommendations in \cite{epslatex,Reichert}
+and defines various \verb|\XXXcaption| commands for non-floating objects.
+
+Furthermore, adjustments via the placement parameters \verb|\textfraction|,
+\verb|\topfraction|, \verb|\bottomfraction| and \verb|\floatpagefraction| follow the specifications
+in \cite{epslatex}. Additionally, length declarations for placing floats on separate ``float pages'' have been adjusted so that vertical centering no longer occurs.
+
+Tables and figures are not in general centered, although a one-line \verb|\caption| entry is produced centered. The \textsf{nonfloat} package adopts customizations following \cite{Reichert2}. In so doing, the vertical spacing for table captions (supertitle) is determined in the same way as for figure captions (subtitle).
+
+From \cite{epslatex} the \verb|narrow| environment was adopted. Using this environment, you can
+set not only narrow text, but through the use of negative lengths, it is possible to have very wide figures, tables, etc., stick out in the margins.
+
+\section{Using the Package}
+\subsection{Loading Style Options}
+
+To use the commands in the \textsf{nonfloat} package, you must load it with the command:
+
+\vskip 6pt
+\verb|\usepackage{nonfloat}|
+\vskip 6pt
+
+\noindent after the declaration of your \verb|\documentclass|.
+
+\subsection{Commands}
+After the package is loaded, there are two commands, aside from \verb|\caption|, for creating descriptions of non-floating tables and figures.
+
+\vskip 1pc
+\begin{minipage}{\linewidth}
+\centering%
+\tabcaption{Commands for Table and Figure Captions}%
+\label{tab:Commands}%
+\begin{tabular}{*{2}{l}}
+ Supertitle for non-floating tables & \verb|\tabcaption|\\
+ Subtitle for non-floating figures & \verb|\figcaption|
+\end{tabular}
+\end{minipage}
+\vskip 1pc
+
+The implementation also defines a command \verb|\topcaption|, which inserts the same
+vertical spacing between a supertitle and the object, as is inserted between an object and its subtitle (caption). The command \verb|\topcaption| is not needed within a \LaTeX\ document.
+
+The commands \verb|\tabcaption| and \verb|\figcaption| are based on the commands
+\verb|\topcaption| and \ \verb|\caption|. However, they are intended for use outside of the float environment. Examples are given below in section \ref{Examples}.
+
+\subsection{Adjusting the Placement Parameters}
+\tablename~\ref{tab:Placement} contains the newly defined values for the placement parameters as well as the previous \LaTeX\ default values. Furthermore, incompatabilities in recommended values are noted (\cite{epslatex}).
+
+\begin{minipage}{\linewidth}
+\centering%
+\tabcaption{Adjusting Parameters for Float Placement}%
+\label{tab:Placement}%
+\small
+\renewcommand{\arraystretch}{1.25}
+\begin{tabular}{@{}l*{2}{c}l@{}}\hline
+ Name & Value & Default & Recommendation\\ \hline
+ \verb|\textfraction| & 0.15 & 0.2 & $\verb|\textfraction| \ge 0.15$\\
+ \verb|\topfraction| & 0.85 & 0.7 & $\verb|\topfraction| \le 1-\verb|\textfraction|$\\
+ \verb|\bottomfraction| & 0.65 & 0.3 & $\verb|\bottomfraction| < \verb|\topfraction|$\\
+ & & & $\verb|\bottomfraction| \le 1-\verb|\textfraction|$\\
+ \verb|\floatpagefraction| & 0.60 & 0.5 & $\verb|\floatpagefraction| \le \verb|\topfraction|-0.05$\\
+ & & & $\verb|\floatpagefraction| \le 1-\verb|\textfraction|$\\ \hline
+\end{tabular}
+\end{minipage}
+
+\subsection{Adjusting the Table and Figure Environment}
+Within the \verb|table| and \verb|figure| environment the content is not set centered,
+although a one-line description is centered. Therefore, the environment has been redefined
+such that in addition the vertical spacing for table captions (supertitles) is handled analogously with the way figure captions (subtitles) are \cite{Reichert2}.
+
+\subsection{Adjusting Vertical Spacing on Float Pages}
+When floats are not placed within the text, but on extra float pages, \LaTeX\ centers the floats vertically. The new values given in \tablename~\ref{tab:Floatpages} prevent this. If additional floats are placed on the float page, the same vertical spacing as on other pages is applied. The previous default values are also given.
+
+\vskip 1pc
+\begin{minipage}{\linewidth}
+\centering%
+\tabcaption{Adjusting Vertical Spacing on Float Pages}%
+\label{tab:Floatpages}%
+\small%
+\renewcommand{\arraystretch}{1.25}%
+\begin{tabular}{@{}*{3}{l}@{}}\hline
+ Name & New Value & Default Value\\ \hline
+ \verb|\@fptop| & \verb|0pt| & \verb|0pt plus 1.0fil|\\
+ \verb|\@fpsep| & \verb|20pt plus 2pt minus 2pt| & \verb|8pt plus 2.0fil|\\
+ \verb|\@fpbot| & \verb|0pt| & \verb|0pt plus 1.0fil|\\ \hline
+\end{tabular}
+\end{minipage}
+\vskip 1pc
+
+\noindent\verb|fil| enables insertion of vertical glue, comparable to \verb|\vfill|. By applying \verb|fil| more
+than once, a proportional devision of whitespace can be achieved.
+
+Changes to the length parameters in \tablename~\ref{tab:Floatpages} made in a \LaTeX\ document must be wrapped with the commands \verb|\makeatletter| and \verb|\makeatother| so that \verb|@|
+is treated properly.
+
+\subsection{The \texttt{narrow} Environment}
+
+For setting very wide figures or tables, you can use the \verb|narrow| environment
+with negative lengths within or outside of floating objects. By using
+
+\pagebreak
+\begin{verbatim}
+ \begin{narrow}{-1in}{0in}
+ ...
+ \end{narrow}
+\end{verbatim}
+
+\noindent the content of the \verb|narrow| environment will be set such that it sticks 1\,in into the left margin, and is right aligned. In order to encroach into the right margin, the second argument must also be negative.
+
+\subsection{Examples}
+\label{Examples}
+\subsubsection{Floating Table}
+\begin{verbatim}
+ \begin{table}[htbp]
+ \caption{Table Caption}%
+ \label{tab:supertitle}%
+ \begin{tabular}{...}
+ ...
+ \end{tabular}
+ \end{table}
+\end{verbatim}
+
+\subsubsection{Floating Figure}
+\begin{verbatim}
+ \begin{figure}[htbp]
+ \includegraphics[width=0.8\linewidth,clip=]{input.eps}%
+ \caption{Figure Caption}%
+ \label{fig:input.eps}%
+ \end{figure}
+\end{verbatim}
+
+\subsubsection{Non-Floating Table}
+\begin{verbatim}
+ \\[\intextsep]
+ \begin{minipage}{\linewidth}
+ \centering%
+ \tabcaption{Commands for Table and Figure Captions}%
+ \label{tab:Commands}%
+ \begin{tabular}{*{2}{l}}
+ ...
+ \end{tabular}
+ \end{minipage}
+ \\[\intextsep]
+\end{verbatim}
+The use of \verb|\\[\intextsep]| inserts the correct amount of vertical spacing, which is also used by accompanying objects.
+
+\pagebreak
+\subsubsection{Non-floating Figure}
+\begin{verbatim}
+ \\[\intextsep]
+ \begin{minipage}{\linewidth}
+ \centering%
+ \includegraphics[width=0.8\linewidth,clip=]{input.eps}%
+ \figcaption{Figure Caption}%
+ \label{fig:input.eps}%
+ \end{minipage}
+ \\[\intextsep]
+\end{verbatim}
+
+\begin{thebibliography}{99}
+
+\bibitem{epslatex} Reckdahl, Keith: \emph{Using Imported Graphics in \LaTeXe},
+ Version~2.0, 15.~December~1997.
+\bibitem{Reichert} Reichert, Axel:
+ \hbox{\verb|<wdafcrw8a0.fsf@mpie-duesseldorf.mpg.de>|}
+ Usenet message ID
+\bibitem{Reichert2} Reichert, Axel:
+ \hbox{\verb|<wdso73fr22.fsf@mtntc1.mpie-duesseldorf.mpg.de>|}
+ Usenet message ID
+
+\end{thebibliography}
+
+\end{document}
diff --git a/macros/latex/contrib/nonfloat/nonfloat.dtx b/macros/latex/contrib/nonfloat/nonfloat.dtx
new file mode 100644
index 0000000000..be83f07a1c
--- /dev/null
+++ b/macros/latex/contrib/nonfloat/nonfloat.dtx
@@ -0,0 +1,361 @@
+\def\filedate{1999/07/05}
+\def\fileversion{1.0}
+%
+%
+%\iffalse
+% class `nonfloat' to be used with LaTeX 2e
+% Copyright (C) 1999 Kai Rascher. All rights reserved.
+%
+% Copying of this file is authorized only if either
+% (1) you make absolutely no changes to your copy, including name, or
+% (2) if you do make changes, you name it something other than
+% nonfloat.* .
+% This restriction helps ensure that all files developed
+% are identical.
+%
+% Error reports for UNCHANGED versions please to:
+%
+% Kai Rascher
+% Am Remenhof 17a
+% 38104 Braunschweig
+% Germany
+% E-Mail: <rascher@ifn.ing.tu-bs.de>
+%
+%\fi
+%
+%\flushbottom
+%
+%\parindent0mm
+%\parskip3mm
+%\title{ Nicht-gleitende Tabellen und Bilder\\
+% in \LaTeXe\\
+% --~nonfloat\thanks{Diese Datei
+% hat die Versionsnummer \fileversion\ --\
+% letzte "Uberarbeitung \filedate.}~~--}
+%
+%\author{ Kai Rascher\\
+% Am Remenhof 17a\\
+% D--38104 Braunschweig\\
+% {\tt rascher@ifn.ing.tu-bs.de}}
+%
+%\date{Version~\fileversion}
+%
+%\maketitle
+%
+%\section{Kurzinformation}
+%
+%Die Positionierung von Bildern und Tabellen in \LaTeXe-Dokumenten wirft
+%immer wieder fragen auf. Insbesondere wenn Tabellen und Bilder nicht gleiten
+%sollen, aber dennoch ein numerierte Tabellen"uberschrift bzw.\
+%Bildunterschrift gew"unscht wird, wird h"aufig versucht, dies "uber den
+%Parameter [h] zu erreichen. Da die Parameter f"ur Gleitobjekte optional und
+%f"ur \LaTeXe\ nicht bindend sind, erreicht man durch die Angabe von [h]
+%i.\,a.\ nicht die Plazierung der Tabelle oder des Bildes an der mit
+%\glqq here\grqq\ angegebenen Stelle.
+%
+%Als Alternative kann auf das \LaTeXe-Paket \textsf{float} zur"uckgegriffen
+%werden. Dieses Paket, welches die Definition weiterer Gleitobjekte beispielsweise
+%f"ur Programm-Code oder Algorithmen erm"oglicht, bietet den zus"atzlichen
+%Parameter [H]. Damit lassen sich Gleitobjekte zwar \glqq Here\grqq\ oder
+%am Seitenanfang der n"achsten Seite plazieren, die Beschriftungen sind aber
+%nur unterhalb des Gleitobjekts m"oglich. Typographisch richtig ist jedoch, da"s
+%Tabellen stets "Uberschriften haben.
+%
+%Das Paket \textsf{nonfloat} greift die in \cite{epslatex,Reichert} gemachten
+%Empfehlungen auf und definiert verschiedene \verb|\XXXcaption|-Befehle f"ur
+%nicht-gleitende Objekte.
+%
+%Weiterhin erfolgt eine Anpassung der Plazierungsparameter \verb|\textfraction|,
+%\verb|\topfraction|, \verb|\bottomfraction| und \verb|\floatpagefraction| nach
+%Vorgaben in \cite{epslatex}. Zus"atzlich werden die L"angenangaben f"ur die
+%Plazierung von Gleitobjekten auf separaten \glqq Floatpages\grqq\ so
+%angepa"st, da"s keine vertikale Zentrierung mehr stattfindet.
+%
+%Tabellen und Bilder werden standardm"a"sig nicht zentriert, obwohl ein einzeiliger
+%\verb|\caption|-Eintrag zentriert ausgegeben wird. In \textsf{nonfloat} wird nach
+%\cite{Reichert2} eine entsprechende Anpassung vorgenommen. Dabei wird auch der
+%vertikale Abstand von Tabellen"uberschriften analog zu den Bildunterschriften
+%festgelegt.
+%
+%Aus \cite{epslatex} wurde die \verb|narrow|-Umgebung "ubernommen. Mit dieser
+%Umgebung kann nicht nur ein schmaler Textbereich gesetzt werden, durch die
+%Angabe negativer L"angen ist es m"oglich, sehr breite Bilder, Tabellen o.\,"a.\
+%in den linken oder rechten Rand hineinragen zu lassen.
+%
+%\section{Verwendung}
+%\subsection{Laden der Style-Option}
+%Um die Befehle des \textsf{nonfloat}-Pakets verwenden zu k"onnen, mu"s die
+%Style-Option mit einem Aufruf
+%
+%\verb|\usepackage{nonfloat}|
+%
+%nach der Deklaration der Dokumentenklasse mit \verb|\documentclass| geladen
+%werden.
+%
+%\subsection{Befehle}
+%Nach dem Laden stehen neben dem Befehl \verb|\caption| weitere 2~Befehle
+%zur Erzeugung von Beschriftungen f"ur nicht-gleitende Tabellen und Bilder
+%zur Verf"ugung.
+%\\[\intextsep]
+%\begin{minipage}{\linewidth}
+%\centering%
+%\tabcaption{Befehle f"ur Tabellen"uber- und Bildunterschriften}%
+%\label{tab:Befehle}%
+%\begin{tabular}{*{2}{l}}
+% "Uberschrift f"ur nicht-gleitende Tabellen & \verb|\tabcaption|\\
+% Unterschrift f"ur nicht-gleitende Bilder & \verb|\figcaption|
+%\end{tabular}
+%\end{minipage}
+%\\[\intextsep]
+%Zur Realisierung wurde ein Befehl \verb|\topcaption| definiert, der den gleichen
+%vertikalen Abstand zwischen einer "Uberschrift und dem Objekt einf"ugt, wie dies
+%bei Objektunterschriften mit \verb|\caption| erfolgt. Der Befehl
+%\verb|\topcaption| wird innerhalb des \LaTeXe-Dokumentes nicht ben"otigt.
+%
+%Die Befehle \verb|\tabcaption| und \verb|\figcaption| greifen auf die Befehle
+%\verb|\topcaption| bzw.\ \verb|\caption| zur"uck, sind aber f"ur die Verwendung
+%au"serhalb von Gleitumgebungen gedacht. Beispiele sind in
+%Abschnitt~\ref{Beispiele} zu finden.
+%
+%\subsection{Anpassung der Plazierungsparameter}
+%\tablename~\ref{tab:Plazierung} umfa"st die neu definierten Werte f"ur die
+%Plazierungsparameter sowie ihre bisherigen \LaTeXe-Standardwerte. Au"serdem
+%sind Ungleichungen f"ur empfohlene Wertebereiche gegeben \cite{epslatex}.
+%\\[\intextsep]
+%\begin{minipage}{\linewidth}
+%\centering%
+%\tabcaption{"Anderung der Parameter f"ur die Gleitobjektplazierung}%
+%\label{tab:Plazierung}%
+%\small
+%\renewcommand{\arraystretch}{1.25}
+%\begin{tabular}{@{}l*{2}{c}l@{}}\hline
+% Name & Wert & Default & Empfehlung\\ \hline
+% \verb|\textfraction| & 0.15 & 0.2 & $\verb|\textfraction| \ge 0.15$\\
+% \verb|\topfraction| & 0.85 & 0.7 & $\verb|\topfraction| \le 1-\verb|\textfraction|$\\
+% \verb|\bottomfraction| & 0.65 & 0.3 & $\verb|\bottomfraction| < \verb|\topfraction|$\\
+% & & & $\verb|\bottomfraction| \le 1-\verb|\textfraction|$\\
+% \verb|\floatpagefraction| & 0.60 & 0.5 & $\verb|\floatpagefraction| \le \verb|\topfraction|-0.05$\\
+% & & & $\verb|\floatpagefraction| \le 1-\verb|\textfraction|$\\ \hline
+%\end{tabular}
+%\end{minipage}
+%
+%\subsection{Anpassung der table- und figure-Umgebung}
+%Innerhalb der \verb|table|"~ und \verb|figure|"~Umgebung wird der Inhalt
+%nicht zentriert gesetzt, obwohl gleichzeitig eine einzeilige Beschriftung
+%zentriert ausgegeben wird. Die Umgebungen wurden daher umdefiniert, wobei
+%dar"uber hinaus die vertikalen Abst"ande f"ur Tabellen"uberschriften analog
+%zu Bildunterschriften angepa"st wurden \cite{Reichert2}.
+%
+%\subsection{Anpassung vertikaler Zwischenr"aume bei \glqq Gleitseiten\grqq}
+%Wenn Gleitobjekte nicht innerhalb des Textes, sondern auf extra Seiten
+%(Gleitseiten~--~Floatpages) angeordnet werden, zentriert \LaTeXe\ die Gleitobjekte
+%vertikal. Dies wird durch die in \tablename~\ref{tab:Gleitseiten} angegebenen neuen
+%Werte verhindert. Werden mehrere Gleitobjekte auf einer Gleitseite plaziert,
+%wird nun der gleiche vertikale Zwischenraum wie bei Gleitobjekte auf
+%anderen Seiten eingef"ugt. Die bisherigen Defaultwerte sind ebenfalls angegeben.
+%\\[\intextsep]
+%\begin{minipage}{\linewidth}
+%\centering%
+%\tabcaption{"Anderung der vertikalen Zwischenr"aume bei Gleitseiten}%
+%\label{tab:Gleitseiten}%
+%\small%
+%\renewcommand{\arraystretch}{1.25}%
+%\begin{tabular}{@{}*{3}{l}@{}}\hline
+% Name & neuer Wert & Defaultwert\\ \hline
+% \verb|\@fptop| & \verb|0pt| & \verb|0pt plus 1.0fil|\\
+% \verb|\@fpsep| & \verb|20pt plus 2pt minus 2pt| & \verb|8pt plus 2.0fil|\\
+% \verb|\@fpbot| & \verb|0pt| & \verb|0pt plus 1.0fil|\\ \hline
+%\end{tabular}
+%\end{minipage}
+%\\[\intextsep]
+%
+%Die Einheit \verb|fil| erm"oglicht das Einf"ugen vertikalen Zwischenraums
+%beliebiger L"ange. Dies ist mit dem Befehl \verb|\vfill| vergleichbar.
+%Durch Multiplikation von \verb|fil| wird eine entsprechend proportionale
+%Aufteilung des Freiraums erzeugt.
+%
+%"Anderungen an den in \tablename~\ref{tab:Gleitseiten} gegebenen L"angenparametern
+%m"ussen innerhalb eines \LaTeXe-Dokumentes mit den Befehlen \verb|\makeatletter|
+%und \verb|\makeatother| eingerahmt werden, damit das at-Zeichen (\verb|@|)
+%in den Parameternamen richtig verarbeitet wird.
+%
+%\subsection{Umgebung}
+%Zum Setzen sehr breiter Bilder oder Tabellen kann die \verb|narrow|-Umgebung
+%mit negativen L"angenangaben innerhalb oder au"serhalb von Gleitobjekten
+%verwendet werden. Mit
+%\begin{verbatim}
+% \begin{narrow}{-1in}{0in}
+% ...
+% \end{narrow}
+%\end{verbatim}
+%wird der Inhalt der \verb|narrow|-Umgebung so gesetzt, da"s er um 1\,in in den
+%linken Rand ragt und b"undig mit dem rechten Rand abschlie"st. Soll auch in den
+%rechten Rand geschrieben werden, mu"s die zweite L"angenangabe ebenfalls negativ
+%sein.
+%
+%\subsection{Beispiele}
+%\label{Beispiele}
+%\subsubsection{Gleitende Tabelle}
+%\begin{verbatim}
+% \begin{table}[htbp]
+% \caption{Tabellen"uberschrift}%
+% \label{tab:ueberschrift}%
+% \begin{tabular}{...}
+% ...
+% \end{tabular}
+% \end{table}
+%\end{verbatim}
+%
+%\subsubsection{Gleitendes Bild}
+%\begin{verbatim}
+% \begin{figure}[htbp]
+% \includegraphics[width=0.8\linewidth,clip=]{input.eps}%
+% \caption{Bildunterschrift}%
+% \label{fig:input.eps}%
+% \end{figure}
+%\end{verbatim}
+%
+%\pagebreak
+%\subsubsection{Nicht-gleitende Tabelle}
+%\begin{verbatim}
+% \\[\intextsep]
+% \begin{minipage}{\linewidth}
+% \centering%
+% \tabcaption{Befehle f"ur Tabellen"uber- und Bildunterschriften}%
+% \label{tab:Befehle}%
+% \begin{tabular}{*{2}{l}}
+% ...
+% \end{tabular}
+% \end{minipage}
+% \\[\intextsep]
+%\end{verbatim}
+%Die Angabe von \verb|\\[\intextsep]| f"ugt genau den vertikalen Zwischenraum ein,
+%der auch bei Gleitobjekten verwendet wird.
+%
+%\subsubsection{Nicht-gleitendes Bild}
+%\begin{verbatim}
+% \\[\intextsep]
+% \begin{minipage}{\linewidth}
+% \centering%
+% \includegraphics[width=0.8\linewidth,clip=]{input.eps}%
+% \figcaption{Bildunterschrift}%
+% \label{fig:input.eps}%
+% \end{minipage}
+% \\[\intextsep]
+%\end{verbatim}
+%
+%
+%\begin{thebibliography}{99}
+% \bibitem{epslatex} Reckdahl, Keith: \emph{Using Imported Graphics in \LaTeXe},
+% Version~2.0, 15.~Dezember~1997.
+% \bibitem{Reichert} Reichert, Axel:
+% \mbox{\verb|<wdafcrw8a0.fsf@mpie-duesseldorf.mpg.de>|}
+% Message-ID im Usenet
+% \bibitem{Reichert2} Reichert, Axel:
+% \mbox{\verb|<wdso73fr22.fsf@mtntc1.mpie-duesseldorf.mpg.de>|}
+% Message-ID im Usenet
+%\end{thebibliography}
+%\enddocument
+%
+%
+%
+%\begin{macrocode}
+%
+% nonfloat BEFEHLE
+%
+%<*style>
+\def\filename{nonfloat.sty}
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\RequirePackage{ifthen}[1994/06/01]
+%
+% Von Axel Reichert Message-ID: <wdafcrw8a0.fsf@mpie-duesseldorf.mpg.de>
+% Definition eines \topcaption-Befehls mit angepa"sten Abst"anden, wenn
+% das zu beschriftende Objekt unterhalb der Beschriftung steht.
+\newcommand{\topcaption}{%
+ \setlength{\@tempdima}{\abovecaptionskip}%
+ \setlength{\abovecaptionskip}{\belowcaptionskip}%
+ \setlength{\belowcaptionskip}{\@tempdima}%
+ \caption%
+}
+%
+% Definition von \figcaption zur Nutzung au"serhalb von Gleitumgebungen;
+% aus epslatex.ps
+\newcommand{\figcaption}{\def\@captype{figure}\caption}
+%
+% Definition von \tabcaption zur Nutzung au"serhalb von Gleitumgebungen
+% Es wird \topcaption verwendet, damit die vertikalen Zwischenr"aume
+% wieder passen;
+% aus epslatex.ps und ver"andert.
+\newcommand{\tabcaption}{\def\@captype{table}\topcaption}
+%
+% Von Axel Reichert Message-ID: <wdso73fr22.fsf@mtntc1.mpie-duesseldorf.mpg.de>
+% Anpassen der figure-Umgebung, damit der Inhalt automatisch zentriert wird,
+% denn einzeilige \caption-Eintr"age werden ebenfalls zentriert.
+\renewenvironment{figure}[1][]{%
+ \ifthenelse{\equal{#1}{}}{%
+ \@float{figure}%
+ }{%
+ \@float{figure}[#1]%
+ }%
+ \centering%
+}{%
+ \end@float%
+}
+%
+% Von Axel Reichert Message-ID: <wdso73fr22.fsf@mtntc1.mpie-duesseldorf.mpg.de>
+% Anpassen der table-Umgebung, damit der Inhalt automatisch zentriert wird,
+% denn einzeilige \caption-Eintr"age werden ebenfalls zentriert. Au"serdem wird
+% der Abstand bei der table-Umgebung so angepa"st, da"s die Tabellen"uberschrift den
+% richtigen Abstand zur darunter stehenden Tabelle aufweist.
+\renewenvironment{table}[1][]{%
+ \ifthenelse{\equal{#1}{}}{%
+ \@float{table}%
+ }{%
+ \@float{table}[#1]%
+ }%
+ \centering%
+ \setlength{\@tempdima}{\abovecaptionskip}%
+ \setlength{\abovecaptionskip}{\belowcaptionskip}%
+ \setlength{\belowcaptionskip}{\@tempdima}%
+}{%
+ \end@float%
+}
+%
+% Anpassung der Plazierungsparameter
+\renewcommand{\textfraction}{0.15}
+\renewcommand{\topfraction}{0.85}
+\renewcommand{\bottomfraction}{0.65}
+\renewcommand{\floatpagefraction}{0.60}
+%
+% Anpassung der vertikalen Zwischenr"aume f"ur Gleitobjekte auf
+% \glqq Gleitseiten\grqq
+\setlength{\@fptop}{0pt}
+\setlength{\@fpsep}{20pt plus 2pt minus 2pt}
+\setlength{\@fpbot}{0pt}
+%
+% Definition der narrow-Umgebung
+\newenvironment{narrow}[2]{%
+ \begin{list}{}%
+ {%
+ \setlength{\topsep}{0pt}%
+ \setlength{\leftmargin}{#1}%
+ \setlength{\rightmargin}{#2}%
+ \setlength{\listparindent}{\parindent}%
+ \setlength{\itemindent}{\parindent}%
+ \setlength{\parskip}{\parskip}%
+ }%
+ \item[]}%
+ {\end{list}}%
+%</style>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{german}
+\usepackage{nonfloat}
+\begin{document}
+\DocInput{nonfloat.dtx}
+\end{document}
+%</driver>
+%
+%\end{macrocode}
+\endinput
diff --git a/macros/latex/contrib/nonfloat/nonfloat.ins b/macros/latex/contrib/nonfloat/nonfloat.ins
new file mode 100644
index 0000000000..61fdb9d57e
--- /dev/null
+++ b/macros/latex/contrib/nonfloat/nonfloat.ins
@@ -0,0 +1,94 @@
+%%
+%% Copyright (C) 1999 by Kai Rascher. All rights reserved. (nonfloat.ins)
+%%
+%% IMPORTANT NOTICE:
+%%
+%% You are not allowed to change this file.
+%%
+%% The copyright notice below is also valid for this file.
+%%
+%% This file will be used by the docstrip.tex program to generate
+%% fast loadable files from the doc files.
+%%
+%% Remember: DON'T CHANGE THIS FILE
+%%
+%% To generate the LaTeX style file nonfloat.sty run
+%% latex nonfloat.ins
+%%
+%% To generate the documentation afterwards run
+%% latex nonfloat.drv
+%% twice to resolve all references
+%%
+%% --------------- start of docstrip commands ------------------
+\def\batchfile{nonfloat.ins}
+\input docstrip.tex
+
+\preamble
+
+Copyright (C) 1999 by Kai Rascher. All rights reserved.
+
+
+This file is part of the nonfloat package
+
+IMPORTANT NOTICE:
+
+You are not allowed to change this file. You may however copy this file
+to a file with a different name and then change the copy.
+
+You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED
+to take money for the distribution or use of this file (or a changed
+version) except for a nominal charge for copying etc.
+
+You are allowed to distribute this file under the condition that it is
+distributed together with all files mentioned below.
+
+If you receive only some of these files from someone, complain!
+
+Error Reports in case of UNCHANGED versions to
+
+ Kai Rascher
+ Am Remenhof 17a
+ 38104 Braunschweig
+ Germany
+ E-Mail: <rascher@ifn.ing.tu-bs.de>
+
+\endpreamble
+
+\keepsilent
+\Msg{*** Generating nonfloat style file ***}
+\generateFile{nonfloat.sty}{t}{\from{nonfloat.dtx}{style}}
+
+% driver file
+
+\preamble
+
+This file is part of the nonfloat package
+-----------------------------------------
+
+Copyright (C) 1999 Kai Rascher. All rights reserved.
+
+To produce the documentation in the way you like you are allowed
+to change this driver file.
+
+\endpreamble
+
+\keepsilent
+\Msg{*** Generating nonfloat driver file ***}
+\generateFile{nonfloat.drv}{t}{\from{nonfloat.dtx}{driver}}
+
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space nonfloat.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `nonfloat.drv'}
+\Msg{* twice through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+
+\endinput
+%
+% End of file `nonfloat.ins'.
diff --git a/macros/latex/contrib/nonfloat/nonfloat.pdf b/macros/latex/contrib/nonfloat/nonfloat.pdf
new file mode 100644
index 0000000000..2b16c97749
--- /dev/null
+++ b/macros/latex/contrib/nonfloat/nonfloat.pdf
Binary files differ