summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-12 20:34:46 +0000
committerKarl Berry <karl@freefriends.org>2022-03-12 20:34:46 +0000
commita5952dd62e1608ef0fbc01ced6d9344ea5d69cb7 (patch)
tree7115de7390b92535d1ae2ca1577a3a82acfd7fda /Master/texmf-dist/tex/latex/projlib/projlib-author.sty
parent65307ba55aef6eb6541ec5ac312ac8556b24e690 (diff)
projlib (12mar22)
git-svn-id: svn://tug.org/texlive/trunk@62661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/projlib-author.sty')
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-author.sty30
1 files changed, 24 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-author.sty b/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
index 2ad44ff6a3e..e3929df4e51 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
@@ -1,8 +1,25 @@
+%%
+%% This is file `projlib-author.sty',
+%% generated with the docstrip utility.
+
+%% Copyright (C) 2021-2022 by Jinwen XU
+%%
+%% This is part of the ProjLib Toolkit.
+%%
+%% 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
+%%
+%% and version 1.3c or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\RequirePackage{l3keys2e}
\ProvidesExplPackage
{projlib-author}
- {2022/03/09} {}
+ {2022/03/11} {}
{Enhanced author information block}
\keys_define:nn { projlib-author }
@@ -35,7 +52,6 @@
\dim_set:Nn \g__projlib_author_length_sep_dim { 0.5 \baselineskip }
\dim_set:Nn \g__projlib_author_length_aftersep_dim { 0.3 \baselineskip }
-
\bool_new:N \g__projlib_author_affil_already_exist_bool
\NewCommandCopy \projlib_author_backup_author:w \author
@@ -98,8 +114,9 @@
\RequirePackage { regexpatch }
-\xpatchcmd { \@maketitle } { \begin{tabular}[t]{c} } {} {} { \FAIL }
-\xpatchcmd { \@maketitle } { \end{tabular} } {} {} { \FAIL }
+\xpatchcmd { \@maketitle } { \begin{tabular}[t]{c} } {} {
+ \xpatchcmd { \@maketitle } { \end{tabular} } {} {} {}
+} {}
\tl_set:cn {@author} {}
@@ -176,7 +193,7 @@
\NewDocumentCommand \thanks { m }
{
- \tl_if_blank:eF { #1 }
+ \tl_if_blank:nF { #1 }
{
\hook_gput_code:nnn { cmd/@title/after } { projlib-author }
{
@@ -208,6 +225,7 @@
\bool_new:N \g__projlib_author_abstract_before_maketitle_bool
\bool_gset_false:N \g__projlib_author_abstract_before_maketitle_bool
+ \msg_redirect_name:nnn { scontents } { unsupported-verbatim } { info }
\RequirePackage{ scontents }
\newenvsc{abstract}[store-env=projlib-author-abstract,print-env=false]
@@ -243,7 +261,7 @@
\skip_vertical:n { \dim_eval:n { -1.7 \baselineskip } }
}
}
- } {} { \FAIL }
+ } {} {}
\makeatother
\hook_gput_code:nnn { cmd/maketitle/before } { projlib-author }