| 1 |
%% |
| 2 |
%% This is file `lwarp-tocloft.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `tocloft') |
| 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 |
|
| 20 |
|
| 21 |
|
| 22 |
\LWR@ProvidesPackageDrop{tocloft}[2017/08/31] |
| 23 |
|
| 24 |
\newcommand{\tocloftpagestyle}[1]{} |
| 25 |
|
| 26 |
\newcommand*{\cftmarktoc}{} |
| 27 |
|
| 28 |
\newcommand*{\cfttoctitlefont}{} |
| 29 |
|
| 30 |
\newcommand*{\cftaftertoctitle}{} |
| 31 |
|
| 32 |
\newlength{\cftbeforetoctitleskip} |
| 33 |
\newlength{\cftaftertoctitleskip} |
| 34 |
|
| 35 |
\newcommand*{\cftmarklof}{} |
| 36 |
|
| 37 |
\newcommand*{\cftloftitlefont}{} |
| 38 |
|
| 39 |
\newcommand*{\cftafterloftitle}{} |
| 40 |
|
| 41 |
\newlength{\cftbeforeloftitleskip} |
| 42 |
\newlength{\cftafterloftitleskip} |
| 43 |
|
| 44 |
\newcommand*{\cftmarklot}{} |
| 45 |
|
| 46 |
\newcommand*{\cftlottitlefont}{} |
| 47 |
|
| 48 |
\newcommand*{\cftafterlottitle}{} |
| 49 |
|
| 50 |
\newlength{\cftbeforelottitleskip} |
| 51 |
\newlength{\cftafterlottitleskip} |
| 52 |
|
| 53 |
\providecommand*{\cftdot}{.} |
| 54 |
|
| 55 |
\providecommand*{\cftdotsep}{1} |
| 56 |
|
| 57 |
\providecommand*{\cftnodots}{5000} |
| 58 |
|
| 59 |
\providecommand{\cftdotfill}[1]{} |
| 60 |
|
| 61 |
\DeclareDocumentCommand{\cftsetpnumwidth}{m}{} |
| 62 |
|
| 63 |
\DeclareDocumentCommand{\cftsetrmarg}{m}{} |
| 64 |
|
| 65 |
\DeclareDocumentCommand{\cftpnumalign}{m}{} |
| 66 |
|
| 67 |
\LWR@providelength{\cftparskip} |
| 68 |
|
| 69 |
\LWR@providelength{\cftbeforepartskip} |
| 70 |
\LWR@providelength{\cftpartindent} |
| 71 |
\LWR@providelength{\cftpartnumwidth} |
| 72 |
\providecommand*{\cftpartfont}{} |
| 73 |
\providecommand*{\cftpartpresnum}{} |
| 74 |
\providecommand*{\cftpartaftersnum}{} |
| 75 |
\providecommand*{\cftpartaftersnumb}{} |
| 76 |
\providecommand*{\cftpartleader}{} |
| 77 |
\providecommand*{\cftpartdotsep}{1} |
| 78 |
\providecommand*{\cftpartpagefont}{} |
| 79 |
\providecommand*{\cftpartafterpnum}{} |
| 80 |
\LWR@providelength{\cftbeforechapskip} |
| 81 |
\LWR@providelength{\cftchapindent} |
| 82 |
\LWR@providelength{\cftchapnumwidth} |
| 83 |
\newcommand*{\cftchapfont}{} |
| 84 |
\newcommand*{\cftchappresnum}{} |
| 85 |
\newcommand*{\cftchapaftersnum}{} |
| 86 |
\newcommand*{\cftchapaftersnumb}{} |
| 87 |
\newcommand*{\cftchapleader}{} |
| 88 |
\newcommand*{\cftchapdotsep}{1} |
| 89 |
\newcommand*{\cftchappagefont}{} |
| 90 |
\newcommand*{\cftchapafterpnum}{} |
| 91 |
\LWR@providelength{\cftbeforesecskip} |
| 92 |
\LWR@providelength{\cftsecindent} |
| 93 |
\LWR@providelength{\cftsecnumwidth} |
| 94 |
\newcommand*{\cftsecfont}{} |
| 95 |
\newcommand*{\cftsecpresnum}{} |
| 96 |
\newcommand*{\cftsecaftersnum}{} |
| 97 |
\newcommand*{\cftsecaftersnumb}{} |
| 98 |
\newcommand*{\cftsecleader}{} |
| 99 |
\newcommand*{\cftsecdotsep}{1} |
| 100 |
\newcommand*{\cftsecpagefont}{} |
| 101 |
\newcommand*{\cftsecafterpnum}{} |
| 102 |
|
| 103 |
\LWR@providelength{\cftbeforesubsecskip} |
| 104 |
\LWR@providelength{\cftsubsecindent} |
| 105 |
\LWR@providelength{\cftsubsecnumwidth} |
| 106 |
\newcommand*{\cftsubsecfont}{} |
| 107 |
\newcommand*{\cftsubsecpresnum}{} |
| 108 |
\newcommand*{\cftsubsecaftersnum}{} |
| 109 |
\newcommand*{\cftsubsecaftersnumb}{} |
| 110 |
\newcommand*{\cftsubsecleader}{} |
| 111 |
\newcommand*{\cftsubsecdotsep}{1} |
| 112 |
\newcommand*{\cftsubsecpagefont}{} |
| 113 |
\newcommand*{\cftsubsecafterpnum}{} |
| 114 |
|
| 115 |
\LWR@providelength{\cftbeforesubsubsecskip} |
| 116 |
\LWR@providelength{\cftsubsubsecindent} |
| 117 |
\LWR@providelength{\cftsubsubsecnumwidth} |
| 118 |
\newcommand*{\cftsubsubsecfont}{} |
| 119 |
\newcommand*{\cftsubsubsecpresnum}{} |
| 120 |
\newcommand*{\cftsubsubsecaftersnum}{} |
| 121 |
\newcommand*{\cftsubsubsecaftersnumb}{} |
| 122 |
\newcommand*{\cftsubsubsecleader}{} |
| 123 |
\newcommand*{\cftsubsubsecdotsep}{1} |
| 124 |
\newcommand*{\cftsubsubsecpagefont}{} |
| 125 |
\newcommand*{\cftsubsubsecafterpnum}{} |
| 126 |
|
| 127 |
\LWR@providelength{\cftbeforeparaskip} |
| 128 |
\LWR@providelength{\cftparaindent} |
| 129 |
\LWR@providelength{\cftparanumwidth} |
| 130 |
\newcommand*{\cftparafont}{} |
| 131 |
\newcommand*{\cftparapresnum}{} |
| 132 |
\newcommand*{\cftparaaftersnum}{} |
| 133 |
\newcommand*{\cftparaaftersnumb}{} |
| 134 |
\newcommand*{\cftparaleader}{} |
| 135 |
\newcommand*{\cftparadotsep}{1} |
| 136 |
\newcommand*{\cftparapagefont}{} |
| 137 |
\newcommand*{\cftparaafterpnum}{} |
| 138 |
|
| 139 |
\LWR@providelength{\cftbeforesubparaskip} |
| 140 |
\LWR@providelength{\cftsubparaindent} |
| 141 |
\LWR@providelength{\cftsubparanumwidth} |
| 142 |
\newcommand*{\cftsubparafont}{} |
| 143 |
\newcommand*{\cftsubparapresnum}{} |
| 144 |
\newcommand*{\cftsubparaaftersnum}{} |
| 145 |
\newcommand*{\cftsubparaaftersnumb}{} |
| 146 |
\newcommand*{\cftsubparaleader}{} |
| 147 |
\newcommand*{\cftsubparadotsep}{1} |
| 148 |
\newcommand*{\cftsubparapagefont}{} |
| 149 |
\newcommand*{\cftsubparaafterpnum}{} |
| 150 |
|
| 151 |
\LWR@providelength{\cftbeforefigskip} |
| 152 |
\LWR@providelength{\cftfigindent} |
| 153 |
\LWR@providelength{\cftfignumwidth} |
| 154 |
\newcommand*{\cftfigfont}{} |
| 155 |
\newcommand*{\cftfigpresnum}{} |
| 156 |
\newcommand*{\cftfigaftersnum}{} |
| 157 |
\newcommand*{\cftfigaftersnumb}{} |
| 158 |
\newcommand*{\cftfigleader}{} |
| 159 |
\newcommand*{\cftfigdotsep}{1} |
| 160 |
\newcommand*{\cftfigpagefont}{} |
| 161 |
\newcommand*{\cftfigafterpnum}{} |
| 162 |
|
| 163 |
\LWR@providelength{\cftbeforesubfigskip} |
| 164 |
\LWR@providelength{\cftsubfigindent} |
| 165 |
\LWR@providelength{\cftsubfignumwidth} |
| 166 |
\newcommand*{\cftsubfigfont}{} |
| 167 |
\newcommand*{\cftsubfigpresnum}{} |
| 168 |
\newcommand*{\cftsubfigaftersnum}{} |
| 169 |
\newcommand*{\cftsubfigaftersnumb}{} |
| 170 |
\newcommand*{\cftsubfigleader}{} |
| 171 |
\newcommand*{\cftsubfigdotsep}{1} |
| 172 |
\newcommand*{\cftsubfigpagefont}{} |
| 173 |
\newcommand*{\cftsubfigafterpnum}{} |
| 174 |
|
| 175 |
\LWR@providelength{\cftbeforetabskip} |
| 176 |
\LWR@providelength{\cfttabindent} |
| 177 |
\LWR@providelength{\cfttabnumwidth} |
| 178 |
\newcommand*{\cfttabfont}{} |
| 179 |
\newcommand*{\cfttabpresnum}{} |
| 180 |
\newcommand*{\cfttabaftersnum}{} |
| 181 |
\newcommand*{\cfttabaftersnumb}{} |
| 182 |
\newcommand*{\cfttableader}{} |
| 183 |
\newcommand*{\cfttabdotsep}{1} |
| 184 |
\newcommand*{\cfttabpagefont}{} |
| 185 |
\newcommand*{\cfttabafterpnum}{} |
| 186 |
|
| 187 |
\LWR@providelength{\cftbeforesubtabskip} |
| 188 |
\LWR@providelength{\cftsubtabindent} |
| 189 |
\LWR@providelength{\cftsubtabnumwidth} |
| 190 |
\newcommand*{\cftsubtabfont}{} |
| 191 |
\newcommand*{\cftsubtabpresnum}{} |
| 192 |
\newcommand*{\cftsubtabaftersnum}{} |
| 193 |
\newcommand*{\cftsubtabaftersnumb}{} |
| 194 |
\newcommand*{\cftsubtableader}{} |
| 195 |
\newcommand*{\cftsubtabdotsep}{1} |
| 196 |
\newcommand*{\cftsubtabpagefont}{} |
| 197 |
\newcommand*{\cftsubtabafterpnum}{} |
| 198 |
|
| 199 |
\DeclareDocumentCommand{\cftsetindents}{m m m}{} |
| 200 |
|
| 201 |
\providecommand{\cftpagenumbersoff}[1]{} |
| 202 |
\providecommand{\cftpagenumberson}[1]{} |
| 203 |
|
| 204 |
\DeclareDocumentCommand{\newlistentry}{o m m m} |
| 205 |
{% |
| 206 |
\LWR@traceinfo{newlistentry #2 #3 #4}% |
| 207 |
\IfValueTF{#1}% |
| 208 |
{% |
| 209 |
\@ifundefined{c@#2}{% |
| 210 |
\newcounter{#2}[#1]% |
| 211 |
\expandafter\edef\csname the#2\endcsname{% |
| 212 |
\expandafter\noexpand\csname the#1\endcsname.\noexpand\arabic{#2}% |
| 213 |
}% |
| 214 |
}{}% |
| 215 |
}% |
| 216 |
{% |
| 217 |
\@ifundefined{c@#2}{% |
| 218 |
\newcounter{#2}% |
| 219 |
}{}% |
| 220 |
}% |
| 221 |
\@namedef{l@#2}##1##2{% |
| 222 |
\hypertocfloat{1}{#2}{#3}{##1}{##2}% |
| 223 |
\def\cftwhatismyname{#2}% from memoir |
| 224 |
}% |
| 225 |
\expandafter\newlength\csname cftbefore#2skip\endcsname% |
| 226 |
\expandafter\newlength\csname cft#2indent\endcsname% |
| 227 |
\expandafter\newlength\csname cft#2numwidth\endcsname% |
| 228 |
\@namedef{cft#2font}{}% |
| 229 |
\@namedef{cft#2presnum}{}% |
| 230 |
\@namedef{cft#2aftersnum}{}% |
| 231 |
\@namedef{cft#2aftersnumb}{}% |
| 232 |
\@namedef{cft#2leader}{}% |
| 233 |
\@namedef{cft#2dotsep}{1}% |
| 234 |
\@namedef{cft#2pagefont}{}% |
| 235 |
\@namedef{cft#2afterpnum}{}% |
| 236 |
\@namedef{toclevel@#2}{#4}% |
| 237 |
\@namedef{cft#2fillnum}##1{}% |
| 238 |
\LWR@traceinfo{newlistentry done}% |
| 239 |
} |
| 240 |
|
| 241 |
\DeclareDocumentCommand{\newlistof}{o m m m} |
| 242 |
{% |
| 243 |
\IfValueTF{#1}% |
| 244 |
{\newlistentry[#1]{#2}{#3}{0}}% |
| 245 |
{\newlistentry{#2}{#3}{0}}% |
| 246 |
\@namedef{ext@#2}{#3}% |
| 247 |
\@ifundefined{c@#3depth}{\newcounter{#3depth}}{}% |
| 248 |
\setcounter{#3depth}{1}% |
| 249 |
\@namedef{cftmark#3}{}% |
| 250 |
\@namedef{listof#2}{\LWR@listof{#2}{#4}}% |
| 251 |
\@namedef{@cftmake#3title}{}% |
| 252 |
\expandafter\newlength\csname cftbefore#3titleskip\endcsname% |
| 253 |
\expandafter\newlength\csname cftafter#3titleskip\endcsname% |
| 254 |
\@namedef{cft#3titlefont}{}% |
| 255 |
\@namedef{cftafter#3title}{}% |
| 256 |
\@namedef{cft#3prehook}{}% |
| 257 |
\@namedef{cft#3posthook}{}% |
| 258 |
} |
| 259 |
|
| 260 |
\newcommand{\cftchapterprecis}[1]{% |
| 261 |
\cftchapterprecishere{#1} |
| 262 |
\cftchapterprecistoc{#1}} |
| 263 |
\newcommand{\cftchapterprecishere}[1]{% |
| 264 |
\begin{quote}\textit{#1}\end{quote}} |
| 265 |
\newcommand{\cftchapterprecistoc}[1]{ |
| 266 |
\addtocontents{toc}{% |
| 267 |
{ |
| 268 |
\protect\begin{quote}#1\protect\end{quote}} |
| 269 |
} |
| 270 |
} |
| 271 |
|
| 272 |
\endinput |
| 273 |
%% |
| 274 |
%% End of file `lwarp-tocloft.sty'. |