| 1 |
%% |
| 2 |
%% This is file `lwarp-patch-memoir.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `patch-memoir') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
|
| 19 |
\ProvidesPackage{lwarp-patch-memoir} |
| 20 |
\RequirePackage{lwarp-abstract}% req'd |
| 21 |
\RequirePackage{lwarp-booktabs}% req'd |
| 22 |
\RequirePackage{lwarp-changepage}% req'd |
| 23 |
\RequirePackage{lwarp-crop} |
| 24 |
\RequirePackage{lwarp-enumerate}% req'd |
| 25 |
\RequirePackage{lwarp-epigraph}% req'd |
| 26 |
\RequirePackage{lwarp-fancyvrb}% req'd |
| 27 |
\RequirePackage{lwarp-footmisc}% req'd |
| 28 |
\let\framed\relax \let\endframed\relax |
| 29 |
\let\shaded\relax \let\endshaded\relax |
| 30 |
\let\leftbar\relax \let\endleftbar\relax |
| 31 |
\let\snugshade\relax \let\endsnugshade\relax |
| 32 |
\RequirePackage{lwarp-framed}% req'd |
| 33 |
|
| 34 |
\RequirePackage{lwarp-hanging}% req'd |
| 35 |
\RequirePackage{lwarp-makeidx}% req'd |
| 36 |
\DisemulatePackage{moreverb} |
| 37 |
\RequirePackage{lwarp-moreverb} |
| 38 |
\RequirePackage{lwarp-mparhack} |
| 39 |
\RequirePackage{lwarp-needspace}% req'd |
| 40 |
\RequirePackage{lwarp-nextpage}% req'd |
| 41 |
\RequirePackage{lwarp-pagenote}% req'd |
| 42 |
\RequirePackage{lwarp-parskip} |
| 43 |
\RequirePackage{lwarp-setspace}% req'd |
| 44 |
\RequirePackage{lwarp-showidx} |
| 45 |
|
| 46 |
|
| 47 |
\makeindex |
| 48 |
\RequirePackage{lwarp-titling}% req'd |
| 49 |
\RequirePackage{lwarp-tocloft}% req'd |
| 50 |
\RequirePackage{lwarp-verse}% req'd |
| 51 |
%% \@mem@kernel@label{#1}% |
| 52 |
\setstocksize{190in}{20in} |
| 53 |
\setlrmarginsandblock{2in}{2in}{*} |
| 54 |
\setulmarginsandblock{1in}{1in}{*} |
| 55 |
\renewcommand*{\stockavi}{} |
| 56 |
\renewcommand*{\stockav}{} |
| 57 |
\renewcommand*{\stockaiv}{} |
| 58 |
\renewcommand*{\stockaiii}{} |
| 59 |
\renewcommand*{\stockavii}{} |
| 60 |
\renewcommand*{\stockbvi}{} |
| 61 |
\renewcommand*{\stockbv}{} |
| 62 |
\renewcommand*{\stockbiv}{} |
| 63 |
\renewcommand*{\stockbiii}{} |
| 64 |
\renewcommand*{\stockbvii}{} |
| 65 |
\renewcommand*{\stockmlargecrownvo}{} |
| 66 |
\renewcommand*{\stockmdemyvo}{} |
| 67 |
\renewcommand*{\stockmsmallroyalvo}{} |
| 68 |
\renewcommand*{\pageavi}{} |
| 69 |
\renewcommand*{\pageavii}{} |
| 70 |
\renewcommand*{\pageav}{} |
| 71 |
\renewcommand*{\pageaiv}{} |
| 72 |
\renewcommand*{\pageaiii}{} |
| 73 |
\renewcommand*{\pagebvi}{} |
| 74 |
\renewcommand*{\pagebvii}{} |
| 75 |
\renewcommand*{\pagebv}{} |
| 76 |
\renewcommand*{\pagebiv}{} |
| 77 |
\renewcommand*{\pagebiii}{} |
| 78 |
\renewcommand*{\pagemlargecrownvo}{} |
| 79 |
\renewcommand*{\pagemdemyvo}{} |
| 80 |
\renewcommand*{\pagemsmallroyalvo}{} |
| 81 |
|
| 82 |
\renewcommand*{\stockdbill}{} |
| 83 |
\renewcommand*{\stockstatement}{} |
| 84 |
\renewcommand*{\stockexecutive}{} |
| 85 |
\renewcommand*{\stockletter}{} |
| 86 |
\renewcommand*{\stockold}{} |
| 87 |
\renewcommand*{\stocklegal}{} |
| 88 |
\renewcommand*{\stockledger}{} |
| 89 |
\renewcommand*{\stockbroadsheet}{} |
| 90 |
\renewcommand*{\pagedbill}{} |
| 91 |
\renewcommand*{\pagestatement}{} |
| 92 |
\renewcommand*{\pageexecutive}{} |
| 93 |
\renewcommand*{\pageletter}{} |
| 94 |
\renewcommand*{\pageold}{} |
| 95 |
\renewcommand*{\pagelegal}{} |
| 96 |
\renewcommand*{\pageledger}{} |
| 97 |
\renewcommand*{\pagebroadsheet}{} |
| 98 |
|
| 99 |
\renewcommand*{\stockpottvo}{} |
| 100 |
\renewcommand*{\stockfoolscapvo}{} |
| 101 |
\renewcommand*{\stockcrownvo}{} |
| 102 |
\renewcommand*{\stockpostvo}{} |
| 103 |
\renewcommand*{\stocklargecrownvo}{} |
| 104 |
\renewcommand*{\stocklargepostvo}{} |
| 105 |
\renewcommand*{\stocksmalldemyvo}{} |
| 106 |
\renewcommand*{\stockdemyvo}{} |
| 107 |
\renewcommand*{\stockmediumvo}{} |
| 108 |
\renewcommand*{\stocksmallroyalvo}{} |
| 109 |
\renewcommand*{\stockroyalvo}{} |
| 110 |
\renewcommand*{\stocksuperroyalvo}{} |
| 111 |
\renewcommand*{\stockimperialvo}{} |
| 112 |
\renewcommand*{\pagepottvo}{} |
| 113 |
\renewcommand*{\pagefoolscapvo}{} |
| 114 |
\renewcommand*{\pagecrownvo}{} |
| 115 |
\renewcommand*{\pagepostvo}{} |
| 116 |
\renewcommand*{\pagelargecrownvo}{} |
| 117 |
\renewcommand*{\pagelargepostvo}{} |
| 118 |
\renewcommand*{\pagesmalldemyvo}{} |
| 119 |
\renewcommand*{\pagedemyvo}{} |
| 120 |
\renewcommand*{\pagemediumvo}{} |
| 121 |
\renewcommand*{\pagesmallroyalvo}{} |
| 122 |
\renewcommand*{\pageroyalvo}{} |
| 123 |
\renewcommand*{\pagesuperroyalvo}{} |
| 124 |
\renewcommand*{\pageimperialvo}{} |
| 125 |
|
| 126 |
\renewcommand*{\memfontfamily}{} |
| 127 |
\renewcommand*{\memfontenc}{} |
| 128 |
\renewcommand*{\memfontpack}{} |
| 129 |
|
| 130 |
\renewcommand*{\anyptfilebase}{} |
| 131 |
\renewcommand*{\anyptsize}{10} |
| 132 |
|
| 133 |
\renewcommand*{\setstocksize}[2]{} |
| 134 |
\renewcommand*{\settrimmedsize}[3]{} |
| 135 |
\renewcommand*{\settrims}[2]{} |
| 136 |
|
| 137 |
\renewcommand*{\setxlvchars}[1]{} |
| 138 |
\renewcommand*{\setlxvchars}[1]{} |
| 139 |
|
| 140 |
\renewcommand*{\settypeblocksize}[3]{} |
| 141 |
\renewcommand*{\setlrmargins}[3]{} |
| 142 |
\renewcommand*{\setlrmarginsandblock}[3]{} |
| 143 |
\renewcommand*{\setbinding}[1]{} |
| 144 |
\renewcommand*{\setulmargins}[3]{} |
| 145 |
\renewcommand*{\setulmarginsandblock}[3]{} |
| 146 |
\renewcommand*{\setcolsepandrule}[2]{} |
| 147 |
|
| 148 |
\renewcommand*{\setheadfoot}[2]{} |
| 149 |
\renewcommand*{\setheaderspaces}[3]{} |
| 150 |
\renewcommand*{\setmarginnotes}[3]{} |
| 151 |
\renewcommand*{\setfootins}[2]{} |
| 152 |
\renewcommand*{\checkandfixthelayout}[1][]{} |
| 153 |
\renewcommand*{\checkthelayout}[1]{} |
| 154 |
\renewcommand*{\fixthelayout}{} |
| 155 |
\renewcommand*{\typeoutlayout}{} |
| 156 |
\renewcommand*{\typeoutstandardlayout}{} |
| 157 |
\renewcommand*{\settypeoutlayoutunit}[1]{} |
| 158 |
\renewcommand*{\fixpdflayout}{} |
| 159 |
\renewcommand*{\fixdvipslayout}{} |
| 160 |
|
| 161 |
\renewcommand*{\medievalpage}[1][]{} |
| 162 |
\renewcommand*{\isopage}[1][]{} |
| 163 |
\renewcommand*{\semiisopage}[1][]{} |
| 164 |
|
| 165 |
\renewcommand{\setpagebl}[3]{} |
| 166 |
\renewcommand{\setpageml}[3]{} |
| 167 |
\renewcommand{\setpagetl}[3]{} |
| 168 |
\renewcommand{\setpagetm}[3]{} |
| 169 |
\renewcommand{\setpagetr}[3]{} |
| 170 |
\renewcommand{\setpagemr}[3]{} |
| 171 |
\renewcommand{\setpagebr}[3]{} |
| 172 |
\renewcommand{\setpagebm}[3]{} |
| 173 |
\renewcommand{\setpagecc}[3]{} |
| 174 |
\let\miniscule\tiny |
| 175 |
\let\HUGE\Huge |
| 176 |
|
| 177 |
\renewcommand*{\abnormalparskip}[1]{} |
| 178 |
\renewcommand*{\nonzeroparskip}{} |
| 179 |
\renewcommand*{\traditionalparskip}{} |
| 180 |
|
| 181 |
\let\onelineskip\baselineskip |
| 182 |
|
| 183 |
\let\OnehalfSpacing\onehalfspacing |
| 184 |
\let\DoubleSpacing\doublespacing |
| 185 |
\renewcommand*{\setPagenoteSpacing}[1]{} |
| 186 |
\renewcommand*{\setFloatSpacing}[1]{} |
| 187 |
\renewcommand{\SingleSpacing}{\@ifstar\singlespacing\singlespacing} |
| 188 |
\let\setSingleSpace\SetSinglespace |
| 189 |
\let\SingleSpace\singlespace |
| 190 |
\let\endSingleSpace\endsinglespace |
| 191 |
\let\Spacing\spacing |
| 192 |
\let\endSpacing\endspacing |
| 193 |
\let\OnehalfSpace\onehalfspace |
| 194 |
\let\endOnehalfSpace\endonehalfspace |
| 195 |
\csletcs{OnehalfSpace*}{onehalfspace} |
| 196 |
\csletcs{endOnehalfSpace*}{endonehalfspace} |
| 197 |
\let\DoubleSpace\doublespace |
| 198 |
\let\endDoubleSpace\enddoublespace |
| 199 |
\csletcs{DoubleSpace*}{doublespace} |
| 200 |
\csletcs{endDoubleSpace*}{enddoublespace} |
| 201 |
\renewcommand*{\setDisplayskipStretch}[1]{} |
| 202 |
\renewcommand*{\memdskipstretch}{} |
| 203 |
\renewcommand*{\noDisplayskipStretch}{} |
| 204 |
\renewcommand*{\memdskips}{} |
| 205 |
|
| 206 |
\renewcommand*{\midsloppy}{} |
| 207 |
\renewenvironment*{midsloppypar}{}{} |
| 208 |
|
| 209 |
\renewcommand*{\sloppybottom}{} |
| 210 |
\csletcs{titlingpage*}{titlingpage} |
| 211 |
\csletcs{endtitlingpage*}{endtitlingpage} |
| 212 |
\let\titlingpageend\relax |
| 213 |
\newcommand{\titlingpageend}[2]{} |
| 214 |
\let\andnext\and |
| 215 |
\renewcommand*{\thanksmarkstyle}[1]{} |
| 216 |
|
| 217 |
\renewcommand{\thanksfootmark}{% |
| 218 |
\thanksscript{\tamark}% |
| 219 |
} |
| 220 |
|
| 221 |
|
| 222 |
\renewcommand\titlingpageend[2]{} |
| 223 |
\renewcommand*{\abstractcol}{} |
| 224 |
\renewcommand*{\abstractintoc}{} |
| 225 |
\renewcommand*{\abstractnum}{} |
| 226 |
\renewcommand*{\abstractrunin}{} |
| 227 |
\DeclareDocumentCommand{\book}{s d() o o d() m}{% |
| 228 |
\LWR@section{#1}{#3}{#6}{book}% |
| 229 |
} |
| 230 |
|
| 231 |
\def\@apppage{% |
| 232 |
\part*{\appendixpagename} |
| 233 |
} |
| 234 |
\renewcommand\mempreaddapppagetotochook{} |
| 235 |
\renewcommand\mempostaddapppagetotochook{} |
| 236 |
|
| 237 |
\def\@sapppage{% |
| 238 |
\part*{\appendixpagename} |
| 239 |
} |
| 240 |
\DeclareDocumentCommand{\mainmatter}{s}{% |
| 241 |
\booltrue{LWR@mainmatter}% |
| 242 |
} |
| 243 |
|
| 244 |
\DeclareDocumentCommand{\frontmatter}{s}{% |
| 245 |
\boolfalse{LWR@mainmatter}% |
| 246 |
} |
| 247 |
\renewcommand*{\raggedbottomsection}{} |
| 248 |
\renewcommand*{\normalbottomsection}{} |
| 249 |
\renewcommand*{\bottomsectionskip}{} |
| 250 |
\renewcommand*{\bottomsectionpenalty}{} |
| 251 |
\csletcs{appendixpage*}{appendixpage} |
| 252 |
\renewcommand*{\namedsubappendices}{} |
| 253 |
\renewcommand*{\unnamedsubappendices}{} |
| 254 |
\renewcommand*{\beforebookskip}{} |
| 255 |
\renewcommand*{\afterbookskip}{} |
| 256 |
\renewcommand*{\beforepartskip}{} |
| 257 |
\renewcommand*{\afterpartskip}{} |
| 258 |
\renewcommand*{\midbookskip}{} |
| 259 |
\renewcommand*{\midpartskip}{} |
| 260 |
\renewcommand*{\printbookname}{} |
| 261 |
\renewcommand*{\booknamefont}{} |
| 262 |
\renewcommand*{\booknamenum}{} |
| 263 |
\renewcommand*{\printbooknum}{} |
| 264 |
\renewcommand*{\booknumfont}{} |
| 265 |
\renewcommand*{\printpartname}{} |
| 266 |
\renewcommand*{\partnamefont}{} |
| 267 |
\renewcommand*{\partnamenum}{} |
| 268 |
\renewcommand*{\printpartnum}{} |
| 269 |
\renewcommand*{\partnumfont}{} |
| 270 |
\renewcommand*{\printbooktitle}[1]{} |
| 271 |
\renewcommand*{\booktitlefont}{} |
| 272 |
\renewcommand{\printparttitle}[1]{} |
| 273 |
\renewcommand*{\parttitlefont}{} |
| 274 |
\renewcommand*{\bookpageend}{} |
| 275 |
\renewcommand*{\bookblankpage}{} |
| 276 |
\renewcommand*{\nobookblankpage}{} |
| 277 |
\renewcommand*{\partpageend}{} |
| 278 |
\renewcommand*{\partblankpage}{} |
| 279 |
\renewcommand*{\nopartblankpage}{} |
| 280 |
\RenewDocumentCommand{\newleadpage}{s o m m}{}% todo |
| 281 |
\RenewDocumentCommand{\renewleadpage}{s o m m}{}% todo |
| 282 |
\renewcommand*{\leadpagetoclevel}{chapter} |
| 283 |
|
| 284 |
\renewcommand*{\openright}{} |
| 285 |
\renewcommand*{\openleft}{} |
| 286 |
\renewcommand*{\openany}{} |
| 287 |
\renewcommand*{\clearforchapter}{} |
| 288 |
\renewcommand*{\memendofchapterhook}{} |
| 289 |
\renewcommand*{\chapterheadstart}{} |
| 290 |
\renewcommand*{\afterchapternum}{} |
| 291 |
\renewcommand*{\afterchaptertitle}{} |
| 292 |
\renewcommand*{\printchaptername}{} |
| 293 |
\renewcommand*{\chapnamefont}{} |
| 294 |
\renewcommand*{\chapternamenum}{} |
| 295 |
\renewcommand*{\printchapternum}{} |
| 296 |
\renewcommand*{\chapnumfont}{} |
| 297 |
\renewcommand{\printchaptertitle}[1]{} |
| 298 |
\renewcommand*{\chaptitlefont}{} |
| 299 |
\renewcommand*{\printchapternonum}{} |
| 300 |
\renewcommand*{\indentafterchapter}{} |
| 301 |
\renewcommand*{\noindentafterchapter}{} |
| 302 |
\renewcommand*{\insertchapterspace}{} |
| 303 |
|
| 304 |
\renewcommand*{\chapterstyle}[1]{} |
| 305 |
\renewcommand{\makechapterstyle}[2]{} |
| 306 |
\renewcommand*{\chapindent}{} |
| 307 |
\let\chapterprecis\cftchapterprecis |
| 308 |
\let\chapterprecishere\cftchapterprecishere |
| 309 |
\let\chapterprecistoc\cftchapterprecistoc |
| 310 |
\renewcommand*{\precisfont}{} |
| 311 |
\renewcommand*{\prechapterprecis}{} |
| 312 |
\renewcommand*{\postchapterprecis}{} |
| 313 |
\renewcommand{\precistoctext}[1]{} |
| 314 |
\renewcommand*{\precistocfont}{} |
| 315 |
\renewcommand*{\precistocformat}{} |
| 316 |
|
| 317 |
\renewcommand*{\setbeforesecskip}[1]{} |
| 318 |
\renewcommand*{\setaftersecskip}[1]{} |
| 319 |
\renewcommand*{\setsecindent}[1]{} |
| 320 |
\renewcommand*{\setsecheadstyle}[1]{} |
| 321 |
\renewcommand*{\setbeforesubsecskip}[1]{} |
| 322 |
\renewcommand*{\setaftersubsecskip}[1]{} |
| 323 |
\renewcommand*{\setsubsecindent}[1]{} |
| 324 |
\renewcommand*{\setsubsecheadstyle}[1]{} |
| 325 |
\renewcommand*{\setbeforesubsubsecskip}[1]{} |
| 326 |
\renewcommand*{\setaftersubsubsecskip}[1]{} |
| 327 |
\renewcommand*{\setsubsubsecindent}[1]{} |
| 328 |
\renewcommand*{\setsubsubsecheadstyle}[1]{} |
| 329 |
\renewcommand*{\setbeforeparaskip}[1]{} |
| 330 |
\renewcommand*{\setafterparaskip}[1]{} |
| 331 |
\renewcommand*{\setparaindent}[1]{} |
| 332 |
\renewcommand*{\setparaheadstyle}[1]{} |
| 333 |
\renewcommand*{\setbeforesubparaskip}[1]{} |
| 334 |
\renewcommand*{\setaftersubparaskip}[1]{} |
| 335 |
\renewcommand*{\setsubparaindent}[1]{} |
| 336 |
\renewcommand*{\setsubparaheadstyle}[1]{} |
| 337 |
\renewcommand{\@hangfrom}[1]{#1} |
| 338 |
\renewcommand{\sethangfrom}[1]{} |
| 339 |
\renewcommand{\setsecnumformat}[1]{} |
| 340 |
|
| 341 |
\renewcommand*{\hangsecnum}{} |
| 342 |
\renewcommand*{\defaultsecnum}{} |
| 343 |
|
| 344 |
\renewcommand*{\sechook}{} |
| 345 |
\renewcommand{\setsechook}[1]{} |
| 346 |
\renewcommand*{\subsechook}{} |
| 347 |
\renewcommand{\setsubsechook}[1]{} |
| 348 |
\renewcommand*{\subsubsechook}{} |
| 349 |
\renewcommand{\setsubsubsechook}[1]{} |
| 350 |
\renewcommand*{\parahook}{} |
| 351 |
\renewcommand{\setparahook}[1]{} |
| 352 |
\renewcommand*{\subparahook}{} |
| 353 |
\renewcommand{\setsubparahook}[1]{} |
| 354 |
|
| 355 |
\RenewDocumentCommand{\plainbreak}{s m}{\begin{center}~\end{center}} |
| 356 |
|
| 357 |
\RenewDocumentCommand{\fancybreak}{s +m}{% |
| 358 |
\begin{center}#2\end{center}% |
| 359 |
} |
| 360 |
|
| 361 |
\RenewDocumentCommand{\plainfancybreak}{s m m +m}{% |
| 362 |
\begin{center}#4\end{center}% |
| 363 |
} |
| 364 |
|
| 365 |
\RenewDocumentCommand{\pfbreak}{s}{% |
| 366 |
\begin{center} |
| 367 |
\pfbreakdisplay |
| 368 |
\end{center} |
| 369 |
} |
| 370 |
|
| 371 |
\renewcommand{\pfbreakdisplay}{*\quad*\quad*} |
| 372 |
|
| 373 |
\renewcommand{\makeheadstyles}[2]{} |
| 374 |
\renewcommand*{\headstyles}[1]{} |
| 375 |
\renewcommand*{\savepagenumber}{} |
| 376 |
\renewcommand*{\restorepagenumber}{} |
| 377 |
\renewcommand*{\uppercaseheads}{} |
| 378 |
\renewcommand*{\nouppercaseheads}{} |
| 379 |
|
| 380 |
\renewcommand*{\bookpagemark}[1]{} |
| 381 |
\renewcommand*{\partmark}[1]{} |
| 382 |
\renewcommand*{\bibmark}{} |
| 383 |
\renewcommand*{\indexmark}{} |
| 384 |
\renewcommand*{\glossarymark}{} |
| 385 |
|
| 386 |
\LWR@origpagestyle{empty} |
| 387 |
\renewcommand*{\ps@empty}{} |
| 388 |
\renewcommand*{\makepagestyle}[1]{} |
| 389 |
\renewcommand*{\emptypshook}{}% |
| 390 |
\renewcommand*{\@oddhead}{} |
| 391 |
\renewcommand*{\@oddfoot}{} |
| 392 |
\renewcommand*{\@evenhead}{} |
| 393 |
\renewcommand*{\@evenfoot}{} |
| 394 |
\renewcommand*{\aliaspagestyle}[2]{} |
| 395 |
\renewcommand*{\copypagestyle}[2]{} |
| 396 |
|
| 397 |
\renewcommand*{\makeevenhead}[4]{} |
| 398 |
\renewcommand*{\makeoddhead}[4]{} |
| 399 |
\renewcommand*{\makeevenfoot}[4]{} |
| 400 |
\renewcommand*{\makeoddfoot}[4]{} |
| 401 |
\renewcommand*{\makerunningwidth}[3]{} |
| 402 |
\renewcommand*{\makeheadrule}[3]{} |
| 403 |
\renewcommand*{\makefootrule}[3]{} |
| 404 |
\renewcommand*{\makeheadfootruleprefix}[3]{} |
| 405 |
\renewcommand*{\makeheadposition}[5]{} |
| 406 |
\renewcommand{\makepsmarks}[2]{} |
| 407 |
\renewcommand*{\makeheadfootstrut}[3]{} |
| 408 |
\renewcommand{\createmark}[5]{\csdef{#1mark}[1]{}} |
| 409 |
\renewcommand{\createplainmark}[3]{\csdef{#1mark}{}} |
| 410 |
\renewcommand{\memUChead}[1]{} |
| 411 |
\renewcommand*{\clearplainmark}[1]{} |
| 412 |
\renewcommand*{\clearmark}[1]{} |
| 413 |
\renewcommand{\addtopsmarks}[3]{} |
| 414 |
\renewcommand{\ifonlyfloats}[2]{#2} |
| 415 |
\renewcommand*{\mergepagefloatstyle}[3]{} |
| 416 |
|
| 417 |
\renewcommand*{\framepichead}{} |
| 418 |
\renewcommand*{\framepictextfoot}{} |
| 419 |
\renewcommand*{\framepichook}{} |
| 420 |
\renewcommand*{\showheadfootlocoff}{} |
| 421 |
\renewcommand*{\showtextblocklocoff}{} |
| 422 |
\renewcommand{\hangfrom}[1]{#1} |
| 423 |
\let\centerfloat\centering |
| 424 |
\renewcommand*{\raggedyright}[1][]{} |
| 425 |
\renewcommand{\sourceatright}[2][]{\attribution{#2}} |
| 426 |
\let\memorigdbs\LWR@endofline |
| 427 |
\renewcommand*{\memorigpar}{\par} |
| 428 |
\let\atcentercr\LWR@endofline |
| 429 |
|
| 430 |
\renewcommand*{\linenottooshort}[1][]{} |
| 431 |
\renewcommand*{\russianpar}{} |
| 432 |
\renewcommand*{\lastlinerulefill}{} |
| 433 |
\renewcommand*{\lastlineparrule}{} |
| 434 |
\renewcommand*{\justlastraggedleft}{} |
| 435 |
\renewcommand*{\raggedrightthenleft}{} |
| 436 |
\renewcommand*{\leftcenterright}{} |
| 437 |
|
| 438 |
\renewcommand{\leftspringright}[4]{% |
| 439 |
\begin{minipage}{#1\linewidth}#3\end{minipage}\qquad% |
| 440 |
\begin{minipage}{#2\linewidth}\begin{flushright}#4\end{flushright}\end{minipage}% |
| 441 |
} |
| 442 |
|
| 443 |
\renewenvironment*{blockdescription} |
| 444 |
{\LWR@descriptionstart\LWR@origdescription} |
| 445 |
{\enddescription} |
| 446 |
|
| 447 |
\renewcommand*{\blockdescriptionlabel}[1]{\textbf{#1}} |
| 448 |
\renewenvironment*{labelled}[1]{\begin{description}}{\end{description}} |
| 449 |
\renewenvironment*{flexlabelled}[6]{\begin{description}}{\end{description}} |
| 450 |
\renewcommand*{\tightlists}{} |
| 451 |
\renewcommand*{\defaultlists}{} |
| 452 |
\RenewDocumentCommand{\firmlists}{s}{} |
| 453 |
\renewcommand*{\firmlist}{} |
| 454 |
\renewcommand*{\tightlist}{} |
| 455 |
\renewcommand*{\zerotrivseps}{} |
| 456 |
\renewcommand*{\savetrivseps}{} |
| 457 |
\renewcommand*{\restoretrivseps}{} |
| 458 |
\csletcs{tableofcontents*}{tableofcontents} |
| 459 |
\csletcs{listoffigures*}{listoffigures} |
| 460 |
\csletcs{listoftables*}{listoftables} |
| 461 |
\renewenvironment{KeepFromToc}{}{} |
| 462 |
\renewcommand*{\onecoltocetc}{} |
| 463 |
\renewcommand*{\twocoltocetc}{} |
| 464 |
\renewcommand*{\ensureonecol}{} |
| 465 |
\renewcommand*{\restorefromonecol}{} |
| 466 |
\renewcommand*{\doccoltocetc}{} |
| 467 |
|
| 468 |
\renewcommand{\tocheadstart}{} |
| 469 |
\renewcommand{\printtoctitle}[1]{} |
| 470 |
\renewcommand{\tocmark}{} |
| 471 |
\renewcommand{\aftertoctitle}{} |
| 472 |
\renewcommand{\lofheadstart}{} |
| 473 |
\renewcommand{\printloftitle}[1]{} |
| 474 |
\renewcommand{\lofmark}{} |
| 475 |
\renewcommand{\afterloftitle}{} |
| 476 |
\renewcommand{\lotheadstart}{} |
| 477 |
\renewcommand{\printlottitle}[1]{} |
| 478 |
\renewcommand{\lotmark}{} |
| 479 |
\renewcommand{\afterlottitle}{} |
| 480 |
|
| 481 |
\renewcommand*{\setpnumwidth}[1]{} |
| 482 |
\renewcommand*{\setrmarg}[1]{} |
| 483 |
\renewcommand*{\cftbookbreak}{} |
| 484 |
\renewcommand*{\cftpartbreak}{} |
| 485 |
\renewcommand*{\cftchapterbreak}{} |
| 486 |
|
| 487 |
\renewcommand*{\cftbookfont}{} |
| 488 |
\renewcommand*{\cftbookname}{} |
| 489 |
\renewcommand*{\cftbookpresnum}{} |
| 490 |
\renewcommand*{\cftbookaftersnum}{} |
| 491 |
\renewcommand*{\cftbookaftersnumb}{} |
| 492 |
\renewcommand*{\cftbookleader}{} |
| 493 |
\renewcommand*{\cftbookdotsep}{1} |
| 494 |
\renewcommand*{\cftbookpagefont}{} |
| 495 |
\renewcommand*{\cftbookafterpnum}{} |
| 496 |
\renewcommand*{\cftbookformatpnum}[1]{} |
| 497 |
\renewcommand*{\cftbookformatpnumhook}[1]{} |
| 498 |
\renewcommand*{\cftchapterfont}{} |
| 499 |
\renewcommand*{\cftchaptername}{} |
| 500 |
\renewcommand*{\cftchapterpresnum}{} |
| 501 |
\renewcommand*{\cftchapteraftersnum}{} |
| 502 |
\renewcommand*{\cftchapteraftersnumb}{} |
| 503 |
\renewcommand*{\cftchapterleader}{} |
| 504 |
\renewcommand*{\cftchapterdotsep}{1} |
| 505 |
\renewcommand*{\cftchapterpagefont}{} |
| 506 |
\renewcommand*{\cftchapterafterpnum}{} |
| 507 |
\renewcommand*{\cftchapterformatpnum}[1]{} |
| 508 |
\renewcommand*{\cftchapterformatpnumhook}[1]{} |
| 509 |
\renewcommand*{\cftsectionfont}{} |
| 510 |
\renewcommand*{\cftsectionname}{} |
| 511 |
\renewcommand*{\cftsectionpresnum}{} |
| 512 |
\renewcommand*{\cftsectionaftersnum}{} |
| 513 |
\renewcommand*{\cftsectionaftersnumb}{} |
| 514 |
\renewcommand*{\cftsectionleader}{} |
| 515 |
\renewcommand*{\cftsectiondotsep}{1} |
| 516 |
\renewcommand*{\cftsectionpagefont}{} |
| 517 |
\renewcommand*{\cftsectionafterpnum}{} |
| 518 |
\renewcommand*{\cftsectionformatpnum}[1]{} |
| 519 |
\renewcommand*{\cftsectionformatpnumhook}[1]{} |
| 520 |
|
| 521 |
\renewcommand*{\cftsubsectionfont}{} |
| 522 |
\renewcommand*{\cftsubsectionname}{} |
| 523 |
\renewcommand*{\cftsubsectionpresnum}{} |
| 524 |
\renewcommand*{\cftsubsectionaftersnum}{} |
| 525 |
\renewcommand*{\cftsubsectionaftersnumb}{} |
| 526 |
\renewcommand*{\cftsubsectionleader}{} |
| 527 |
\renewcommand*{\cftsubsectiondotsep}{1} |
| 528 |
\renewcommand*{\cftsubsectionpagefont}{} |
| 529 |
\renewcommand*{\cftsubsectionafterpnum}{} |
| 530 |
\renewcommand*{\cftsubsectionformatpnum}[1]{} |
| 531 |
\renewcommand*{\cftsubsectionformatpnumhook}[1]{} |
| 532 |
|
| 533 |
\renewcommand*{\cftsubsubsectionfont}{} |
| 534 |
\renewcommand*{\cftsubsubsectionname}{} |
| 535 |
\renewcommand*{\cftsubsubsectionpresnum}{} |
| 536 |
\renewcommand*{\cftsubsubsectionaftersnum}{} |
| 537 |
\renewcommand*{\cftsubsubsectionaftersnumb}{} |
| 538 |
\renewcommand*{\cftsubsubsectionleader}{} |
| 539 |
\renewcommand*{\cftsubsubsectiondotsep}{1} |
| 540 |
\renewcommand*{\cftsubsubsectionpagefont}{} |
| 541 |
\renewcommand*{\cftsubsubsectionafterpnum}{} |
| 542 |
\renewcommand*{\cftsubsubsectionformatpnum}[1]{} |
| 543 |
\renewcommand*{\cftsubsubsectionformatpnumhook}[1]{} |
| 544 |
|
| 545 |
\renewcommand*{\cftparagraphfont}{} |
| 546 |
\renewcommand*{\cftparagraphname}{} |
| 547 |
\renewcommand*{\cftparagraphpresnum}{} |
| 548 |
\renewcommand*{\cftparagraphaftersnum}{} |
| 549 |
\renewcommand*{\cftparagraphaftersnumb}{} |
| 550 |
\renewcommand*{\cftparagraphleader}{} |
| 551 |
\renewcommand*{\cftparagraphdotsep}{1} |
| 552 |
\renewcommand*{\cftparagraphpagefont}{} |
| 553 |
\renewcommand*{\cftparagraphafterpnum}{} |
| 554 |
\renewcommand*{\cftparagraphformatpnum}[1]{} |
| 555 |
\renewcommand*{\cftparagraphformatpnumhook}[1]{} |
| 556 |
|
| 557 |
\renewcommand*{\cftsubparagraphfont}{} |
| 558 |
\renewcommand*{\cftsubparagraphname}{} |
| 559 |
\renewcommand*{\cftsubparagraphpresnum}{} |
| 560 |
\renewcommand*{\cftsubparagraphaftersnum}{} |
| 561 |
\renewcommand*{\cftsubparagraphaftersnumb}{} |
| 562 |
\renewcommand*{\cftsubparagraphleader}{} |
| 563 |
\renewcommand*{\cftsubparagraphdotsep}{1} |
| 564 |
\renewcommand*{\cftsubparagraphpagefont}{} |
| 565 |
\renewcommand*{\cftsubparagraphafterpnum}{} |
| 566 |
\renewcommand*{\cftsubparagraphformatpnum}[1]{} |
| 567 |
\renewcommand*{\cftsubparagraphformatpnumhook}[1]{} |
| 568 |
|
| 569 |
\renewcommand*{\cftfigurefont}{} |
| 570 |
\renewcommand*{\cftfigurename}{} |
| 571 |
\renewcommand*{\cftfigurepresnum}{} |
| 572 |
\renewcommand*{\cftfigureaftersnum}{} |
| 573 |
\renewcommand*{\cftfigureaftersnumb}{} |
| 574 |
\renewcommand*{\cftfigureleader}{} |
| 575 |
\renewcommand*{\cftfiguredotsep}{1} |
| 576 |
\renewcommand*{\cftfigurepagefont}{} |
| 577 |
\renewcommand*{\cftfigureafterpnum}{} |
| 578 |
\renewcommand*{\cftfigureformatpnum}[1]{} |
| 579 |
\renewcommand*{\cftfigureformatpnumhook}[1]{} |
| 580 |
|
| 581 |
\newcommand*{\cftsubfigurefont}{} |
| 582 |
\newcommand*{\cftsubfigurename}{} |
| 583 |
\newcommand*{\cftsubfigurepresnum}{} |
| 584 |
\newcommand*{\cftsubfigureaftersnum}{} |
| 585 |
\newcommand*{\cftsubfigureaftersnumb}{} |
| 586 |
\newcommand*{\cftsubfigureleader}{} |
| 587 |
\newcommand*{\cftsubfiguredotsep}{1} |
| 588 |
\newcommand*{\cftsubfigurepagefont}{} |
| 589 |
\newcommand*{\cftsubfigureafterpnum}{} |
| 590 |
\newcommand*{\cftsubfigureformatpnum}[1]{} |
| 591 |
\newcommand*{\cftsubfigureformatpnumhook}[1]{} |
| 592 |
|
| 593 |
\renewcommand*{\cfttablefont}{} |
| 594 |
\renewcommand*{\cfttablename}{} |
| 595 |
\renewcommand*{\cfttablepresnum}{} |
| 596 |
\renewcommand*{\cfttableaftersnum}{} |
| 597 |
\renewcommand*{\cfttableaftersnumb}{} |
| 598 |
\renewcommand*{\cfttableleader}{} |
| 599 |
\renewcommand*{\cfttabledotsep}{1} |
| 600 |
\renewcommand*{\cfttablepagefont}{} |
| 601 |
\renewcommand*{\cfttableafterpnum}{} |
| 602 |
\renewcommand*{\cfttableformatpnum}[1]{} |
| 603 |
\renewcommand*{\cfttableformatpnumhook}[1]{} |
| 604 |
|
| 605 |
\newcommand*{\cftsubtablefont}{} |
| 606 |
\newcommand*{\cftsubtablename}{} |
| 607 |
\newcommand*{\cftsubtablepresnum}{} |
| 608 |
\newcommand*{\cftsubtableaftersnum}{} |
| 609 |
\newcommand*{\cftsubtableaftersnumb}{} |
| 610 |
\newcommand*{\cftsubtableleader}{} |
| 611 |
\newcommand*{\cftsubtabledotsep}{1} |
| 612 |
\newcommand*{\cftsubtablepagefont}{} |
| 613 |
\newcommand*{\cftsubtableafterpnum}{} |
| 614 |
\newcommand*{\cftsubtableformatpnum}[1]{} |
| 615 |
\newcommand*{\cftsubtableformatpnumhook}[1]{} |
| 616 |
\renewcommand*{\booknumberline}[1]{} |
| 617 |
\renewcommand*{\partnumberline}[1]{} |
| 618 |
\renewcommand*{\chapternumberline}[1]{} |
| 619 |
\renewcommand*{\numberlinehook}[1]{} |
| 620 |
\renewcommand*{\booknumberlinehook}[1]{} |
| 621 |
\renewcommand*{\partnumberlinehook}[1]{} |
| 622 |
\renewcommand*{\chapternumberlinehook}[1]{} |
| 623 |
\renewcommand{\numberlinebox}[2]{} |
| 624 |
\renewcommand{\booknumberlinebox}[2]{} |
| 625 |
\renewcommand{\partnumberlinebox}[2]{} |
| 626 |
\renewcommand{\chapternumberlinebox}[2]{} |
| 627 |
\renewcommand*{\cftpagenumbersoff}[1]{} |
| 628 |
\renewcommand*{\cftpagenumberson}[1]{} |
| 629 |
\renewcommand*{\cftlocalchange}[3]{} |
| 630 |
\renewcommand*{\cftaddtitleline}[4]{} |
| 631 |
\renewcommand*{\cftaddnumtitleline}[4]{} |
| 632 |
\renewcommand{\cftinsertcode}[2]{} |
| 633 |
\renewcommand{\cftinserthook}[2]{} |
| 634 |
\DeclareRobustCommand{\cftpagenumbersoff}[1]{} |
| 635 |
\DeclareRobustCommand{\cftpagenumberson}[1]{} |
| 636 |
\AtBeginDocument{ |
| 637 |
\def\@xfloat #1[#2]{% |
| 638 |
\LWR@floatbegin{#1}[#2] |
| 639 |
\normalsize |
| 640 |
\@nameuse{#1adjustment}% |
| 641 |
\LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% |
| 642 |
} |
| 643 |
\def\@xdblfloat #1[#2]{% |
| 644 |
\LWR@floatbegin{#1}[#2] |
| 645 |
\normalsize |
| 646 |
\@nameuse{#1adjustment}% |
| 647 |
\LWR@futurenonspacelet\LWR@mynexttoken\LWR@floatalignment% |
| 648 |
} |
| 649 |
} |
| 650 |
\RenewDocumentCommand{\newfloat}{o m m m}{% |
| 651 |
\def\LWR@tempone{#4}% |
| 652 |
\def\LWR@temptwo{\@nameuse{#2name}}% |
| 653 |
\ifdefequal{\LWR@tempone}{\LWR@temptwo}{% recursive name, already defined |
| 654 |
\IfValueTF{#1}% |
| 655 |
{\DeclareFloatingEnvironment[fileext=#3,within=#1]{#2}}% |
| 656 |
{\DeclareFloatingEnvironment[fileext=#3]{#2}}% |
| 657 |
}{% not recursive name |
| 658 |
\IfValueTF{#1}% |
| 659 |
{\DeclareFloatingEnvironment[fileext=#3,within=#1,name={#4}]{#2}}% |
| 660 |
{\DeclareFloatingEnvironment[fileext=#3,name={#4}]{#2}}% |
| 661 |
}% |
| 662 |
\cslet{listof#2s}\relax% |
| 663 |
\cslet{listof#2es}\relax% |
| 664 |
} |
| 665 |
\RenewDocumentCommand{\newlistof}{o m m m} |
| 666 |
{% |
| 667 |
\IfValueTF{#1}% |
| 668 |
{\newlistentry[#1]{#2}{#3}{0}}% |
| 669 |
{\newlistentry{#2}{#3}{0}}% |
| 670 |
\@namedef{ext@#2}{#3}% |
| 671 |
\@ifundefined{c@#3depth}{\newcounter{#3depth}}{}% |
| 672 |
\setcounter{#3depth}{1}% |
| 673 |
\@namedef{#3mark}{}% |
| 674 |
\@namedef{#2}{\LWR@listof{#2}{#4}}% |
| 675 |
\@namedef{@cftmake#3title}{}% |
| 676 |
\@ifundefined{cftbefore#3titleskip}{% |
| 677 |
\expandafter\newlength\csname cftbefore#3titleskip\endcsname% |
| 678 |
\expandafter\newlength\csname cftafter#3titleskip\endcsname% |
| 679 |
}{}% |
| 680 |
\@namedef{cft#3titlefont}{}% |
| 681 |
\@namedef{cftafter#3title}{}% |
| 682 |
\@namedef{cft#3prehook}{}% |
| 683 |
\@namedef{cft#3posthook}{}% |
| 684 |
} |
| 685 |
\renewcommand{\setfloatadjustment}[2]{} |
| 686 |
\NewDocumentEnvironment{KFLTmemoir@marginfloat}{O{-1.2ex} m} |
| 687 |
{% start |
| 688 |
\LWR@BlockClassWP{float:right; width:2in; margin:10pt}{}(note){marginblock}% |
| 689 |
\renewcommand*{\@captype}{#2}% |
| 690 |
} |
| 691 |
{% |
| 692 |
\endLWR@BlockClassWP% |
| 693 |
} |
| 694 |
|
| 695 |
\DeclareDocumentEnvironment{marginfigure}{o} |
| 696 |
{\begin{KFLTmemoir@marginfloat}{figure}} |
| 697 |
{\end{KFLTmemoir@marginfloat}} |
| 698 |
|
| 699 |
\DeclareDocumentEnvironment{margintable}{o} |
| 700 |
{\begin{KFLTmemoir@marginfloat}{table}} |
| 701 |
{\end{KFLTmemoir@marginfloat}} |
| 702 |
\renewcommand{\setmarginfloatcaptionadjustment}[2]{} |
| 703 |
\renewcommand{\setmpjustification}[2]{} |
| 704 |
\renewcommand*{\mpjustification}{} |
| 705 |
\renewcommand*{\setfloatlocations}[2]{} |
| 706 |
\DeclareDocumentCommand{\suppressfloats}{o}{} |
| 707 |
\renewcommand*{\FloatBlock}{} |
| 708 |
\renewcommand*{\FloatBlockAllowAbove}{} |
| 709 |
\renewcommand*{\FloatBlockAllowBelow}{} |
| 710 |
\renewcommand*{\setFloatBlockFor}{} |
| 711 |
|
| 712 |
\renewcommand{\captiontitlefinal}[1]{} |
| 713 |
\renewcommand{\flegtable}{\tablename} |
| 714 |
\renewcommand{\flegfigure}{\figurename} |
| 715 |
\renewcommand{\flegtoctable}{} |
| 716 |
\renewcommand{\flegtocfigure}{} |
| 717 |
\renewcommand{\@makesubfloatcaption}[2]{% |
| 718 |
\minipagefullwidth |
| 719 |
\begin{minipage}{\linewidth}% |
| 720 |
#1 \ignorespaces #2 \unskip% |
| 721 |
\end{minipage} |
| 722 |
} |
| 723 |
|
| 724 |
\renewcommand*{\tightsubcaptions}{} |
| 725 |
\renewcommand*{\loosesubcaptions}{} |
| 726 |
|
| 727 |
\renewcommand*{\subcaptionsize}[1]{} |
| 728 |
\renewcommand*{\subcaptionlabelfont}[1]{} |
| 729 |
\renewcommand*{\subcaptionfont}[1]{} |
| 730 |
\renewcommand*{\subcaptionstyle}[1]{} |
| 731 |
|
| 732 |
\renewcommand*{\hangsubcaption}{} |
| 733 |
\renewcommand*{\shortsubcaption}{} |
| 734 |
\renewcommand*{\normalsubcaption}{} |
| 735 |
|
| 736 |
\AfterEndPreamble{% |
| 737 |
\RenewDocumentEnvironment{sidecaption}{o m o} |
| 738 |
{} |
| 739 |
{% |
| 740 |
\IfValueTF{#1}{\caption[#1]{#2}}{\caption{#2}}% |
| 741 |
\IfValueT{#3}{\label{#3}}% |
| 742 |
} |
| 743 |
} |
| 744 |
|
| 745 |
\renewcommand*{\setsidecaps}[2]{} |
| 746 |
\renewcommand*{\sidecapmargin}[1]{} |
| 747 |
\scapmargleftfalse |
| 748 |
\renewcommand*{\setsidecappos}[1]{} |
| 749 |
\RenewDocumentEnvironment{sidecontcaption}{m o} |
| 750 |
{} |
| 751 |
{% |
| 752 |
\ifdef{\ContinuedFloat}% |
| 753 |
{\ContinuedFloat}% |
| 754 |
{\addtocounter{\@captype}{-1}}% |
| 755 |
\caption{#1}% |
| 756 |
\IfValueT{#2}{\label[\@captype]{#2}}% |
| 757 |
} |
| 758 |
\renewenvironment{sidenamedlegend}[2][]{ |
| 759 |
\begin{center} |
| 760 |
\@nameuse{\@captype name}\CaptionSeparator#2 |
| 761 |
\end{center} |
| 762 |
} |
| 763 |
{} |
| 764 |
|
| 765 |
\renewenvironment{sidelegend}[1] |
| 766 |
{\begin{center} |
| 767 |
#1 |
| 768 |
|
| 769 |
} |
| 770 |
{\end{center}} |
| 771 |
|
| 772 |
\renewcommand*{\sidecapstyle}{} |
| 773 |
\renewcommand*{\overridescapmargin}[1]{} |
| 774 |
\renewcommand*{\sidecapfloatwidth}{\linewidth} |
| 775 |
|
| 776 |
\LetLtxMacro\ctabular\tabular |
| 777 |
\LetLtxMacro\endctabular\endtabular |
| 778 |
|
| 779 |
\renewcommand{\autorows}[5][]{% |
| 780 |
#5% |
| 781 |
} |
| 782 |
|
| 783 |
\renewcommand{\autocols}[5][]{% |
| 784 |
#5% |
| 785 |
} |
| 786 |
\renewcommand*{\feetabovefloat}{} |
| 787 |
\renewcommand*{\feetbelowfloat}{} |
| 788 |
\renewcommand*{\feetatbottom}{} |
| 789 |
|
| 790 |
\renewcommand*{\verbfootnote}[2][]{% |
| 791 |
\PackageError{lwarp,memoir}% |
| 792 |
{Verbatim footnotes are not yet supported by lwarp}% |
| 793 |
{This may be improved some day.}% |
| 794 |
} |
| 795 |
|
| 796 |
\renewcommand*{\plainfootnotes}{} |
| 797 |
\renewcommand*{\twocolumnfootnotes}{} |
| 798 |
\renewcommand*{\threecolumnfootnotes}{} |
| 799 |
\renewcommand*{\paragraphfootnotes}{} |
| 800 |
\renewcommand*{\footfudgefiddle}{} |
| 801 |
|
| 802 |
\renewcommand*{\newfootnoteseries}[1]{% |
| 803 |
\PackageError{lwarp,memoir}% |
| 804 |
{Memoir footnote series are not yet supported by lwarp}% |
| 805 |
{This may be improved some day.}% |
| 806 |
} |
| 807 |
|
| 808 |
\renewcommand*{\plainfootstyle}[1]{} |
| 809 |
\renewcommand*{\twocolumnfootstyle}[1]{} |
| 810 |
\renewcommand*{\threecolumnfootstyle}[1]{} |
| 811 |
\renewcommand*{\paragraphfootstyle}[1]{} |
| 812 |
|
| 813 |
\renewcommand*{\footfootmark}{} |
| 814 |
\renewcommand*{\footmarkstyle}[1]{} |
| 815 |
|
| 816 |
|
| 817 |
\renewcommand*{\foottextfont}{} |
| 818 |
|
| 819 |
\renewcommand*{\marginparmargin}[1]{} |
| 820 |
\renewcommand*{\sideparmargin}[1]{} |
| 821 |
|
| 822 |
\LetLtxMacro\sidepar\marginpar |
| 823 |
\renewcommand*{\sideparfont}{} |
| 824 |
\renewcommand*{\sideparform}{} |
| 825 |
\LWR@providelength{\sideparvshift} |
| 826 |
|
| 827 |
\renewcommand*{\parnopar}{} |
| 828 |
|
| 829 |
\renewcommand{\sidebar}[1]{\begin{quote}#1\end{quote}} |
| 830 |
\renewcommand*{\sidebarmargin}[1]{} |
| 831 |
\renewcommand*{\sidebarfont}{} |
| 832 |
\renewcommand*{\sidebarform}{} |
| 833 |
\renewcommand{\setsidebarheight}[1]{} |
| 834 |
\renewcommand*{\setsidebars}[6]{} |
| 835 |
\renewcommand*{\footnotesatfoot}{} |
| 836 |
\renewcommand*{\footnotesinmargin}{} |
| 837 |
|
| 838 |
\LetLtxMacro\sidefootnote\footnote |
| 839 |
\LetLtxMacro\sidefootnotemark\footnotemark |
| 840 |
\LetLtxMacro\sidefootnotetext\footnotetext |
| 841 |
|
| 842 |
\renewcommand*{\sidefootmargin}[1]{} |
| 843 |
\renewcommand*{\setsidefootheight}[1]{} |
| 844 |
\renewcommand*{\setsidefeet}[6]{} |
| 845 |
\renewcommand*{\sidefootmarkstyle}[1]{} |
| 846 |
\renewcommand*{\sidefoottextfont}{} |
| 847 |
\renewcommand*{\sidefootform}{} |
| 848 |
\renewcommand*{\continuousnotenums}{\pncontopttrue}% from pagenote |
| 849 |
\renewcommand*{\notepageref}{} |
| 850 |
\renewcommand*{\prenotetext}{} |
| 851 |
\renewcommand*{\postnotetext}{} |
| 852 |
\LetLtxMacro\printpageinnoteshyperref\printpageinnotes |
| 853 |
\renewcommand*{\foottopagenote}{} |
| 854 |
\renewcommand*{\pagetofootnote}{} |
| 855 |
\VerifyCommand[lwarp][lwarp-patch-memoir]{\m@m@wrpnote} |
| 856 |
{B992C495D2124AFEE239B7FDB0133EB1} |
| 857 |
|
| 858 |
\xpatchcmd{\m@m@wrpnote} |
| 859 |
{\string\startnoteentry{\thepagenote}} |
| 860 |
{\string\startnoteentry{{\thepagenote}{\arabic{pagenote}}}} |
| 861 |
{} |
| 862 |
{\LWR@patcherror{memoir}{m@m@wrpnote}} |
| 863 |
|
| 864 |
\VerifyCommand[lwarp][lwarp-patch-memoir]{\startnoteentrystart} |
| 865 |
{0F994713293C72BD8E2BC67C1E1400A1} |
| 866 |
|
| 867 |
\renewcommand\startnoteentrystart[4]{% number; manual id; auto label; href anchor |
| 868 |
\prenoteinnotes% |
| 869 |
\noteidinnotes{\@firstoftwo#1}{#2}% lwarp |
| 870 |
% \phantomsection% |
| 871 |
\MakeLinkTarget[pagenote]{}% |
| 872 |
\@ifmtarg{#2}% |
| 873 |
{% |
| 874 |
\def\@currentlabel{\@firstoftwo#1}% |
| 875 |
\def\cref@currentlabel{% lwarp |
| 876 |
[pagenote][\@secondoftwo#1][]\@firstoftwo#1% lwarp |
| 877 |
}% lwarp |
| 878 |
}% |
| 879 |
{% |
| 880 |
\def\@currentlabel{#2}% |
| 881 |
\def\cref@currentlabel{% lwarp |
| 882 |
[pagenote][#2][]{#2}% lwarp |
| 883 |
}% lwarp |
| 884 |
}% |
| 885 |
\def\@currentcounter{pagenote}% |
| 886 |
\pagenoteanchor{#4}% |
| 887 |
\pageinnotes{#3}% |
| 888 |
\prenotetext% |
| 889 |
} |
| 890 |
\renewcommand*{\epigraphposition}[1]{} |
| 891 |
\renewcommand*{\epigraphtextposition}[1]{} |
| 892 |
\renewcommand*{\epigraphsourceposition}[1]{} |
| 893 |
\renewcommand*{\epigraphfontsize}[1]{} |
| 894 |
\renewcommand*{\epigraphforheader}[2][]{} |
| 895 |
\renewcommand*{\epigraphpicture}{} |
| 896 |
\renewcommand*{\vinphantom}{} |
| 897 |
\renewcommand*{\vleftofline}[1]{#1} |
| 898 |
|
| 899 |
\DeclareDocumentCommand{\PoemTitle}{s o o m}{% |
| 900 |
\IfValueTF{#2}% |
| 901 |
{\poemtitle[#2]{#4}}% |
| 902 |
{\poemtitle{#4}}% |
| 903 |
} |
| 904 |
|
| 905 |
\renewcommand*{\NumberPoemTitle}{} |
| 906 |
\renewcommand*{\PlainPoemTitle}{} |
| 907 |
\renewcommand*{\poemtitlepstyle}{} |
| 908 |
\renewcommand*{\poemtitlestarmark}[1]{} |
| 909 |
\renewcommand*{\poemtitlestarpstyle}{} |
| 910 |
\renewcommand*{\PoemTitleheadstart}{} |
| 911 |
\renewcommand*{\printPoemTitlenonum}{} |
| 912 |
\renewcommand*{\printPoemTitlenum}{} |
| 913 |
\renewcommand*{\afterPoemTitlenum}{} |
| 914 |
\renewcommand*{\printPoemTitletitle}[1]{} |
| 915 |
\renewcommand*{\afterPoemTitle}{} |
| 916 |
\newlength{\midpoemtitleskip} |
| 917 |
\renewcommand*{\PoemTitlenumfont}{} |
| 918 |
\renewcommand*{\PoemTitlefont}{} |
| 919 |
\renewenvironment{qframe}{\framed}{\endframed} |
| 920 |
\renewenvironment{qshade}{\shaded}{\endshaded} |
| 921 |
\renewcommand*{\setverbatimfont}[1]{} |
| 922 |
\DefineVerbatimEnvironment{fboxverbatim}{Verbatim}{frame=single} |
| 923 |
\renewcommand*{\bvbox}{} |
| 924 |
\renewcommand*{\bvtopandtail}{} |
| 925 |
\renewcommand*{\bvsides}{} |
| 926 |
\renewcommand*{\nobvbox}{} |
| 927 |
\renewcommand*{\bvtoprulehook}{} |
| 928 |
\renewcommand*{\bvtopmidhook}{} |
| 929 |
\renewcommand*{\bvendrulehook}{} |
| 930 |
\renewcommand*{\bvleftsidehook}{} |
| 931 |
\renewcommand*{\bvrightsidehook}{} |
| 932 |
\renewcommand*{\bvperpagetrue}{} |
| 933 |
\renewcommand*{\bvperpagefalse}{} |
| 934 |
\renewcommand{\bvtopofpage}[1]{} |
| 935 |
\renewcommand{\bvendofpage}[1]{} |
| 936 |
\renewcommand*{\linenumberfrequency}[1]{} |
| 937 |
\renewcommand*{\resetbvlinenumber}{} |
| 938 |
\renewcommand*{\setbvlinenums}[2]{} |
| 939 |
\renewcommand*{\linenumberfont}[1]{} |
| 940 |
\renewcommand*{\bvnumbersinside}{} |
| 941 |
\renewcommand*{\bvnumbersoutside}{} |
| 942 |
\renewcommand*{\figurerefname}{Figure} |
| 943 |
\renewcommand*{\tablerefname}{Table} |
| 944 |
\renewcommand*{\pagerefname}{page} |
| 945 |
\renewcommand*{\bookrefname}{Book~} |
| 946 |
\renewcommand*{\partrefname}{Part~} |
| 947 |
\renewcommand*{\chapterrefname}{Chapter~} |
| 948 |
\renewcommand*{\sectionrefname}{\S} |
| 949 |
\renewcommand*{\appendixrefname}{Appendix~} |
| 950 |
\LetLtxMacro\titleref\nameref |
| 951 |
\renewcommand*{\headnameref}{} |
| 952 |
\renewcommand*{\tocnameref}{} |
| 953 |
|
| 954 |
\AtBeginDocument{ |
| 955 |
|
| 956 |
\VerifyCommand[lwarp][lwarp-patch-memoir]{\@@wrindexhyp} |
| 957 |
{8DA7E3C8BE7A830442D98EA033147F63} |
| 958 |
|
| 959 |
\def\@@wrindexhyp#1||\\{% |
| 960 |
\addtocounter{LWR@autoindex}{1}% lwarp |
| 961 |
\protected@write\@auxout{}% |
| 962 |
{\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% lwarp |
| 963 |
\label{LWRindex-\arabic{LWR@autoindex}}% lwarp |
| 964 |
\endgroup |
| 965 |
\@esphack}% |
| 966 |
\def\@@wrspindexhyp#1||\\{% |
| 967 |
\addtocounter{LWR@autoindex}{1}% |
| 968 |
\protected@write\@auxout{}% |
| 969 |
{\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% |
| 970 |
\label{LWRindex-\arabic{LWR@autoindex}}% |
| 971 |
\endgroup |
| 972 |
\@esphack}% |
| 973 |
|
| 974 |
}% \AtBeginDocument |
| 975 |
|
| 976 |
\renewcommand{\@spindex}[2]{% |
| 977 |
\@ifundefined{#1@idxfile}% |
| 978 |
{\ifreportnoidxfile |
| 979 |
\@memwarn{Undefined index file #1}% |
| 980 |
\fi |
| 981 |
\begingroup |
| 982 |
\@sanitize |
| 983 |
\@nowrindex}% |
| 984 |
{\def\@idxfile{#1_html}% |
| 985 |
\def\@sptheidx{#2}% |
| 986 |
\begingroup |
| 987 |
\@sanitize |
| 988 |
\@wrspindex}} |
| 989 |
|
| 990 |
\catcode`\_=12% |
| 991 |
\renewcommand*{\makeindex}[1][\BaseJobname]{% |
| 992 |
\if@filesw |
| 993 |
\def\gindex{\@bsphack% |
| 994 |
\@ifnextchar [{\@index}{\@index[\BaseJobname]}} |
| 995 |
\def\specialindex{\@bsphack\@spindex}% |
| 996 |
\makememindexhook |
| 997 |
\expandafter\newwrite\csname #1@idxfile\endcsname |
| 998 |
\expandafter\immediate\openout \csname #1@idxfile\endcsname #1_html.idx\relax |
| 999 |
\typeout{Writing index file #1_html.idx }% |
| 1000 |
\fi} |
| 1001 |
\catcode`\_=8% |
| 1002 |
|
| 1003 |
\catcode`\_=12% |
| 1004 |
\renewcommand{\printindex}[1][\BaseJobname]{\@input@{#1_html.ind}} |
| 1005 |
\catcode`\_=8% |
| 1006 |
\DeclareDocumentCommand{\newblock}{}{} |
| 1007 |
\renewcommand*{\showindexmarks}{} |
| 1008 |
\renewcommand*{\hideindexmarks}{} |
| 1009 |
|
| 1010 |
\renewcommand*{\xindyindex}{} |
| 1011 |
\renewcommand*{\changemarks}{} |
| 1012 |
\renewcommand*{\nochangemarks}{} |
| 1013 |
\renewcommand*{\added}[1]{} |
| 1014 |
\renewcommand*{\deleted}[1]{} |
| 1015 |
\renewcommand*{\changed}[1]{} |
| 1016 |
|
| 1017 |
\renewcommand*{\showtrimsoff}{} |
| 1018 |
\renewcommand*{\showtrimson}{} |
| 1019 |
\renewcommand*{\trimXmarks}{} |
| 1020 |
\renewcommand*{\trimLmarks}{} |
| 1021 |
\renewcommand*{\trimFrame}{} |
| 1022 |
\renewcommand*{\trimNone}{} |
| 1023 |
\renewcommand*\trimmarkscolor{} |
| 1024 |
\renewcommand*{\trimmarks}{} |
| 1025 |
\renewcommand*{\tmarktl}{} |
| 1026 |
\renewcommand*{\tmarktr}{} |
| 1027 |
\renewcommand*{\tmarkbr}{} |
| 1028 |
\renewcommand*{\tmarkbl}{} |
| 1029 |
\renewcommand*{\tmarktm}{} |
| 1030 |
\renewcommand*{\tmarkmr}{} |
| 1031 |
\renewcommand*{\tmarkbm}{} |
| 1032 |
\renewcommand*{\tmarkml}{} |
| 1033 |
\renewcommand*{\trimmark}{} |
| 1034 |
\renewcommand*{\quarkmarks}{} |
| 1035 |
\renewcommand*{\registrationColour}[1]{} |
| 1036 |
|
| 1037 |
\renewcommand*{\leavespergathering}[1]{} |
| 1038 |
|
| 1039 |
\renewcommand*{\noprelistbreak}{} |
| 1040 |
|
| 1041 |
\renewcommand*{\cleartorecto}{} |
| 1042 |
\renewcommand*{\cleartoverso}{} |
| 1043 |
|
| 1044 |
\renewenvironment{vplace}[1][]{}{} |
| 1045 |
\renewcommand*{\captiondelim}[1]{\renewcommand*{\CaptionSeparator}{#1}} |
| 1046 |
\renewcommand*{\captionnamefont}[1]{} |
| 1047 |
\renewcommand*{\captiontitlefont}[1]{} |
| 1048 |
\renewcommand*{\flushleftright}{} |
| 1049 |
\renewcommand*{\centerlastline}{} |
| 1050 |
\renewcommand*{\captionstyle}[2][]{} |
| 1051 |
\DeclareDocumentCommand{\captionwidth}{m}{} |
| 1052 |
\renewcommand*{\changecaptionwidth}{} |
| 1053 |
\renewcommand*{\normalcaptionwidth}{} |
| 1054 |
\renewcommand*{\hangcaption}{} |
| 1055 |
\renewcommand*{\indentcaption}[1]{} |
| 1056 |
\renewcommand*{\normalcaption}{} |
| 1057 |
\renewcommand{\precaption}[1]{} |
| 1058 |
\renewcommand{\postcaption}[1]{} |
| 1059 |
\renewcommand{\midbicaption}[1]{} |
| 1060 |
\renewcommand{\contcaption}[1]{% |
| 1061 |
\begin{LWR@figcaption}% later becomes \caption* |
| 1062 |
\LWR@isolate{\@nameuse{\@captype name}}~% |
| 1063 |
\thechapter.\the\value{\@captype}\CaptionSeparator\LWR@isolate{#1}% |
| 1064 |
\end{LWR@figcaption}% |
| 1065 |
} |
| 1066 |
|
| 1067 |
\newlength{\abovelegendskip} |
| 1068 |
\setlength{\abovelegendskip}{0.5\baselineskip} |
| 1069 |
\newlength{\belowlegendskip} |
| 1070 |
\setlength{\belowlegendskip}{\abovelegendskip} |
| 1071 |
|
| 1072 |
\renewcommand{\legend}[1]{\begin{center}#1\\\end{center}} |
| 1073 |
|
| 1074 |
\renewcommand{\namedlegend}[2][]{% |
| 1075 |
\begin{center} |
| 1076 |
\@nameuse{fleg\@captype}\CaptionSeparator#2\\ |
| 1077 |
\end{center} |
| 1078 |
\@nameuse{flegtoc\@captype}{#1} |
| 1079 |
} |
| 1080 |
\renewcommand{\newfixedcaption}[3][\caption]{% |
| 1081 |
\renewcommand{#2}{\def\@captype{#3}#1}} |
| 1082 |
\renewcommand{\renewfixedcaption}[3][\caption]{% |
| 1083 |
\renewcommand{#2}{\def\@captype{#3}#1}} |
| 1084 |
\renewcommand{\providefixedcaption}[3][\caption]{% |
| 1085 |
\providecommand{#2}{\def\@captype{#3}#1}} |
| 1086 |
|
| 1087 |
\renewcommand{\bitwonumcaption}[6][]{% |
| 1088 |
\ifblank{#2}{\caption{#3}}{\caption[#2]{#3}}% |
| 1089 |
\addtocounter{\@captype}{-1}% |
| 1090 |
\begingroup% |
| 1091 |
\csdef{\@captype name}{#4}% |
| 1092 |
\ifblank{#5}{\caption{#6}}{\caption[#5]{#6}}% |
| 1093 |
\endgroup% |
| 1094 |
\ifblank{#1}{}{\label{#1}}% |
| 1095 |
} |
| 1096 |
|
| 1097 |
\LetLtxMacro\bionenumcaption\bitwonumcaption% todo |
| 1098 |
|
| 1099 |
\renewcommand{\bicaption}[5][]{% |
| 1100 |
\ifblank{#2}{\caption{#3}}{\caption[#2]{#3}}% |
| 1101 |
\begin{LWR@figcaption}% later becomes \caption* |
| 1102 |
\LWR@isolate{#4} % space |
| 1103 |
\thechapter.\the\value{\@captype}\CaptionSeparator\LWR@isolate{#5}% |
| 1104 |
\end{LWR@figcaption}% |
| 1105 |
\ifblank{#1}{}{\label{#1}}% |
| 1106 |
} |
| 1107 |
|
| 1108 |
\renewcommand{\bicontcaption}[3]{% |
| 1109 |
\contcaption{#1}% |
| 1110 |
\begingroup% |
| 1111 |
\csdef{\@captype name}{#2}% |
| 1112 |
\contcaption{#3}% |
| 1113 |
\endgroup% |
| 1114 |
} |
| 1115 |
\VerifyCommand[lwarp][memoir]{\@memsubbody}{1B2D3DA81BBE071BE29A32105D3E7F43} |
| 1116 |
|
| 1117 |
\renewcommand{\@memsubbody}{% |
| 1118 |
\bgroup |
| 1119 |
% \let\label=\memsub@label |
| 1120 |
\let\mem@addto@label@hook\memsub@addto@label@hook |
| 1121 |
\ifdonemaincaption\else |
| 1122 |
\advance\csname c@\@captype\endcsname\@ne |
| 1123 |
\fi |
| 1124 |
% \refstepcounter{sub\@captype}\@contkeep% |
| 1125 |
\@ifnextchar [% |
| 1126 |
{\@memsubfig}% |
| 1127 |
{\@memsubfig[\@empty]}} |
| 1128 |
|
| 1129 |
\VerifyCommand[lwarp][memoir]{\@memcontsubbody}{7BCF667C2EA09AE8362DAE2CB5BDD456} |
| 1130 |
|
| 1131 |
\renewcommand{\@memcontsubbody}{% |
| 1132 |
\bgroup |
| 1133 |
% \let\label=\memsub@label |
| 1134 |
\let\mem@addto@label@hook\memsub@addto@label@hook |
| 1135 |
\@contset |
| 1136 |
% \refstepcounter{sub\@captype}\@contkeep% |
| 1137 |
\@ifnextchar [% |
| 1138 |
{\@memsubfig}% |
| 1139 |
{\@memsubfig[\@empty]}} |
| 1140 |
|
| 1141 |
\long\def\@memsubfloat#1[#2][#3]#4{% |
| 1142 |
\bgroup% |
| 1143 |
\mem@step@subcounter% |
| 1144 |
\LWR@stoppars% |
| 1145 |
\minipagefullwidth% lwarp |
| 1146 |
\begin{minipage}{\linewidth}% lwarp |
| 1147 |
\bgroup |
| 1148 |
\if@contbotsub |
| 1149 |
#4% \box\@tempboxa |
| 1150 |
\egroup |
| 1151 |
\ifx \@empty#3\relax \else |
| 1152 |
\@memsubcaption{#1}{#2}{#3}% |
| 1153 |
\fi |
| 1154 |
\else |
| 1155 |
\ifx \@empty#3\relax \else |
| 1156 |
\@memsubcaption{#1}{#2}{#3}% |
| 1157 |
\fi\egroup |
| 1158 |
#4% \box\@tempboxa |
| 1159 |
\fi |
| 1160 |
\end{minipage}% lwarp |
| 1161 |
\LWR@startpars% lwarp |
| 1162 |
\egroup |
| 1163 |
\egroup |
| 1164 |
} |
| 1165 |
\newlistof{tableofcontents}{toc}{\contentsname} |
| 1166 |
\newlistof{listoffigures}{lof}{\listfigurename} |
| 1167 |
\newlistof{listoftables}{lot}{\listtablename} |
| 1168 |
\endinput |
| 1169 |
%% |
| 1170 |
%% End of file `lwarp-patch-memoir.sty'. |