summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-03 21:13:24 +0000
committerKarl Berry <karl@freefriends.org>2024-02-03 21:13:24 +0000
commit10f488f7278131d9b690237de589609a63900c80 (patch)
treebea65dfec33e66604338c7365cf785f906125ef5
parent211e3ca1747f97247169e8d6d83cfc2cfc14d7a6 (diff)
projlib (3feb24)
git-svn-id: svn://tug.org/texlive/trunk@69689 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/projlib/README.md8
-rw-r--r--Master/texmf-dist/source/latex/projlib/ProjLib.dtx84
-rw-r--r--Master/texmf-dist/source/latex/projlib/ProjLib.ins4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/ProjLib.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-author.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-draft.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-font.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-language.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-logo.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-math.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-paper.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-text.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty4
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty61
15 files changed, 104 insertions, 97 deletions
diff --git a/Master/texmf-dist/doc/latex/projlib/README.md b/Master/texmf-dist/doc/latex/projlib/README.md
index b9b4816d75a..f7f7c70dbe5 100644
--- a/Master/texmf-dist/doc/latex/projlib/README.md
+++ b/Master/texmf-dist/doc/latex/projlib/README.md
@@ -1,11 +1,11 @@
-<!-- Copyright (C) 2021-2023 by Jinwen XU -->
+<!-- Copyright (C) 2021-2024 by Jinwen XU -->
<!-- ![image](https://github.com/Jinwen-XU/ProjLib/raw/main/logo/ProjLib-logo.png) -->
<div align=center><img height="150" src="https://github.com/Jinwen-XU/ProjLib/raw/main/logo/ProjLib-logo.png"/></div>
# The `ProjLib` Toolkit
-> **This bundle is dated 2023/11/05.**
+> **This bundle is dated 2024/02/03.**
> **New documentations are still being written. For now, only the core code is included in TeX Live 2023 (old documentations have been removed from the distribution).**
@@ -63,8 +63,8 @@ The modules include:
- Supporting the modes `simple name` and `complex name` for the referencing names.
- `\SwitchTheoremNumbering` and `\DisableTheoremNumbering` for manipulating the numbering.
- Preset environments include: `application`, `assertion`, `assumption`, `axiom`, `claim`, `conclusion`, `conjecture`, `construction`, `convention`, `corollary`, `definition`, `definition-proposition`, `definition-theorem`, `example`, `exercise`, `fact`, `hypothesis`, `lemma`, `notation`, `observation`, `postulate`, `problem`, `property`, `proposition`, `question`, `recall`, `remark`, `theorem`, and the corresponding unnumbered version with an asterisk `*` in the name.
-1. module `titlepage` - *Commands for rendering the title page*
- - Currently support four title page styles: `default`, `academic`, `minimalist` and `simple`.
+1. module `titlepage` - *Interface for title page rendering*
+ - Currently support four title page styles: `default`, `academic`, `simple` and `fancy`.
> Since the module `theorem` uses `cleveref`, it should be loaded after `varioref` and `hyperref` (same for the main package `ProjLib`).
diff --git a/Master/texmf-dist/source/latex/projlib/ProjLib.dtx b/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
index fcac850e842..1172d3e4ad4 100644
--- a/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
+++ b/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2021-2023 by Jinwen XU
+% Copyright (C) 2021-2024 by Jinwen XU
% ------------------------------------
%
% This file may be distributed and/or modified under the conditions of the LaTeX
@@ -19,85 +19,85 @@
%<*ProjLib>
\ProvidesExplPackage
{ProjLib}
- {2023/11/05} {}
+ {2024/02/03} {}
{Collective interface of the ProjLib toolkit}
%</ProjLib>
%
%<*projlib-author>
\ProvidesExplPackage
{projlib-author}
- {2023/11/05} {}
+ {2024/02/03} {}
{Enhanced author information block}
%</projlib-author>
%
%<*projlib-datetime>
\ProvidesExplPackage
{projlib-datetime}
- {2023/11/05} {}
+ {2024/02/03} {}
{Convert numeric date-time string to natural language}
%</projlib-datetime>
%
%<*projlib-draft>
\ProvidesExplPackage
{projlib-draft}
- {2023/11/05} {}
+ {2024/02/03} {}
{Useful commands during draft stage}
%</projlib-draft>
%
%<*projlib-font>
\ProvidesExplPackage
{projlib-font}
- {2023/11/05} {}
+ {2024/02/03} {}
{Font selection and configuration}
%</projlib-font>
%
%<*projlib-language>
\ProvidesExplPackage
{projlib-language}
- {2023/11/05} {}
+ {2024/02/03} {}
{Multi-language configuration}
%</projlib-language>
%
%<*projlib-logo>
\ProvidesExplPackage
{projlib-logo}
- {2023/11/05} {}
+ {2024/02/03} {}
{The ProjLib logo}
%</projlib-logo>
%
%<*projlib-math>
\ProvidesExplPackage
{projlib-math}
- {2023/11/05} {}
+ {2024/02/03} {}
{Efficient math setup}
%</projlib-math>
%
%<*projlib-paper>
\ProvidesExplPackage
{projlib-paper}
- {2023/11/05} {}
+ {2024/02/03} {}
{Configuration of the paper style}
%</projlib-paper>
%
%<*projlib-text>
\ProvidesExplPackage
{projlib-text}
- {2023/11/05} {}
+ {2024/02/03} {}
{Text-related commands}
%</projlib-text>
%
%<*projlib-theorem>
\ProvidesExplPackage
{projlib-theorem}
- {2023/11/05} {}
+ {2024/02/03} {}
{Configuration of theorem-like environments}
%</projlib-theorem>
%
%<*projlib-titlepage>
\ProvidesExplPackage
{projlib-titlepage}
- {2023/11/05} {}
- {Commands for rendering the title page}
+ {2024/02/03} {}
+ {Interface for title page rendering}
%</projlib-titlepage>
%<*ProjLib>
@@ -5521,9 +5521,12 @@
\tl_set_eq:NN \thepage \l_projlib_titlepage_license_page_name_tl
\thispagestyle{empty}
\null\vfill
- \begin{flushleft}
+ % \begin{flushleft}
+ \group_begin:
+ \noindent
\tl_use:N \l_projlib_titlepage_info_tl
- \end{flushleft}
+ \group_end:
+ % \end{flushleft}
\group_begin:
\tl_use:N \l_projlib_titlepage_license_tl
\group_end:
@@ -5532,38 +5535,37 @@
\pagenumbering{roman}
}
+
\cs_new_protected:Nn \projlib_titlepage_render_with_style_default:
{
\begin{tikzpicture}[overlay,remember~picture]
- \fill [color=titlepage-main] ($(current~page.south~west)$) rectangle ($(current~page.north~east)+(0,-.3\paperheight)$);
- \fill [color=titlepage-back] ($(current~page.south~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
- \fill [color=titlepage-main] ($(current~page.north~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
- \fill [color=titlepage-back] ($(current~page.north~east)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
+ % \fill[color=white] ($(current~page.south~west)$) rectangle ($(current~page.north~east)$);
\node[text~width=.3\paperwidth, text~height=.2\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.333\paperwidth,-.17\paperheight)$)
+ at ($(current~page.north~west)+(.32\paperwidth,-.1\paperheight)$)
{
\projlib_titlepage_show_logo:n { \scalebox { 2 } { \ProjLib } }
};
\node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.583\paperwidth,-.28\paperheight)$)
+ at ($(current~page.north~west)+(.57\paperwidth,-.15\paperheight)$)
{
- \color{titlepage-back}
\sffamily
\fontsize{24pt}{36pt}\selectfont
- \textsc{ \l_projlib_titlepage_title_tl }\\[1.5em]
+ \textsc{ \textbf{ \l_projlib_titlepage_title_tl } }\\[1.5em]
\fontsize{18pt}{27pt}\selectfont
\l_projlib_titlepage_subtitle_tl
};
- \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
- at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
+ % \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
+ % at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
+ \node[text~width=.8\paperwidth, text~height=.4\paperheight, align=flush~left]
+ at ($(current~page.south~west)+(.57\paperwidth,.45\paperheight)$)
{
- \color{titlepage-back}
- \begin{flushright}
+ % \color{.!50}
+ % \begin{flushright}
\fontsize{16pt}{24pt}\selectfont
\textsc{ \l_projlib_titlepage_author_tl }\\[1em]
\fontsize{12pt}{18pt}\selectfont
\l_projlib_titlepage_date_tl
- \end{flushright}
+ % \end{flushright}
};
\end{tikzpicture}
}
@@ -5634,36 +5636,38 @@
\end{tikzpicture}
}
-\cs_new_protected:Nn \projlib_titlepage_render_with_style_minimalist:
+\cs_new_protected:Nn \projlib_titlepage_render_with_style_fancy:
{
\begin{tikzpicture}[overlay,remember~picture]
- % \fill[color=white] ($(current~page.south~west)$) rectangle ($(current~page.north~east)$);
+ \fill [color=titlepage-main] ($(current~page.south~west)$) rectangle ($(current~page.north~east)+(0,-.3\paperheight)$);
+ \fill [color=titlepage-back] ($(current~page.south~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
+ \fill [color=titlepage-main] ($(current~page.north~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
+ \fill [color=titlepage-back] ($(current~page.north~east)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
\node[text~width=.3\paperwidth, text~height=.2\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.32\paperwidth,-.2\paperheight)$)
+ at ($(current~page.north~west)+(.333\paperwidth,-.17\paperheight)$)
{
\projlib_titlepage_show_logo:n { \scalebox { 2 } { \ProjLib } }
};
\node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.57\paperwidth,-.22\paperheight)$)
+ at ($(current~page.north~west)+(.583\paperwidth,-.28\paperheight)$)
{
+ \color{titlepage-back}
\sffamily
\fontsize{24pt}{36pt}\selectfont
\textsc{ \l_projlib_titlepage_title_tl }\\[1.5em]
\fontsize{18pt}{27pt}\selectfont
\l_projlib_titlepage_subtitle_tl
};
- % \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
- % at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
- \node[text~width=.8\paperwidth, text~height=.4\paperheight, align=flush~left]
- at ($(current~page.south~west)+(.57\paperwidth,.45\paperheight)$)
+ \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
+ at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
{
- \color{.!50}
- % \begin{flushright}
+ \color{titlepage-back}
+ \begin{flushright}
\fontsize{16pt}{24pt}\selectfont
\textsc{ \l_projlib_titlepage_author_tl }\\[1em]
\fontsize{12pt}{18pt}\selectfont
\l_projlib_titlepage_date_tl
- % \end{flushright}
+ \end{flushright}
};
\end{tikzpicture}
}
diff --git a/Master/texmf-dist/source/latex/projlib/ProjLib.ins b/Master/texmf-dist/source/latex/projlib/ProjLib.ins
index 19afe26f964..67c129761e0 100644
--- a/Master/texmf-dist/source/latex/projlib/ProjLib.ins
+++ b/Master/texmf-dist/source/latex/projlib/ProjLib.ins
@@ -1,5 +1,5 @@
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3c of this license
@@ -20,7 +20,7 @@
\ds@heading% This is file... generated with the docstrip utility.
\MetaPrefix%
-Copyright (C) 2021-2023 by Jinwen XU
+Copyright (C) 2021-2024 by Jinwen XU
This is part of the ProjLib Toolkit.
}%
diff --git a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
index f39a7085d32..1abcfb91338 100644
--- a/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
+++ b/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
@@ -2,7 +2,7 @@
%% This is file `ProjLib.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{ProjLib}
- {2023/11/05} {}
+ {2024/02/03} {}
{Collective interface of the ProjLib toolkit}
\keys_define:nn { ProjLib }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-author.sty b/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
index 0114f958c1c..f20d07a436f 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-author.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-author}
- {2023/11/05} {}
+ {2024/02/03} {}
{Enhanced author information block}
\keys_define:nn { projlib-author }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty b/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
index fbfcbf472a4..64890c51c47 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-datetime.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-datetime}
- {2023/11/05} {}
+ {2024/02/03} {}
{Convert numeric date-time string to natural language}
\tl_new:N \g__projlib_datetime_input_format_tl
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty b/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
index 05c0b684918..07675784ed9 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-draft.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-draft}
- {2023/11/05} {}
+ {2024/02/03} {}
{Useful commands during draft stage}
\keys_define:nn { projlib-draft }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-font.sty b/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
index 23834160eaa..30aaacb51af 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-font.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-font}
- {2023/11/05} {}
+ {2024/02/03} {}
{Font selection and configuration}
\keys_define:nn { projlib-font }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-language.sty b/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
index dfb7ed8bdeb..02a2b9649d4 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-language.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-language}
- {2023/11/05} {}
+ {2024/02/03} {}
{Multi-language configuration}
\clist_const:Nn \c__projlib_language_supported_clist
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty b/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
index e274a5a74bb..9858ec7060c 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-logo.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-logo}
- {2023/11/05} {}
+ {2024/02/03} {}
{The ProjLib logo}
\keys_define:nn { projlib-logo }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-math.sty b/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
index 5fd423f4746..528b5bd9db4 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-math.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-math}
- {2023/11/05} {}
+ {2024/02/03} {}
{Efficient math setup}
\keys_define:nn { projlib-math }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty b/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
index 0773da076a3..8d75aecceae 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-paper.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-paper}
- {2023/11/05} {}
+ {2024/02/03} {}
{Configuration of the paper style}
\keys_define:nn { projlib-paper }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-text.sty b/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
index 769ca911aaf..4747af00788 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-text.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-text}
- {2023/11/05} {}
+ {2024/02/03} {}
{Text-related commands}
\keys_define:nn { projlib-text }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty b/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
index eb6c4db539d..e043322b996 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-theorem.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-theorem}
- {2023/11/05} {}
+ {2024/02/03} {}
{Configuration of theorem-like environments}
\keys_define:nn { projlib-theorem }
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty b/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
index 3f3cae0a14c..e1526bc2088 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
@@ -2,7 +2,7 @@
%% This is file `projlib-titlepage.sty',
%% generated with the docstrip utility.
%%
-%% Copyright (C) 2021-2023 by Jinwen XU
+%% Copyright (C) 2021-2024 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
@@ -18,8 +18,8 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-titlepage}
- {2023/11/05} {}
- {Commands for rendering the title page}
+ {2024/02/03} {}
+ {Interface for title page rendering}
\keys_define:nn { projlib-titlepage }
{
@@ -117,9 +117,12 @@
\tl_set_eq:NN \thepage \l_projlib_titlepage_license_page_name_tl
\thispagestyle{empty}
\null\vfill
- \begin{flushleft}
+ % \begin{flushleft}
+ \group_begin:
+ \noindent
\tl_use:N \l_projlib_titlepage_info_tl
- \end{flushleft}
+ \group_end:
+ % \end{flushleft}
\group_begin:
\tl_use:N \l_projlib_titlepage_license_tl
\group_end:
@@ -131,35 +134,33 @@
\cs_new_protected:Nn \projlib_titlepage_render_with_style_default:
{
\begin{tikzpicture}[overlay,remember~picture]
- \fill [color=titlepage-main] ($(current~page.south~west)$) rectangle ($(current~page.north~east)+(0,-.3\paperheight)$);
- \fill [color=titlepage-back] ($(current~page.south~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
- \fill [color=titlepage-main] ($(current~page.north~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
- \fill [color=titlepage-back] ($(current~page.north~east)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
+ % \fill[color=white] ($(current~page.south~west)$) rectangle ($(current~page.north~east)$);
\node[text~width=.3\paperwidth, text~height=.2\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.333\paperwidth,-.17\paperheight)$)
+ at ($(current~page.north~west)+(.32\paperwidth,-.1\paperheight)$)
{
\projlib_titlepage_show_logo:n { \scalebox { 2 } { \ProjLib } }
};
\node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.583\paperwidth,-.28\paperheight)$)
+ at ($(current~page.north~west)+(.57\paperwidth,-.15\paperheight)$)
{
- \color{titlepage-back}
\sffamily
\fontsize{24pt}{36pt}\selectfont
- \textsc{ \l_projlib_titlepage_title_tl }\\[1.5em]
+ \textsc{ \textbf{ \l_projlib_titlepage_title_tl } }\\[1.5em]
\fontsize{18pt}{27pt}\selectfont
\l_projlib_titlepage_subtitle_tl
};
- \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
- at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
+ % \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
+ % at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
+ \node[text~width=.8\paperwidth, text~height=.4\paperheight, align=flush~left]
+ at ($(current~page.south~west)+(.57\paperwidth,.45\paperheight)$)
{
- \color{titlepage-back}
- \begin{flushright}
+ % \color{.!50}
+ % \begin{flushright}
\fontsize{16pt}{24pt}\selectfont
\textsc{ \l_projlib_titlepage_author_tl }\\[1em]
\fontsize{12pt}{18pt}\selectfont
\l_projlib_titlepage_date_tl
- \end{flushright}
+ % \end{flushright}
};
\end{tikzpicture}
}
@@ -230,36 +231,38 @@
\end{tikzpicture}
}
-\cs_new_protected:Nn \projlib_titlepage_render_with_style_minimalist:
+\cs_new_protected:Nn \projlib_titlepage_render_with_style_fancy:
{
\begin{tikzpicture}[overlay,remember~picture]
- % \fill[color=white] ($(current~page.south~west)$) rectangle ($(current~page.north~east)$);
+ \fill [color=titlepage-main] ($(current~page.south~west)$) rectangle ($(current~page.north~east)+(0,-.3\paperheight)$);
+ \fill [color=titlepage-back] ($(current~page.south~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
+ \fill [color=titlepage-main] ($(current~page.north~west)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
+ \fill [color=titlepage-back] ($(current~page.north~east)$) rectangle ($(current~page.north~west)+(.125\paperwidth,-.3\paperheight)$);
\node[text~width=.3\paperwidth, text~height=.2\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.32\paperwidth,-.2\paperheight)$)
+ at ($(current~page.north~west)+(.333\paperwidth,-.17\paperheight)$)
{
\projlib_titlepage_show_logo:n { \scalebox { 2 } { \ProjLib } }
};
\node[text~width=.8\paperwidth, text~height=.5\paperheight, align=flush~left]
- at ($(current~page.north~west)+(.57\paperwidth,-.22\paperheight)$)
+ at ($(current~page.north~west)+(.583\paperwidth,-.28\paperheight)$)
{
+ \color{titlepage-back}
\sffamily
\fontsize{24pt}{36pt}\selectfont
\textsc{ \l_projlib_titlepage_title_tl }\\[1.5em]
\fontsize{18pt}{27pt}\selectfont
\l_projlib_titlepage_subtitle_tl
};
- % \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
- % at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
- \node[text~width=.8\paperwidth, text~height=.4\paperheight, align=flush~left]
- at ($(current~page.south~west)+(.57\paperwidth,.45\paperheight)$)
+ \node[text~width=.5\paperwidth, text~height=.4\paperheight, align=flush~left]
+ at ($(current~page.south)+(.135\paperwidth,.35\paperheight)$)
{
- \color{.!50}
- % \begin{flushright}
+ \color{titlepage-back}
+ \begin{flushright}
\fontsize{16pt}{24pt}\selectfont
\textsc{ \l_projlib_titlepage_author_tl }\\[1em]
\fontsize{12pt}{18pt}\selectfont
\l_projlib_titlepage_date_tl
- % \end{flushright}
+ \end{flushright}
};
\end{tikzpicture}
}