| 1 |
%% |
| 2 |
%% This is file `lwarp-tocdata.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `tocdata') |
| 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 |
\LWR@ProvidesPackagePass{tocdata}[2019/07/06] |
| 20 |
\renewcommand*{\LWR@maybetocdata}{% |
| 21 |
\ifdefempty{\TD@thistocdata}{}{% |
| 22 |
\qquad \InlineClass{authorartist}{\tocdataformat{\TD@thistocdata}}% |
| 23 |
\def\TD@thistocdata{} |
| 24 |
} |
| 25 |
} |
| 26 |
\renewrobustcmd{\tocdatapartprint}[4] |
| 27 |
{% |
| 28 |
\InlineClass{authorartist}{% |
| 29 |
\qquad --- % |
| 30 |
\TDoptionalnameprint{#1}\TDoptionalnameprint{#2}#3#4% |
| 31 |
}% |
| 32 |
} |
| 33 |
|
| 34 |
\@ifundefined{chapter}{}{ |
| 35 |
\let\tocdatachapterprint\tocdatapartprint |
| 36 |
} |
| 37 |
\let\tocdatasectionprint\tocdatapartprint |
| 38 |
\let\tocdatasubsectionprint\tocdatapartprint |
| 39 |
|
| 40 |
\newcommand*{\LWR@TD@settextalign}[1]{% |
| 41 |
\def\LWR@TD@textalign{justify}% |
| 42 |
\ifcsstring{TD@#1align}{\centering}% |
| 43 |
{\def\LWR@TD@textalign{center}}% |
| 44 |
{}% |
| 45 |
\ifcsstring{TD@#1align}{\raggedleft}% |
| 46 |
{\def\LWR@TD@textalign{right}}% |
| 47 |
{}% |
| 48 |
\ifcsstring{TD@#1align}{\raggedright}% |
| 49 |
{\def\LWR@TD@textalign{left}}% |
| 50 |
{}% |
| 51 |
} |
| 52 |
|
| 53 |
\renewcommand{\TDartistauthorprint}[5]{% |
| 54 |
\LWR@TD@settextalign{#1}% |
| 55 |
\begin{BlockClass}[text-align:\LWR@TD@textalign]{floatnotes}% |
| 56 |
\InlineClass{authorartist}{\TDoptionalnameprint{#2}\TDoptionalnameprint{#3}#4#5}% |
| 57 |
\end{BlockClass}% |
| 58 |
} |
| 59 |
|
| 60 |
\newcommand*{\LWR@TD@setnamealign}[1]{% |
| 61 |
\def\LWR@TD@textalign{justify}% |
| 62 |
\ifcsstring{TD@#1textalign}{\centering}% |
| 63 |
{\def\LWR@TD@textalign{center}}% |
| 64 |
{}% |
| 65 |
\ifcsstring{TD@#1textalign}{\raggedleft}% |
| 66 |
{\def\LWR@TD@textalign{right}}% |
| 67 |
{}% |
| 68 |
\ifcsstring{TD@#1textalign}{\raggedright}% |
| 69 |
{\def\LWR@TD@textalign{left}}% |
| 70 |
{}% |
| 71 |
} |
| 72 |
|
| 73 |
\renewcommand{\TDartistauthortextprint}[2]{% |
| 74 |
\LWR@TD@setnamealign{#1}% |
| 75 |
\begin{BlockClass}[text-align:\LWR@TD@textalign]{floatnotes}% |
| 76 |
#2% |
| 77 |
\end{BlockClass}% |
| 78 |
} |
| 79 |
\endinput |
| 80 |
%% |
| 81 |
%% End of file `lwarp-tocdata.sty'. |