summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/floatrow/listpen.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/floatrow/listpen.sty')
-rw-r--r--Master/texmf-dist/tex/latex/floatrow/listpen.sty45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/floatrow/listpen.sty b/Master/texmf-dist/tex/latex/floatrow/listpen.sty
new file mode 100644
index 00000000000..8a84b2c29db
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/floatrow/listpen.sty
@@ -0,0 +1,45 @@
+%%
+%% This is file `listpen.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% floatrow.dtx (with options: `listpen')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from listpen.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file floatrow.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesPackage{listpen}
+ [2005/02/07 v0.1a list penalty managing]
+\newcommand\allowprelistbreaks{\let\LP@penalty\@beginparpenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+\newcommand\allowpostlistbreaks{\let\LP@penalty\@endparpenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+\newcommand\allowitembreaks{\let\LP@penalty\@itempenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+\@ifdefinable\LP@setlistbreaks{}
+\def\LP@setlistbreaks[#1#2]{\def\tempa{-}\def\tempb{#1}\ifx\tempa\tempb
+ \LP@nolbk[#2]\else\LP@nolbk-[#1]\fi}
+\@ifdefinable\LP@nolbk{}\@ifdefinable\LP@penalty{}
+\def\LP@nolbk#1[#2]{%
+ \ifcase#2\LP@penalty\z@
+ \or\LP@penalty#1\@lowpenalty
+ \or\LP@penalty#1\@medpenalty
+ \or\LP@penalty#1\@highpenalty
+ \or\LP@penalty#1\@M
+ \fi}
+\endinput
+%%
+%% End of file `listpen.sty'.