%% %% 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/10/28 v0.1d 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} \newcommand\RestoreSpaces{\@nobreakfalse} \newcommand\RemoveSpaces {\@nobreaktrue} \newcommand\newseparatedlabel[3]{% \@ifdefinable#1{% \def#1##1{\protected@edef\@currentlabel{\string \LP@label@sep {\csname the#3\endcsname}}\label{sub##1}% \protected@edef\@currentlabel{\csname the#2\endcsname \string\LP@label@sep {\csname the#3\endcsname}}\label{##1}}}} \newcommand\newseparatedref[2]{\@ifdefinable#1{\def#1##1{{\def\LP@label@sep{#2}\ref{##1}}}}} \@ifdefinable\LP@label@sep{} \newcommand\makelabelseparator[1]{\def\LP@label@sep{#1}} \endinput %% %% End of file `listpen.sty'.