diff options
author | Karl Berry <karl@freefriends.org> | 2012-08-08 17:56:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-08-08 17:56:22 +0000 |
commit | dad94a4dcb71392996b045db358e9b09affeef74 (patch) | |
tree | 3e6bb4bc7dd773003f6ec21e736c8d8662cdd541 /Master/texmf-dist/doc/latex/tamefloats/deml3541.tex | |
parent | cdb33d59d9cec048bac89cb1c4bc3aa2cfa9b19b (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/deml3541.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tamefloats/deml3541.tex | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tamefloats/deml3541.tex b/Master/texmf-dist/doc/latex/tamefloats/deml3541.tex new file mode 100644 index 00000000000..da68ebef425 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tamefloats/deml3541.tex @@ -0,0 +1,37 @@ +%% deml3451.tex 2005/04/17 +% Basically David Kastrup's test code from latex/3541, +% edited by Uwe Lueck, http://contact-ednotes.sty.de.vu. +% Demonstrates bug and its fix by tameflts.sty. +% Run this and watch the order of the numbers in the +% footnote, and where it has its footnote mark; then +% remove the next `%' for the fix. + +\documentclass[12pt]{article} + +% \usepackage{tameflts} + +\newcounter{xxx} +\usepackage{ifthen} +\nofiles +\begin{document} +Test a footnote\footnote{% + \whiledo{\value{xxx}<69}{% + \stepcounter{xxx} + This is just test line \thexxx. \par + }% +} and then a marginal note:\marginpar{\sffamily Look!} +\end{document} + +REMARKs: +* It is essential that \marginpar comes after \footnote. This + indicates how to avoid the problem in many situations without + changing the output routine. Marginal notes are often used + only at the beginning of a paragraph; then it is good to start + with the \marginpar's, making sure that they appear in + horizontal mode. +* The editing of the example from latex/3541 consisted in + structuring and replacing TeX commands by LaTeX commands. The + essence is, like in latex/3719 a very long footnote, with a + \marginpar shortly following. +-- U.L. + |