summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-11-13 03:00:52 +0000
committerNorbert Preining <norbert@preining.info>2020-11-13 03:00:52 +0000
commit515071ffd355fff10d3aae843e62cb50a012d4f5 (patch)
treedb2031432bbfb7121d6905e1d0f3ac5fe332c869 /macros/latex
parent6280c0bca943a30d09e92916ab396082f6461c7f (diff)
CTAN sync 202011130300
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/atenddvi/README.md21
-rw-r--r--macros/latex/contrib/atenddvi/atenddvi.dtx72
-rw-r--r--macros/latex/contrib/atenddvi/atenddvi.pdfbin273483 -> 280157 bytes
-rw-r--r--macros/latex/contrib/bookcover/README4
-rw-r--r--macros/latex/contrib/bookcover/bookcover-example-obsoletemethod.tex82
-rw-r--r--macros/latex/contrib/bookcover/bookcover-example1.pdfbin276015 -> 276016 bytes
-rw-r--r--macros/latex/contrib/bookcover/bookcover-example2.pdfbin170223 -> 170222 bytes
-rw-r--r--macros/latex/contrib/bookcover/bookcover.dtx613
-rw-r--r--macros/latex/contrib/bookcover/bookcover.ins4
-rw-r--r--macros/latex/contrib/bookcover/bookcover.pdfbin1452803 -> 1378688 bytes
-rw-r--r--macros/latex/contrib/muling/README.txt10
-rw-r--r--macros/latex/contrib/muling/muling.dtx365
-rw-r--r--macros/latex/contrib/muling/muling.ins48
-rw-r--r--macros/latex/contrib/muling/muling.pdfbin0 -> 390122 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/README.md8
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaAnnouncement.pdfbin574097 -> 574097 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaBeamer.pdfbin622105 -> 622105 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaExercise.pdfbin578332 -> 578429 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLeaflet.pdfbin583236 -> 583236 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLetter.pdfbin589226 -> 589032 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPhD.pdfbin642236 -> 649755 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPoster.pdfbin558962 -> 558962 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPub.pdfbin675683 -> 676251 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaReport.pdfbin550585 -> 550345 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaSciPoster.pdfbin586682 -> 586682 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/doc/DEMO-TUDaThesis.pdfbin636860 -> 644340 bytes
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaAnnouncement.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaBeamer.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaBibliography.bib2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaFromaddress.lco2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaLeaflet.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaLetter.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaPhD.tex21
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaPoster.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaPub.tex22
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaReport.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaSciPoster.tex2
-rw-r--r--macros/latex/contrib/tuda-ci/example/DEMO-TUDaThesis.tex25
-rw-r--r--macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudabeamer.cls6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudacolors.def6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudacolors.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudaexercise.cls6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudafonts.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudaletter.cls6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo2
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudaposter.cls6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudapub.cls114
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudarules.sty6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudasciposter.cls6
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo2
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudathesis.cfg107
67 files changed, 861 insertions, 823 deletions
diff --git a/macros/latex/contrib/atenddvi/README.md b/macros/latex/contrib/atenddvi/README.md
index dab339b628..2c8dbecb42 100644
--- a/macros/latex/contrib/atenddvi/README.md
+++ b/macros/latex/contrib/atenddvi/README.md
@@ -1,13 +1,24 @@
-# atenddvi
+# atenddvi package for LaTeX
-atenddvi package for LaTeX
+Version: 2020-11-11 v1.5
+This package is unneeded and does nothing when used with
+a LaTeX format 2020-10-01 or newer as in this case the format
+provides the \AtEndDvi command.
-LaTeX offers \AtBeginDvi. This package atenddvi
-provides the counterpart \AtEndDvi. The execution of its
-argument is delayed to the end of the document at the end of the
+For older formats it it implements \AtEndDvi, a counterpart
+to \AtBeginDvi. The execution of its argument is delayed to
+the end of the document at the end of the
last page. Thus \special and \write remain effective, because
they are put into the last page. This is the main difference
to \AtEndDocument.
+
+## Copyright (C)
+* 2007, 2009-2011 Heiko Oberdiek
+* 2016-2020 Oberdiek Package Support Group
+
+## License
+LATEX Project Public License, version 1.3c or later.
+
diff --git a/macros/latex/contrib/atenddvi/atenddvi.dtx b/macros/latex/contrib/atenddvi/atenddvi.dtx
index db82a3985f..a82cd86121 100644
--- a/macros/latex/contrib/atenddvi/atenddvi.dtx
+++ b/macros/latex/contrib/atenddvi/atenddvi.dtx
@@ -1,12 +1,12 @@
% \iffalse meta-comment
%
% File: atenddvi.dtx
-% Version: 2019-12-11 v1.4
+% Version: 2020-11-11 v1.5
% Info: At end DVI hook
%
% Copyright (C)
% 2007 Heiko Oberdiek
-% 2016-2019 Oberdiek Package Support Group
+% 2016-2020 Oberdiek Package Support Group
% https://github.com/ho-tex/atenddvi/issues
%
% This work may be distributed and/or modified under the
@@ -61,6 +61,7 @@
%
% Installation:
% TDS:tex/latex/atenddvi/atenddvi.sty
+% TDS:tex/latex/atenddvi/atenddvi-2019-12-11.sty
% TDS:doc/latex/atenddvi/atenddvi.pdf
% TDS:source/latex/atenddvi/atenddvi.dtx
%
@@ -79,7 +80,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: atenddvi 2019-12-11 v1.4 At end DVI hook (HO)}
+\Msg{* Package: atenddvi 2020-11-11 v1.5 At end DVI hook (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -91,11 +92,11 @@
This is a generated file.
Project: atenddvi
-Version: 2019-12-11 v1.4
+Version: 2020-11-11 v1.5
Copyright (C)
2007 Heiko Oberdiek
- 2016-2019 Oberdiek Package Support Group
+ 2016-2020 Oberdiek Package Support Group
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -126,6 +127,7 @@ and the derived files
\file{atenddvi.drv}{\from{atenddvi.dtx}{driver}}%
\usedir{tex/latex/atenddvi}%
\file{atenddvi.sty}{\from{atenddvi.dtx}{package}}%
+ \file{atenddvi-2019-12-11.sty}{\from{atenddvi.dtx}{packagefrozen}}
}
\catcode32=13\relax% active space
@@ -152,7 +154,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{atenddvi.drv}%
- [2019-12-11 v1.4 At end DVI hook (HO)]%
+ [2020-11-11 v1.5 At end DVI hook (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -166,12 +168,15 @@ and the derived files
% \GetFileInfo{atenddvi.drv}
%
% \title{The \xpackage{atenddvi} package}
-% \date{2019-12-11 v1.4}
+% \date{2020-11-11 v1.5}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/atenddvi/issues}}}
%
% \maketitle
%
+% \textbf{This package is unneeded and does nothing with a \LaTeX{} version
+% 2020-10-01 or newer as \cs{AtBeginDvi} is then provided by the format.}
+%
% \begin{abstract}
% \LaTeX\ offers \cs{AtBeginDvi}. This package \xpackage{atenddvi}
% provides the counterpart \cs{AtEndDvi}. The execution of its
@@ -216,12 +221,31 @@ and the derived files
% }
%
% \section{Implementation}
-%
% \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{atenddvi}%
- [2019-12-11 v1.4 At end DVI hook (HO)]%
+ [2020-11-11 v1.5 At end DVI hook (HO)]%
+\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
+\IfFormatAtLeastTF{2020/10/01}
+ {%
+ \PackageWarning{atenddvi}
+ {Functionality of this package is already\MessageBreak
+ provided by LaTeX.\MessageBreak\MessageBreak
+ It is therefore no longer necessary to load it\MessageBreak
+ and you can safely remove it.\MessageBreak
+ Found on}{}%
+ }{\input{atenddvi-2019-12-11.sty}}
+\IfFormatAtLeastTF{2020/10/01}{}{\endinput}
+
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*packagefrozen>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{atenddvi}%
+ [2020-11-11 v1.5 At end DVI hook / legacy frozen code (HO) ]%
% \end{macrocode}
%
% Load the required packages
@@ -367,7 +391,7 @@ and the derived files
% \end{macro}
%
% \begin{macrocode}
-%</package>
+%</packagefrozen>
% \end{macrocode}
%
% \section{Installation}
@@ -381,27 +405,6 @@ and the derived files
% \item[\CTAN{macros/latex/contrib/atenddvi/atenddvi.pdf}] Documentation.
% \end{description}
%
-%
-% \paragraph{Bundle.} All the packages of the bundle `atenddvi'
-% are also available in a TDS compliant ZIP archive. There
-% the packages are already unpacked and the documentation files
-% are generated. The files and directories obey the TDS standard.
-% \begin{description}
-% \item[\CTANinstall{install/macros/latex/contrib/atenddvi.tds.zip}]
-% \end{description}
-% \emph{TDS} refers to the standard ``A Directory Structure
-% for \TeX\ Files'' (\CTANpkg{tds}). Directories
-% with \xfile{texmf} in their name are usually organized this way.
-%
-% \subsection{Bundle installation}
-%
-% \paragraph{Unpacking.} Unpack the \xfile{atenddvi.tds.zip} in the
-% TDS tree (also known as \xfile{texmf} tree) of your choice.
-% Example (linux):
-% \begin{quote}
-% |unzip atenddvi.tds.zip -d ~/texmf|
-% \end{quote}
-%
% \subsection{Package installation}
%
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
@@ -418,6 +421,7 @@ and the derived files
% \def\t{^^A
% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
% atenddvi.sty & tex/latex/atenddvi/atenddvi.sty\\
+% atenddvi-2019-12-11.sty & atenddvi-2019-12-11.sty\\
% atenddvi.pdf & doc/latex/atenddvi/atenddvi.pdf\\
% atenddvi.dtx & source/latex/atenddvi/atenddvi.dtx\\
% \end{tabular}^^A
@@ -549,6 +553,12 @@ and the derived files
% \begin{Version}{2019-12-11 v1.4}
% \item Updated
% \end{Version}
+% \begin{Version}{2020-11-11 v1.5}
+% \item The package is now unneeded as LaTeX formats
+% newer than 2020-10-01 provide \cs{AtBeginDvi} and so does nothing
+% in this case.
+% The old code has been frozen.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/macros/latex/contrib/atenddvi/atenddvi.pdf b/macros/latex/contrib/atenddvi/atenddvi.pdf
index 4face7ad78..4c5f0e52e3 100644
--- a/macros/latex/contrib/atenddvi/atenddvi.pdf
+++ b/macros/latex/contrib/atenddvi/atenddvi.pdf
Binary files differ
diff --git a/macros/latex/contrib/bookcover/README b/macros/latex/contrib/bookcover/README
index b34e7927c8..e8b3bac744 100644
--- a/macros/latex/contrib/bookcover/README
+++ b/macros/latex/contrib/bookcover/README
@@ -1,4 +1,4 @@
-bookcover class, 2015- by Tibor Tomacs
+bookcover class, 2015-2020 by Tibor Tomacs
This class helps typesetting book covers and dust jackets.
@@ -16,6 +16,6 @@ Install:
- Run 'latex bookcover.ins' for bookcover.cls
- Run 'pdflatex bookcover-example1.tex' for bookcover-example1.pdf
- Run 'pdflatex bookcover-example2.tex' for bookcover-example2.pdf
- - Run three times 'pdflatex bookcover.dtx' for bookcover.pdf
+ - Run twice 'pdflatex bookcover.dtx' for bookcover.pdf
diff --git a/macros/latex/contrib/bookcover/bookcover-example-obsoletemethod.tex b/macros/latex/contrib/bookcover/bookcover-example-obsoletemethod.tex
deleted file mode 100644
index 4d12768ccb..0000000000
--- a/macros/latex/contrib/bookcover/bookcover-example-obsoletemethod.tex
+++ /dev/null
@@ -1,82 +0,0 @@
-\documentclass[spinewidth=25mm,coverwidth=15cm,coverheight=20cm,flapwidth=6cm]{bookcover}
-\usepackage[outline]{contour}
-\usepackage{lipsum}
-\contourlength{1pt}
-\definecolor{lightbrown}{RGB}{176,88,0}
-\colorlet{title}{yellow!60!black}
-
-\begin{document}
-
-% Black background color on the whole cover
-\setbookcover{bgcolor}{whole}{color=black}
-
-% Brown background picture on the whole cover, without the flaps
-\setbookcover{bgpic}{whole without flaps}{./figures/bg.jpg}
-
-% Vertical light brown transparent trails on the back cover by a tikz code
-\setbookcover{bgtikz}{back}{
- \fill[opacity=0.3,color=lightbrown]
- (0mm,0mm) rectangle (20mm,210mm) (100mm,0mm) rectangle (150mm,210mm);}
-
-% Vertical light brown transparent trails on the front cover by a tikz code
-\setbookcover{bgtikz}{front}{
- \fill[opacity=0.3,color=lightbrown]
- (0mm,0mm) rectangle (50mm,210mm) (130mm,0mm) rectangle (150mm,210mm);}
-
-% Remark
-\setbookcover{fgfirst}{above front}{
- \color{blue}A DUST JACKET}
-
-% Text on the front cover
-\setbookcover{fgfirst}{front}{
- \centering
- \vspace{60mm}
- \color{title}\sffamily\bfseries
- \resizebox*{50mm}{8mm}{\contour{black}{Rose Taylor}}
- \par
- \vspace{20mm}
- \resizebox*{90mm}{40mm}{\parbox{35mm}{
- \centering
- \contour{black}{PROBABILITY}\\
- \contour{black}{THEORY}\\}}}
-
-% Picture (cards.png) on the front, behind the title
-\setbookcover{fgsecond}{front}{
- \vspace{70mm}
- \centering
- \includegraphics[width=8cm]{./figures/cards.png}}
-
-% Text on the spine
-\setbookcover{fgfirst}{spine}{%
- \vfill
- \centering
- \rotatebox[origin=c]{90}{\contour{black}{%
- \color{title}\huge\sffamily\bfseries%
- Rose Taylor -- Probability Theory}}
- \vfill}
-
-% Text on the back cover
-\setbookcover{fgfirst}{back}{
- \centering
- \vspace{20mm}
- \parbox{110mm}{\color{white}\lipsum[1]}}
-
-% Text and picture (dice.png) on the front flap
-\setbookcover{fgfirst}{front flap}{
- \centering
- \vspace{20mm}
- \parbox{40mm}{\color{white}\lipsum[2]}
- \vfill
- \includegraphics[width=30mm]{./figures/dice.png}
- \vspace{10mm}}
-
-% Text on the back flap
-\setbookcover{fgfirst}{back flap}{
- \centering
- \vspace{20mm}
- \parbox{40mm}{\color{white}\lipsum[2]}}
-
-% Making the dust jucket
-\makebookcover
-
-\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/bookcover/bookcover-example1.pdf b/macros/latex/contrib/bookcover/bookcover-example1.pdf
index f3d0f46efd..91286e1c69 100644
--- a/macros/latex/contrib/bookcover/bookcover-example1.pdf
+++ b/macros/latex/contrib/bookcover/bookcover-example1.pdf
Binary files differ
diff --git a/macros/latex/contrib/bookcover/bookcover-example2.pdf b/macros/latex/contrib/bookcover/bookcover-example2.pdf
index 06c4eb6fc6..896896656b 100644
--- a/macros/latex/contrib/bookcover/bookcover-example2.pdf
+++ b/macros/latex/contrib/bookcover/bookcover-example2.pdf
Binary files differ
diff --git a/macros/latex/contrib/bookcover/bookcover.dtx b/macros/latex/contrib/bookcover/bookcover.dtx
index 304ad059fe..b9ab7e69cc 100644
--- a/macros/latex/contrib/bookcover/bookcover.dtx
+++ b/macros/latex/contrib/bookcover/bookcover.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2015- by Tibor Tomacs
+% Copyright (C) 2015-2020 by Tibor Tomacs
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.2
@@ -17,11 +17,12 @@
% \iffalse
%<*driver>
\ProvidesFile{bookcover.dtx}
-\newcommand{\eifiledate}{2018/01/21}
-\newcommand{\eifilever}{v2.3}
+\newcommand{\eifiledate}{2020/11/12}
+\newcommand{\eifilever}{v2.4}
%</driver>
+%<class>
%<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<class>\ProvidesClass{bookcover}[2018/01/21 v2.3 class for book covers and dust jackets]
+%<class>\ProvidesClass{bookcover}[2020/11/12 v2.4 class for book covers and dust jackets]
%
%<*driver>
\documentclass{ltxdoc}
@@ -130,7 +131,7 @@
%
% \section{Loading class}
% The class \texttt{bookcover} requires the services of the class \texttt{article} and the following packages:
-% \texttt{kvoptions}, \texttt{textpos}, \texttt{geometry}, \texttt{graphicx}, \texttt{calc}, \texttt{ifthen}, \texttt{tikz}, \texttt{fgruler}.
+% \texttt{kvoptions}, \texttt{geometry}, \texttt{graphicx}, \texttt{calc}, \texttt{ifthen}, \texttt{tikz}, \texttt{fgruler}.
%
% \medskip\noindent
% Load the class as usual, with
@@ -285,7 +286,7 @@
% \begin{commandlst}
% \bookcovercomponent{tikz}{!<part>!}{!<tikz code>!}
% \end{commandlst}
-% The origin of the Ti\emph{k}Z figure is the lower left corner of the \meta{part}. Two rectangle nodes come into being: \commandinline{part} and \commandinline{trimmed part}. (Thank Zunbeltz Izaola for the idea.)
+% The origin of the Ti\emph{k}Z figure is the lower left corner of the \meta{part}. Two rectangle nodes come into being: \commandinline{part} and \commandinline{trimmed part}. (Thanks to Zunbeltz Izaola for the idea.)
%
% \bigskip\noindent\example
% \begin{examplelst}
@@ -514,16 +515,11 @@
% \end{document}
% \end{examplelst}
%
-% \noindent You can compile this file with \texttt{latex.exe} or \texttt{xelatex.exe}. Using \texttt{pdflatex.exe} or \texttt{lualatex.exe}, write the following code into the preamble:
+% \noindent You can compile this file with \texttt{latex} or \texttt{xelatex}. Using \texttt{pdflatex} or \texttt{lualatex}, write the following code into the preamble:
% \begin{examplelst}
% \usepackage[pdfcrop={-hires}]{auto-pst-pdf}
% \end{examplelst}
-% In this case, the command to compile this file is the following:
-%
-% \medskip\texttt{pdflatex -shell-escape filename}\\
-% or
-%
-% \texttt{lualatex -shell-escape filename}
+% In this case, the \texttt{pdflatex} or \texttt{lualatex} must be called with the \texttt{-shell-escape} option.
%
% \bigskip
% \begin{center}
@@ -531,115 +527,12 @@
% \fcolorbox{black!50}{white}{\includegraphics[width=\textwidth-.8pt]{figures/barcode}}
% \end{center}
%
-% \newpage\section{Obsolete method}
-%
-% {\large\bfseries\color{red}The goal of the \emph{obsolete method} is to be compatible with the early versions of the \texttt{bookcover}. It is not recommended to use it in the future, because the method described in the Section~\begin{NoHyper}\ref{sec:mainmethod}\end{NoHyper} is much more flexible!\par}
-%
-% \subsection{Commands}
-%
-% \textbf{Background colors}
-% \begin{commandlst}
-% \setbookcover{bgcolor}{!<background part>!}{!<colors>!}
-% \end{commandlst}
-% See the \meta{background part} in Subsubsection \ref{subsubsec:background} and the \meta{colors} in the page \pageref{page:color}.
-%
-% \bigskip\noindent\textbf{Background pictures}
-% \begin{commandlst}
-% \setbookcover{bgpic}{!<background part>!}{!<picture file>!}
-% \end{commandlst}
-% See the \meta{background part} in Subsubsection \ref{subsubsec:background}. The picture will be rescaled according to the sizes of the current background part.
-%
-% \bigskip\noindent\textbf{Background Ti\emph{k}Z figures}
-% \begin{commandlst}
-% \setbookcover{bgtikz}{!<background part>!}{!<tikz code>!}
-% \end{commandlst}
-% See the \meta{background part} in Subsubsection \ref{subsubsec:background}. The Ti\emph{k}Z figure will be placed to the upper left corner of the current background part, without resizing.
-% Using the option \texttt{bgtikznodes} of the document class:
-%
-% \begin{itemize}
-% \item the origin moves to the lower left corner of the current background part;
-% \item two rectangle nodes come into being: \commandinline{part} and \commandinline{trimmed part}.
-% \end{itemize}
-%
-% \noindent The option \texttt{bgtikzclip} of the document class works the same as \texttt{bgtikznodes}, but it clips the current part.
-%
-% \bigskip\noindent\textbf{First foreground}
-% \begin{commandlst}
-% \setbookcover{fgfirst}{!<foreground part>!}{!<content>!}
-% \end{commandlst}
-% See the \meta{foreground part} in Subsubsection \ref{subsubsec:foreground}. The first foreground is the top layer of the book cover (see Subsection \ref{subsec:layers}).
-%
-% \bigskip\noindent\textbf{Second foreground}
-% \begin{commandlst}
-% \setbookcover{fgsecond}{!<foreground part>!}{!<content>!}
-% \end{commandlst}
-% See the \meta{foreground part} in Subsubsection \ref{subsubsec:foreground}. The second foreground is under the first foreground (see Subsection \ref{subsec:layers}).
-%
-% \bigskip\noindent\textbf{Making book cover}
-% \begin{commandlst}
-% \makebookcover
-% \end{commandlst}
-% This command makes the book cover by using the contents of the background and foreground.
-%
-% \subsection{Parts in the obsolete method}
-% \subsubsection{Background parts}\label{subsubsec:background}
-% \begin{center}
-% \textbf{With flaps}\\*[0pt]
-% \includegraphics{figures/background1}\\[2mm]
-% \includegraphics{figures/background2}\\[2mm]
-% \includegraphics{figures/background3}
-% \end{center}
-% \begin{center}
-% \textbf{Without flaps}\\*[0pt]
-% \includegraphics{figures/background4}\\[2mm]
-% \includegraphics{figures/background5}
-% \end{center}
-%
-% \subsubsection{Foreground parts}\label{subsubsec:foreground}
-% \begin{center}
-% \textbf{With flaps}\\*[0pt]
-% \includegraphics{figures/foreground1}
-% \end{center}
-% \begin{center}
-% \textbf{Without flaps}\\*[0pt]
-% \includegraphics{figures/foreground2}
-% \end{center}
-% The other name of \texttt{above front} is \texttt{remark}.
-%
-% \subsection{Layers}\label{subsec:layers}
-% In the following table we can see the hierarchy of the layers:
-% \begin{center}
-% \begin{tabular}{@{}ll@{}c@{}}
-% \cline{1-2}
-% \multirow{2}*{|fgfirst|} & |above front|, |below front|, |above back|, |below back|& \color{layer}top layer\\
-% & |back|, |front|, |spine|, |front flap|, |back flap| &\color{layer}$\uparrow$\\
-% \cline{1-2}
-% |fgsecond| & |back|, |front|, |spine|, |front flap|, |back flap|&\color{layer}$\uparrow$\\
-% \cline{1-2}
-% & |back|, |front|, |spine|, |front flap|, |back flap| &\color{layer}$\uparrow$\\
-% |bgtikz| & |whole without flaps| &\color{layer}$\uparrow$\\
-% & |whole| &\color{layer}$\uparrow$\\
-% \cline{1-2}
-% & |back|, |front|, |spine|, |front flap|, |back flap| &\color{layer}$\uparrow$\\
-% |bgpic| & |whole without flaps| &\color{layer}$\uparrow$\\
-% & |whole| &\color{layer}$\uparrow$\\
-% \cline{1-2}
-% & |back|, |front|, |spine|, |front flap|, |back flap| &\color{layer}$\uparrow$\\
-% |bgcolor| & |whole without flaps| &\color{layer}$\uparrow$\\
-% & |whole| & \color{layer}bottom layer\\
-% \cline{1-2}
-% \end{tabular}
-% \end{center}
-%
-% \subsection{Example}
-% See the figure in the page \pageref{page:example1}.
-% \lstinputlisting[style=examplefile]{bookcover-example-obsoletemethod.tex}
-%
% \StopEventually{}
%
% \begin{macrocode}
-%%
+
%% OPTIONS
+
\RequirePackage{kvoptions}
\SetupKeyvalOptions{family=bookcover,prefix=bookcover@}
\DeclareVoidOption{10pt}{\PassOptionsToClass{10pt}{article}}
@@ -654,28 +547,24 @@
\DeclareStringOption[5mm]{bleedwidth}
\DeclareStringOption[red]{markcolor}
\DeclareBoolOption[false]{trimmed}
-\DeclareBoolOption[false]{bgtikznodes}% for obsolete method
-\DeclareBoolOption[false]{bgtikzclip}% for obsolete method
\ProcessKeyvalOptions{bookcover}
-\ifbookcover@bgtikzclip\bookcover@bgtikznodestrue\fi% for obsolete method
%% CLASS AND PACKAGES
-%%
-%% Don't use 'absolute' option of 'textpos'! It causes problems in some cases:
-%% xelatex.exe + pst-barcode
-%% pdflatex.exe or lualatex.exe + pst-barcode + auto-pst-pdf
-%%
+
\LoadClass{article}
-\RequirePackage{textpos,geometry,graphicx,calc,ifthen,tikz}
+\RequirePackage{geometry,graphicx,calc,ifthen,tikz}
\RequirePackage[nonefgrulers]{fgruler}
%% PAGE STYLE
+
\pagestyle{empty}
%% NEW IF
+
\newif\if@inbookcoverenv
%% USER LENGTHS
+
\newlength{\coverwidth}
\newlength{\coverheight}
\newlength{\spinewidth}
@@ -685,6 +574,8 @@
\newlength{\bleedwidth}
%% INTERNAL LENGTHS
+
+\newlength{\bookcover@templength@}
\newlength{\bookcover@xpos@}
\newlength{\bookcover@ypos@}
\newlength{\bookcover@partwidth@}
@@ -699,6 +590,7 @@
\let\partwidth\bookcover@partwidth@
%% USER LENGTHS SETTING
+
\setlength{\coverwidth}{\bookcover@coverwidth}
\setlength{\coverheight}{\bookcover@coverheight}
\setlength{\spinewidth}{\bookcover@spinewidth}
@@ -708,41 +600,48 @@
\setlength{\bleedwidth}{\bookcover@bleedwidth}
%% PAGE DIMENSIONS SETTING
-\geometry{left=0pt,right=0pt,bottom=0pt,top=-1em,
- paperwidth=2\marklength+2\bleedwidth+2\coverwidth+2\flapwidth+\spinewidth,
- paperheight=2\marklength+2\bleedwidth+\coverheight}
+
+\geometry{%
+ margin=0pt,
+ paperwidth=2\marklength+2\bleedwidth+2\coverwidth+2\flapwidth+\spinewidth,
+ paperheight=2\marklength+2\bleedwidth+\coverheight}
%% NO PARAGRAPH INDENTATION
+
\setlength{\parindent}{0pt}
%% INTERNAL LENGTHS SETTING
+
\def\bookcover@xpos#1{\setlength{\bookcover@xpos@}{#1}}
\def\bookcover@ypos#1{\setlength{\bookcover@ypos@}{#1}}
\def\bookcover@partwidth#1{\setlength{\bookcover@partwidth@}{#1}}
\def\bookcover@partheight#1{\setlength{\bookcover@partheight@}{#1}}
\def\bookcover@tikz@trimmed@part@param#1#2#3#4{%
\setlength{\bookcover@tikz@trimmed@part@width@minus}{#1}%
- \setlength{\bookcover@tikz@trimmed@part@height@minus}{#2}
- \setlength{\bookcover@tikz@trimmed@part@push@right}{#3}
+ \setlength{\bookcover@tikz@trimmed@part@height@minus}{#2}%
+ \setlength{\bookcover@tikz@trimmed@part@push@right}{#3}%
\setlength{\bookcover@tikz@trimmed@part@push@up}{#4}}
-\def\bookcover@bgtikz@trimmed@part@param#1#2{
- \bookcover@tikz@trimmed@part@param{#1}{2\bleedwidth}{#2}{\bleedwidth}}% for obsolete method
\let\setpartposx\bookcover@xpos
\let\setpartposy\bookcover@ypos
\let\setpartwidth\bookcover@partwidth
\let\setpartheight\bookcover@partheight
\let\settrimmedpart\bookcover@tikz@trimmed@part@param
+%% POSBOX
+
+\newcommand{\bookcover@posbox}[4]{%
+ \setlength{\bookcover@templength@}{#3}%
+ \put(#2,-\bookcover@templength@){\parbox[b][0pt][t]{#1}{#4}}}
+
%% MARKS
-\def\bookcover@vmark{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- {\color{\bookcover@markcolor}\rule[0pt]{\markthick}{\marklength}}
- \end{textblock*}}
-\def\bookcover@hmark{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- {\color{\bookcover@markcolor}\rule[0pt]{\marklength}{\markthick}}
- \end{textblock*}}
+\def\bookcover@vmark{%
+ \bookcover@posbox{\bookcover@partwidth@}{\bookcover@xpos@}{\bookcover@ypos@}{%
+ {\color{\bookcover@markcolor}\rule[0pt]{\markthick}{\marklength}}}}
+
+\def\bookcover@hmark{%
+ \bookcover@posbox{\bookcover@partwidth@}{\bookcover@xpos@}{\bookcover@ypos@}{%
+ {\color{\bookcover@markcolor}\rule[0pt]{\marklength}{\markthick}}}}
\def\bookcover@marks{
\bookcover@ypos{0mm}
@@ -791,8 +690,9 @@
\bookcover@hmark}
%% TRIMMING
-\def\bookcover@trimming{
- \begin{textblock*}{\paperwidth}(0mm,0mm)
+
+\def\bookcover@trimming{%
+ \bookcover@posbox{\paperwidth}{0mm}{0mm}{%
\begin{tikzpicture}
\begin{scope}[color=white]
\fill(0,0)--
@@ -817,8 +717,7 @@
(\paperwidth-\marklength-\bleedwidth,\marklength+\bleedwidth)--
(\paperwidth-\marklength-\bleedwidth,\paperheight-\marklength-\bleedwidth)--
(\marklength+\bleedwidth,\paperheight-\marklength-\bleedwidth)--cycle;
- \end{tikzpicture}
- \end{textblock*}
+ \end{tikzpicture}}
\bookcover@ypos{\bleedwidth}
\bookcover@partwidth{\markthick}
\ifdim\flapwidth>0mm
@@ -842,7 +741,21 @@
\bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth-.5\markthick}
\bookcover@vmark}
+%% BOOKCOVER ENVIRONMENT
+
+\def\bookcover{%
+ \@inbookcoverenvtrue%
+ \newpage%
+ \begin{picture}(\paperwidth,\paperheight)(0,-\paperheight)}
+
+\def\endbookcover{%
+ \bookcover@marks%
+ \ifbookcover@trimmed\bookcover@trimming\fi%
+ \end{picture}%
+ \@inbookcoverenvfalse}
+
%% BOOKCOVER COMPONENT
+
\long\def\bookcovercomponent#1#2#3{
\if@inbookcoverenv\else
\@latexerr{\string\bookcovercomponent\space is not in 'bookcover' environment.}{}\fi
@@ -859,25 +772,21 @@
\ifdim\bookcover@partheight@>0mm
\csname bookcover@componenttype@#1\endcsname{#3}\fi\fi\fi}}}
-%% BOOKCOVER ENVIRONMENT
-\def\bookcover{\@inbookcoverenvtrue}
-\def\endbookcover{
- \bookcover@marks
- \ifbookcover@trimmed\bookcover@trimming\fi
- \mbox{}\newpage\@inbookcoverenvfalse}
-
%% NEW BOOKCOVER PART
+
\def\newbookcoverpart#1#2{
\@ifundefined{bookcover@part@param@#1}{
\expandafter\def\csname bookcover@part@param@#1\endcsname{#2}}
{\@latexerr{Part '#1' already defined.}{}}}
%% RENEW BOOKCOVER PART
+
\def\renewbookcoverpart#1#2{
\@ifundefined{bookcover@part@param@#1}{\@latexerr{Part '#1' undefined.}{}}{
\expandafter\def\csname bookcover@part@param@#1\endcsname{#2}}}
%% NEW NAME BOOKCOVER PART
+
\def\newnamebookcoverpart#1#2{
\@ifundefined{bookcover@part@param@#1}{
\@ifundefined{bookcover@part@param@#2}{\@latexerr{Part '#2' undefined.}{}}{
@@ -886,23 +795,22 @@
{\@latexerr{Part '#1' already defined.}{}}}
%% NEW BOOKCOVER COMPONENT TYPE
-\def\newbookcovercomponenttype#1#2{
- \@ifundefined{bookcover@componenttype@#1}{
- \long\expandafter\def\csname bookcover@componenttype@#1\endcsname##1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- #2
- \end{textblock*}}}
+
+\def\newbookcovercomponenttype#1#2{%
+ \@ifundefined{bookcover@componenttype@#1}{%
+ \long\expandafter\def\csname bookcover@componenttype@#1\endcsname##1{%
+ \bookcover@posbox{\bookcover@partwidth@}{\bookcover@xpos@}{\bookcover@ypos@}{#2}}}
{\@latexerr{Component type '#1' already defined.}{}}}
%% RENEW BOOKCOVER COMPONENT TYPE
-\def\renewbookcovercomponenttype#1#2{
- \@ifundefined{bookcover@componenttype@#1}{\@latex@error{Component type '#1' undefined.}{}}{
- \long\expandafter\def\csname bookcover@componenttype@#1\endcsname##1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- #2
- \end{textblock*}}}}
+
+\def\renewbookcovercomponenttype#1#2{%
+ \@ifundefined{bookcover@componenttype@#1}{\@latex@error{Component type '#1' undefined.}{}}{%
+ \long\expandafter\def\csname bookcover@componenttype@#1\endcsname##1{%
+ \bookcover@posbox{\bookcover@partwidth@}{\bookcover@xpos@}{\bookcover@ypos@}{#2}}}}
%% NEW NAME BOOKCOVER COMPONENT TYPE
+
\def\newnamebookcovercomponenttype#1#2{
\@ifundefined{bookcover@componenttype@#1}{
\@ifundefined{bookcover@componenttype@#2}{\@latexerr{Component type '#2' undefined.}{}}{
@@ -911,6 +819,7 @@
{\@latexerr{Component type '#1' already defined.}{}}}
%% COMPONENT TYPES
+
\newbookcovercomponenttype{color}{
\tikz\fill[#1] (0,0) rectangle (\bookcover@partwidth@,\bookcover@partheight@);}
@@ -973,6 +882,7 @@
\squareruler[#1]{lowerright}{\bookcover@rulerwidth@}{\bookcover@rulerheight@}}{}}
%% BOOKCOVER PARTS
+
\newbookcoverpart{bg back flap}{
\ifdim\flapwidth>0mm
\bookcover@ypos{\marklength}
@@ -1236,379 +1146,6 @@
\bookcover@xpos{\marklength+\bleedwidth}
\bookcover@partwidth{2\coverwidth+2\flapwidth+\spinewidth}}
-%%%%%%%%%%%%%%%%%%%%%
-%% OBSOLETE METHOD %%
-%%%%%%%%%%%%%%%%%%%%%
-
-%% MAIN LAYERS
-\def\bookcover@bgcolor#1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- \tikz\fill\expandafter[#1] (0,0) rectangle (\bookcover@partwidth@,\bookcover@partheight@);
- \end{textblock*}}
-
-\def\bookcover@bgpic#1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- \includegraphics[width=\bookcover@partwidth@,height=\bookcover@partheight@]{#1}
- \end{textblock*}}
-
-\def\bookcover@bgtikz#1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- \ifbookcover@bgtikznodes
- \begin{tikzpicture}[overlay,yshift=-\bookcover@partheight@]
- \begin{scope}[transparent,line width=0pt]
- \pgfset{minimum width=\bookcover@partwidth@,minimum height=\bookcover@partheight@}
- \pgfnode{rectangle}{south west}{}{current part}{\pgfusepath{draw}}% for v1.1.1
- \pgfnode{rectangle}{south west}{}{part}{\pgfusepath{draw}}
- \pgfset{minimum width=\bookcover@partwidth@-\bookcover@tikz@trimmed@part@width@minus,
- minimum height=\bookcover@partheight@-\bookcover@tikz@trimmed@part@height@minus}
- \pgftransformshift{\pgfpoint{\bookcover@tikz@trimmed@part@push@right}
- {\bookcover@tikz@trimmed@part@push@up}}
- \pgfnode{rectangle}{south west}{}{current trimmed part}{\pgfusepath{draw}}% for v1.1.1
- \pgfnode{rectangle}{south west}{}{trimmed part}{\pgfusepath{draw}}
- \end{scope}
- \ifbookcover@bgtikzclip
- \clip (part.south west) rectangle (part.north east);\fi
- \else\begin{tikzpicture}\fi
- #1
- \end{tikzpicture}
- \end{textblock*}}
-
-\def\bookcover@fg#1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- \parbox[t][\bookcover@partheight@][t]{\bookcover@partwidth@}{#1}
- \end{textblock*}}
-
-\def\bookcover@remark#1{
- \begin{textblock*}{\bookcover@partwidth@}(\bookcover@xpos@,\bookcover@ypos@)
- \parbox[t][\bookcover@partheight@][c]{\bookcover@partwidth@}{\begin{center}#1\end{center}}
- \end{textblock*}}
-
-%% RESET DATAS
-\def\bookcover@reset{
- \def\bookcover@bgcolor@whole{}
- \def\bookcover@bgcolor@wholewf{}
- \def\bookcover@bgcolor@back{}
- \def\bookcover@bgcolor@front{}
- \def\bookcover@bgcolor@backflap{}
- \def\bookcover@bgcolor@frontflap{}
- \def\bookcover@bgcolor@spine{}
- \def\bookcover@bgpic@whole{}
- \def\bookcover@bgpic@wholewf{}
- \def\bookcover@bgpic@back{}
- \def\bookcover@bgpic@front{}
- \def\bookcover@bgpic@backflap{}
- \def\bookcover@bgpic@frontflap{}
- \def\bookcover@bgpic@spine{}
- \def\bookcover@bgtikz@whole{}
- \def\bookcover@bgtikz@wholewf{}
- \def\bookcover@bgtikz@back{}
- \def\bookcover@bgtikz@front{}
- \def\bookcover@bgtikz@backflap{}
- \def\bookcover@bgtikz@frontflap{}
- \def\bookcover@bgtikz@spine{}
- \def\bookcover@fgfirst@back{}
- \def\bookcover@fgfirst@front{}
- \def\bookcover@fgfirst@spine{}
- \def\bookcover@fgfirst@backflap{}
- \def\bookcover@fgfirst@frontflap{}
- \def\bookcover@fgfirst@abovefront{}
- \def\bookcover@fgfirst@belowfront{}
- \def\bookcover@fgfirst@aboveback{}
- \def\bookcover@fgfirst@belowback{}
- \def\bookcover@fgsecond@back{}
- \def\bookcover@fgsecond@front{}
- \def\bookcover@fgsecond@spine{}
- \def\bookcover@fgsecond@backflap{}
- \def\bookcover@fgsecond@frontflap{}}
-\bookcover@reset
-
-%% SET BOOKCOVER
-\long\def\setbookcover#1#2#3{
- \ifthenelse{\equal{#1}{bgcolor}}{
- \ifthenelse{\equal{#2}{whole}}{\def\bookcover@bgcolor@whole{#3}}{}
- \ifthenelse{\equal{#2}{whole without flaps}}{\def\bookcover@bgcolor@wholewf{#3}}{}
- \ifthenelse{\equal{#2}{back}}{\def\bookcover@bgcolor@back{#3}}{}
- \ifthenelse{\equal{#2}{front}}{\def\bookcover@bgcolor@front{#3}}{}
- \ifthenelse{\equal{#2}{back flap}}{\def\bookcover@bgcolor@backflap{#3}}{}
- \ifthenelse{\equal{#2}{front flap}}{\def\bookcover@bgcolor@frontflap{#3}}{}
- \ifthenelse{\equal{#2}{spine}}{\def\bookcover@bgcolor@spine{#3}}{}}{}
- \ifthenelse{\equal{#1}{bgpic}}{
- \ifthenelse{\equal{#2}{whole}}{\def\bookcover@bgpic@whole{#3}}{}
- \ifthenelse{\equal{#2}{whole without flaps}}{\def\bookcover@bgpic@wholewf{#3}}{}
- \ifthenelse{\equal{#2}{back}}{\def\bookcover@bgpic@back{#3}}{}
- \ifthenelse{\equal{#2}{front}}{\def\bookcover@bgpic@front{#3}}{}
- \ifthenelse{\equal{#2}{back flap}}{\def\bookcover@bgpic@backflap{#3}}{}
- \ifthenelse{\equal{#2}{front flap}}{\def\bookcover@bgpic@frontflap{#3}}{}
- \ifthenelse{\equal{#2}{spine}}{\def\bookcover@bgpic@spine{#3}}{}}{}
- \ifthenelse{\equal{#1}{bgtikz}}{
- \ifthenelse{\equal{#2}{whole}}{\def\bookcover@bgtikz@whole{#3}}{}
- \ifthenelse{\equal{#2}{whole without flaps}}{\def\bookcover@bgtikz@wholewf{#3}}{}
- \ifthenelse{\equal{#2}{back}}{\def\bookcover@bgtikz@back{#3}}{}
- \ifthenelse{\equal{#2}{front}}{\def\bookcover@bgtikz@front{#3}}{}
- \ifthenelse{\equal{#2}{back flap}}{\def\bookcover@bgtikz@backflap{#3}}{}
- \ifthenelse{\equal{#2}{front flap}}{\def\bookcover@bgtikz@frontflap{#3}}{}
- \ifthenelse{\equal{#2}{spine}}{\def\bookcover@bgtikz@spine{#3}}{}}{}
- \ifthenelse{\equal{#1}{fgfirst}}{
- \ifthenelse{\equal{#2}{back}}{\def\bookcover@fgfirst@back{#3}}{}
- \ifthenelse{\equal{#2}{front}}{\def\bookcover@fgfirst@front{#3}}{}
- \ifthenelse{\equal{#2}{spine}}{\def\bookcover@fgfirst@spine{#3}}{}
- \ifthenelse{\equal{#2}{back flap}}{\def\bookcover@fgfirst@backflap{#3}}{}
- \ifthenelse{\equal{#2}{front flap}}{\def\bookcover@fgfirst@frontflap{#3}}{}
- \ifthenelse{\equal{#2}{remark}}{\def\bookcover@fgfirst@abovefront{#3}}{}% for v1.0
- \ifthenelse{\equal{#2}{above front}}{\def\bookcover@fgfirst@abovefront{#3}}{}
- \ifthenelse{\equal{#2}{below front}}{\def\bookcover@fgfirst@belowfront{#3}}{}
- \ifthenelse{\equal{#2}{above back}}{\def\bookcover@fgfirst@aboveback{#3}}{}
- \ifthenelse{\equal{#2}{below back}}{\def\bookcover@fgfirst@belowback{#3}}{}}{}
- \ifthenelse{\equal{#1}{fgsecond}}{
- \ifthenelse{\equal{#2}{back}}{\def\bookcover@fgsecond@back{#3}}{}
- \ifthenelse{\equal{#2}{front}}{\def\bookcover@fgsecond@front{#3}}{}
- \ifthenelse{\equal{#2}{spine}}{\def\bookcover@fgsecond@spine{#3}}{}
- \ifthenelse{\equal{#2}{back flap}}{\def\bookcover@fgsecond@backflap{#3}}{}
- \ifthenelse{\equal{#2}{front flap}}{\def\bookcover@fgsecond@frontflap{#3}}{}}{}}
-
-%% MAKE BOOKCOVER
-\def\makebookcover{
-%% background parameters
-\bookcover@ypos{\marklength}
-\bookcover@partheight{\coverheight+2\bleedwidth}
-%% {bgcolor}{whole}
-\ifx\bookcover@bgcolor@whole\@empty\else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{2\coverwidth+2\bleedwidth+2\flapwidth+\spinewidth}
- \bookcover@bgcolor{\bookcover@bgcolor@whole}\fi
-%% {bgcolor}{whole without flaps}
-\ifx\bookcover@bgcolor@wholewf\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{2\coverwidth+\spinewidth}
- \else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{2\coverwidth+2\bleedwidth+\spinewidth}\fi
- \bookcover@bgcolor{\bookcover@bgcolor@wholewf}\fi
-%% {bgcolor}{back flap}
-\ifx\bookcover@bgcolor@backflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{\flapwidth+\bleedwidth}
- \bookcover@bgcolor{\bookcover@bgcolor@backflap}\fi\fi
-%% {bgcolor}{back}
-\ifx\bookcover@bgcolor@back\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{\coverwidth}
- \else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{\coverwidth+\bleedwidth}\fi
- \bookcover@bgcolor{\bookcover@bgcolor@back}\fi
-%% {bgcolor}{spine}
-\ifx\bookcover@bgcolor@spine\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth}
- \bookcover@partwidth{\spinewidth}
- \bookcover@bgcolor{\bookcover@bgcolor@spine}\fi
-%% {bgcolor}{front}
-\ifx\bookcover@bgcolor@front\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth}
- \else
- \bookcover@xpos{\marklength+\bleedwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth+\bleedwidth}\fi
- \bookcover@bgcolor{\bookcover@bgcolor@front}\fi
-%% {bgcolor}{front flap}
-\ifx\bookcover@bgcolor@frontflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+2\coverwidth+\spinewidth}
- \bookcover@partwidth{\flapwidth+\bleedwidth}
- \bookcover@bgcolor{\bookcover@bgcolor@frontflap}\fi\fi
-%% {bgpic}{whole}
-\ifx\bookcover@bgpic@whole\@empty\else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{2\coverwidth+2\bleedwidth+2\flapwidth+\spinewidth}
- \bookcover@bgpic{\bookcover@bgpic@whole}\fi
-%% {bgpic}{whole without flaps}
-\ifx\bookcover@bgpic@wholewf\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{2\coverwidth+\spinewidth}
- \else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{2\coverwidth+2\bleedwidth+\spinewidth}\fi
- \bookcover@bgpic{\bookcover@bgpic@wholewf}\fi
-%% {bgpic}{back flap}
-\ifx\bookcover@bgpic@backflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{\flapwidth+\bleedwidth}
- \bookcover@bgpic{\bookcover@bgpic@backflap}\fi\fi
-%% {bgpic}{back}
-\ifx\bookcover@bgpic@back\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{\coverwidth}
- \else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{\coverwidth+\bleedwidth}\fi
- \bookcover@bgpic{\bookcover@bgpic@back}\fi
-%% {bgpic}{spine}
-\ifx\bookcover@bgpic@spine\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth}
- \bookcover@partwidth{\spinewidth}
- \bookcover@bgpic{\bookcover@bgpic@spine}\fi
-%% {bgpic}{front}
-\ifx\bookcover@bgpic@front\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth}
- \else
- \bookcover@xpos{\marklength+\bleedwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth+\bleedwidth}\fi
- \bookcover@bgpic{\bookcover@bgpic@front}\fi
-%% {bgpic}{front flap}
-\ifx\bookcover@bgpic@frontflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+2\coverwidth+\spinewidth}
- \bookcover@partwidth{\flapwidth+\bleedwidth}
- \bookcover@bgpic{\bookcover@bgpic@frontflap}\fi\fi
-%% {bgtikz}{whole}
-\ifx\bookcover@bgtikz@whole\@empty\else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{2\coverwidth+2\bleedwidth+2\flapwidth+\spinewidth}
- \bookcover@bgtikz@trimmed@part@param{2\bleedwidth}{\bleedwidth}
- \bookcover@bgtikz{\bookcover@bgtikz@whole}\fi
-%% {bgtikz}{whole without flaps}
-\ifx\bookcover@bgtikz@wholewf\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{2\coverwidth+\spinewidth}
- \bookcover@bgtikz@trimmed@part@param{0pt}{0pt}
- \else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{2\coverwidth+2\bleedwidth+\spinewidth}
- \bookcover@bgtikz@trimmed@part@param{2\bleedwidth}{\bleedwidth}\fi
- \bookcover@bgtikz{\bookcover@bgtikz@wholewf}\fi
-%% {bgtikz}{back flap}
-\ifx\bookcover@bgtikz@backflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{\flapwidth+\bleedwidth}
- \bookcover@bgtikz@trimmed@part@param{\bleedwidth}{\bleedwidth}
- \bookcover@bgtikz{\bookcover@bgtikz@backflap}\fi\fi
-%% {bgtikz}{back}
-\ifx\bookcover@bgtikz@back\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{\coverwidth}
- \bookcover@bgtikz@trimmed@part@param{0pt}{0pt}
- \else
- \bookcover@xpos{\marklength}
- \bookcover@partwidth{\coverwidth+\bleedwidth}
- \bookcover@bgtikz@trimmed@part@param{\bleedwidth}{\bleedwidth}\fi
- \bookcover@bgtikz{\bookcover@bgtikz@back}\fi
-%% {bgtikz}{spine}
-\ifx\bookcover@bgtikz@spine\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth}
- \bookcover@partwidth{\spinewidth}
- \bookcover@bgtikz@trimmed@part@param{0pt}{0pt}
- \bookcover@bgtikz{\bookcover@bgtikz@spine}\fi
-%% {bgtikz}{front}
-\ifx\bookcover@bgtikz@front\@empty\else
- \ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth}
- \bookcover@bgtikz@trimmed@part@param{0pt}{0pt}
- \else
- \bookcover@xpos{\marklength+\bleedwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth+\bleedwidth}
- \bookcover@bgtikz@trimmed@part@param{\bleedwidth}{0pt}\fi
- \bookcover@bgtikz{\bookcover@bgtikz@front}\fi
-%% {bgtikz}{front flap}
-\ifx\bookcover@bgtikz@frontflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+2\coverwidth+\spinewidth}
- \bookcover@partwidth{\flapwidth+\bleedwidth}
- \bookcover@bgtikz@trimmed@part@param{\bleedwidth}{0pt}
- \bookcover@bgtikz{\bookcover@bgtikz@frontflap}\fi\fi
-%% foreground parameters
-\bookcover@ypos{\marklength+\bleedwidth}
-\bookcover@partheight{\coverheight}
-%% {fgsecond}{back flap}
-\ifx\bookcover@fgsecond@backflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth}
- \bookcover@partwidth{\flapwidth}
- \bookcover@fg{\bookcover@fgsecond@backflap}\fi\fi
-%% {fgsecond}{back}
-\ifx\bookcover@fgsecond@back\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{\coverwidth}
- \bookcover@fg{\bookcover@fgsecond@back}\fi
-%% {fgsecond}{spine}
-\ifx\bookcover@fgsecond@spine\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth}
- \bookcover@partwidth{\spinewidth}
- \bookcover@fg{\bookcover@fgsecond@spine}\fi
-%% {fgsecond}{front}
-\ifx\bookcover@fgsecond@front\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth}
- \bookcover@fg{\bookcover@fgsecond@front}\fi
-%% {fgsecond}{front flap}
-\ifx\bookcover@fgsecond@frontflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+2\coverwidth+\spinewidth}
- \bookcover@partwidth{\flapwidth}
- \bookcover@fg{\bookcover@fgsecond@frontflap}\fi\fi
-%% {fgfirst}{back flap}
-\ifx\bookcover@fgfirst@backflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth}
- \bookcover@partwidth{\flapwidth}
- \bookcover@fg{\bookcover@fgfirst@backflap}\fi\fi
-%% {fgfirst}{back}
-\ifx\bookcover@fgfirst@back\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@partwidth{\coverwidth}
- \bookcover@fg{\bookcover@fgfirst@back}\fi
-%% {fgfirst}{spine}
-\ifx\bookcover@fgfirst@spine\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth}
- \bookcover@partwidth{\spinewidth}
- \bookcover@fg{\bookcover@fgfirst@spine}\fi
-%% {fgfirst}{front}
-\ifx\bookcover@fgfirst@front\@empty\else
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@partwidth{\coverwidth}
- \bookcover@fg{\bookcover@fgfirst@front}\fi
-%% {fgfirst}{front flap}
-\ifx\bookcover@fgfirst@frontflap\@empty\else\ifdim\flapwidth>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+2\coverwidth+\spinewidth}
- \bookcover@partwidth{\flapwidth}
- \bookcover@fg{\bookcover@fgfirst@frontflap}\fi\fi
-%% {fgfirst}{above front} = {fgfirst}{remark} in v1.0
-\ifx\bookcover@fgfirst@abovefront\@empty\else\ifdim\marklength>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@ypos{0mm}
- \bookcover@partwidth{\coverwidth}
- \bookcover@partheight{\marklength}
- \bookcover@remark{\bookcover@fgfirst@abovefront}\fi\fi
-%% {fgfirst}{below front}
-\ifx\bookcover@fgfirst@belowfront\@empty\else\ifdim\marklength>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth+\coverwidth+\spinewidth}
- \bookcover@ypos{\marklength+2\bleedwidth+\coverheight}
- \bookcover@partwidth{\coverwidth}
- \bookcover@partheight{\marklength}
- \bookcover@remark{\bookcover@fgfirst@belowfront}\fi\fi
-%% {fgfirst}{above back}
-\ifx\bookcover@fgfirst@aboveback\@empty\else\ifdim\marklength>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@ypos{0mm}
- \bookcover@partwidth{\coverwidth}
- \bookcover@partheight{\marklength}
- \bookcover@remark{\bookcover@fgfirst@aboveback}\fi\fi
-%% {fgfirst}{below back}
-\ifx\bookcover@fgfirst@belowback\@empty\else\ifdim\marklength>0mm
- \bookcover@xpos{\marklength+\bleedwidth+\flapwidth}
- \bookcover@ypos{\marklength+2\bleedwidth+\coverheight}
- \bookcover@partwidth{\coverwidth}
- \bookcover@partheight{\marklength}
- \bookcover@remark{\bookcover@fgfirst@belowback}\fi\fi
-%% marks
-\bookcover@marks
-%% trimming
-\ifbookcover@trimmed\bookcover@trimming\fi
-%% new book cover
-\mbox{}\newpage\bookcover@reset}
% \end{macrocode}
% \Finale
\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/bookcover/bookcover.ins b/macros/latex/contrib/bookcover/bookcover.ins
index 090d80be0b..d92a4d38dc 100644
--- a/macros/latex/contrib/bookcover/bookcover.ins
+++ b/macros/latex/contrib/bookcover/bookcover.ins
@@ -1,5 +1,5 @@
-% Copyright (C) 2015- Tibor Tomacs
+% Copyright (C) 2015-2020 Tibor Tomacs
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.2 of this license or (at your option) any later
@@ -15,7 +15,7 @@
\usedir{tex/latex/bookcover}
\preamble
This is a generated file.
-Copyright (C) 2015- Tibor Tomacs
+Copyright (C) 2015-2020 Tibor Tomacs
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.2 of this license or (at your option) any later
diff --git a/macros/latex/contrib/bookcover/bookcover.pdf b/macros/latex/contrib/bookcover/bookcover.pdf
index 204238ba83..997c774ba3 100644
--- a/macros/latex/contrib/bookcover/bookcover.pdf
+++ b/macros/latex/contrib/bookcover/bookcover.pdf
Binary files differ
diff --git a/macros/latex/contrib/muling/README.txt b/macros/latex/contrib/muling/README.txt
new file mode 100644
index 0000000000..cf458560a8
--- /dev/null
+++ b/macros/latex/contrib/muling/README.txt
@@ -0,0 +1,10 @@
+--------------------------------------------------------------------------
+Class: muling
+Author: Niranjan
+Version: 0.1 (12 November, 2020)
+Description: A class file for the Department of Linguistics, University of
+ Mumbai
+Repository: https://gitlab.com/niranjanvikastambe/muling
+Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues
+License: The LaTeX Project Public License v1.3c or later.
+--------------------------------------------------------------------------
diff --git a/macros/latex/contrib/muling/muling.dtx b/macros/latex/contrib/muling/muling.dtx
new file mode 100644
index 0000000000..e7a5ccf9d1
--- /dev/null
+++ b/macros/latex/contrib/muling/muling.dtx
@@ -0,0 +1,365 @@
+% \iffalse meta-comment
+%
+% File: muling.dtx
+% ---------------------------------------------------------------------------
+% Class: muling
+% Author: Niranjan
+% Description: A class file for the Department of Linguistics, University of
+% Mumbai
+% Repository: https://gitlab.com/niranjanvikastambe/muling
+% Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues
+% License: The LaTeX Project Public License v1.3c or later.
+% ---------------------------------------------------------------------------
+% This work may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License, either version 1.3c 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.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Niranjan.
+%
+% This work consists of the files muling.dtx
+% muling.ins
+% and the derived file muling.cls.
+% \fi
+% \iffalse
+%<*internal>
+\iffalse
+%</internal>
+%<*readme>
+--------------------------------------------------------------------------
+Class: muling
+Author: Niranjan
+Version: 0.1 (12 November, 2020)
+Description: A class file for the Department of Linguistics, University of
+ Mumbai
+Repository: https://gitlab.com/niranjanvikastambe/muling
+Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues
+License: The LaTeX Project Public License v1.3c or later.
+--------------------------------------------------------------------------
+%</readme>
+%<*internal>
+\fi
+%</internal>
+%<*driver|class>
+\def\mulingClassName{muling}
+\def\mulingClassVersion{0.1}
+\def\mulingClassDate{2020/11/12}
+\def\mulingClassDescription{A class file for the Department of Linguistics,
+ University of Mumbai
+}
+%</driver|class>
+%<*driver>
+\documentclass{l3doc}
+\usepackage{hyperref}
+\usepackage{xcolor}
+\hypersetup{
+ colorlinks,
+ linkcolor=red!60!black,
+ citecolor=green!60!black,
+ urlcolor=blue!60!black
+}
+\usepackage{fontawesome5}
+\begin{document}
+\DocInput{\mulingClassName.dtx}
+\end{document}
+%</driver>
+% \fi
+% \title{The \cls{\mulingClassName} class}
+% \author{Niranjan}
+% \date^^A
+% {^^A
+% Version \mulingClassVersion\ --- \mulingClassDate\\[1ex]
+% {\small\faIcon{link}\quad\url{https://ctan.org/pkg/muling}}\\
+% {\small\faIcon{gitlab}\quad\url{https://gitlab.com/niranjanvikastambe/muling}}
+% }
+% \maketitle
+% \begin{abstract}
+% This is a class-file written for the students of the Department of
+% Linguistics, University of Mumbai. It uses the standard layout prescribed
+% by the university, loads some necessary packages for
+% typesetting a thesis in linguistics \textit{\&} adds the declaration
+% needed by the university from the submitter.
+% \end{abstract}
+% \tableofcontents
+% \begin{documentation}
+% \section{Package macros}
+% This package has the following commands. It is recommended to use all of
+% them in the preamble only.
+% \begin{function}{\subtitle}
+% \begin{syntax}
+% \cs{subtitle}\marg{a subtitle}
+% \end{syntax}
+% The subtitle is printed exactly under the title on the title page.
+% \end{function}
+% \begin{function}{\shorttitle}
+% \begin{syntax}
+% \cs{shorttitle}\marg{a short title}
+% \end{syntax}
+% The short title is printed on the top right corner of the page with the
+% year of submission.
+% \end{function}
+% \begin{function}{\supervisor}
+% \begin{syntax}
+% \cs{supervisor}\marg{name of the supervisor}
+% \end{syntax}
+% Name of the supervisor is printed on the title-page, in the declaration
+% text \textit{\&} under the name of the supervisor for the signature.
+% \end{function}
+% \section{Package options}
+% \begin{function}{digital}
+% This package option is developed for getting a read-only version of
+% the thesis. By default the thesis is formatted as a print-ready
+% document as the per the university requirements. If you want to submit a
+% digital copy of the thesis, use this option.
+% \end{function}
+% \begin{function}{lof}
+% This package option is developed for getting a list of figures after the
+% list of tables. Every thesis might not need a list of figures, therefore
+% it isn't added by default.
+% \end{function}
+% \section{Example code}
+% Try this sample document.
+% \begin{verbatim}
+% \documentclass[digital,lof]{muling} % Remove `digital' for a print-version.
+% \title{Linguistic profile of Konkani}
+% \author{Niranjan}
+% \supervisor{Dr.\ Renuka Ozarkar}
+% \shorttitle{Konkani}
+% \subtitle{Phonological \& morphological description of the Konkani language}
+%
+% \begin{document}
+% \maketitle
+%
+% \chapter{Test chapter}
+% \pex
+% Department of linguistics
+% \xe
+% \begin{center}
+% \begin{forest}
+% [NP
+% [\head{N}\\
+% Department]
+% [PP
+% [\head{P}\\
+% of]
+% [NP
+% [\head{N}\\
+% linguistics]
+% ]
+% ]
+% ]
+% \end{forest}
+% \end{center}
+% \end{document}
+% \end{verbatim}
+% \end{documentation}
+% \begin{implementation}
+% \section{Implementation}
+% \begin{macrocode}
+%<*class>
+% \end{macrocode}
+% \begin{macrocode}
+\ProvidesClass{muling}[2020/11/12 v0.1
+A class file for the Department of Linguistics,
+University of Mumbai]
+\DeclareOption{digital}{\PassOptionsToClass{oneside}{book}}
+\newif\iflof
+\DeclareOption{lof}{\loftrue}
+\ProcessOptions
+\iflof
+\def\@printlof{%
+ \thispagestyle{empty}%
+ \phantomsection
+ \addcontentsline{toc}{section}{List of figures}%
+ \listoffigures
+ \clearpage\pagebreak
+}%
+\else
+\let\@printlof\@empty
+\fi
+\LoadClass{book}
+% \end{macrocode}
+% This part of code loads the \cls{book} class \textit{\&} provides the option
+% \verb|digital| for typesetting a document with read-only format \textit{\&}
+% option \verb|lof| for automatically adding list of figures.
+% \begin{macrocode}
+\RequirePackage{hyperref}
+\hypersetup{
+ colorlinks,
+ linkcolor=red!60!black,
+ citecolor=green!60!black,
+ urlcolor=blue!60!black
+}
+\RequirePackage[backend=biber,style=apa]{biblatex}
+\RequirePackage[linguistics]{forest}
+\RequirePackage{tipa}
+\RequirePackage{leipzig}
+\RequirePackage{expex}
+\RequirePackage{ling-macros}
+% \end{macrocode}
+% This part of code loads some other essential packages for typesetting
+% documents with linguistic content.
+% \begin{macrocode}
+\makeatletter
+\let\@supervisor\@empty
+\def\supervisor#1{%
+ \def\@supervisor{#1}%
+}%
+\let\@shorttitle\@empty
+\def\shorttitle#1{%
+ \def\@shorttitle{#1}%
+}%
+\let\@subtitle\@empty
+\def\subtitle#1{%
+ \def\@subtitle{#1}%
+}%
+% \end{macrocode}
+% This code enables three additional entries required in the title-page.
+% \textit{\&} at various other places.
+% \begin{macrocode}
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+\cfoot{\thepage}
+\rhead{}
+\lhead{%
+ \begin{tabular}{l}
+ \@author\\%
+ \textsc{%
+ \footnotesize University of Mumbai%
+ }%
+ \end{tabular}%
+ \hfill
+ \@shorttitle
+}%
+% \end{macrocode}
+% This part of code adds the name of the author, the name of the university and
+% a short-title with the year of submission at the top right corner of every
+% page. \href{https://tex.stackexchange.com/a/525452/174620}{This} answer helped
+% me for developing this code.
+% \begin{macrocode}
+\newlength{\shift}
+\setlength{\shift}{0.3in}
+% \end{macrocode}
+% A new length is created for typesetting the title-page at the center of the
+% page like in the \cls{article}
+% class. \href{https://tex.stackexchange.com/a/514536/174620}{This} answer
+% helped me for developing this code.
+% \begin{macrocode}
+\renewcommand{\maketitle}{%
+ \thispagestyle{empty}%
+ \addtolength{\oddsidemargin}{\shift}%
+ \fboxsep3em
+ \noindent\fbox{%
+ \begin{minipage}
+ [c][\dimexpr\textheight-2\fboxsep-2\fboxrule]
+ [c]{\dimexpr\linewidth-2\fboxsep-2\fboxrule}
+ \begin{center}
+ \bigskip
+ \hrule
+ \vspace{2ex}
+ \textbf{%
+ {\LARGE \@title}\\%
+ \vspace{0.2cm}%
+ {\textsc\@subtitle}%
+ }
+ \vspace{2ex}
+ \hrule
+ \vfill
+ {\large
+ \textsc{%
+ \@author%
+ }%
+ }\\%
+ \vspace{0.5in}%
+ {\large
+ \textsc{%
+ supervisor : \@supervisor%
+ }%
+ }\\%
+ \vspace{0.5in}%
+ {\large
+ \textsc{%
+ a dissertation submitted in\\ the partial fulfillment of the
+ requirements for the masters of linguistics%
+ }%
+ }\\%
+ \vspace{0.5in}%
+ \textsc{%
+ department of linguistics\\%
+ university of mumbai, kalina%
+ }\\%
+ \smallskip
+ \bigskip
+ \textsc{\@date}%
+ \end{center}
+ \end{minipage}
+ \makeatother
+ \addtolength{\oddsidemargin}{-\shift}
+ }
+ \clearpage\pagebreak
+ \thispagestyle{empty}
+ \tableofcontents
+ \clearpage\pagebreak
+ \thispagestyle{empty}
+ \phantomsection
+ \addcontentsline{toc}{section}{Abbreviations}
+ \printglossary
+ \clearpage\pagebreak
+ \thispagestyle{empty}
+ \phantomsection
+ \addcontentsline{toc}{section}{List of tables}
+ \listoftables
+ \clearpage\pagebreak
+ \thispagestyle{empty}
+ \phantomsection
+ \begin{center}
+ \texttt{%
+ \LARGE
+ \textsc{%
+ declaration%
+ }%
+ }%
+ \end{center}
+ \bigskip
+ \texttt{%
+ As required by the University Regulation No: R. 1972 I wish to state that the
+ work embodied in this thesis titled \@title{} : \@subtitle{} forms my own
+ contribution to the research work carried out under the guidance of
+ \@supervisor{} at the University of Mumbai.\\
+ \indent This work has not been submitted for any other degree of this or any
+ other university. Whenever references have been made to previous works of
+ others, it has been clearly indicated as such and included in the
+ bibliography.\\
+ \bigskip
+ \texttt{%
+ \flushright{%
+ Date : \@date\\
+ \vspace{0.5in}
+ }%
+ Signature of the candidate :\\
+ \hfill Name : \@author
+ }\\%
+ \bigskip
+ \flushleft{%
+ Certified by -\\
+ \vspace{0.5in}
+ Signature of the guide :\\
+ Name : \@supervisor
+ }%
+ }%
+}%
+% \end{macrocode}
+% This code typesets a customized title-page, adds a table of contents, list of
+% tables\footnote{Having a list of figures is optional as seen earlier.} and the
+% declaration text with all the details filled \textit{\&} some blank space left
+% for the signature.
+% \begin{macrocode}
+%</class>
+% \end{macrocode}
+% \end{implementation}
+% \Finale \ No newline at end of file
diff --git a/macros/latex/contrib/muling/muling.ins b/macros/latex/contrib/muling/muling.ins
new file mode 100644
index 0000000000..f833ba10ac
--- /dev/null
+++ b/macros/latex/contrib/muling/muling.ins
@@ -0,0 +1,48 @@
+% File: muling.ins
+\input l3docstrip.tex
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+---------------------------------------------------------------------------
+Class: muling
+Author: Niranjan
+Description: A class file for the Department of Linguistics, University of
+ Mumbai
+Repository: https://gitlab.com/niranjanvikastambe/muling
+Bug tracker: https://gitlab.com/niranjanvikastambe/muling/-/issues
+License: The LaTeX Project Public License v1.3c or later.
+---------------------------------------------------------------------------
+This work may be distributed and/or modified under the conditions of the
+LaTeX Project Public License, either version 1.3c 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.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Niranjan.
+
+This work consists of the files muling.dtx
+ muling.ins
+and the derived file muling.cls.
+---------------------------------------------------------------------------
+
+\endpreamble
+
+\usedir{tex/latex/\jobname}
+\generate{
+ \file{\jobname.cls}{\from{\jobname.dtx}{class}}
+}
+
+\nopreamble\nopostamble
+\usedir{doc/latex/\jobname}
+\generate{
+ \file{README.txt}{\from{\jobname.dtx}{readme}}
+}
+
+\endbatchfile \ No newline at end of file
diff --git a/macros/latex/contrib/muling/muling.pdf b/macros/latex/contrib/muling/muling.pdf
new file mode 100644
index 0000000000..158eebda4e
--- /dev/null
+++ b/macros/latex/contrib/muling/muling.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/README.md b/macros/latex/contrib/tuda-ci/README.md
index fab65abeb1..a10670e38d 100644
--- a/macros/latex/contrib/tuda-ci/README.md
+++ b/macros/latex/contrib/tuda-ci/README.md
@@ -2,7 +2,7 @@
Copyright (C) Marei Peischl <marei@peitex.de>, 2018–2020
- tuda-ci 2020/10/21 v3.07
+ tuda-ci 2020/11/12 v3.08
***************************************************************************
@@ -215,4 +215,8 @@ leaflets | DEMO-TUDaLeaflet.tex | tudaleaflet.cls
- simplify change of reviewer description
* v3.07 (2020-10-21)
- improve language selection
- - fix linebreak issues in affidavit \ No newline at end of file
+ - fix linebreak issues in affidavit
+ * v3.08 (2020-11-12)
+ - fix titleback margins
+ - add predefined values for some cc licenses in tudathesis
+ - additional options to adjust titlepage color scheme
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaAnnouncement.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaAnnouncement.pdf
index 960a56c4fd..b1a0b5180a 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaAnnouncement.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaAnnouncement.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaBeamer.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaBeamer.pdf
index 2ed00ff52c..3017dd8756 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaBeamer.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaBeamer.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaExercise.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaExercise.pdf
index fef01bb7d3..6a24af761d 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaExercise.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaExercise.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLeaflet.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLeaflet.pdf
index 1242232a9d..afb90f4fd1 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLeaflet.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLeaflet.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLetter.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLetter.pdf
index 4697814253..ccc622add2 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLetter.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaLetter.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPhD.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPhD.pdf
index 4d9ae42b87..b6b23c815a 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPhD.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPhD.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPoster.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPoster.pdf
index 333b580971..0546fa5a5b 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPoster.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPoster.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPub.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPub.pdf
index feefb8a4f8..4513ac09c2 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPub.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaPub.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaReport.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaReport.pdf
index 926d845888..7d14e3ce21 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaReport.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaReport.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaSciPoster.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaSciPoster.pdf
index 7265a97fc7..4bcf4e2f01 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaSciPoster.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaSciPoster.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaThesis.pdf b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaThesis.pdf
index 878e979019..4d13dd084e 100644
--- a/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaThesis.pdf
+++ b/macros/latex/contrib/tuda-ci/doc/DEMO-TUDaThesis.pdf
Binary files differ
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaAnnouncement.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaAnnouncement.tex
index 0c5d9691ee..5d360c6983 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaAnnouncement.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaAnnouncement.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaAnnouncement.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaAnnouncement.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBeamer.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBeamer.tex
index d840e3f42e..0840efd91e 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBeamer.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBeamer.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaBeamer.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaBeamer.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBibliography.bib b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBibliography.bib
index 5bf7d70d4b..f25abfb1d6 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBibliography.bib
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaBibliography.bib
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaBibliography.bib' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaBibliography.bib' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex
index 8aa8c9f7e4..898485ef09 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaExercise.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaExercise.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaExercise.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaFromaddress.lco b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaFromaddress.lco
index 0af15e5d40..f08bac22d0 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaFromaddress.lco
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaFromaddress.lco
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaFromaddress.lco' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaFromaddress.lco' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLeaflet.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLeaflet.tex
index c3f3338a6a..e74ecf4602 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLeaflet.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLeaflet.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaLeaflet.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaLeaflet.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLetter.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLetter.tex
index d13a0e8196..d7a47a9b37 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLetter.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaLetter.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaLetter.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaLetter.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPhD.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPhD.tex
index c3b55918f8..e451ced49f 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPhD.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPhD.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaPhD.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaPhD.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -133,7 +133,16 @@
\submissiondate{\today}
\examdate{\today}
-\tuprints{urn=1234,printid=12345,doi=10.25534/tuprints-1234}
+
+% Hinweis zur Lizenz:
+% TUDa-CI verwendet momentan die Lizenz CC BY-NC-ND 2.0 DE als Voreinstellung.
+% Die TU Darmstadt hat jedoch die Empfehlung von dieser auf die liberalere
+% CC BY 4.0 geändert. Diese erlaubt eine Verwendung bearbeiteter Versionen und
+% die kommerzielle Nutzung.
+% TUDa-CI wird im nächsten größeren Release ebenfalls diese Anpassung vornehmen.
+% Aus diesem Grund wird empfohlen die Lizenz manuell auszuwählen.
+\tuprints{urn=1234,printid=12345,doi=10.25534/tuprints-1234,license=cc-by-4.0}
+% To see furhter information on the license option in English, remove the license= key and pay attention to the warning & help message.
\dedication{For \TeX{} \& Friends}
@@ -288,6 +297,14 @@ Es ist zu beachten, dass für die Erzeugung der Titelseite nach Übergabe aller
Ab Version 2.07 ist es zudem möglich einen eigenen Lizenztext über den Schlüssel \verb|license| zu übergeben. Dieser ersetzt dann die voreingestellte Lizenzangabe.
+ Ab Version 3.08 existieren vorgefertigte Werte für die Option \verb|license|, um eine einfachere Anpassung zu ermöglichen.
+ Dies ist Bestandteil der Vorbereitung zur Anpassung der Standardlizenz, die durch die Universitätsbibliothek angepasst wurde.
+ Die entsprechende Diskussion findet sich unter \url{https://github.com/tudace/tuda_latex_templates/issues/251} und eine Anpassung der Voreinstellung bei TUDa-CI ist für Version 4.0 vorgesehen.
+
+ Die vorgefertigten Lizenzschlüssel lauten: \verb+cc-by-nc-nd-2.0-de+ (noch aktuelle Voreinstellung), \verb+cc-by-4.0+, \verb+cc-by-nc-nd-4.0+.
+ Unterstützung bei der Wahl einer passenden Creative Commons Lizenz bietet das Projekt über seinen Lizenzfinder unter \url{http://creativecommons.org/choose/}
+
+ Falls ein davon abweichender Wert gewählt wird, wird dieser direkt an der Stelle des Lizenztextes verwendet. Falls der Text Gleichheitszeichen oder Kommata enthält ist eine Gruppierung notwendig.
\item[titleimage] Hier kann Code übergeben werden, der den farbigen Block im unteren Teil der Titelseite ersetzt. Als Maße können hier die Längen \verb+\layerwidth+ und \verb+\layerheight+ verwendet werden. Sie passen sich dem Verfügbaren Platz an. Für ein Beispiel sei auf die TUDapub-Dokumentation verwiesen.
\item[titleintro] Ab Version 2.03 kann zusätzlich über diesen Hook ein beliebiger Text direkt nach dem Untertitel und vor den automatischen Informationen ergänzt werden.
\item[titleaddendum] Wie \code{\tbs{}titleintro} jedoch als letztes Element des Blocks.
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPoster.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPoster.tex
index 4353b6b6e3..ebf45122cb 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPoster.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPoster.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaPoster.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaPoster.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPub.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPub.tex
index 01d98859ee..2a9db8f195 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPub.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaPub.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaPub.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaPub.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -134,9 +134,8 @@ Im folgenden werden die möglichen Optionen beschrieben.
Flattersatz in der marginnline aus \KOMAScript
}
\item[twocolumn] Aktiviert den zweispaltigen Modus global. In diesem Fall werden jedoch aufgrund ihrer Natur zwei Randnotizspalten erzeugt. Eine Nutzung in Kombination mit \code{marginpar=auto} ist daher in den meisten Fällen fragwürdig. Falls der zweispaltige Modus lediglich lokal aktiviert wird, entfällt dieses Verhalten, allerdings werden dann Randnotizen deaktiviert.
- \item[ruledheaders] Wählt den Stil der Überschriften aus. \code{ruledheaders=all} wählt den mit Linien eingerahmten Stil für alle bis zur \verb+\subsubsection+. Bei \code{chapter} beziehungsweise \code{section} ist dieser Stil entsprechend
- beschränkt. False lädt den Standardstil aus \KOMAScript.
- \item[type] Als Typ stehen im Moment \code{publication} und \code{thesis} zur Verfügung. Die besonderen Möglichkeiten im Typ thesis sind in der Datei DEMO-TUDaThesis.tex/.pdf geschildert. Voreingestellt ist \code{publication}.
+ \item[ruledheaders] Wählt den Stil der Überschriften aus. \code{ruledheaders=all} wählt den mit Linien eingerahmten Stil für alle bis zur \verb+\subsubsection+. Bei \code{chapter} beziehungsweise \code{section} ist dieser Stil entsprechend beschränkt. False lädt den Standardstil aus \KOMAScript.
+ \item[type] Als Typ stehen im Moment \code{publication} und \code{thesis} zur Verfügung. Die besonderen Möglichkeiten im Typ thesis sind in der Datei DEMO-TUDaThesis.tex/.pdf geschildert. Voreingestellt ist \code{publication}.
Zusätzlich existiert ab Version 1.2 noch der Modus \code{intern}. Dieser wählt die Optionen \code{titlepage=false} für einen Titelkopf statt Titelseiten, sowie die TUDaPub-Optionen \code{pdfa=""false} und \code{IMRAD=false}. Dieser Modus ist für kurze, interne Berichte gedacht.
\item[headline] Die Kopfzeile verfügt über die im Corporate Design beschriebenen Layoutmöglichkeiten über den Wert \code{automark}. Da diese Lösung typografisch nicht sonderlich sinnvoll ist, ist es auch möglich, diese abzuschalten. Voreingestellt ist ein Stil ohne Kolumnentitel.
\item[logo] Option für die Titelseite, siehe \ref{sec:title}
@@ -207,7 +206,16 @@ Die Position des Logos ist umschaltbar. Dies geschieht über die Dokumentenklass
\item[logo=body] Das Logo samt der Infoboxen wird im Körper der Titelseite platziert.
\end{description}
-Darüber hinaus lässt sich die Farbgebung umschalten. Die Option \code{colorback} schaltet zwischen dem farbigen Block auf der Titelseite und weißem Hintergrund um. Falls die Kombination \code{colorback=false} und \code{logo=head} geschaltet ist, bleibt der obere Teil der Titelseite jedoch farbig.
+Darüber hinaus lässt sich die Farbgebung umschalten.
+Die Option \code{colorback} schaltet zwischen dem farbigen Block auf der Titelseite und weißem Hintergrund um. Sie ist in der Voreinstellung aktiviert, sodass ein Farbiger Block erzeugt wird.
+
+Mit Version 3.08 werden zusätzlich zu den \code{true}/\code{false} Werten auch die Werte \code{title}, \code{head} und \code{body} für die Option colorback ergänzt.
+Mit diesen ist es möglich nach der Auswahl der Logoposition eine Korrektur an der Farbgebung durchzuführen. Alle drei neuen Werte aktivieren die Hintergrundfarbe und schalten deren Position um:
+\begin{description}
+ \item[colorback=title] Der Titel (ohne Untertitel) wird hinterlegt.
+ \item[colorback=head] Der komplette Titelblock, inklusive Titelblock wird hinterlegt.
+ \item[colorback=body] Es wird nur der Bildbereich eingefärbt.
+\end{description}
\subsection{Strukturierungselemente}
\minisec{Die abstract-Umgebung}
@@ -353,7 +361,7 @@ Einige Fachbereiche haben spezielle Anforderungen. Dieser Abschnitt betrachtet d
\subsection{Fachbereich Maschinenbau}
Der entsprechende Modus wird über die Option \code{department=mecheng} oder kurz \code{mecheng} aktiviert. Die Farbgebung passt sich dann automatisch an und die Trennlinie der Fußzeile erhält die geforderte Form des Zeitstrahles.
-Darüber hinaus erfordern manche Stellen dieses Fachbereits die übergabe einer ID zu Kennzeichnung des Dokuments. Hierfür wurde der Mechanismus
+Darüber hinaus erfordern manche Stellen dieses Fachbereichs die Übergabe einer ID zu Kennzeichnung des Dokuments. Hierfür wurde der Mechanismus
\begin{verbatim}
\SetPaperID{<Buchstabe>}{<tiefgestelle Nummer>}}
\end{verbatim}
@@ -401,7 +409,7 @@ Beispiele für typische Modifikationen, die auch im Rahmen des Corporate Design
\subsection{\texorpdfstring{\hologo{XeLaTeX}}{XeLaTeX} und PDF/A}
Das Paket \pck{pdfx}, über welches die PDF/A Kompatibilität erzeugt wird, hat nur einen begrenzten Support für \hologo{XeLaTeX}.
-Es wird eine entsprechende Warnung erzeugt, allerdings kann es bei älteren \hologo{XeLaTeX}-Versionen passieren, dass \pck{pdfx} bereits Fehlermeldungen erzeugt. Abhilfe wird in diesem Fall durch eine Compiler-Wechsel auf \hologo{LuaLaTeX} (welcher ohnehin empfohlen wird) oder durch Sbschalten des PDF/A-Modus (\code{pdfa=false}) geschaffen.
+Es wird eine entsprechende Warnung erzeugt, allerdings kann es bei älteren \hologo{XeLaTeX}-Versionen passieren, dass \pck{pdfx} bereits Fehlermeldungen erzeugt. Abhilfe wird in diesem Fall durch eine Compiler-Wechsel auf \hologo{LuaLaTeX} (welcher ohnehin empfohlen wird) oder durch Abschalten des PDF/A-Modus (\code{pdfa=false}) geschaffen.
\subsection{Geschachtelte Akzente (Inkompatibilität zwischen pdfx und amsmath)}
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaReport.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaReport.tex
index 6136969a42..e735b79a42 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaReport.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaReport.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaReport.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaReport.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaSciPoster.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaSciPoster.tex
index 9044e60ef1..64a6c6ad43 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaSciPoster.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaSciPoster.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaSciPoster.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaSciPoster.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaThesis.tex b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaThesis.tex
index 2d03b84f70..287f4e213c 100644
--- a/macros/latex/contrib/tuda-ci/example/DEMO-TUDaThesis.tex
+++ b/macros/latex/contrib/tuda-ci/example/DEMO-TUDaThesis.tex
@@ -1,4 +1,4 @@
-%% This is file `DEMO-TUDaThesis.tex' version 3.07 (2020/10/21),
+%% This is file `DEMO-TUDaThesis.tex' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -119,8 +119,17 @@
\submissiondate{\today}
\examdate{\today}
-% \tuprints{urn=1234,printid=12345,doi=10.25534/tuprints-1234}
-% \dedication{Für alle, die \TeX{} nutzen.}
+% Hinweis zur Lizenz:
+% TUDa-CI verwendet momentan die Lizenz CC BY-NC-ND 2.0 DE als Voreinstellung.
+% Die TU Darmstadt hat jedoch die Empfehlung von dieser auf die liberalere
+% CC BY 4.0 geändert. Diese erlaubt eine Verwendung bearbeiteter Versionen und
+% die kommerzielle Nutzung.
+% TUDa-CI wird im nächsten größeren Release ebenfalls diese Anpassung vornehmen.
+% Aus diesem Grund wird empfohlen die Lizenz manuell auszuwählen.
+% \tuprints{urn=1234,printid=12345,doi=10.25534/tuprints-1234,license=cc-by-4.0}
+% To see furhter information on the license option in English, remove the license= key and pay attention to the warning & help message.
+
+% \dedication{Für alle, die \TeX{} nutzen.}
\maketitle
@@ -252,6 +261,16 @@ Es ist zu beachten, dass für die Erzeugung der Titelseite nach Übergabe aller
\end{verbatim}
Falls das Argument kein Gleichheitszeichen erkennt, wird der Wert als \code{printid} gesetzt und keine URN angegeben.
+ Ab Version 2.07 ist es zudem möglich einen eigenen Lizenztext über den Schlüssel \verb|license| zu übergeben. Dieser ersetzt dann die voreingestellte Lizenzangabe.
+
+ Ab Version 3.08 existieren vorgefertigte Werte für die Option \verb|license|, um eine einfachere Anpassung zu ermöglichen.
+ Dies ist Bestandteil der Vorbereitung zur Anpassung der Standardlizenz, die durch die Universitätsbibliothek angepasst wurde.
+ Die entsprechende Diskussion findet sich unter \url{https://github.com/tudace/tuda_latex_templates/issues/251} und eine Anpassung der Voreinstellung bei TUDa-CI ist für Version 4.0 vorgesehen.
+
+ Die vorgefertigten Lizenzschlüssel lauten: \verb+cc-by-nc-nd-2.0-de+ (noch aktuelle Voreinstellung), \verb+cc-by-4.0+, \verb+cc-by-nc-nd-4.0+.
+ Unterstützung bei der Wahl einer passenden Creative Commons Lizenz bietet das Projekt über seinen Lizenzfinder unter \url{http://creativecommons.org/choose/}
+
+ Falls ein davon abweichender Wert gewählt wird, wird dieser direkt an der Stelle des Lizenztextes verwendet. Falls der Text Gleichheitszeichen oder Kommata enthält ist eine Gruppierung notwendig
\item[titleimage] Hier kann Code übergeben werden, der den farbigen Block im unteren Teil der Titelseite ersetzt. Als Maße können hier die Längen \verb+\layerwidth+ und \verb+\layerheight+ verwendet werden. Sie passen sich dem Verfügbaren Platz an. Für ein Beispiel sei auf die TUDapub-Dokumentation verwiesen.
\item[titleintro] Ab Version 2.03 kann zusätzlich über diesen Hook ein beliebiger Text direkt nach dem Untertitel und vor den automatischen Informationen ergänzt werden.
\item[titleaddendum] Wie \code{\tbs{}titleintro} jedoch als letztes Element des Blocks.
diff --git a/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty
index 8a3ef069f1..2b63d2ec40 100644
--- a/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty
+++ b/macros/latex/contrib/tuda-ci/tex/beamercolorthemeTUDa.sty
@@ -1,4 +1,4 @@
-%% This is file `beamercolorthemeTUDa.sty' version 3.07 (2020/10/21),
+%% This is file `beamercolorthemeTUDa.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeTUDa}
[\filedate\space\fileversion]
diff --git a/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty
index b78357a3ea..ed3b3fbdf8 100644
--- a/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty
+++ b/macros/latex/contrib/tuda-ci/tex/beamerfontthemeTUDa.sty
@@ -1,4 +1,4 @@
-%% This is file `beamerfontthemeTUDa.sty' version 3.07 (2020/10/21),
+%% This is file `beamerfontthemeTUDa.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthemeTUDa}
[\filedate\space\fileversion]
diff --git a/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty
index 8b4bd85dd3..6df42d1ae5 100644
--- a/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty
+++ b/macros/latex/contrib/tuda-ci/tex/beamerinnerthemeTUDa.sty
@@ -1,4 +1,4 @@
-%% This is file `beamerinnerthemeTUDa.sty' version 3.07 (2020/10/21),
+%% This is file `beamerinnerthemeTUDa.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesExplPackage{beamerinnerthemeTUDa}{\filedate}{\fileversion}{Inner~beamer~theme~of~tuda-ci}
diff --git a/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty
index 5ec43ca458..2113efa4b7 100644
--- a/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty
+++ b/macros/latex/contrib/tuda-ci/tex/beamerouterthemeTUDa.sty
@@ -1,4 +1,4 @@
-%% This is file `beamerouterthemeTUDa.sty' version 3.07 (2020/10/21),
+%% This is file `beamerouterthemeTUDa.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesExplPackage{beamerouterthemeTUDa}{\filedate}{\fileversion}{Outer~beamer~theme~of~tuda-ci}
diff --git a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty
index 1837c847d6..73df495d97 100644
--- a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty
+++ b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa-mecheng.sty
@@ -1,4 +1,4 @@
-%% This is file `beamerthemeTUDa-mecheng.sty' version 3.07 (2020/10/21),
+%% This is file `beamerthemeTUDa-mecheng.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\RequirePackage{expl3}
\ProvidesExplPackage{beamerthemeTUDa-mecheng}{\filedate}{\fileversion}{specific tudabeamer configuration for the department of mechanical engineering}
diff --git a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty
index f4e0ba9b69..6321f9c2e0 100644
--- a/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty
+++ b/macros/latex/contrib/tuda-ci/tex/beamerthemeTUDa.sty
@@ -1,4 +1,4 @@
-%% This is file `beamerthemeTUDa.sty' version 3.07 (2020/10/21),
+%% This is file `beamerthemeTUDa.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemeTUDa}
[\filedate\space\fileversion\space beamer theme using the Corporate Design of TU Darmstadt]
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo
index 2aa681a9dc..886b818898 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-a0paper.clo
@@ -1,4 +1,4 @@
-%% This is file `tuda-a0paper.clo' version 3.07 (2020/10/21),
+%% This is file `tuda-a0paper.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesExplFile{tuda-a0paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper}
\cs_set:Nn \ptxcd_setup_title_sizes: {
\cs_set:Nn \ptxcd_title_fontsize: {{125pt}{165pt}}
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo
index 67e1934d15..8393d189f7 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-a1paper.clo
@@ -1,4 +1,4 @@
-%% This is file `tuda-a1paper.clo' version 3.07 (2020/10/21),
+%% This is file `tuda-a1paper.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesExplFile{tuda-a1paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper}
\cs_set:Nn \ptxcd_setup_title_sizes: {
\cs_set:Nn \ptxcd_title_fontsize: {{86pt}{120pt}}
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo
index 01135fa39b..cbcc0a17b4 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-a2paper.clo
@@ -1,4 +1,4 @@
-%% This is file `tuda-a2paper.clo' version 3.07 (2020/10/21),
+%% This is file `tuda-a2paper.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesExplFile{tuda-a2paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a0paper}
\cs_set:Nn \ptxcd_setup_title_sizes: {
\cs_set:Nn \ptxcd_title_fontsize: {{65pt}{82pt}}
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo
index fcc6095c48..2ba2a6b131 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-a3paper.clo
@@ -1,4 +1,4 @@
-%% This is file `tuda-a3paper.clo' version 3.07 (2020/10/21),
+%% This is file `tuda-a3paper.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesExplFile{tuda-a3paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a3paper}
\cs_set:Nn \ptxcd_setup_title_sizes: {
\cs_set:Nn \ptxcd_title_fontsize: {{47pt}{61pt}}
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo
index 5de6a3672a..d109fb3b7a 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-a4paper.clo
@@ -1,4 +1,4 @@
-%% This is file `tuda-a4paper.clo' version 3.07 (2020/10/21),
+%% This is file `tuda-a4paper.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesExplFile{tuda-a4paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a4paper}
\cs_set:Nn \ptxcd_setup_title_sizes: {
\cs_set:Nn \ptxcd_title_fontsize: {{36pt}{47pt}}
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo b/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo
index eb36f6f7a0..235aae7749 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-a5paper.clo
@@ -1,4 +1,4 @@
-%% This is file `tuda-a5paper.clo' version 3.07 (2020/10/21),
+%% This is file `tuda-a5paper.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesExplFile{tuda-a5paper.clo}{\filedate}{\fileversion}{tuda-ci~size~adjustments~for~a5paper}
\cs_set:Nn \ptxcd_setup_title_sizes: {
\cs_set:Nn \ptxcd_title_fontsize: {{22pt}{28pt}}
diff --git a/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty b/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty
index d661aeead2..e6134138e7 100644
--- a/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty
+++ b/macros/latex/contrib/tuda-ci/tex/tuda-pgfplots.sty
@@ -1,4 +1,4 @@
-%% This is file `tuda-pgfplots.sty' version 3.07 (2020/10/21),
+%% This is file `tuda-pgfplots.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
% Special thanks to: Sebastian Schöps Institut Theorie Elektromagnetischer Felder (TEMF), TU Darmstadt
% The original version of this file has been inspired by the colorscheme in the Metropolis beamer theme by Matthias Vogelgesang https://github.com/matze/mtheme
\ProvidesPackage{tuda-pgfplots}[\filedate\space\fileversion\space tuda-ci pgfplots color schemes]
diff --git a/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls b/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls
index 7be8903965..95179807d4 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudabeamer.cls
@@ -1,4 +1,4 @@
-%% This is file `tudabeamer.cls' version 3.07 (2020/10/21),
+%% This is file `tudabeamer.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tudabeamer}
[\filedate\space\fileversion\space]
diff --git a/macros/latex/contrib/tuda-ci/tex/tudacolors.def b/macros/latex/contrib/tuda-ci/tex/tudacolors.def
index b853b28143..f7289b76ad 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudacolors.def
+++ b/macros/latex/contrib/tuda-ci/tex/tudacolors.def
@@ -1,4 +1,4 @@
-%% This is file `tudacolors.def' version 3.07 (2020/10/21),
+%% This is file `tudacolors.def' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\ProvidesFile{tudacolors.def}
[\filedate\space\fileversion\space Color definitions for tuda-ci]
diff --git a/macros/latex/contrib/tuda-ci/tex/tudacolors.sty b/macros/latex/contrib/tuda-ci/tex/tudacolors.sty
index 77a0c00137..93800c1827 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudacolors.sty
+++ b/macros/latex/contrib/tuda-ci/tex/tudacolors.sty
@@ -1,4 +1,4 @@
-%% This is file `tudacolors.sty' version 3.07 (2020/10/21),
+%% This is file `tudacolors.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudacolors}{\filedate}{\fileversion}{Color definition for TU Darmstadt's tuda-ci bundle}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls b/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls
index 70847495d9..9a2c110d87 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudaexercise.cls
@@ -1,4 +1,4 @@
-%% This is file `tudaexercise.cls' version 3.07 (2020/10/21),
+%% This is file `tudaexercise.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{tudaexercise}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudafonts.sty b/macros/latex/contrib/tuda-ci/tex/tudafonts.sty
index 2eed7e4a80..e479e7549b 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudafonts.sty
+++ b/macros/latex/contrib/tuda-ci/tex/tudafonts.sty
@@ -1,4 +1,4 @@
-%% This is file `tudafonts.sty' version 3.07 (2020/10/21),
+%% This is file `tudafonts.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tudafonts}
[\filedate\space\fileversion\space
diff --git a/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls b/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls
index a2cfdc2a87..dc03a83687 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudaleaflet.cls
@@ -1,4 +1,4 @@
-%% This is file `tudaleaflet.cls' version 3.07 (2020/10/21),
+%% This is file `tudaleaflet.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudaleaflet}{\filedate}{\fileversion}{Leaflets using the Corporate Design of TU Darmstadt}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudaletter.cls b/macros/latex/contrib/tuda-ci/tex/tudaletter.cls
index 6a7612faf3..f68884c8a1 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudaletter.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudaletter.cls
@@ -1,4 +1,4 @@
-%% This is file `tudaletter.cls' version 3.07 (2020/10/21),
+%% This is file `tudaletter.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{tudaletter}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo b/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo
index b5b8d0065d..661a851b97 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tudalettersize10pt.clo
@@ -1,4 +1,4 @@
-%% This is file `tudalettersize10pt.clo' version 3.07 (2020/10/21),
+%% This is file `tudalettersize10pt.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
index 23f635e8cc..7063cdb5aa 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
+++ b/macros/latex/contrib/tuda-ci/tex/tudamecheng.cfg
@@ -1,4 +1,4 @@
-%% This is file `tudamecheng.cfg' version 3.07 (2020/10/21),
+%% This is file `tudamecheng.cfg' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\RequirePackage{expl3}
\ProvidesExplFile{tudamecheng.cfg}
{\filedate}{\fileversion}{Special Features the department of mechanical engineering of Darmstadt's Corporate Design (tuda-ci)}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudaposter.cls b/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
index 34389a423d..1a1152b805 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
@@ -1,4 +1,4 @@
-%% This is file `tudaposter.cls' version 3.07 (2020/10/21),
+%% This is file `tudaposter.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudaposter}{\filedate}{\fileversion}{Poster Layouts for the Corporate Design of TU Darmstadt}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudapub.cls b/macros/latex/contrib/tuda-ci/tex/tudapub.cls
index 41a74ae64d..dec9d0b163 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudapub.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudapub.cls
@@ -1,4 +1,4 @@
-%% This is file `tudapub.cls' version 3.07 (2020/10/21),
+%% This is file `tudapub.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{tudapub}
@@ -50,15 +50,16 @@
\int_new:N \g_ptxcd_ruledheaders_int
\int_new:N \g_ptxcd_paper_int
-\msg_new:nnnn {tudapub} {compatibility-only} {
+\msg_new:nnn {tudapub} {compatibility-only} {
You~used~the~outdated~#1~option.\\
- This~only~exists~due~to~compatibility~reasons.
-}{
- Please~look~at~tuda-ci~documentation~for~further~information~and~avoid~using~outdated~options.
+ This~option~has~been~removed~with~tuda-ci~version~3.08.\\
+ See~documentation~for~the~updated~implementation.
}
\bool_new:N \g_ptxcd_geometry_bool
\bool_new:N \g_ptxcd_custommargins_bool
+\bool_new:N \g_ptxcd_colorbacktitle_bool
+\bool_new:N \g_ptxcd_colorbacksubtitle_bool
\keys_define:nn {ptxcd/pub} {
%twoside -> geometry + class
@@ -110,8 +111,19 @@
headline .initial:n =false,
colorback .bool_gset:N = \g_ptxcd_colorback_bool,
colorback .initial:n = true,
- colortitleback .code:n = \msg_warning:nnx {tudapub} {compatibility-only} {\l_keys_key_tl}
- \keys_set:nn {ptxcd/pub} {logo=head,colorback=false},
+ colorback / title .code:n =
+ \bool_gset_true:N \g_ptxcd_colorbacktitle_bool
+ \bool_gset_true:N \g_ptxcd_colorback_bool
+ \bool_gset_false:N \g_ptxcd_colorbacksubtitle_bool,
+ colorback / body .code:n =
+ \bool_gset_false:N \g_ptxcd_colorbacktitle_bool
+ \bool_gset_false:N \g_ptxcd_colorbacksubtitle_bool
+ \bool_gset_true:N \g_ptxcd_colorback_bool,
+ colorback / head .code:n =
+ \bool_gset_true:N \g_ptxcd_colorbacktitle_bool
+ \bool_gset_true:N \g_ptxcd_colorback_bool
+ \bool_gset_true:N \g_ptxcd_colorbacksubtitle_bool,
+ colortitleback .code:n = \msg_error:nnx {tudapub} {compatibility-only} {\l_keys_key_tl},
pdfa .bool_gset:N = \g_ptxcd_pdfa_bool,
pdfa .initial:n = true,
twocolumn .bool_gset:N = \g_ptxcd_twocolumn_bool,
@@ -125,10 +137,16 @@
abstract .code:n = \prop_gput:Nnn \g_ptxcd_unknown_clsopts_prop {abstract} {#1},
abstract .initial:n =true,
logo .choice:,
- logo / head .code:n = {\bool_gset_true:N \g_ptxcd_logo@inhead_bool},
- logo / body .code:n = {\bool_gset_false:N \g_ptxcd_logo@inhead_bool},
- logo / top .code:n = {\bool_gset_true:N \g_ptxcd_logo@inhead_bool},
- logo / bottom .code:n = {\bool_gset_false:N \g_ptxcd_logo@inhead_bool},
+ logo / head .code:n = {
+ \bool_gset_true:N \g__ptxcd_LogoInHead_bool
+ \bool_gset_true:N \g_ptxcd_colorbacktitle_bool
+ },
+ logo / body .code:n = {
+ \bool_gset_false:N \g__ptxcd_LogoInHead_bool
+ \bool_gset_false:N \g_ptxcd_colorbacktitle_bool
+ },
+ logo / top .meta:n = {logo=head},
+ logo / bottom .code:n = {\bool_gset_false:N \g__ptxcd_LogoInHead_bool},
logo .initial:n = {body},
paper .choices:nn = {a0,a1,a2,a3,a4,a5,a6}{
\int_gset_eq:NN \g_ptxcd_paper_int \l_keys_choice_int
@@ -599,14 +617,14 @@
+\c_ptxcd_rulesep_dim
]{title.TUDa.image}
- \bool_if:NT \g_ptxcd_logo@inhead_bool {
+ \bool_if:NT \g_ptxcd_colorbacktitle_bool {
\ModifyLayer[
- addvoffset=\dim_eval:n {\box_ht:N \ptxcd_headrule_box+\box_dp:N \ptxcd_headrule_box-\g_ptxcd_titlerule_dim},
- height={\box_ht:N \g_ptxcd_title_box+ \g_ptxcd_title_fill_skip+.5\c_ptxcd_logoheight_dim
- }
- ]{title.TUDa.background}
-
- \AddLayersToPageStyle{title.TUDa}{title.TUDa.background}
+ textarea,
+ addvoffset=\dim_eval:n {\box_ht:N \ptxcd_headrule_box+\box_dp:N \ptxcd_headrule_box-\g_ptxcd_titlerule_dim},
+ height={\box_ht:N \g_ptxcd_title_box+ \g_ptxcd_title_fill_skip+.5\c_ptxcd_logoheight_dim
+ \bool_if:NT \g_ptxcd_colorbacksubtitle_bool {+\box_dp:N \g_ptxcd_title_box}
+ }
+ ]{title.TUDa.background}
}
\vspace*{\dim_eval:n {
-\topskip
@@ -618,13 +636,12 @@
\nointerlineskip
\ptxcd_setup_title_box:
- \bool_if:NT \g_ptxcd_logo@inhead_bool {
+ \bool_if:NT \g__ptxcd_LogoInHead_bool {
\dim_compare:nT {\box_ht:N \g_ptxcd_title_info_box+ \box_dp:N \g_ptxcd_title_info_box > \box_ht:N \g_ptxcd_title_box}
{\msg_warning:nn{tudapub} {infobox-too-high}}
\makebox[\linewidth][r]{\smash{
\raisebox{-\height}{
\makebox[2.2\c_ptxcd_logoheight_dim][l]{
- % }
\box_use:N \g_ptxcd_title_info_box
}}
}}
@@ -703,7 +720,12 @@
\DeclareNewLayer[textarea,background,mode=picture,
contents={
\tl_if_empty:NTF \g_ptxcd_titleimage_code_tl
- {\bool_if:NT \g_ptxcd_colorback_bool {\putLL{\color{identbarcolor}\rule{\layerwidth}{\layerheight}}}}
+ {
+ \bool_if:NF \g_ptxcd_colorbacktitle_bool
+ {
+ \bool_if:NT \g_ptxcd_colorback_bool {\putLL{\color{identbarcolor}\rule{\layerwidth}{\layerheight}}}
+ }
+ }
{\putUL{\color{identbarcolor}
\let\width\layerwidth
\let\height\layerheight
@@ -711,7 +733,7 @@
\leavevmode\ignorespaces
\g_ptxcd_titleimage_code_tl
}}}}
- \bool_if:NF \g_ptxcd_logo@inhead_bool {
+ \bool_if:NF \g__ptxcd_LogoInHead_bool {
\put(\dim_to_decimal_in_unit:nn {\layerwidth-2.2\c_ptxcd_logoheight_dim
} {\unitlength},
\dim_to_decimal_in_unit:nn {\layerheight-\box_ht:N \g_ptxcd_title_info_box - .5\c_ptxcd_logoheight_dim} {\unitlength}){
@@ -721,8 +743,12 @@
}
]{title.TUDa.image}
-\DeclareNewLayer[textarea,background,mode=picture,
-contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
+\DeclareNewLayer[background,mode=picture,
+ contents={
+ \bool_lazy_and:nnT {\g_ptxcd_colorback_bool} {\g_ptxcd_colorbacktitle_bool} {
+ {\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
+ }
+ }
]{title.TUDa.background}
\DeclareNewLayer[
@@ -765,7 +791,7 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
}
}
-\DeclareNewPageStyleByLayers{title.TUDa}{title.TUDa.rule,title.TUDa.image}
+\DeclareNewPageStyleByLayers{title.TUDa}{title.TUDa.background,title.TUDa.rule,title.TUDa.image}
%Logos
\RequirePackage{graphicx}
@@ -835,6 +861,7 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
\prop_map_function:NN \g_ptxcd_MetaData_prop \ptxcd_write_xmp_line:nn
\endgroup
\iow_close:N \ptxcd_xmpdata_stream
+ \let\ptxcd_pass_TitleData:\relax
}
\cs_new:Nn \ptxcd_write_xmp_line:nn {
\begingroup
@@ -890,6 +917,10 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
\def\sponsors#1{\def\@sponsors{#1}}
\sponsors{}
+\newcommand*{\ptxcd_title@footnote}[2][1]{
+ \textsuperscript{\@fnsymbol{#1}}#2
+}
+
\str_if_eq:VnTF \g_ptxcd_pubType_tl {thesis} {
\input{tudathesis.cfg}
} {
@@ -901,9 +932,6 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
\msg_error:nnn {tudapub} {only-thesis} {#1}
}
}
-\newcommand*{\ptxcd_title@footnote}[2][1]{
-\textsuperscript{\@fnsymbol{#1}}#2
-}
% The following macro is an adapted version of the corresponding KOMA-Script macro
% Copyright (c) 1994-2019 Markus Kohm [komascript at gmx info]
@@ -918,13 +946,15 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
}%
\def\thefootnote{\fnsymbol{footnote}}
\if@titlepageiscoverpage
- \edef\titlepage@restore{%
- \noexpand\endgroup
- \noexpand\global\noexpand\@colht\the\@colht
- \noexpand\global\noexpand\@colroom\the\@colroom
- \noexpand\global\vsize\the\vsize
- \noexpand\global\noexpand\@titlepageiscoverpagefalse
- \noexpand\let\noexpand\titlepage@restore\noexpand\relax
+ \def\titlepage@restore{%
+ \endgroup
+ \ptxcd_restore_typearea:
+ \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep}
+ \dim_add:Nn \textwidth {\marginparwidth+\marginparsep}
+ \columnwidth=\textwidth
+ \hsize=\columnwidth
+ \global\@titlepageiscoverpagefalse
+ \let\titlepage@restore\relax
}%
\begingroup
\topmargin=\dimexpr \coverpagetopmargin-1in\relax
@@ -950,8 +980,8 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
\ptxcd_setup_sponsor_box:
\hbox_gset:Nn \g_ptxcd_title_box {
\parbox[t]{\linewidth}{
- \begin{minipage}[b]{\bool_if:NT \g_ptxcd_logo@inhead_bool {.75}\linewidth}
- \bool_if:NT \g_ptxcd_logo@inhead_bool {\color{textonaccentcolor}}
+ \begin{minipage}[b]{\bool_if:NT \g__ptxcd_LogoInHead_bool {.75}\linewidth}
+ \bool_lazy_and:nnT {\g_ptxcd_colorback_bool} {\g_ptxcd_colorbacktitle_bool} {\color{textonaccentcolor}}
\tl_if_empty:NF \@titlehead {
\begin{addmargin}{3mm}
{\usekomafont{titlehead}{\@titlehead\par}}
@@ -970,6 +1000,7 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
{\rule{0pt}{.5\c_ptxcd_logoheight_dim}}
\end{addmargin}
\end{minipage}%
+ \bool_if:NT \g_ptxcd_colorbacksubtitle_bool {\color{textonaccentcolor}}
\par\nointerlineskip
\rule{\linewidth}{\g_ptxcd_titlerule_dim}\par\vspace{\c_ptxcd_rulesep_dim}
\begin{addmargin}{3mm}
@@ -995,17 +1026,18 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
\@thanks
\end{addmargin}
\par\vspace{-\dp\strutbox}
- \let\@thanks\@empty
}
+ \normalcolor
\rule{\linewidth}{\g_ptxcd_titlerule_dim}\par}
}
+ \let\@thanks\@empty
\ptxcd_adjust_titlepage_style:
\thispagestyle{title.TUDa}
\nointerlineskip\box_use:N \g_ptxcd_title_box
\par
\vfill
\box_if_empty:NTF \g_ptxcd_sponsor_box {
- \raisebox{-\c_ptxcd_rulesep_dim}[0pt][0pt]{\rule{\linewidth}{\g_ptxcd_titlerule_dim}}
+ \raisebox{-\c_ptxcd_rulesep_dim}[0pt][0pt]{\rule{\linewidth}{\g_ptxcd_titlerule_dim}}
}{
\box_use:N \g_ptxcd_sponsor_box
}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudarules.sty b/macros/latex/contrib/tuda-ci/tex/tudarules.sty
index 72c8a1cfeb..a433cc8b16 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudarules.sty
+++ b/macros/latex/contrib/tuda-ci/tex/tudarules.sty
@@ -1,4 +1,4 @@
-%% This is file `tudarules.sty' version 3.07 (2020/10/21),
+%% This is file `tudarules.sty' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudarules}{\filedate}{\fileversion}{Creation of colored bars for tuda-ci bundle}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
index ba60ec64f8..f4e0aa1a6c 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls
@@ -1,4 +1,4 @@
-%% This is file `tudasciposter.cls' version 3.07 (2020/10/21),
+%% This is file `tudasciposter.cls' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudasciposter}{\filedate}{\fileversion}{Scientific Poster Layout for TU Darmstadt}
diff --git a/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo b/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo
index 68208c3198..4003665ff9 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo
+++ b/macros/latex/contrib/tuda-ci/tex/tudasize9pt.clo
@@ -1,4 +1,4 @@
-%% This is file `tudasize9pt.clo' version 3.07 (2020/10/21),
+%% This is file `tudasize9pt.clo' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
diff --git a/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg b/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
index 1342704480..23958c3bab 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
+++ b/macros/latex/contrib/tuda-ci/tex/tudathesis.cfg
@@ -1,4 +1,4 @@
-%% This is file `tudathesis.cfg' version 3.07 (2020/10/21),
+%% This is file `tudathesis.cfg' version 3.08 (2020/11/12),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.07}
-\def\filedate{2020/10/21}
+\def\fileversion{3.08}
+\def\filedate{2020/11/12}
\RequirePackage{expl3}
\ProvidesExplFile{tudathesis.cfg}
{\filedate}{\fileversion}{Special Features for publication type 'thesis' using TU Darmstadt's Corporate Design (tuda-ci)}
@@ -279,17 +279,61 @@
}
}
+\tl_new:N \g_ptxcd_license_info_tl
+
\keys_define:nn {ptxcd/thesis} {
urn .tl_gset:N =\g_ptxcd_thesis_urn_tl,
urn .initial:V = \c_empty_tl,
printid .tl_gset:N = \g_ptxcd_thesis_tuprints_tl,
printid .initial:V = \c_empty_tl,
doi .tl_gset:N = \g_ptxcd_thesis_doi_tl,
- license .tl_gset:N = \g_ptxcd_license_info_tl,
- license .initial:n = {Die~Veröffentlichung~steht~unter~folgender~Creative~Commons~Lizenz:\\
- Namensnennung~--~Keine~kommerzielle~Nutzung~--~Keine~Bearbeitung~ 2.0~Deutschland\\
- \url{http://creativecommons.org/licenses/by-nc-nd/2.0/de/}
- }
+ license .choices:nn = {cc-by-4.0,cc-by-nc-nd-4.0} {
+ \tl_gset:Nx \g_ptxcd_license_info_tl {\exp_not:N \use:c {g__ptxcd_\l_keys_choice_tl :}\exp_not:N \iflanguage{\exp_not:N \bbl@main@language}{}{\exp_not:n {\par\smallskip\otherlanguage{\bbl@main@language}}{\exp_not:N \use:c {g__ptxcd_\l_keys_choice_tl :}}}}
+ },
+ license / cc-by-nc-nd-2.0-de .code:n = \tl_gset:Nn \g_ptxcd_license_info_tl {\use:c {g__ptxcd_cc-by-nc-nd-2.0-de:}},
+ license / initial .code:n = {
+ \keys_set:nn {ptxcd/thesis} {license=cc-by-nc-nd-2-de}
+ \tl_put_right:Nn \g_ptxcd_license_info_tl {\msg_warning:nn {tudapub/thesis} {default-license-will-change}}
+ },
+ license / unknown .code:n = \tl_gset:Nn \g_ptxcd_license_info_tl {#1},
+ license .initial:n = initial,
+}
+
+\msg_new:nnnn {tudapub/thesis} {default-license-will-change} {
+ TUprints~changed~their~default~license.\\
+ tuda-ci~will~adapt~this~change~in~the~next~major~update.~\\
+ Please~choose~your~license~manually~to~avoid~unintended~changes.
+} {Use~either~the~old~default~value~license=cc-by-nc-nd-2.0-de or~license=cc-by-4.0~or~license={<custom~text>}~with~\string\tuprints.}
+
+
+\cs_new:cn {g__ptxcd_cc-by-nc-nd-2.0-de:} {
+ Die~Veröffentlichung~steht~unter~folgender~Creative~Commons~Lizenz:\\
+ Namensnennung~--~Keine~kommerzielle~Nutzung~--~Keine~Bearbeitung~ 2.0~Deutschland\\
+ \url{http://creativecommons.org/licenses/by-nc-nd/2.0/de/}
+}
+
+\exp_args:Nnc \defcaptionname{ngerman, german}{g__ptxcd_cc-by-nc-nd-4.0:}{
+ Die~Veröffentlichung~steht~unter~folgender~Creative~Commons~Lizenz:\\
+ Namensnennung~--~Nicht~kommerziell~--~Keine~Bearbeitungen~4.0~International\\
+ \url{http://creativecommons.org/licenses/by-nc-nd/4.0/}
+}
+
+\exp_args:Nnc \defcaptionname{english, USenglish, american, UKenglish, british}{g__ptxcd_cc-by-nc-nd-4.0:}{
+ This~work~is~licensed~under~a~Creative~Commons~License:\\
+ Attribution--NonCommercial--NoDerivatives~4.0~International\\
+ \url{https://creativecommons.org/licenses/by-nc-nd/4.0/}
+}
+
+\exp_args:Nnc \defcaptionname{ngerman, german}{g__ptxcd_cc-by-4.0:}{
+ Die~Veröffentlichung~steht~unter~folgender~Creative~Commons~Lizenz:\\
+ Namensnennung~4.0~International\\
+ \url{http://creativecommons.org/licenses/by/4.0/}
+}
+
+\exp_args:Nnc \defcaptionname{english, USenglish, american, UKenglish, british}{g__ptxcd_cc-by-4.0:}{
+ This~work~is~licensed~under~a~Creative~Commons~License:\\
+ Attribution~4.0~International\\
+ \url{https://creativecommons.org/licenses/by/4.0/}
}
\newcommand{\tuprints}[1]{%
@@ -298,6 +342,7 @@
{\keys_set:nn {ptxcd/thesis} {printid=#1}}
\lowertitleback{
\urlstyle{same}
+ \selectlanguage{ngerman}
Bitte~zitieren~Sie~dieses~Dokument~als:
\tl_if_empty:NF \g_ptxcd_thesis_urn_tl {\\URN:~urn:nbn:de:tuda-tuprints-\g_ptxcd_thesis_urn_tl}\\
URL:~\url{http://tuprints.ulb.tu-darmstadt.de/\g_ptxcd_thesis_tuprints_tl}\\
@@ -389,13 +434,15 @@
}%
\def\thefootnote{\fnsymbol{footnote}}
\if@titlepageiscoverpage
- \edef\titlepage@restore{%
- \noexpand\endgroup
- \noexpand\global\noexpand\@colht\the\@colht
- \noexpand\global\noexpand\@colroom\the\@colroom
- \noexpand\global\vsize\the\vsize
- \noexpand\global\noexpand\@titlepageiscoverpagefalse
- \noexpand\let\noexpand\titlepage@restore\noexpand\relax
+ \def\titlepage@restore{%
+ \endgroup
+ \ptxcd_restore_typearea:
+ \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep}
+ \dim_add:Nn \textwidth {\marginparwidth+\marginparsep}
+ \columnwidth=\textwidth
+ \hsize=\columnwidth
+ \global\@titlepageiscoverpagefalse
+ \let\titlepage@restore\relax
}%
\begingroup
\topmargin=\dimexpr \coverpagetopmargin-1in\relax
@@ -421,8 +468,8 @@
\ptxcd_setup_sponsor_box:
\hbox_gset:Nn \g_ptxcd_title_box {
\parbox[t]{\linewidth}{
- \begin{minipage}[b]{\bool_if:NT \g_ptxcd_logo@inhead_bool {.75}\linewidth}
- \bool_if:NT \g_ptxcd_logo@inhead_bool {\color{textonaccentcolor}}
+ \begin{minipage}[b]{\bool_if:NT \g__ptxcd_LogoInHead_bool {.75}\linewidth}
+ \bool_lazy_and:nnT {\g_ptxcd_colorback_bool} {\g_ptxcd_colorbacktitle_bool} {\color{textonaccentcolor}}
\tl_if_empty:NF \@titlehead {
\begin{addmargin}{3mm}
{\usekomafont{titlehead}{\@titlehead\par}}
@@ -441,6 +488,7 @@
{\rule{0pt}{.5\c_ptxcd_logoheight_dim}}
\end{addmargin}
\end{minipage}%
+ \bool_if:NT \g_ptxcd_colorbacksubtitle_bool {\color{textonaccentcolor}}
\par\nointerlineskip
\rule{\linewidth}{\g_ptxcd_titlerule_dim}\par\vspace{\c_ptxcd_rulesep_dim}
\begin{addmargin}{3mm}
@@ -464,7 +512,20 @@
{\usekomafont{publishers}{\@publishers \par}}%
\tl_if_empty:NF \g_ptxcd_titleaddendum_tl {\g_ptxcd_titleaddendum_tl\par}
\end{addmargin}
- \rule{\linewidth}{\g_ptxcd_titlerule_dim}\par}}
+ \tl_if_empty:NF \@thanks {
+ \expandafter\fontsize\ptxcd_titlethanks_fontsize:\selectfont\par
+ \rule{\linewidth}{\g_ptxcd_titlerule_dim}\par
+ \begin{addmargin}{3mm}
+ \let\footnotetext\ptxcd_title@footnote
+ \@thanks
+ \end{addmargin}
+ \par\vspace{-\dp\strutbox}
+ }
+ \normalcolor
+ \rule{\linewidth}{\g_ptxcd_titlerule_dim}\par
+ }
+ }
+ \let\@thanks\@empty
\bool_if:NF \g_ptxcd_manual_info_box_bool {
\exp_args:Nf \tl_if_empty:nF {\ptxcd_institution\ptxcd_department\ptxcd_institute\ptxcd_group} {
\addTitleBox{
@@ -480,7 +541,6 @@
\nointerlineskip\box_use:N \g_ptxcd_title_box
\par
\vfill
- \@thanks\let\@thanks\@empty
\box_if_empty:NTF \g_ptxcd_sponsor_box {
\raisebox{-\c_ptxcd_rulesep_dim}[0pt][0pt]{\rule{\linewidth}{\g_ptxcd_titlerule_dim}}
}{
@@ -489,13 +549,13 @@
\if@twoside
\@tempswatrue
\expandafter\ifnum \@nameuse{scr@v@3.12}>\scr@compatibility\relax
- \else
- \ifx\@uppertitleback\@empty
+ \else
+ \ifx\@uppertitleback\@empty
\ifx\@lowertitleback\@empty
- \@tempswafalse
+ \@tempswafalse
+ \fi
\fi
\fi
- \fi
\else
\exp_args:Nf \tl_if_empty:nTF {\g_ptxcd_thesis_urn_tl\g_ptxcd_thesis_tuprints_tl}
{\@tempswafalse}
@@ -530,7 +590,6 @@
}
\newcommand*{\@ThesisType}{\ptxcd_thesisType}
-%\ExplSyntaxOff
\bool_if:NTF \g_ptxcd_dr_bool {
\keys_define:nn {ptxcd/thesis} {