diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex | 187 |
1 files changed, 27 insertions, 160 deletions
diff --git a/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex b/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex index 81e943694cf..b8fdd2aa86c 100644 --- a/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex +++ b/Master/texmf-dist/doc/latex/morefloats/morefloats-example.tex @@ -9,7 +9,7 @@ %% This is a generated file. %% %% Project: morefloats -%% Version: 2015/07/16 v1.0g +%% Version: 2015/07/22 v1.0h %% %% Copyright (C) 2010 - 2015 by %% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de> @@ -56,21 +56,26 @@ %% \documentclass[british]{article}[2014/09/29]% v1.4h %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage[maxfloats=19]{morefloats}[2015/07/16]% v1.0g +\usepackage[maxfloats=25]{morefloats}[2015/07/22]% v1.0h +%% \maxdeadcycles is the maximum number of calls of \output +%% without a \shipout. \gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \listfiles \begin{document} +\makeatletter + \section*{Example for morefloats} \markboth{Example for morefloats}{Example for morefloats} This example demonstrates the use of package\newline -\textsf{morefloats}, v1.0g as of 2015/07/16 (HMM).\newline -The package takes options (here: \verb|maxfloats=19| is used).\newline +\textsf{morefloats}, v1.0h as of 2015/07/22 (HMM).\newline +The package takes options (here: +\verb|maxfloats=|\texttt{\morefloats@maxfloats} is used).\newline For more details please see the documentation!\newline To reproduce the\newline -\texttt{\LaTeX{} Error: Too many unprocessed floats},\newline +\LaTeX{} \texttt{ Error: Too many unprocessed floats},\newline comment out the \verb|\usepackage...| in the preamble (line~3)\newline (by placing a \% before it).\newline @@ -84,164 +89,26 @@ I do NOT think, that it is necessary to print THIS file, really! \bigskip -There follow a lot of floating tables. +There follow \morefloats@maxfloats{} floating tables. \pagebreak -Here are a lot of floating tables.\newline - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The first Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The second Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The third Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The fourth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The fifth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The sixth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The seventh Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The eighth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The ninth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The tenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The eleventh Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The twelfth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The thirteenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The fourteenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The fifteenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The sixteenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The seventeenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -A table, which will keep floating.\\ \hline -\end{tabular}% -\caption{The eighteenth Table}% -\end{table}% - -\begin{table}[t] \centering% -\begin{tabular}{|l|} -\hline -One floating table too many -(without \textsf{morefloats} and appropriate option(s)).\\ \hline -\end{tabular}% -\caption{The nineteenth Table}% -\end{table}% +\@tempcnta=18\relax% default floats +\advance\@tempcnta by \morefloats@morefloats% +\loop + \ifnum\@tempcnta>0\relax% + \begin{table}[t]\centering% + \begin{tabular}{|l|}% + \hline% + A table, which will keep floating.\\% + \hline + \end{tabular}% + \caption{A floating Table.}% + \end{table}% + \advance\@tempcnta by -1\relax% +\repeat + +\makeatother \end{document} \endinput |