You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1186 lines
36 KiB
1186 lines
36 KiB
%%
|
|
%% 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-2020 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-booktabs}% req'd
|
|
\RequirePackage{lwarp-changepage}% req'd
|
|
\RequirePackage{lwarp-crop}
|
|
\RequirePackage{lwarp-enumerate}% req'd
|
|
\RequirePackage{lwarp-epigraph}% req'd
|
|
\RequirePackage{lwarp-fancyvrb}% req'd
|
|
\RequirePackage{lwarp-footmisc}% req'd
|
|
\let\framed\relax \let\endframed\relax
|
|
\let\shaded\relax \let\endshaded\relax
|
|
\let\leftbar\relax \let\endleftbar\relax
|
|
\let\snugshade\relax \let\endsnugshade\relax
|
|
\RequirePackage{lwarp-framed}% req'd
|
|
|
|
\RequirePackage{lwarp-hanging}% req'd
|
|
\RequirePackage{lwarp-makeidx}% 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}
|
|
|
|
|
|
\makeindex
|
|
\RequirePackage{lwarp-titling}% req'd
|
|
\RequirePackage{lwarp-tocloft}% req'd
|
|
\RequirePackage{lwarp-verse}% req'd
|
|
\let\LWR@orig@label\@mem@old@label
|
|
\let\@mem@old@label\LWR@new@label
|
|
\AtBeginDocument{
|
|
\renewcommand*{\sf@@memsub@label}[1]{%
|
|
\@bsphack
|
|
\sf@@memsub@label@hook{#1}%
|
|
\@memoldlabel{#1}%
|
|
\LWR@label@createtag{sub@#1}%
|
|
\protected@write\@auxout{}{%
|
|
\string\newlabel{sub@#1}%
|
|
{{\@nameuse{@@thesub\@captype}}%
|
|
{\thepage}}}%
|
|
\LWR@write@lwarplabel{sub@#1}%
|
|
\@esphack
|
|
}
|
|
}
|
|
|
|
\setstocksize{190in}{20in}
|
|
\setlrmarginsandblock{2in}{2in}{*}
|
|
\setulmarginsandblock{1in}{1in}{*}
|
|
\renewcommand*{\stockavi}{}
|
|
\renewcommand*{\stockav}{}
|
|
\renewcommand*{\stockaiv}{}
|
|
\renewcommand*{\stockaiii}{}
|
|
\renewcommand*{\stockavii}{}
|
|
\renewcommand*{\stockbvi}{}
|
|
\renewcommand*{\stockbv}{}
|
|
\renewcommand*{\stockbiv}{}
|
|
\renewcommand*{\stockbiii}{}
|
|
\renewcommand*{\stockbvii}{}
|
|
\renewcommand*{\stockmlargecrownvo}{}
|
|
\renewcommand*{\stockmdemyvo}{}
|
|
\renewcommand*{\stockmsmallroyalvo}{}
|
|
\renewcommand*{\pageavi}{}
|
|
\renewcommand*{\pageavii}{}
|
|
\renewcommand*{\pageav}{}
|
|
\renewcommand*{\pageaiv}{}
|
|
\renewcommand*{\pageaiii}{}
|
|
\renewcommand*{\pagebvi}{}
|
|
\renewcommand*{\pagebvii}{}
|
|
\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]{}
|
|
\renewcommand{\SingleSpacing}{\@ifstar\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\titlingpageend\relax
|
|
\newcommand{\titlingpageend}[2]{}
|
|
\let\andnext\and
|
|
\renewcommand*{\thanksmarkstyle}[1]{}
|
|
|
|
\renewcommand{\thanksfootmark}{%
|
|
\thanksscript{\tamark}%
|
|
}
|
|
|
|
|
|
\renewcommand\titlingpageend[2]{}
|
|
\renewcommand*{\abstractcol}{}
|
|
\renewcommand*{\abstractintoc}{}
|
|
\renewcommand*{\abstractnum}{}
|
|
\renewcommand*{\abstractrunin}{}
|
|
\DeclareDocumentCommand{\book}{s d() o o d() m}{%
|
|
\LWR@section{#1}{#3}{#6}{book}%
|
|
}
|
|
|
|
\def\@apppage{%
|
|
\part*{\appendixpagename}
|
|
}
|
|
\renewcommand\mempreaddapppagetotochook{}
|
|
\renewcommand\mempostaddapppagetotochook{}
|
|
|
|
\def\@sapppage{%
|
|
\part*{\appendixpagename}
|
|
}
|
|
\DeclareDocumentCommand{\mainmatter}{s}{%
|
|
\booltrue{LWR@mainmatter}%
|
|
}
|
|
|
|
\DeclareDocumentCommand{\frontmatter}{s}{%
|
|
\boolfalse{LWR@mainmatter}%
|
|
}
|
|
\renewcommand*{\raggedbottomsection}{}
|
|
\renewcommand*{\normalbottomsection}{}
|
|
\renewcommand*{\bottomsectionskip}{}
|
|
\renewcommand*{\bottomsectionpenalty}{}
|
|
\csletcs{appendixpage*}{appendixpage}
|
|
\renewcommand*{\namedsubappendices}{}
|
|
\renewcommand*{\unnamedsubappendices}{}
|
|
\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{\createmark}[5]{\csdef{#1mark}[1]{}}
|
|
\renewcommand{\createplainmark}[3]{\csdef{#1mark}{}}
|
|
\renewcommand{\memUChead}[1]{}
|
|
\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*{\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{\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]{}
|
|
\AtBeginDocument{
|
|
\def\@xfloat #1[#2]{%
|
|
\LWR@floatbegin{#1}[#2]
|
|
\normalsize
|
|
\@nameuse{#1adjustment}%
|
|
\LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment%
|
|
}
|
|
\def\@xdblfloat #1[#2]{%
|
|
\LWR@floatbegin{#1}[#2]
|
|
\normalsize
|
|
\@nameuse{#1adjustment}%
|
|
\LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment%
|
|
}
|
|
}
|
|
\RenewDocumentCommand{\newfloat}{o m m m}{%
|
|
\def\LWR@tempone{#4}%
|
|
\def\LWR@temptwo{\@nameuse{#2name}}%
|
|
\ifdefequal{\LWR@tempone}{\LWR@temptwo}{% recursive name, already defined
|
|
\IfValueTF{#1}%
|
|
{\DeclareFloatingEnvironment[fileext=#3,within=#1]{#2}}%
|
|
{\DeclareFloatingEnvironment[fileext=#3]{#2}}%
|
|
}{% not recursive name
|
|
\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}%
|
|
\renewcommand*{\@captype}{#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{\captiontitlefinal}[1]{}
|
|
|
|
\renewcommand{\flegtable}{\tablename}
|
|
\renewcommand{\flegfigure}{\figurename}
|
|
\renewcommand{\flegtoctable}{}
|
|
\renewcommand{\flegtocfigure}{}
|
|
\renewcommand{\@makesubfloatcaption}[2]{%
|
|
\minipagefullwidth
|
|
\begin{minipage}{\linewidth}%
|
|
#1 \ignorespaces #2 \unskip%
|
|
\end{minipage}
|
|
}
|
|
|
|
\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}
|
|
{}
|
|
{%
|
|
\ifdef{\ContinuedFloat}%
|
|
{\ContinuedFloat}%
|
|
{\addtocounter{\@captype}{-1}}%
|
|
\caption{#1}%
|
|
\IfValueT{#2}{\label[\@captype]{#2}}%
|
|
}
|
|
\renewenvironment{sidenamedlegend}[2][]{
|
|
\begin{center}
|
|
\@nameuse{\@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}{}
|
|
\LetLtxMacro\printpageinnoteshyperref\printpageinnotes
|
|
\renewcommand*{\foottopagenote}{}
|
|
\renewcommand*{\pagetofootnote}{}
|
|
\xpatchcmd{\m@m@wrpnote}
|
|
{\string\startnoteentry{\thepagenote}}
|
|
{\string\startnoteentry{{\thepagenote}{\arabic{pagenote}}}}
|
|
{}
|
|
{\LWR@patcherror{memoir}{m@m@wrpnote}}
|
|
|
|
\renewcommand\startnoteentrystart[4]{%
|
|
\prenoteinnotes%
|
|
\noteidinnotes{\@firstoftwo#1}{#2}%
|
|
\@ifmtarg{#2}{%
|
|
\def\@currentlabel{\@firstoftwo#1}% lwarp
|
|
\def\cref@currentlabel{% lwarp
|
|
[pagenote][\@secondoftwo#1][]\@firstoftwo#1% lwarp
|
|
}% lwarp
|
|
}{}%
|
|
\pagenoteanchor{#4}%
|
|
\pageinnotes{#3}%
|
|
\prenotetext%
|
|
}
|
|
\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*{\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}{}
|
|
\AtBeginDocument{
|
|
|
|
\def\@@wrindexhyp#1||\\{%
|
|
\addtocounter{LWR@autoindex}{1}%
|
|
\label{LWRindex-\arabic{LWR@autoindex}}%
|
|
\protected@write\@auxout{}%
|
|
{\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}%
|
|
\endgroup
|
|
\@esphack}%
|
|
\def\@@wrspindexhyp#1||\\{%
|
|
\addtocounter{LWR@autoindex}{1}%
|
|
\label{LWRindex-\arabic{LWR@autoindex}}%
|
|
\protected@write\@auxout{}%
|
|
{\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}%
|
|
\endgroup
|
|
\@esphack}%
|
|
|
|
}% \AtBeginDocument
|
|
|
|
\renewcommand{\@spindex}[2]{%
|
|
\@ifundefined{#1@idxfile}%
|
|
{\ifreportnoidxfile
|
|
\@memwarn{Undefined index file #1}%
|
|
\fi
|
|
\begingroup
|
|
\@sanitize
|
|
\@nowrindex}%
|
|
{\def\@idxfile{#1_html}%
|
|
\def\@sptheidx{#2}%
|
|
\begingroup
|
|
\@sanitize
|
|
\@wrspindex}}
|
|
|
|
\catcode`\_=12%
|
|
\renewcommand*{\makeindex}[1][\BaseJobname]{%
|
|
\if@filesw
|
|
\def\gindex{\@bsphack%
|
|
\@ifnextchar [{\@index}{\@index[\BaseJobname]}}
|
|
\def\specialindex{\@bsphack\@spindex}%
|
|
\makememindexhook
|
|
\expandafter\newwrite\csname #1@idxfile\endcsname
|
|
\expandafter\immediate\openout \csname #1@idxfile\endcsname #1_html.idx\relax
|
|
\typeout{Writing index file #1_html.idx }%
|
|
\fi}
|
|
\catcode`\_=8%
|
|
|
|
\catcode`\_=12%
|
|
\renewcommand{\printindex}[1][\BaseJobname]{\@input@{#1_html.ind}}
|
|
\catcode`\_=8%
|
|
\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][]{}{}
|
|
\renewcommand*{\captiondelim}[1]{\renewcommand*{\CaptionSeparator}{#1}}
|
|
\renewcommand*{\captionnamefont}[1]{}
|
|
\renewcommand*{\captiontitlefont}[1]{}
|
|
\renewcommand*{\flushleftright}{}
|
|
\renewcommand*{\centerlastline}{}
|
|
\renewcommand*{\captionstyle}[2][]{}
|
|
\DeclareDocumentCommand{\captionwidth}{m}{}
|
|
\renewcommand*{\changecaptionwidth}{}
|
|
\renewcommand*{\normalcaptionwidth}{}
|
|
\renewcommand*{\hangcaption}{}
|
|
\renewcommand*{\indentcaption}[1]{}
|
|
\renewcommand*{\normalcaption}{}
|
|
\renewcommand{\precaption}[1]{}
|
|
\renewcommand{\postcaption}[1]{}
|
|
\renewcommand{\midbicaption}[1]{}
|
|
\renewcommand{\contcaption}[1]{%
|
|
\begin{LWR@figcaption}% later becomes \caption*
|
|
\LWR@isolate{\@nameuse{\@captype name}}~%
|
|
\thechapter.\the\value{\@captype}\CaptionSeparator\LWR@isolate{#1}%
|
|
\end{LWR@figcaption}%
|
|
}
|
|
|
|
\newlength{\abovelegendskip}
|
|
\setlength{\abovelegendskip}{0.5\baselineskip}
|
|
\newlength{\belowlegendskip}
|
|
\setlength{\belowlegendskip}{\abovelegendskip}
|
|
|
|
\renewcommand{\legend}[1]{\begin{center}#1\\\end{center}}
|
|
|
|
\renewcommand{\namedlegend}[2][]{%
|
|
\begin{center}
|
|
\@nameuse{fleg\@captype}\CaptionSeparator#2\\
|
|
\end{center}
|
|
\@nameuse{flegtoc\@captype}{#1}
|
|
}
|
|
|
|
\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*
|
|
\LWR@isolate{#4} % space
|
|
\thechapter.\the\value{\@captype}\CaptionSeparator\LWR@isolate{#5}%
|
|
\end{LWR@figcaption}%
|
|
\ifblank{#1}{}{\label{#1}}%
|
|
}
|
|
|
|
\renewcommand{\bicontcaption}[3]{%
|
|
\contcaption{#1}%
|
|
\begingroup%
|
|
\csdef{\@captype name}{#2}%
|
|
\contcaption{#3}%
|
|
\endgroup%
|
|
}
|
|
|
|
\renewcommand{\@memsubbody}{%
|
|
\bgroup
|
|
\let\label=\memsub@label
|
|
\ifdonemaincaption\else
|
|
\advance\csname c@\@captype\endcsname\@ne
|
|
\fi
|
|
% \refstepcounter{sub\@captype}\@contkeep%
|
|
\@ifnextchar [%
|
|
{\@memsubfig}%
|
|
{\@memsubfig[\@empty]}}
|
|
|
|
\renewcommand{\@memcontsubbody}{%
|
|
\bgroup
|
|
\let\label=\memsub@label
|
|
\@contset
|
|
% \refstepcounter{sub\@captype}\@contkeep%
|
|
\@ifnextchar [%
|
|
{\@memsubfig}%
|
|
{\@memsubfig[\@empty]}}
|
|
|
|
\long\def\@memsubfloat#1[#2][#3]#4{%
|
|
\bgroup%
|
|
\mem@step@subcounter%
|
|
\LWR@stoppars%
|
|
\minipagefullwidth% lwarp
|
|
\begin{minipage}{\linewidth}% lwarp
|
|
\bgroup
|
|
\if@contbotsub
|
|
#4% \box\@tempboxa
|
|
\egroup
|
|
\ifx \@empty#3\relax \else
|
|
\@memsubcaption{#1}{#2}{#3}%
|
|
\fi
|
|
\else
|
|
\ifx \@empty#3\relax \else
|
|
\@memsubcaption{#1}{#2}{#3}%
|
|
\fi\egroup
|
|
#4% \box\@tempboxa
|
|
\fi
|
|
\end{minipage}% lwarp
|
|
\LWR@startpars% lwarp
|
|
\egroup
|
|
\egroup
|
|
}
|
|
\newlistof{tableofcontents}{toc}{\contentsname}
|
|
\newlistof{listoffigures}{lof}{\listfigurename}
|
|
\newlistof{listoftables}{lot}{\listtablename}
|
|
\endinput
|
|
%%
|
|
%% End of file `lwarp-patch-memoir.sty'.
|
|
|