summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-10 00:13:25 +0000
committerKarl Berry <karl@freefriends.org>2011-02-10 00:13:25 +0000
commita8c35125a771efeb6aaa6d2cd8425367b946fa4d (patch)
treed902a5e6ed3f4b76035c0e8186269c9c4ffef20b /Master/texmf-dist/tex
parent236a7ef87717b35a12b901386d849d01885b3fab (diff)
new latex package finstrut (9feb11)
git-svn-id: svn://tug.org/texlive/trunk@21355 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/finstrut/finstrut.sty51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/finstrut/finstrut.sty b/Master/texmf-dist/tex/latex/finstrut/finstrut.sty
new file mode 100644
index 00000000000..71604491c1f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/finstrut/finstrut.sty
@@ -0,0 +1,51 @@
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\ProvidesPackage{finstrut}[2010/12/20 v0.1 vmode final strut (UL)]
+
+%% Copyright (C) 2010 Uwe Lueck,
+%% http://www.contact-ednotes.sty.de.vu
+%% -- author-maintained in the sense of LPPL below --
+%%
+%% This file can be redistributed and/or modified under
+%% the terms of the LaTeX Project Public License; either
+%% version 1.3c of the License, or any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% We did our best to help you, but there is NO WARRANTY.
+%%
+%% Please report bugs, problems, and suggestions via
+%%
+%% http://www.contact-ednotes.sty.de.vu
+%%
+%% This is a variant of LaTeX's `\@finalstrut'
+%% that doesn't produce a spurious empty line
+%% in vmode. In general, this deals with a
+%% closing `\par' from users in footnotes,
+%% the idea especially came from using the
+%% 'lipsum' package.
+%% See `source2e.pdf' for the rationale
+%% behind the original definition; it may imply
+%% that the present suggestion is bad with
+%% `p' columns in `tabular' etc.
+\renewcommand*{\@finalstrut}[1]{%
+ \unskip
+ \ifhmode
+ \nobreak
+%% ... allows hyphenation of last word.
+ \vrule \@width\z@ \@height\z@
+ \@depth \expandafter \dp
+ \else
+%% Assuming it's vmode:
+ \kern -\prevdepth
+ \kern \expandafter \dp
+ \fi
+%% With the applications in `latex.ltx', namely with
+%% one-token parameters only, the parameter could be
+%% dropped. Keeping it may once be useful for referring
+%% to a box register by `\box<n>'.
+ #1%
+}
+\endinput
+%%
+%% == VERSION HISTORY ==
+
+v0.1 2010/12/20 very first