texlive[69689] Master/texmf-dist: projlib (3feb24)
commits+karl at tug.org
commits+karl at tug.org
Sat Feb 3 22:13:24 CET 2024
Revision: 69689
https://tug.org/svn/texlive?view=revision&revision=69689
Author: karl
Date: 2024-02-03 22:13:24 +0100 (Sat, 03 Feb 2024)
Log Message:
-----------
projlib (3feb24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/projlib/README.md
trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
trunk/Master/texmf-dist/source/latex/projlib/ProjLib.ins
trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
Modified: trunk/Master/texmf-dist/doc/latex/projlib/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/projlib/README.md 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/doc/latex/projlib/README.md 2024-02-03 21:13:24 UTC (rev 69689)
@@ -1,4 +1,4 @@
-<!-- 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>
@@ -5,7 +5,7 @@
# 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 @@
- 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`).
Modified: trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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,7 +19,7 @@
%<*ProjLib>
\ProvidesExplPackage
{ProjLib}
- {2023/11/05} {}
+ {2024/02/03} {}
{Collective interface of the ProjLib toolkit}
%</ProjLib>
%
@@ -26,7 +26,7 @@
%<*projlib-author>
\ProvidesExplPackage
{projlib-author}
- {2023/11/05} {}
+ {2024/02/03} {}
{Enhanced author information block}
%</projlib-author>
%
@@ -33,7 +33,7 @@
%<*projlib-datetime>
\ProvidesExplPackage
{projlib-datetime}
- {2023/11/05} {}
+ {2024/02/03} {}
{Convert numeric date-time string to natural language}
%</projlib-datetime>
%
@@ -40,7 +40,7 @@
%<*projlib-draft>
\ProvidesExplPackage
{projlib-draft}
- {2023/11/05} {}
+ {2024/02/03} {}
{Useful commands during draft stage}
%</projlib-draft>
%
@@ -47,7 +47,7 @@
%<*projlib-font>
\ProvidesExplPackage
{projlib-font}
- {2023/11/05} {}
+ {2024/02/03} {}
{Font selection and configuration}
%</projlib-font>
%
@@ -54,7 +54,7 @@
%<*projlib-language>
\ProvidesExplPackage
{projlib-language}
- {2023/11/05} {}
+ {2024/02/03} {}
{Multi-language configuration}
%</projlib-language>
%
@@ -61,7 +61,7 @@
%<*projlib-logo>
\ProvidesExplPackage
{projlib-logo}
- {2023/11/05} {}
+ {2024/02/03} {}
{The ProjLib logo}
%</projlib-logo>
%
@@ -68,7 +68,7 @@
%<*projlib-math>
\ProvidesExplPackage
{projlib-math}
- {2023/11/05} {}
+ {2024/02/03} {}
{Efficient math setup}
%</projlib-math>
%
@@ -75,7 +75,7 @@
%<*projlib-paper>
\ProvidesExplPackage
{projlib-paper}
- {2023/11/05} {}
+ {2024/02/03} {}
{Configuration of the paper style}
%</projlib-paper>
%
@@ -82,7 +82,7 @@
%<*projlib-text>
\ProvidesExplPackage
{projlib-text}
- {2023/11/05} {}
+ {2024/02/03} {}
{Text-related commands}
%</projlib-text>
%
@@ -89,7 +89,7 @@
%<*projlib-theorem>
\ProvidesExplPackage
{projlib-theorem}
- {2023/11/05} {}
+ {2024/02/03} {}
{Configuration of theorem-like environments}
%</projlib-theorem>
%
@@ -96,8 +96,8 @@
%<*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,18 +5636,22 @@
\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]
@@ -5652,18 +5658,16 @@
\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}
}
Modified: trunk/Master/texmf-dist/source/latex/projlib/ProjLib.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/projlib/ProjLib.ins 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/source/latex/projlib/ProjLib.ins 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 at 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.
}%
Modified: trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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 }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty 2024-02-03 21:13:15 UTC (rev 69688)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty 2024-02-03 21:13:24 UTC (rev 69689)
@@ -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,18 +231,22 @@
\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]
@@ -248,18 +253,16 @@
\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}
}
More information about the tex-live-commits
mailing list.