summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tamefloats/newbug.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-08 17:56:22 +0000
committerKarl Berry <karl@freefriends.org>2012-08-08 17:56:22 +0000
commitdad94a4dcb71392996b045db358e9b09affeef74 (patch)
tree3e6bb4bc7dd773003f6ec21e736c8d8662cdd541 /Master/texmf-dist/doc/latex/tamefloats/newbug.tex
parentcdb33d59d9cec048bac89cb1c4bc3aa2cfa9b19b (diff)
new old latex package tamefloats
git-svn-id: svn://tug.org/texlive/trunk@27345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tamefloats/newbug.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tamefloats/newbug.tex47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tamefloats/newbug.tex b/Master/texmf-dist/doc/latex/tamefloats/newbug.tex
new file mode 100644
index 00000000000..0b479f20bfe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tamefloats/newbug.tex
@@ -0,0 +1,47 @@
+%% newbug.tex 2005/04/17 demonstrates tameflts.sty bug.
+%% (C) 2005 Uwe Lueck http://contact-ednotes.sty.de.vu
+%%
+%% RIGHTS: LaTeX Project Public License (LPPL) v1.3
+%% -- author-maintained.
+%
+% Remove the next `%' to see the bug (bug? see bottom):
+
+\documentclass[12pt]{article}
+
+% \usepackage{tameflts}
+
+\nofiles
+\begin{document}
+
+\newcommand{\footnobreakpar}{Test.\footnote{A note.}\par\nobreak}
+\footnobreakpar \footnobreakpar \footnobreakpar \footnobreakpar
+\footnobreakpar \footnobreakpar \footnobreakpar \footnobreakpar
+\footnobreakpar \footnobreakpar \footnobreakpar \footnobreakpar
+\footnobreakpar \footnobreakpar \footnobreakpar \footnobreakpar
+\footnobreakpar \footnobreakpar \footnobreakpar
+Test.\footnote{A note.}
+\begin{figure}
+\begin{center}
+\leavevmode\vrule height 10em
+\end{center}
+\caption{An upright stroke.}
+\end{figure}
+
+\newcommand{\testpar}{Test.\par}
+\testpar \testpar \testpar \testpar \testpar \testpar
+\testpar \testpar \testpar \testpar \testpar \testpar
+\testpar \testpar \testpar \testpar \testpar
+
+\enddocument
+
+REMARKS:
+* Bug? This may be a matter of taste. However, I expect
+ agreement here that it is better to use two pages instead of
+ three (unless the user explicitly demands that the figure goes
+ to its own page).
+* I think the present example is rather artificial.
+* `License' may be funny with a demo file. Yet the part of LPPL
+ on changing/redistributing is useful here especially with the
+ \usepackage line, which should remain commented out for
+ distribution.
+