%% %% 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} [2007/05/24 v0.1b 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} \providecommand\RestoreSpaces{\@nobreakfalse} \endinput %% %% End of file `listpen.sty'.