summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:00:49 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:00:49 +0000
commit02a049d3adc5f29b63b1c0b0ce75900be2c1589c (patch)
tree1f20ec577167dc33a0d497f04ecf4e6912e55571
parent171273f4fd68a0f964d874aee90fd410ec243849 (diff)
nonfloat
git-svn-id: svn://tug.org/texlive/trunk@1142 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/latex/nonfloat/nonfloat.sty93
1 files changed, 93 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/nonfloat/nonfloat.sty b/Master/texmf-dist/tex/latex/nonfloat/nonfloat.sty
new file mode 100644
index 00000000000..1bc074ceb06
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/nonfloat/nonfloat.sty
@@ -0,0 +1,93 @@
+%%
+%% This is file `nonfloat.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nonfloat.dtx (with options: `style')
+%%
+%% 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>
+%%
+\def\filedate{1999/07/05}
+\def\fileversion{1.0}
+\def\filename{nonfloat.sty}
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\RequirePackage{ifthen}[1994/06/01]
+\newcommand{\topcaption}{%
+ \setlength{\@tempdima}{\abovecaptionskip}%
+ \setlength{\abovecaptionskip}{\belowcaptionskip}%
+ \setlength{\belowcaptionskip}{\@tempdima}%
+ \caption%
+}
+\newcommand{\figcaption}{\def\@captype{figure}\caption}
+\newcommand{\tabcaption}{\def\@captype{table}\topcaption}
+\renewenvironment{figure}[1][]{%
+ \ifthenelse{\equal{#1}{}}{%
+ \@float{figure}%
+ }{%
+ \@float{figure}[#1]%
+ }%
+ \centering%
+}{%
+ \end@float%
+}
+\renewenvironment{table}[1][]{%
+ \ifthenelse{\equal{#1}{}}{%
+ \@float{table}%
+ }{%
+ \@float{table}[#1]%
+ }%
+ \centering%
+ \setlength{\@tempdima}{\abovecaptionskip}%
+ \setlength{\abovecaptionskip}{\belowcaptionskip}%
+ \setlength{\belowcaptionskip}{\@tempdima}%
+}{%
+ \end@float%
+}
+\renewcommand{\textfraction}{0.15}
+\renewcommand{\topfraction}{0.85}
+\renewcommand{\bottomfraction}{0.65}
+\renewcommand{\floatpagefraction}{0.60}
+\setlength{\@fptop}{0pt}
+\setlength{\@fpsep}{20pt plus 2pt minus 2pt}
+\setlength{\@fpbot}{0pt}
+\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}}%
+\endinput
+%%
+%% End of file `nonfloat.sty'.