summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-tocdata.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-tocdata.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-tocdata.sty82
1 files changed, 82 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tocdata.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocdata.sty
new file mode 100644
index 00000000000..61ec79c43b2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tocdata.sty
@@ -0,0 +1,82 @@
+%%
+%% 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-2018 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/03/21]
+\renewcommand*{\LWR@maybetocdata}{%
+ \ifdefempty{\TD@thistocdata}{}{%
+ \qquad --- \InlineClass{authorartist}{\TD@thistocdata}%
+ \def\TD@thistocdata{}
+ }
+}
+
+\renewrobustcmd{\tocdatapartprint}[4]
+{%
+ \LWR@htmltagc{br /}%
+ \InlineClass{authorartist}{%
+ \qquad --- %
+ \TD@optionalname{#1}\TD@optionalname{#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{\TD@artistauthorprint}[5]{%
+ \LWR@TD@settextalign{#1}%
+ \begin{BlockClass}[text-align:\LWR@TD@textalign]{floatnotes}%
+ \InlineClass{authorartist}{\TD@optionalname{#2}\TD@optionalname{#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{\TD@artistauthortextprint}[2]{%
+ \LWR@TD@setnamealign{#1}%
+ \begin{BlockClass}[text-align:\LWR@TD@textalign]{floatnotes}%
+ #2%
+ \end{BlockClass}%
+}
+\endinput
+%%
+%% End of file `lwarp-tocdata.sty'.