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.
80 lines
2.3 KiB
80 lines
2.3 KiB
%%
|
|
%% This is file `lwarp-tocdata.sty',
|
|
%% generated with the docstrip utility.
|
|
%%
|
|
%% The original source files were:
|
|
%%
|
|
%% lwarp.dtx (with options: `tocdata')
|
|
%% 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.
|
|
\LWR@ProvidesPackagePass{tocdata}[2019/07/06]
|
|
\renewcommand*{\LWR@maybetocdata}{%
|
|
\ifdefempty{\TD@thistocdata}{}{%
|
|
\qquad \InlineClass{authorartist}{\tocdataformat{\TD@thistocdata}}%
|
|
\def\TD@thistocdata{}
|
|
}
|
|
}
|
|
\renewrobustcmd{\tocdatapartprint}[4]
|
|
{%
|
|
\InlineClass{authorartist}{%
|
|
\qquad --- %
|
|
\TDoptionalnameprint{#1}\TDoptionalnameprint{#2}#3#4%
|
|
}%
|
|
}
|
|
|
|
\@ifundefined{chapter}{}{
|
|
\let\tocdatachapterprint\tocdatapartprint
|
|
}
|
|
\let\tocdatasectionprint\tocdatapartprint
|
|
\let\tocdatasubsectionprint\tocdatapartprint
|
|
|
|
\newcommand*{\LWR@TD@settextalign}[1]{%
|
|
\def\LWR@TD@textalign{justify}%
|
|
\ifcsstring{TD@#1align}{\centering}%
|
|
{\def\LWR@TD@textalign{center}}%
|
|
{}%
|
|
\ifcsstring{TD@#1align}{\raggedleft}%
|
|
{\def\LWR@TD@textalign{right}}%
|
|
{}%
|
|
\ifcsstring{TD@#1align}{\raggedright}%
|
|
{\def\LWR@TD@textalign{left}}%
|
|
{}%
|
|
}
|
|
|
|
\renewcommand{\TDartistauthorprint}[5]{%
|
|
\LWR@TD@settextalign{#1}%
|
|
\begin{BlockClass}[text-align:\LWR@TD@textalign]{floatnotes}%
|
|
\InlineClass{authorartist}{\TDoptionalnameprint{#2}\TDoptionalnameprint{#3}#4#5}%
|
|
\end{BlockClass}%
|
|
}
|
|
|
|
\newcommand*{\LWR@TD@setnamealign}[1]{%
|
|
\def\LWR@TD@textalign{justify}%
|
|
\ifcsstring{TD@#1textalign}{\centering}%
|
|
{\def\LWR@TD@textalign{center}}%
|
|
{}%
|
|
\ifcsstring{TD@#1textalign}{\raggedleft}%
|
|
{\def\LWR@TD@textalign{right}}%
|
|
{}%
|
|
\ifcsstring{TD@#1textalign}{\raggedright}%
|
|
{\def\LWR@TD@textalign{left}}%
|
|
{}%
|
|
}
|
|
|
|
\renewcommand{\TDartistauthortextprint}[2]{%
|
|
\LWR@TD@setnamealign{#1}%
|
|
\begin{BlockClass}[text-align:\LWR@TD@textalign]{floatnotes}%
|
|
#2%
|
|
\end{BlockClass}%
|
|
}
|
|
\endinput
|
|
%%
|
|
%% End of file `lwarp-tocdata.sty'.
|
|
|