diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/tex/latex/nonfloat/nonfloat.sty | 93 |
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'. |