%% %% This is file `lwarp-patch-memoir.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% lwarp.dtx (with options: `patch-memoir') %% This is a generated file. %% Copyright 2016-2017 Brian Dunn %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \ProvidesPackage{lwarp-patch-memoir} \RequirePackage{lwarp-abstract}% req'd \RequirePackage{lwarp-array}% req'd \RequirePackage{lwarp-booktabs}% req'd \RequirePackage{lwarp-changepage}% req'd \RequirePackage{lwarp-crop} \RequirePackage{lwarp-dcolumn}% req'd \RequirePackage{lwarp-enumerate}% req'd \RequirePackage{lwarp-epigraph}% req'd \RequirePackage{lwarp-fancyvrb}% req'd \RequirePackage{lwarp-footmisc}% req'd \RequirePackage{lwarp-framed}% req'd \RequirePackage{lwarp-hanging}% req'd \DisemulatePackage{moreverb} \RequirePackage{lwarp-moreverb} \RequirePackage{lwarp-mparhack} \RequirePackage{lwarp-needspace}% req'd \RequirePackage{lwarp-nextpage}% req'd \RequirePackage{lwarp-pagenote}% req'd \RequirePackage{lwarp-parskip} \RequirePackage{lwarp-setspace}% req'd \RequirePackage{lwarp-showidx} \RequirePackage{lwarp-subfigure}% red'q \LetLtxMacro\LWR@memorignewsubfloat\newsubfloat \RenewDocumentCommand{\newsubfloat}{O{} m}{% \@ifundefined{c@sub#2}{% \LWR@memorignewsubfloat[#1]{#2}% }{}% } \RequirePackage{lwarp-tabularx}% req'd \RequirePackage{lwarp-titling}% req'd \RequirePackage{lwarp-tocloft}% req'd \RequirePackage{lwarp-verse}% req'd \LetLtxMacro\LWR@origlabel\@mem@old@label \AtBeginDocument{ \def\@@wrindexhyp#1||\\{% \addtocounter{LWR@autoindex}{1}% \LWR@newlabel{LWRindex-\arabic{LWR@autoindex}}% \ifshowindexmark\@showidx{#1}\fi \protected@write\@auxout{}% {\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% \endgroup \@esphack}% } \setstocksize{190in}{20in} \setlrmarginsandblock{2in}{2in}{*} \setulmarginsandblock{1in}{1in}{*} \renewcommand*{\stockavi}{} \renewcommand*{\stockav}{} \renewcommand*{\stockaiv}{} \renewcommand*{\stockaiii}{} \renewcommand*{\stockbvi}{} \renewcommand*{\stockbv}{} \renewcommand*{\stockbiv}{} \renewcommand*{\stockbiii}{} \renewcommand*{\stockmlargecrownvo}{} \renewcommand*{\stockmdemyvo}{} \renewcommand*{\stockmsmallroyalvo}{} \renewcommand*{\pageavi}{} \renewcommand*{\pageav}{} \renewcommand*{\pageaiv}{} \renewcommand*{\pageaiii}{} \renewcommand*{\pagebvi}{} \renewcommand*{\pagebv}{} \renewcommand*{\pagebiv}{} \renewcommand*{\pagebiii}{} \renewcommand*{\pagemlargecrownvo}{} \renewcommand*{\pagemdemyvo}{} \renewcommand*{\pagemsmallroyalvo}{} \renewcommand*{\stockdbill}{} \renewcommand*{\stockstatement}{} \renewcommand*{\stockexecutive}{} \renewcommand*{\stockletter}{} \renewcommand*{\stockold}{} \renewcommand*{\stocklegal}{} \renewcommand*{\stockledger}{} \renewcommand*{\stockbroadsheet}{} \renewcommand*{\pagedbill}{} \renewcommand*{\pagestatement}{} \renewcommand*{\pageexecutive}{} \renewcommand*{\pageletter}{} \renewcommand*{\pageold}{} \renewcommand*{\pagelegal}{} \renewcommand*{\pageledger}{} \renewcommand*{\pagebroadsheet}{} \renewcommand*{\stockpottvo}{} \renewcommand*{\stockfoolscapvo}{} \renewcommand*{\stockcrownvo}{} \renewcommand*{\stockpostvo}{} \renewcommand*{\stocklargecrownvo}{} \renewcommand*{\stocklargepostvo}{} \renewcommand*{\stocksmalldemyvo}{} \renewcommand*{\stockdemyvo}{} \renewcommand*{\stockmediumvo}{} \renewcommand*{\stocksmallroyalvo}{} \renewcommand*{\stockroyalvo}{} \renewcommand*{\stocksuperroyalvo}{} \renewcommand*{\stockimperialvo}{} \renewcommand*{\pagepottvo}{} \renewcommand*{\pagefoolscapvo}{} \renewcommand*{\pagecrownvo}{} \renewcommand*{\pagepostvo}{} \renewcommand*{\pagelargecrownvo}{} \renewcommand*{\pagelargepostvo}{} \renewcommand*{\pagesmalldemyvo}{} \renewcommand*{\pagedemyvo}{} \renewcommand*{\pagemediumvo}{} \renewcommand*{\pagesmallroyalvo}{} \renewcommand*{\pageroyalvo}{} \renewcommand*{\pagesuperroyalvo}{} \renewcommand*{\pageimperialvo}{} \renewcommand*{\memfontfamily}{} \renewcommand*{\memfontenc}{} \renewcommand*{\memfontpack}{} \renewcommand*{\anyptfilebase}{} \renewcommand*{\anyptsize}{10} \renewcommand*{\setstocksize}[2]{} \renewcommand*{\settrimmedsize}[3]{} \renewcommand*{\settrims}[2]{} \renewcommand*{\setxlvchars}[1]{} \renewcommand*{\setlxvchars}[1]{} \renewcommand*{\settypeblocksize}[3]{} \renewcommand*{\setlrmargins}[3]{} \renewcommand*{\setlrmarginsandblock}[3]{} \renewcommand*{\setbinding}[1]{} \renewcommand*{\setulmargins}[3]{} \renewcommand*{\setulmarginsandblock}[3]{} \renewcommand*{\setcolsepandrule}[2]{} \renewcommand*{\setheadfoot}[2]{} \renewcommand*{\setheaderspaces}[3]{} \renewcommand*{\setmarginnotes}[3]{} \renewcommand*{\setfootins}[2]{} \renewcommand*{\checkandfixthelayout}[1][]{} \renewcommand*{\checkthelayout}[1]{} \renewcommand*{\fixthelayout}{} \renewcommand*{\typeoutlayout}{} \renewcommand*{\typeoutstandardlayout}{} \renewcommand*{\settypeoutlayoutunit}[1]{} \renewcommand*{\fixpdflayout}{} \renewcommand*{\fixdvipslayout}{} \renewcommand*{\medievalpage}[1][]{} \renewcommand*{\isopage}[1][]{} \renewcommand*{\semiisopage}[1][]{} \renewcommand{\setpagebl}[3]{} \renewcommand{\setpageml}[3]{} \renewcommand{\setpagetl}[3]{} \renewcommand{\setpagetm}[3]{} \renewcommand{\setpagetr}[3]{} \renewcommand{\setpagemr}[3]{} \renewcommand{\setpagebr}[3]{} \renewcommand{\setpagebm}[3]{} \renewcommand{\setpagecc}[3]{} \let\miniscule\tiny \let\HUGE\Huge \renewcommand*{\abnormalparskip}[1]{} \renewcommand*{\nonzeroparskip}{} \renewcommand*{\traditionalparskip}{} \let\onelineskip\baselineskip \let\OnehalfSpacing\onehalfspacing \let\DoubleSpacing\doublespacing \renewcommand*{\setPagenoteSpacing}[1]{} \renewcommand*{\setFloatSpacing}[1]{} \let\SingleSpacing\singlespacing \let\setSingleSpace\SetSinglespace \let\SingleSpace\singlespace \let\endSingleSpace\endsinglespace \let\Spacing\spacing \let\endSpacing\endspacing \let\OnehalfSpace\onehalfspace \let\endOnehalfSpace\endonehalfspace \csletcs{OnehalfSpace*}{onehalfspace} \csletcs{endOnehalfSpace*}{endonehalfspace} \let\DoubleSpace\doublespace \let\endDoubleSpace\enddoublespace \csletcs{DoubleSpace*}{doublespace} \csletcs{endDoubleSpace*}{enddoublespace} \renewcommand*{\setDisplayskipStretch}[1]{} \renewcommand*{\memdskipstretch}{} \renewcommand*{\noDisplayskipStretch}{} \renewcommand*{\memdskips}{} \renewcommand*{\midsloppy}{} \renewenvironment*{midsloppypar}{}{} \renewcommand*{\sloppybottom}{} \csletcs{titlingpage*}{titlingpage} \csletcs{endtitlingpage*}{endtitlingpage} \let\andnext\and \renewcommand*{\thanksmarkstyle}[1]{} \renewcommand{\thanksfootmark}{% \thanksscript{\tamark}% } \renewcommand*{\abstractcol}{} \renewcommand*{\abstractintoc}{} \renewcommand*{\abstractnum}{} \renewcommand*{\abstractrunin}{} \def\@apppage{% \part*{\appendixpagename} } \renewcommand\mempreaddapppagetotochook{} \renewcommand\mempostaddapppagetotochook{} \def\@sapppage{% \part*{\appendixpagename} } \csletcs{frontmatter*}{frontmatter} \csletcs{mainmatter*}{mainmatter} \renewcommand*{\raggedbottomsection}{} \renewcommand*{\normalbottomsection}{} \renewcommand*{\bottomsectionskip}{} \renewcommand*{\bottomsectionpenalty}{} \csletcs{appendixpage*}{appendixpage} \renewcommand*{\namedsubappendices}{} \renewcommand*{\unnamedsubappendices}{} \renewcommand*{\setsecnumdepth}[1]{}% todo tocvsec2 \renewcommand*{\maxsecnumdepth}[1]{}% todo tocvsec2 \renewcommand*{\beforebookskip}{} \renewcommand*{\afterbookskip}{} \renewcommand*{\beforepartskip}{} \renewcommand*{\afterpartskip}{} \renewcommand*{\midbookskip}{} \renewcommand*{\midpartskip}{} \renewcommand*{\printbookname}{} \renewcommand*{\booknamefont}{} \renewcommand*{\booknamenum}{} \renewcommand*{\printbooknum}{} \renewcommand*{\booknumfont}{} \renewcommand*{\printpartname}{} \renewcommand*{\partnamefont}{} \renewcommand*{\partnamenum}{} \renewcommand*{\printpartnum}{} \renewcommand*{\partnumfont}{} \renewcommand*{\printbooktitle}[1]{} \renewcommand*{\booktitlefont}{} \renewcommand{\printparttitle}[1]{} \renewcommand*{\parttitlefont}{} \renewcommand*{\bookpageend}{} \renewcommand*{\bookblankpage}{} \renewcommand*{\nobookblankpage}{} \renewcommand*{\partpageend}{} \renewcommand*{\partblankpage}{} \renewcommand*{\nopartblankpage}{} \RenewDocumentCommand{\newleadpage}{s o m m}{}% todo \RenewDocumentCommand{\renewleadpage}{s o m m}{}% todo \renewcommand*{\leadpagetoclevel}{chapter} \renewcommand*{\openright}{} \renewcommand*{\openleft}{} \renewcommand*{\openany}{} \renewcommand*{\clearforchapter}{} \renewcommand*{\memendofchapterhook}{} \renewcommand*{\chapterheadstart}{} \renewcommand*{\afterchapternum}{} \renewcommand*{\afterchaptertitle}{} \renewcommand*{\printchaptername}{} \renewcommand*{\chapnamefont}{} \renewcommand*{\chapternamenum}{} \renewcommand*{\printchapternum}{} \renewcommand*{\chapnumfont}{} \renewcommand{\printchaptertitle}[1]{} \renewcommand*{\chaptitlefont}{} \renewcommand*{\printchapternonum}{} \renewcommand*{\indentafterchapter}{} \renewcommand*{\noindentafterchapter}{} \renewcommand*{\insertchapterspace}{} \renewcommand*{\chapterstyle}[1]{} \renewcommand{\makechapterstyle}[2]{} \renewcommand*{\chapindent}{} \let\chapterprecis\cftchapterprecis \let\chapterprecishere\cftchapterprecishere \let\chapterprecistoc\cftchapterprecistoc \renewcommand*{\precisfont}{} \renewcommand*{\prechapterprecis}{} \renewcommand*{\postchapterprecis}{} \renewcommand{\precistoctext}[1]{} \renewcommand*{\precistocfont}{} \renewcommand*{\precistocformat}{} \renewcommand*{\setbeforesecskip}[1]{} \renewcommand*{\setaftersecskip}[1]{} \renewcommand*{\setsecindent}[1]{} \renewcommand*{\setsecheadstyle}[1]{} \renewcommand*{\setbeforesubsecskip}[1]{} \renewcommand*{\setaftersubsecskip}[1]{} \renewcommand*{\setsubsecindent}[1]{} \renewcommand*{\setsubsecheadstyle}[1]{} \renewcommand*{\setbeforesubsubsecskip}[1]{} \renewcommand*{\setaftersubsubsecskip}[1]{} \renewcommand*{\setsubsubsecindent}[1]{} \renewcommand*{\setsubsubsecheadstyle}[1]{} \renewcommand*{\setbeforeparaskip}[1]{} \renewcommand*{\setafterparaskip}[1]{} \renewcommand*{\setparaindent}[1]{} \renewcommand*{\setparaheadstyle}[1]{} \renewcommand*{\setbeforesubparaskip}[1]{} \renewcommand*{\setaftersubparaskip}[1]{} \renewcommand*{\setsubparaindent}[1]{} \renewcommand*{\setsubparaheadstyle}[1]{} \renewcommand{\@hangfrom}[1]{#1} \renewcommand{\sethangfrom}[1]{} \renewcommand{\setsecnumformat}[1]{} \renewcommand*{\hangsecnum}{} \renewcommand*{\defaultsecnum}{} \renewcommand*{\sechook}{} \renewcommand{\setsechook}[1]{} \renewcommand*{\subsechook}{} \renewcommand{\setsubsechook}[1]{} \renewcommand*{\subsubsechook}{} \renewcommand{\setsubsubsechook}[1]{} \renewcommand*{\parahook}{} \renewcommand{\setparahook}[1]{} \renewcommand*{\subparahook}{} \renewcommand{\setsubparahook}[1]{} \RenewDocumentCommand{\plainbreak}{s m}{\begin{center}~\end{center}} \RenewDocumentCommand{\fancybreak}{s +m}{% \begin{center}#2\end{center}% } \RenewDocumentCommand{\plainfancybreak}{s m m +m}{% \begin{center}#4\end{center}% } \RenewDocumentCommand{\pfbreak}{s}{% \begin{center} \pfbreakdisplay \end{center} } \renewcommand{\pfbreakdisplay}{*\quad*\quad*} \renewcommand{\makeheadstyles}[2]{} \renewcommand*{\headstyles}[1]{} \renewcommand*{\savepagenumber}{} \renewcommand*{\restorepagenumber}{} \renewcommand*{\uppercaseheads}{} \renewcommand*{\nouppercaseheads}{} \renewcommand*{\bookpagemark}[1]{} \renewcommand*{\partmark}[1]{} \renewcommand*{\bibmark}{} \renewcommand*{\indexmark}{} \renewcommand*{\glossarymark}{} \LWR@origpagestyle{empty} \renewcommand*{\ps@empty}{} \renewcommand*{\makepagestyle}[1]{} \renewcommand*{\emptypshook}{}% \renewcommand*{\@oddhead}{} \renewcommand*{\@oddfoot}{} \renewcommand*{\@evenhead}{} \renewcommand*{\@evenfoot}{} \renewcommand*{\aliaspagestyle}[2]{} \renewcommand*{\copypagestyle}[2]{} \renewcommand*{\makeevenhead}[4]{} \renewcommand*{\makeoddhead}[4]{} \renewcommand*{\makeevenfoot}[4]{} \renewcommand*{\makeoddfoot}[4]{} \renewcommand*{\makerunningwidth}[3]{} \renewcommand*{\makeheadrule}[3]{} \renewcommand*{\makefootrule}[3]{} \renewcommand*{\makeheadfootruleprefix}[3]{} \renewcommand*{\makeheadposition}[5]{} \renewcommand{\makepsmarks}[2]{} \renewcommand*{\makeheadfootstrut}[3]{} \renewcommand{\createplainmark}[3]{} \renewcommand{\memUChead}[1]{} \renewcommand{\createmark}[5]{} \renewcommand*{\clearplainmark}[1]{} \renewcommand*{\clearmark}[1]{} \renewcommand{\addtopsmarks}[3]{} \renewcommand{\ifonlyfloats}[2]{#2} \renewcommand*{\mergepagefloatstyle}[3]{} \renewcommand*{\framepichead}{} \renewcommand*{\framepictextfoot}{} \renewcommand*{\framepichook}{} \renewcommand*{\showheadfootlocoff}{} \renewcommand*{\showtextblocklocoff}{} \renewcommand{\hangfrom}[1]{#1} \let\centerfloat\centering \renewcommand*{\raggedyright}[1][]{} \renewcommand{\sourceatright}[2][]{\attribution{#2}} \let\memorigdbs\LWR@endofline \let\memorigpar\par \let\atcentercr\LWR@endofline \renewcommand*{\flushleftright}{} \renewcommand*{\linenottooshort}[1][]{} \renewcommand*{\russianpar}{} \renewcommand*{\lastlinerulefill}{} \renewcommand*{\lastlineparrule}{} \renewcommand*{\justlastraggedleft}{} \renewcommand*{\raggedrightthenleft}{} \renewcommand*{\leftcenterright}{} \renewcommand{\leftspringright}[4]{% \begin{minipage}{#1\linewidth}#3\end{minipage}\qquad% \begin{minipage}{#2\linewidth}\begin{flushright}#4\end{flushright}\end{minipage}% } \renewenvironment*{blockdescription} {\LWR@descriptionstart\LWR@origdescription} {\enddescription} \renewcommand*{\blockdescriptionlabel}[1]{\textbf{#1}} \renewenvironment*{labelled}[1]{\begin{description}}{\end{description}} \renewenvironment*{flexlabelled}[6]{\begin{description}}{\end{description}} \renewcommand*{\tightlists}{} \renewcommand*{\defaultlists}{} \RenewDocumentCommand{\firmlists}{s}{} \renewcommand*{\firmlist}{} \renewcommand*{\tightlist}{} \renewcommand*{\zerotrivseps}{} \renewcommand*{\savetrivseps}{} \renewcommand*{\restoretrivseps}{} \csletcs{tableofcontents*}{tableofcontents} \csletcs{listoffigures*}{listoffigures} \csletcs{listoftables*}{listoftables} \renewenvironment{KeepFromToc}{}{} \renewcommand*{\onecoltocetc}{} \renewcommand*{\twocoltocetc}{} \renewcommand*{\ensureonecol}{} \renewcommand*{\restorefromonecol}{} \renewcommand*{\doccoltocetc}{} \renewcommand*{\maxtocdepth}[1]{}% tocvsec2 \renewcommand*{\settocdepth}[1]{}% tocvsec2 \renewcommand{\tocheadstart}{} \renewcommand{\printtoctitle}[1]{} \renewcommand{\tocmark}{} \renewcommand{\aftertoctitle}{} \renewcommand{\lofheadstart}{} \renewcommand{\printloftitle}[1]{} \renewcommand{\lofmark}{} \renewcommand{\afterloftitle}{} \renewcommand{\lotheadstart}{} \renewcommand{\printlottitle}[1]{} \renewcommand{\lotmark}{} \renewcommand{\afterlottitle}{} \renewcommand*{\setpnumwidth}[1]{} \renewcommand*{\setrmarg}[1]{} \renewcommand*{\cftbookbreak}{} \renewcommand*{\cftpartbreak}{} \renewcommand*{\cftchapterbreak}{} \renewcommand*{\cftbookfont}{} \renewcommand*{\cftbookname}{} \renewcommand*{\cftbookpresnum}{} \renewcommand*{\cftbookaftersnum}{} \renewcommand*{\cftbookaftersnumb}{} \renewcommand*{\cftbookleader}{} \renewcommand*{\cftbookdotsep}{1} \renewcommand*{\cftbookpagefont}{} \renewcommand*{\cftbookafterpnum}{} \renewcommand*{\cftbookformatpnum}[1]{} \renewcommand*{\cftbookformatpnumhook}[1]{} \renewcommand*{\cftchapterfont}{} \renewcommand*{\cftchaptername}{} \renewcommand*{\cftchapterpresnum}{} \renewcommand*{\cftchapteraftersnum}{} \renewcommand*{\cftchapteraftersnumb}{} \renewcommand*{\cftchapterleader}{} \renewcommand*{\cftchapterdotsep}{1} \renewcommand*{\cftchapterpagefont}{} \renewcommand*{\cftchapterafterpnum}{} \renewcommand*{\cftchapterformatpnum}[1]{} \renewcommand*{\cftchapterformatpnumhook}[1]{} \renewcommand*{\cftsectionfont}{} \renewcommand*{\cftsectionname}{} \renewcommand*{\cftsectionpresnum}{} \renewcommand*{\cftsectionaftersnum}{} \renewcommand*{\cftsectionaftersnumb}{} \renewcommand*{\cftsectionleader}{} \renewcommand*{\cftsectiondotsep}{1} \renewcommand*{\cftsectionpagefont}{} \renewcommand*{\cftsectionafterpnum}{} \renewcommand*{\cftsectionformatpnum}[1]{} \renewcommand*{\cftsectionformatpnumhook}[1]{} \renewcommand*{\cftsubsectionfont}{} \renewcommand*{\cftsubsectionname}{} \renewcommand*{\cftsubsectionpresnum}{} \renewcommand*{\cftsubsectionaftersnum}{} \renewcommand*{\cftsubsectionaftersnumb}{} \renewcommand*{\cftsubsectionleader}{} \renewcommand*{\cftsubsectiondotsep}{1} \renewcommand*{\cftsubsectionpagefont}{} \renewcommand*{\cftsubsectionafterpnum}{} \renewcommand*{\cftsubsectionformatpnum}[1]{} \renewcommand*{\cftsubsectionformatpnumhook}[1]{} \renewcommand*{\cftsubsubsectionfont}{} \renewcommand*{\cftsubsubsectionname}{} \renewcommand*{\cftsubsubsectionpresnum}{} \renewcommand*{\cftsubsubsectionaftersnum}{} \renewcommand*{\cftsubsubsectionaftersnumb}{} \renewcommand*{\cftsubsubsectionleader}{} \renewcommand*{\cftsubsubsectiondotsep}{1} \renewcommand*{\cftsubsubsectionpagefont}{} \renewcommand*{\cftsubsubsectionafterpnum}{} \renewcommand*{\cftsubsubsectionformatpnum}[1]{} \renewcommand*{\cftsubsubsectionformatpnumhook}[1]{} \renewcommand*{\cftparagraphfont}{} \renewcommand*{\cftparagraphname}{} \renewcommand*{\cftparagraphpresnum}{} \renewcommand*{\cftparagraphaftersnum}{} \renewcommand*{\cftparagraphaftersnumb}{} \renewcommand*{\cftparagraphleader}{} \renewcommand*{\cftparagraphdotsep}{1} \renewcommand*{\cftparagraphpagefont}{} \renewcommand*{\cftparagraphafterpnum}{} \renewcommand*{\cftparagraphformatpnum}[1]{} \renewcommand*{\cftparagraphformatpnumhook}[1]{} \renewcommand*{\cftsubparagraphfont}{} \renewcommand*{\cftsubparagraphname}{} \renewcommand*{\cftsubparagraphpresnum}{} \renewcommand*{\cftsubparagraphaftersnum}{} \renewcommand*{\cftsubparagraphaftersnumb}{} \renewcommand*{\cftsubparagraphleader}{} \renewcommand*{\cftsubparagraphdotsep}{1} \renewcommand*{\cftsubparagraphpagefont}{} \renewcommand*{\cftsubparagraphafterpnum}{} \renewcommand*{\cftsubparagraphformatpnum}[1]{} \renewcommand*{\cftsubparagraphformatpnumhook}[1]{} \renewcommand*{\cftfigurefont}{} \renewcommand*{\cftfigurename}{} \renewcommand*{\cftfigurepresnum}{} \renewcommand*{\cftfigureaftersnum}{} \renewcommand*{\cftfigureaftersnumb}{} \renewcommand*{\cftfigureleader}{} \renewcommand*{\cftfiguredotsep}{1} \renewcommand*{\cftfigurepagefont}{} \renewcommand*{\cftfigureafterpnum}{} \renewcommand*{\cftfigureformatpnum}[1]{} \renewcommand*{\cftfigureformatpnumhook}[1]{} \newcommand*{\cftsubfigurefont}{} \newcommand*{\cftsubfigurename}{} \newcommand*{\cftsubfigurepresnum}{} \newcommand*{\cftsubfigureaftersnum}{} \newcommand*{\cftsubfigureaftersnumb}{} \newcommand*{\cftsubfigureleader}{} \newcommand*{\cftsubfiguredotsep}{1} \newcommand*{\cftsubfigurepagefont}{} \newcommand*{\cftsubfigureafterpnum}{} \newcommand*{\cftsubfigureformatpnum}[1]{} \newcommand*{\cftsubfigureformatpnumhook}[1]{} \renewcommand*{\cfttablefont}{} \renewcommand*{\cfttablename}{} \renewcommand*{\cfttablepresnum}{} \renewcommand*{\cfttableaftersnum}{} \renewcommand*{\cfttableaftersnumb}{} \renewcommand*{\cfttableleader}{} \renewcommand*{\cfttabledotsep}{1} \renewcommand*{\cfttablepagefont}{} \renewcommand*{\cfttableafterpnum}{} \renewcommand*{\cfttableformatpnum}[1]{} \renewcommand*{\cfttableformatpnumhook}[1]{} \newcommand*{\cftsubtablefont}{} \newcommand*{\cftsubtablename}{} \newcommand*{\cftsubtablepresnum}{} \newcommand*{\cftsubtableaftersnum}{} \newcommand*{\cftsubtableaftersnumb}{} \newcommand*{\cftsubtableleader}{} \newcommand*{\cftsubtabledotsep}{1} \newcommand*{\cftsubtablepagefont}{} \newcommand*{\cftsubtableafterpnum}{} \newcommand*{\cftsubtableformatpnum}[1]{} \newcommand*{\cftsubtableformatpnumhook}[1]{} \renewcommand*{\booknumberline}[1]{} \renewcommand*{\partnumberline}[1]{} \renewcommand*{\chapternumberline}[1]{} \renewcommand*{\numberlinehook}[1]{} \renewcommand*{\booknumberlinehook}[1]{} \renewcommand*{\partnumberlinehook}[1]{} \renewcommand*{\chapternumberlinehook}[1]{} \renewcommand{\numberlinebox}[2]{} \renewcommand{\booknumberlinebox}[2]{} \renewcommand{\partnumberlinebox}[2]{} \renewcommand{\chapternumberlinebox}[2]{} \renewcommand*{\cftpagenumbersoff}[1]{} \renewcommand*{\cftpagenumberson}[1]{} \renewcommand*{\cftlocalchange}[3]{} \renewcommand*{\cftaddtitleline}[4]{} \renewcommand*{\cftaddnumtitleline}[4]{} \renewcommand{\cftinsertcode}[2]{} \renewcommand{\cftinserthook}[2]{} \renewcommand{\settocpreprocessor}[2]{} \DeclareRobustCommand{\cftpagenumbersoff}[1]{} \DeclareRobustCommand{\cftpagenumberson}[1]{} \RenewDocumentCommand{\newfloat}{o m m m}{% \IfValueTF{#1}% {\DeclareFloatingEnvironment[fileext=#3,within=#1,name={#4}]{#2}}% {\DeclareFloatingEnvironment[fileext=#3,name={#4}]{#2}}% \cslet{listof#2s}\relax% \cslet{listof#2es}\relax% } \RenewDocumentCommand{\newlistof}{o m m m} {% \IfValueTF{#1} {\newlistentry[#1]{#2}{#3}{0}} {\newlistentry{#2}{#3}{0}} \@namedef{ext@#2}{#3}% \@ifundefined{c@#3depth}{\newcounter{#3depth}}{}% \setcounter{#3depth}{1}% \@namedef{#3mark}{}% \@namedef{#2}{\listof{#2}{#4}} \@namedef{@cftmake#3title}{} \@ifundefined{cftbefore#3titleskip}{ \expandafter\newlength\csname cftbefore#3titleskip\endcsname \expandafter\newlength\csname cftafter#3titleskip\endcsname }{} \@namedef{cft#3titlefont}{} \@namedef{cftafter#3title}{} \@namedef{cft#3prehook}{} \@namedef{cft#3posthook}{} } \renewcommand{\setfloatadjustment}[2]{} \NewDocumentEnvironment{KFLTmemoir@marginfloat}{O{-1.2ex} m} {% start \LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}{marginblock}% \captionsetup{type=#2}% } {% \endLWR@BlockClassWP% } \DeclareDocumentEnvironment{marginfigure}{o} {\begin{KFLTmemoir@marginfloat}{figure}} {\end{KFLTmemoir@marginfloat}} \DeclareDocumentEnvironment{margintable}{o} {\begin{KFLTmemoir@marginfloat}{table}} {\end{KFLTmemoir@marginfloat}} \renewcommand{\setmarginfloatcaptionadjustment}[2]{} \renewcommand{\setmpjustification}[2]{} \renewcommand*{\mpjustification}{} \renewcommand*{\setfloatlocations}[2]{} \DeclareDocumentCommand{\suppressfloats}{o}{} \renewcommand*{\FloatBlock}{} \renewcommand*{\FloatBlockAllowAbove}{} \renewcommand*{\FloatBlockAllowBelow}{} \renewcommand*{\setFloatBlockFor}{} \renewcommand*{\captiondelim}[1]{\renewcommand*{\CaptionSeparator}{#1}} \renewcommand*{\captionnamefont}[1]{} \renewcommand*{\captiontitlefont}[1]{} \renewcommand*{\captionstyle}[2][]{} \renewcommand*{\centerlastline}{} \renewcommand*{\hangcaption}{} \renewcommand*{\indentcaption}[1]{} \renewcommand*{\normalcaption}{} \renewcommand*{\changecaptionwidth}{} \DeclareDocumentCommand{\captionwidth}{m}{} \renewcommand*{\normalcaptionwidth}{} \renewcommand{\precaption}[1]{} \renewcommand{\captiontitlefinal}[1]{} \renewcommand{\postcaption}[1]{} \renewcommand{\contcaption}[1]{% \begin{LWR@figcaption}% later becomes \caption* \csuse{\@captype name} \thechapter.\the\value{\@captype}\CaptionSeparator #1 \end{LWR@figcaption} } \renewcommand{\legend}[1]{\begin{center}#1\\\end{center}} \renewcommand{\namedlegend}[2][]{ \begin{center} \csuse{fleg\@captype}\CaptionSeparator#2\\ \end{center} \csuse{flegtoc\@captype}{#1} } \renewcommand{\flegtable}{\tablename} \renewcommand{\flegfigure}{\figurename} \renewcommand{\flegtoctable}{} \renewcommand{\flegtocfigure}{} \renewcommand{\newfixedcaption}[3][\caption]{% \renewcommand{#2}{\def\@captype{#3}#1}} \renewcommand{\renewfixedcaption}[3][\caption]{% \renewcommand{#2}{\def\@captype{#3}#1}} \renewcommand{\providefixedcaption}[3][\caption]{% \providecommand{#2}{\def\@captype{#3}#1}} \renewcommand{\bitwonumcaption}[6][]{% \ifblank{#2}{\caption{#3}}{\caption[#2]{#3}}% \addtocounter{\@captype}{-1}% \begingroup% \csdef{\@captype name}{#4}% \ifblank{#5}{\caption{#6}}{\caption[#5]{#6}}% \endgroup% \ifblank{#1}{}{\label{#1}}% } \LetLtxMacro\bionenumcaption\bitwonumcaption% todo \renewcommand{\bicaption}[5][]{% \ifblank{#2}{\caption{#3}}{\caption[#2]{#3}}% \begin{LWR@figcaption}% later becomes \caption* #4 \thechapter.\the\value{\@captype}\CaptionSeparator #5 \end{LWR@figcaption} \ifblank{#1}{}{\label{#1}}% } \renewcommand{\bicontcaption}[3]{% \contcaption{#1}% \begingroup% \csdef{\@captype name}{#2}% \contcaption{#3}% \endgroup% } \renewcommand{\midbicaption}[1]{} \renewcommand{\subcaption}[2][]{% \ifblank{#1}{\subfloat[#2]{}}{\subfloat[#1][#2]{}}% } \RenewDocumentCommand{\subtop}{O{} O{} m}{% \subfloat[#1][#2]{#3}% } \RenewDocumentCommand{\subbottom}{O{} O{} m}{% \subfloat[#1][#2]{#3}% } \renewcommand{\contsubcaption}{\ContinuedFloat\subcaption} \renewcommand{\contsubtop}{% \ContinuedFloat\addtocounter{\@captype}{1}% \subtop} \renewcommand{\contsubbottom}{% \ContinuedFloat\addtocounter{\@captype}{1}% \subbottom} \renewcommand{\subconcluded}{} \LetLtxMacro\subcaptionref\subref \renewcommand*{\tightsubcaptions}{} \renewcommand*{\loosesubcaptions}{} \renewcommand*{\subcaptionsize}[1]{} \renewcommand*{\subcaptionlabelfont}[1]{} \renewcommand*{\subcaptionfont}[1]{} \renewcommand*{\subcaptionstyle}[1]{} \renewcommand*{\hangsubcaption}{} \renewcommand*{\shortsubcaption}{} \renewcommand*{\normalsubcaption}{} \RenewDocumentEnvironment{sidecaption}{o m o} {} { \IfValueTF{#1}{\caption[#1]{#2}}{\caption{#2}}% \IfValueT{#3}{\label{#3}}% } \renewcommand*{\setsidecaps}[2]{} \renewcommand*{\sidecapmargin}[1]{} \scapmargleftfalse \renewcommand*{\setsidecappos}[1]{} \RenewDocumentEnvironment{sidecontcaption}{m o} {} {% \ContinuedFloat% \caption{#1}% \IfValueT{#2}{\label[\@captype]{#2}}% } \renewenvironment{sidenamedlegend}[2][]{ \begin{center} \csuse{\@captype name}\CaptionSeparator#2 \end{center} } {} \renewenvironment{sidelegend}[1] {\begin{center} #1 } {\end{center}} \renewcommand*{\sidecapstyle}{} \renewcommand*{\overridescapmargin}[1]{} \renewcommand*{\sidecapfloatwidth}{\linewidth} \LetLtxMacro\ctabular\tabular \LetLtxMacro\endctabular\endtabular \renewcommand{\autorows}[5][]{% #5 } \renewcommand{\autocols}[5][]{% #5 } \renewcommand*{\feetabovefloat}{} \renewcommand*{\feetbelowfloat}{} \renewcommand*{\feetatbottom}{} \renewcommand*{\verbfootnote}[2][]{ \PackageError{lwarp,memoir} {Verbatim footnotes are not yet supported by lwarp.} {This may be improved some day.} } \renewcommand*{\plainfootnotes}{} \renewcommand*{\twocolumnfootnotes}{} \renewcommand*{\threecolumnfootnotes}{} \renewcommand*{\paragraphfootnotes}{} \renewcommand*{\footfudgefiddle}{} \renewcommand*{\newfootnoteseries}[1]{ \PackageError{lwarp,memoir} {Memoir footnote series are not yet supported by lwarp.} {This may be improved some day.} } \renewcommand*{\plainfootstyle}[1]{} \renewcommand*{\twocolumnfootstyle}[1]{} \renewcommand*{\threecolumnfootstyle}[1]{} \renewcommand*{\paragraphfootstyle}[1]{} \renewcommand*{\footfootmark}{} \renewcommand*{\footmarkstyle}[1]{} \renewcommand*{\foottextfont}{} \renewcommand*{\marginparmargin}[1]{} \renewcommand*{\sideparmargin}[1]{} \LetLtxMacro\sidepar\marginpar \renewcommand*{\sideparfont}{} \renewcommand*{\sideparform}{} \LWR@providelength{\sideparvshift} \renewcommand*{\parnopar}{} \renewcommand{\sidebar}[1]{\begin{quote}#1\end{quote}} \renewcommand*{\sidebarmargin}[1]{} \renewcommand*{\sidebarfont}{} \renewcommand*{\sidebarform}{} \renewcommand{\setsidebarheight}[1]{} \renewcommand*{\setsidebars}[6]{} \renewcommand*{\footnotesatfoot}{} \renewcommand*{\footnotesinmargin}{} \LetLtxMacro\sidefootnote\footnote \LetLtxMacro\sidefootnotemark\footnotemark \LetLtxMacro\sidefootnotetext\footnotetext \renewcommand*{\sidefootmargin}[1]{} \renewcommand*{\setsidefootheight}[1]{} \renewcommand*{\setsidefeet}[6]{} \renewcommand*{\sidefootmarkstyle}[1]{} \renewcommand*{\sidefoottextfont}{} \renewcommand*{\sidefootform}{} \renewcommand*{\continuousnotenums}{\pncontopttrue}% from pagenote \renewcommand*{\notepageref}{} \renewcommand*{\prenotetext}{} \renewcommand*{\postnotetext}{} \renewcommand*{\idtextinnotes}[1]{} \renewcommand*{\printpageinnotes}[1]{} \renewcommand*{\printpageinnoteshyperref}[1]{} \renewcommand*{\foottopagenote}{} \renewcommand*{\pagetofootnote}{} \renewcommand*{\epigraphposition}[1]{} \renewcommand*{\epigraphtextposition}[1]{} \renewcommand*{\epigraphsourceposition}[1]{} \renewcommand*{\epigraphfontsize}[1]{} \renewcommand*{\epigraphforheader}[2][]{} \renewcommand*{\epigraphpicture}{} \renewcommand*{\vinphantom}{} \renewcommand*{\vleftofline}[1]{#1} \DeclareDocumentCommand{\PoemTitle}{s o o m}{% \IfValueTF{#2}% {\poemtitle[#2]{#4}}% {\poemtitle{#4}}% } \renewcommand*{\NumberPoemTitle}{} \renewcommand*{\PlainPoemTitle}{} \renewcommand*{\poemtitlepstyle}{} \renewcommand*{\poemtitlestarmark}[1]{} \renewcommand*{\poemtitlestarpstyle}{} \renewcommand*{\PoemTitleheadstart}{} \renewcommand*{\printPoemTitlenonum}{} \renewcommand*{\printPoemTitlenum}{} \renewcommand*{\afterPoemTitlenum}{} \renewcommand*{\printPoemTitletitle}[1]{} \renewcommand*{\afterPoemTitle}{} \newlength{\midpoemtitleskip} \renewcommand*{\PoemTitlenumfont}{} \renewcommand*{\PoemTitlefont}{} \renewenvironment{qframe}{\framed}{\endframed} \renewenvironment{qshade}{\shaded}{\endshaded} \renewcommand*{\commentsoff}[1]{\includecomment{#1}} \renewcommand*{\commentson}[1]{\excludecomment{#1}} \LetLtxMacro\renewcomment\commentson \renewcommand*{\setverbatimfont}[1]{} \renewcommand*{\tabson}[1]{} \renewcommand*{\tabsoff}{} \renewcommand*{\wrappingon}{} \renewcommand*{\wrappingoff}{} \renewcommand*{\verbatimindent}{} \renewcommand*{\verbatimbreakchar}[1]{} \DefineVerbatimEnvironment{fboxverbatim}{Verbatim}{frame=single} \renewcommand*{\bvbox}{} \renewcommand*{\bvtopandtail}{} \renewcommand*{\bvsides}{} \renewcommand*{\nobvbox}{} \renewcommand*{\bvtoprulehook}{} \renewcommand*{\bvtopmidhook}{} \renewcommand*{\bvendrulehook}{} \renewcommand*{\bvleftsidehook}{} \renewcommand*{\bvrightsidehook}{} \renewcommand*{\bvperpagetrue}{} \renewcommand*{\bvperpagefalse}{} \renewcommand{\bvtopofpage}[1]{} \renewcommand{\bvendofpage}[1]{} \renewcommand*{\linenumberfrequency}[1]{} \renewcommand*{\resetbvlinenumber}{} \renewcommand*{\setbvlinenums}[2]{} \renewcommand*{\linenumberfont}[1]{} \renewcommand*{\bvnumbersinside}{} \renewcommand*{\bvnumbersoutside}{} \renewcommand*{\fref}[1]{\cref{#1}} \renewcommand*{\tref}[1]{\cref{#1}} \renewcommand*{\pref}[1]{\cpageref{#1}} \renewcommand*{\Aref}[1]{\cref{#1}} \renewcommand*{\Bref}[1]{\cref{#1}} \renewcommand*{\Pref}[1]{\cref{#1}} \renewcommand*{\Sref}[1]{\cref{#1}} \renewcommand*{\figurerefname}{Figure} \renewcommand*{\tablerefname}{Table} \renewcommand*{\pagerefname}{page} \renewcommand*{\bookrefname}{Book~} \renewcommand*{\partrefname}{Part~} \renewcommand*{\chapterrefname}{Chapter~} \renewcommand*{\sectionrefname}{\S} \renewcommand*{\appendixrefname}{Appendix~} \LetLtxMacro\titleref\nameref \renewcommand*{\headnameref}{} \renewcommand*{\tocnameref}{} \providecounter{LWR@currenttitle} \renewcommand*{\currenttitle}{% \addtocounter{LWR@currenttitle}{1}% \label{currenttitle\arabic{LWR@currenttitle}}% \nameref{currenttitle\arabic{LWR@currenttitle}}% } \renewcommand*{\theTitleReference}[2]{} \renewcommand*{\namerefon}{} \renewcommand*{\namerefoff}{} \DeclareDocumentCommand{\newblock}{}{} \renewcommand*{\showindexmarks}{} \renewcommand*{\hideindexmarks}{} \renewcommand*{\xindyindex}{} \renewcommand*{\changemarks}{} \renewcommand*{\nochangemarks}{} \renewcommand*{\added}[1]{} \renewcommand*{\deleted}[1]{} \renewcommand*{\changed}[1]{} \renewcommand*{\showtrimsoff}{} \renewcommand*{\showtrimson}{} \renewcommand*{\trimXmarks}{} \renewcommand*{\trimLmarks}{} \renewcommand*{\trimFrame}{} \renewcommand*{\trimNone}{} \renewcommand*\trimmarkscolor{} \renewcommand*{\trimmarks}{} \renewcommand*{\tmarktl}{} \renewcommand*{\tmarktr}{} \renewcommand*{\tmarkbr}{} \renewcommand*{\tmarkbl}{} \renewcommand*{\tmarktm}{} \renewcommand*{\tmarkmr}{} \renewcommand*{\tmarkbm}{} \renewcommand*{\tmarkml}{} \renewcommand*{\trimmark}{} \renewcommand*{\quarkmarks}{} \renewcommand*{\registrationColour}[1]{} \renewcommand*{\leavespergathering}[1]{} \renewcommand*{\noprelistbreak}{} \renewcommand*{\cleartorecto}{} \renewcommand*{\cleartoverso}{} \renewenvironment{vplace}[1][]{}{} \newlistof{tableofcontents}{toc}{\contentsname} \newlistof{listoffigures}{lof}{\listfigurename} \newlistof{listoftables}{lot}{\listtablename} \endinput %% %% End of file `lwarp-patch-memoir.sty'.