summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/projlib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-20 03:00:38 +0000
committerNorbert Preining <norbert@preining.info>2021-05-20 03:00:38 +0000
commit6d6c3b4ee419b9f485a213d2ece28b06e9ca2f7c (patch)
tree243789c085bcb650c397f86eeaaddbc45ca92dff /macros/latex/contrib/projlib
parent94c996b5f40175b4a858ddd1f19e3947198b9bd0 (diff)
CTAN sync 202105200300
Diffstat (limited to 'macros/latex/contrib/projlib')
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-cn.pdfbin221440 -> 222025 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-cn.tex110
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-en.pdfbin144643 -> 145010 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-en.tex110
-rw-r--r--macros/latex/contrib/projlib/ProjLib.dtx596
-rw-r--r--macros/latex/contrib/projlib/ProjLib.ins36
-rw-r--r--macros/latex/contrib/projlib/README.md30
7 files changed, 441 insertions, 441 deletions
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf b/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
index 5928a76051..760b4b99c8 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
+++ b/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
Binary files differ
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-cn.tex b/macros/latex/contrib/projlib/ProjLib-doc-cn.tex
index 6ff43be01e..dfbedaf726 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-cn.tex
+++ b/macros/latex/contrib/projlib/ProjLib-doc-cn.tex
@@ -4,7 +4,7 @@
%%================================
%% 引入工具集
%%================================
-\usepackage{PLtoolkit}
+\usepackage{PJLtoolkit}
\usepackage{longtable} % breakable tables
\usepackage{hologo} % more TeX logo
@@ -32,7 +32,7 @@
}
\providecommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$}
\lstset{moretexcs=%
- {color,CreateTheorem,proofideanameCN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib
+ {color,CreateTheorem,proofideanameCN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PJLdate,ProjLib
}
}
\lstnewenvironment{code}%
@@ -61,15 +61,15 @@
%%================================
%% 名称
%%================================
-\providecommand{\PLtoolkit}{\textsf{PLtoolkit}}
-\providecommand{\PLamssim}{\textsf{PLamssim}}
-\providecommand{\PLauthor}{\textsf{PLauthor}}
-\providecommand{\PLdatestr}{\textsf{PLdate}}
-\providecommand{\PLdraft}{\textsf{PLdraft}}
-\providecommand{\PLlang}{\textsf{PLlang}}
-\providecommand{\PLlogo}{\textsf{PLlogo}}
-\providecommand{\PLpaper}{\textsf{PLpaper}}
-\providecommand{\PLthm}{\textsf{PLthm}}
+\providecommand{\PJLtoolkit}{\textsf{PJLtoolkit}}
+\providecommand{\PJLamssim}{\textsf{PJLamssim}}
+\providecommand{\PJLauthor}{\textsf{PJLauthor}}
+\providecommand{\PJLdatestr}{\textsf{PJLdate}}
+\providecommand{\PJLdraft}{\textsf{PJLdraft}}
+\providecommand{\PJLlang}{\textsf{PJLlang}}
+\providecommand{\PJLlogo}{\textsf{PJLlogo}}
+\providecommand{\PJLpaper}{\textsf{PJLpaper}}
+\providecommand{\PJLthm}{\textsf{PJLthm}}
%%================================
%% 正文
@@ -78,35 +78,35 @@
\title{\ProjLib{} 工具集\\[.3\baselineskip]\normalsize 使用指南}
\author{许锦文}
-\thanks{对应版本.~~\texttt{\ProjLib{}~2021/05/12}}
+\thanks{对应版本.~~\texttt{\ProjLib{}~2021/05/19}}
\date{2021年5月,北京}
\maketitle
\begin{abstract}
- \ProjLib{} 工具集之设计目的为简化 \LaTeX{} 文档撰写前的准备工作。只需要加载 \PLtoolkit{},多语言设置就已准备就绪,定理类环境已被设置好可供直接使用,并且引入了一系列辅助功能。
+ \ProjLib{} 工具集之设计目的为简化 \LaTeX{} 文档撰写前的准备工作。只需要加载 \PJLtoolkit{},多语言设置就已准备就绪,定理类环境已被设置好可供直接使用,并且引入了一系列辅助功能。
\end{abstract}
% \tableofcontents
-\section{PLtoolkit}
+\section{PJLtoolkit}
\subsection{如何加载}
只需要在导言部分加入这一行即可:
\begin{code}
- \usepackage{PLtoolkit}
+ \usepackage{PJLtoolkit}
\end{code}
\begin{remind}[注意事项]
- 由于其内部使用了 \textsf{cleveref},\PLtoolkit{} 需要放在 \textsf{varioref}、\textsf{hyperref} 的后面。
+ 由于其内部使用了 \textsf{cleveref},\PJLtoolkit{} 需要放在 \textsf{varioref}、\textsf{hyperref} 的后面。
\end{remind}
\medskip
\subsection{选项}
-\PLtoolkit{} 提供下列选项以供选择:
+\PJLtoolkit{} 提供下列选项以供选择:
\begin{itemize}
\item \texttt{draft} 或 \texttt{fast}
\begin{itemize}
@@ -118,37 +118,37 @@
\end{itemize}
\item \texttt{author}
\begin{itemize}
- \item 加载 \PLauthor{}。关于其详细功能,请参阅有关这一宏包的小节。
+ \item 加载 \PJLauthor{}。关于其详细功能,请参阅有关这一宏包的小节。
\end{itemize}
\item \texttt{amssim}
\begin{itemize}
- \item 加载 \PLamssim{}。关于其详细功能,请参阅有关这一宏包的小节。
+ \item 加载 \PJLamssim{}。关于其详细功能,请参阅有关这一宏包的小节。
\end{itemize}
\item \texttt{nothms}
\begin{itemize}
\item 不设定定理类环境。如果你希望使用自己的定理样式,可以使用这一选项。
\end{itemize}
\end{itemize}
-另外,还有一些组件的参数可以作为文档类的全局参数传递,例如 \PLpaper{} 的 \texttt{paperstyle} 和 \texttt{preview} 等。详细信息可以参阅对应的小节。
+另外,还有一些组件的参数可以作为文档类的全局参数传递,例如 \PJLpaper{} 的 \texttt{paperstyle} 和 \texttt{preview} 等。详细信息可以参阅对应的小节。
\section{具体组件}
-\subsection{PLamssim}
+\subsection{PJLamssim}
-\PLamssim{} 用于模拟 \textsf{amsart} 文档类的部分功能,包括:
+\PJLamssim{} 用于模拟 \textsf{amsart} 文档类的部分功能,包括:
\begin{itemize}
- \item \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email|、\lstinline|\dedicatory| 命令 (前三者由 \PLauthor{} 提供)
+ \item \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email|、\lstinline|\dedicatory| 命令 (前三者由 \PJLauthor{} 提供)
\item \lstinline|\keywords| 命令
\item \lstinline|\subjclass| 命令
\item \lstinline|\thanks| 可以写在 \lstinline|\author| 之外
\item \lstinline|abstract| 环境可以放在 \lstinline|\maketitle| 的前面
\end{itemize}
-这些功能只在标准文档类中启用。在 \AmS{} 文档类中,\PLamssim{} 不会起到任何效果。
+这些功能只在标准文档类中启用。在 \AmS{} 文档类中,\PJLamssim{} 不会起到任何效果。
-\subsection{PLauthor}
+\subsection{PJLauthor}
-\PLauthor{} 提供了 \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email| 命令,并且允许输入多组用户信息。标准的输入方式是这样的:
+\PJLauthor{} 提供了 \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email| 命令,并且允许输入多组用户信息。标准的输入方式是这样的:
\begin{code}
\author{(*\meta{author 1}*)}
\address{(*\meta{address 1}*)}
@@ -160,25 +160,25 @@
\end{code}
其中 \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email| 的相互顺序是不重要的。
-\subsection{PLdate}
+\subsection{PJLdate}
-\PLdatestr{} 提供了 \lstinline|\PLdate|\meta{yyyy-mm-dd} 命令,以将 \meta{yyyy-mm-dd} 转换为对应语言的日期格式显示。例如,在当前的中文语境下,\lstinline|\PLdate{2022-04-01}| 会被显示为:\PLdate{2022-04-01}。
+\PJLdatestr{} 提供了 \lstinline|\PJLdate|\meta{yyyy-mm-dd} 命令,以将 \meta{yyyy-mm-dd} 转换为对应语言的日期格式显示。例如,在当前的中文语境下,\lstinline|\PJLdate{2022-04-01}| 会被显示为:\PJLdate{2022-04-01}。
-关于如何选定语言,请参阅关于 \PLlang{} 的小节。
+关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
-\subsection{PLdraft}
+\subsection{PJLdraft}
-\PLdraft{} 提供了下列命令:
+\PJLdraft{} 提供了下列命令:
\begin{itemize}
\item \lstinline|\dnf| 或 \lstinline|\dnf<...>|。效果为:\dnf~或 \dnf<...>。\\其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\dnf}。
\item \lstinline|\needgraph| 或 \lstinline|\needgraph<...>|。效果为:\needgraph~或 \needgraph<...>其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\needgraph}
\end{itemize}
-关于如何选定语言,请参阅关于 \PLlang{} 的小节。
+关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
-\subsection{PLlang}
+\subsection{PJLlang}
-\PLlang{} 提供了多语言支持,包括简体中文、繁体中文、英文、法文、德文、日文、俄文 (其中中文、日文、俄文需要相应的 \TeX{} 引擎与字体支持)。可以通过下列命令来选定语言:
+\PJLlang{} 提供了多语言支持,包括简体中文、繁体中文、英文、法文、德文、日文、俄文 (其中中文、日文、俄文需要相应的 \TeX{} 引擎与字体支持)。可以通过下列命令来选定语言:
\begin{itemize}
\item \lstinline|\UseLanguage{|\meta{language name}\lstinline|}|,用于指定语言,在其后将使用对应的语言设定。
\begin{itemize}
@@ -215,9 +215,9 @@
例如,\lstinline|\AddLanguageSetting(German){\color{orange}}| 可以让所有德语以橙色显示(当然,还需要再加上 \lstinline|\AddLanguageSetting{\color{black}}| 来修正其他语言的颜色)。
-\subsection{PLlogo}
+\subsection{PJLlogo}
-\PLlogo{} 提供了 \lstinline|\ProjLib| 命令用于绘制 Logo,效果为:\ProjLib{}。它与普通的文字指令效果类似,可以用于不同的字号:
+\PJLlogo{} 提供了 \lstinline|\ProjLib| 命令用于绘制 Logo,效果为:\ProjLib{}。它与普通的文字指令效果类似,可以用于不同的字号:
% \begin{itemize}
% \item \lstinline|\tiny|:\quad {\tiny\ProjLib}
% \item \lstinline|\scriptsize|:\quad {\scriptsize\ProjLib}
@@ -242,9 +242,9 @@
\lstinline|\Huge|:& {\Huge\ProjLib}
\end{longtable}
-\subsection{PLpaper}
+\subsection{PJLpaper}
-\PLpaper{} 主要用于调节纸张颜色。它支持下列选项:
+\PJLpaper{} 主要用于调节纸张颜色。它支持下列选项:
\begin{itemize}
\item \texttt{paperstyle = \meta{paper style name}}
@@ -263,9 +263,9 @@
为了使用的方便,建议把这些选项作为文档类的全局参数,这样对于文档的纸张设定一目了然。
-\subsection{PLthm}
+\subsection{PJLthm}
-\PLthm{} 提供定理类环境的设置。它支持下列选项:
+\PJLthm{} 提供定理类环境的设置。它支持下列选项:
\begin{itemize}
\item \texttt{nothms}
\begin{itemize}
@@ -273,7 +273,7 @@
\end{itemize}
\end{itemize}
-预设的定理类环境包括:\texttt{assumption}、\texttt{axiom}、\texttt{conjecture}、\texttt{convention}、\texttt{corollary}、\texttt{definition}、\texttt{definition-proposition}、\texttt{definition-theorem}、\texttt{example}、\texttt{exercise}、\texttt{fact}、\texttt{hypothesis}、\texttt{lemma}、\texttt{notation}、\texttt{problem}、\texttt{property}、\texttt{proposition}、\texttt{question}、\texttt{remark}、\texttt{theorem},以及相应的带有星号 \lstinline|*| 的无编号版本。这些定理类环境在显示时会依据当前语言而相应变化,例如在中文模式下 \texttt{theorem} 会显示为“定理”,而在英文模式下则会显示为“Theorem”。关于如何选定语言,请参阅关于 \PLlang{} 的小节。
+预设的定理类环境包括:\texttt{assumption}、\texttt{axiom}、\texttt{conjecture}、\texttt{convention}、\texttt{corollary}、\texttt{definition}、\texttt{definition-proposition}、\texttt{definition-theorem}、\texttt{example}、\texttt{exercise}、\texttt{fact}、\texttt{hypothesis}、\texttt{lemma}、\texttt{notation}、\texttt{problem}、\texttt{property}、\texttt{proposition}、\texttt{question}、\texttt{remark}、\texttt{theorem},以及相应的带有星号 \lstinline|*| 的无编号版本。这些定理类环境在显示时会依据当前语言而相应变化,例如在中文模式下 \texttt{theorem} 会显示为“定理”,而在英文模式下则会显示为“Theorem”。关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
在引用定理类环境时,建议使用智能引用 \lstinline|\cref{|\meta{label}\lstinline|}|。这样就不必每次都写上相应环境的名称了。
@@ -350,13 +350,13 @@
\section{目前存在的问题}
\begin{itemize}[itemsep=1em]
- \item \PLauthor{} 仍然处于初步阶段,在很多方面还远远比不上相对成熟的 \textsf{authblk}。
- \item \PLlang{}:针对 \textsf{polyglossia} 的设置仍然存在许多问题,因此现在主要功能都是通过 \textsf{babel} 实现的。
- \item \PLpaper{} 的 \texttt{preview} 功能主要是通过 \textsf{geometry} 宏包实现的,因此在 \textsc{\textsf{Koma}} 文档类中效果不好。
- \item \PLthm{} 对于定理类环境的编号与样式设定目前还无法由用户更改。
- \item \PLthm{}:智能引用针对所有 \PLlang{} 已支持语言的本地化尚不完整,主要是中文、日文与俄文。
+ \item \PJLauthor{} 仍然处于初步阶段,在很多方面还远远比不上相对成熟的 \textsf{authblk}。
+ \item \PJLlang{}:针对 \textsf{polyglossia} 的设置仍然存在许多问题,因此现在主要功能都是通过 \textsf{babel} 实现的。
+ \item \PJLpaper{} 的 \texttt{preview} 功能主要是通过 \textsf{geometry} 宏包实现的,因此在 \textsc{\textsf{Koma}} 文档类中效果不好。
+ \item \PJLthm{} 对于定理类环境的编号与样式设定目前还无法由用户更改。
+ \item \PJLthm{}:智能引用针对所有 \PJLlang{} 已支持语言的本地化尚不完整,主要是中文、日文与俄文。
\item 错误处理功能不完善,在出现一些问题时没有相应的错误提示。
- \item 代码中有许多可优化之处,有些部分耗时过长,特别是 \PLthm{} 对定理类环境的定义。
+ \item 代码中有许多可优化之处,有些部分耗时过长,特别是 \PJLthm{} 对定理类环境的定义。
\end{itemize}
@@ -365,13 +365,13 @@
\subsection{标准文档类}
-在标准文档类中,通常只需简要设置页面尺寸、超链接,再载入 \PLtoolkit{},即可直接开始写作。下面是一段完整的示例。
+在标准文档类中,通常只需简要设置页面尺寸、超链接,再载入 \PJLtoolkit{},即可直接开始写作。下面是一段完整的示例。
\begin{code}
\documentclass{article}
\usepackage[a4paper,margin=.75in]{geometry}
\usepackage[hidelinks]{hyperref}
-\usepackage[palatino]{PLtoolkit} % Load the toolkit and use font Palatino
+\usepackage[palatino]{PJLtoolkit} % Load the toolkit and use font Palatino
\UseLanguage{French} % Use French from here
@@ -379,7 +379,7 @@
\title{Le Titre}
\author{Auteur}
-\date{\PLdate{2022-04-01}}
+\date{\PJLdate{2022-04-01}}
\maketitle
@@ -400,20 +400,20 @@ Référence du théorème: \cref{thm:abc} % It is recommended to use clever refe
\end{code}
\bigskip
-如果使用了 \PLamssim{},那么文章中就可以采用 \AmS{} 文档类的写法 (当然,此时原始的写法也是成立的,因此始终添加 \texttt{amssim} 这一参数通常是没有问题的)。此时上文引入 \PLtoolkit{} 的那一行应该写为:
+如果使用了 \PJLamssim{},那么文章中就可以采用 \AmS{} 文档类的写法 (当然,此时原始的写法也是成立的,因此始终添加 \texttt{amssim} 这一参数通常是没有问题的)。此时上文引入 \PJLtoolkit{} 的那一行应该写为:
\begin{code}
-\usepackage[amssim,palatino]{PLtoolkit}
+\usepackage[amssim,palatino]{PJLtoolkit}
\end{code}
\clearpage
\subsection{\texorpdfstring{\AmS{}}{AMS} 文档类}
-在 \AmS{} 文档类中,通常只需简要设置页面尺寸、超链接,再载入 \PLtoolkit{},即可直接开始写作。下面是一段完整的示例。
+在 \AmS{} 文档类中,通常只需简要设置页面尺寸、超链接,再载入 \PJLtoolkit{},即可直接开始写作。下面是一段完整的示例。
\begin{code}
\documentclass{amsart}
\usepackage[a4paper,margin=.75in]{geometry}
\usepackage[hidelinks]{hyperref}
-\usepackage[palatino]{PLtoolkit} % Load the toolkit and use font Palatino
+\usepackage[palatino]{PJLtoolkit} % Load the toolkit and use font Palatino
\UseLanguage{French} % Use French from here
@@ -426,7 +426,7 @@ Référence du théorème: \cref{thm:abc} % It is recommended to use clever refe
\author{Auteur 1}
\address{Adresse 1}
\email{\href{Courriel 2}{Courriel 2}}
-\date{\PLdate{2022-04-01}}
+\date{\PJLdate{2022-04-01}}
\subjclass{*****}
\keywords{...}
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-en.pdf b/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
index 0cae81150f..9f651971aa 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
+++ b/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
Binary files differ
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-en.tex b/macros/latex/contrib/projlib/ProjLib-doc-en.tex
index 6cb666433c..82a1aeda3b 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-en.tex
+++ b/macros/latex/contrib/projlib/ProjLib-doc-en.tex
@@ -4,7 +4,7 @@
%%================================
%% Import toolkit
%%================================
-\usepackage{PLtoolkit}
+\usepackage{PJLtoolkit}
\usepackage{longtable} % breakable tables
\usepackage{hologo} % more TeX logo
@@ -30,7 +30,7 @@
}
\providecommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$}
\lstset{moretexcs=%
- {color,CreateTheorem,proofideanameEN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib
+ {color,CreateTheorem,proofideanameEN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PJLdate,ProjLib
}
}
\lstnewenvironment{code}%
@@ -59,15 +59,15 @@
%%================================
%% 名称
%%================================
-\providecommand{\PLtoolkit}{\textsf{PLtoolkit}}
-\providecommand{\PLamssim}{\textsf{PLamssim}}
-\providecommand{\PLauthor}{\textsf{PLauthor}}
-\providecommand{\PLdatestr}{\textsf{PLdate}}
-\providecommand{\PLdraft}{\textsf{PLdraft}}
-\providecommand{\PLlang}{\textsf{PLlang}}
-\providecommand{\PLlogo}{\textsf{PLlogo}}
-\providecommand{\PLpaper}{\textsf{PLpaper}}
-\providecommand{\PLthm}{\textsf{PLthm}}
+\providecommand{\PJLtoolkit}{\textsf{PJLtoolkit}}
+\providecommand{\PJLamssim}{\textsf{PJLamssim}}
+\providecommand{\PJLauthor}{\textsf{PJLauthor}}
+\providecommand{\PJLdatestr}{\textsf{PJLdate}}
+\providecommand{\PJLdraft}{\textsf{PJLdraft}}
+\providecommand{\PJLlang}{\textsf{PJLlang}}
+\providecommand{\PJLlogo}{\textsf{PJLlogo}}
+\providecommand{\PJLpaper}{\textsf{PJLpaper}}
+\providecommand{\PJLthm}{\textsf{PJLthm}}
%%================================
%% 正文
@@ -76,35 +76,35 @@
\title{\ProjLib{}~~Toolkit\\[.3\baselineskip]\normalsize User Manual}
\author{Jinwen Xu}
-\thanks{Corresponding to: \texttt{\ProjLib{}~2021/05/12}}
+\thanks{Corresponding to: \texttt{\ProjLib{}~2021/05/19}}
\date{May 2021, Beijing}
\maketitle
\begin{abstract}
- The \ProjLib{} toolkit is designed to simplify the preparation before writing \LaTeX{} documents. With \PLtoolkit{} loaded, you no longer need to set up the theorem-like environments nor configure the appropriate multilingual settings. Additionally, a series of auxiliary functionalities have been introduced.
+ The \ProjLib{} toolkit is designed to simplify the preparation before writing \LaTeX{} documents. With \PJLtoolkit{} loaded, you no longer need to set up the theorem-like environments nor configure the appropriate multilingual settings. Additionally, a series of auxiliary functionalities have been introduced.
\end{abstract}
% \tableofcontents
-\section{PLtoolkit}
+\section{PJLtoolkit}
\subsection{How to load it}
Just add the following line to your preamble:
\begin{code}
- \usepackage{PLtoolkit}
+ \usepackage{PJLtoolkit}
\end{code}
\begin{remind}[Attention]
- Since \textsf{cleveref} is used internally, \PLtoolkit{} needs to be placed after \textsf{varioref} and \textsf{hyperref}.
+ Since \textsf{cleveref} is used internally, \PJLtoolkit{} needs to be placed after \textsf{varioref} and \textsf{hyperref}.
\end{remind}
\medskip
\subsection{Options}
-\PLtoolkit{} offers the following options:
+\PJLtoolkit{} offers the following options:
\begin{itemize}
\item \texttt{draft} or \texttt{fast}
\begin{itemize}
@@ -116,37 +116,37 @@ Just add the following line to your preamble:
\end{itemize}
\item \texttt{author}
\begin{itemize}
- \item Load \PLauthor{}. For more information about its functionality, see the section on this package.
+ \item Load \PJLauthor{}. For more information about its functionality, see the section on this package.
\end{itemize}
\item \texttt{amssim}
\begin{itemize}
- \item Load \PLamssim{}. For more information about its functionality, see the section on this package.
+ \item Load \PJLamssim{}. For more information about its functionality, see the section on this package.
\end{itemize}
\item \texttt{nothms}
\begin{itemize}
\item The theorem-like environments will not be defined. You should use this option if you wish to apply your own theorem styles.
\end{itemize}
\end{itemize}
-In addition, there are also some options of the components that can (and should) be passed as global options of the document class, such as \texttt{paperstyle} and \texttt{preview} of \PLpaper{}. For more information, please refer to the corresponding section.
+In addition, there are also some options of the components that can (and should) be passed as global options of the document class, such as \texttt{paperstyle} and \texttt{preview} of \PJLpaper{}. For more information, please refer to the corresponding section.
\section{The components}
-\subsection{PLamssim}
+\subsection{PJLamssim}
-\PLamssim{} is used to simulate some features of the \textsf{amsart} class in a standard class, including:
+\PJLamssim{} is used to simulate some features of the \textsf{amsart} class in a standard class, including:
\begin{itemize}
- \item \lstinline|\address|, \lstinline|\curraddr|, \lstinline|\email| and \lstinline|\dedicatory| macro(the first three are provided by \PLauthor{})
+ \item \lstinline|\address|, \lstinline|\curraddr|, \lstinline|\email| and \lstinline|\dedicatory| macro(the first three are provided by \PJLauthor{})
\item \lstinline|\keywords| macro
\item \lstinline|\subjclass| macro
\item \lstinline|\thanks| can be written outside \lstinline|\author|
\item The \lstinline|abstract| environment can be placed before \lstinline|\maketitle|
\end{itemize}
-These modifications would only take place in standard classes. In the \AmS{} classes, \PLamssim{} does not have any effect.
+These modifications would only take place in standard classes. In the \AmS{} classes, \PJLamssim{} does not have any effect.
-\subsection{PLauthor}
+\subsection{PJLauthor}
-\PLauthor{} offers \lstinline|\address|, \lstinline|\curraddr| and \lstinline|\email|, and allows you to enter multiple groups of author information. The standard usage is like this:
+\PJLauthor{} offers \lstinline|\address|, \lstinline|\curraddr| and \lstinline|\email|, and allows you to enter multiple groups of author information. The standard usage is like this:
\begin{code}
\author{(*\meta{author 1}*)}
\address{(*\meta{address 1}*)}
@@ -158,25 +158,25 @@ These modifications would only take place in standard classes. In the \AmS{} cla
\end{code}
The mutual order of \lstinline|\address|, \lstinline|\curraddr| and \lstinline|\email| is not important.
-\subsection{PLdate}
+\subsection{PJLdate}
-\PLdatestr{} offers the \lstinline|\PLdate|\meta{yyyy-mm-dd} macro to convert \meta{yyyy-mm-dd} into the date format of the currently selected language. For example, in current English context, \lstinline|\PLdate{2022-04-01}| would become: \PLdate{2022-04-01}.
+\PJLdatestr{} offers the \lstinline|\PJLdate|\meta{yyyy-mm-dd} macro to convert \meta{yyyy-mm-dd} into the date format of the currently selected language. For example, in current English context, \lstinline|\PJLdate{2022-04-01}| would become: \PJLdate{2022-04-01}.
-For details on how to select a language, please refer to the section on \PLlang{}.
+For details on how to select a language, please refer to the section on \PJLlang{}.
-\subsection{PLdraft}
+\subsection{PJLdraft}
-\PLdraft{} offers the following macros:
+\PJLdraft{} offers the following macros:
\begin{itemize}
\item \lstinline|\dnf| or \lstinline|\dnf<...>|. The effect is: \dnf~ or \dnf<...>. \\The prompt text changes according to the current language. For example, it will be displayed as \UseOtherLanguage{French}{\dnf} in French mode.
\item \lstinline|\needgraph| or \lstinline|\needgraph<...>|. The effect is: \needgraph or \needgraph<...>The prompt text changes according to the current language. For example, in French mode, it will be displayed as \UseOtherLanguage{French}{\needgraph}
\end{itemize}
-For details on how to select a language, please refer to the section on \PLlang{}.
+For details on how to select a language, please refer to the section on \PJLlang{}.
-\subsection{PLlang}
+\subsection{PJLlang}
-\PLlang{} offers multi-language support, including simplified Chinese, traditional Chinese, English, French, German, Japanese, and Russian (among them, Chinese, Japanese, and Russian require appropriate \TeX{} engines and fonts to support). The language can be selected by the following macros:
+\PJLlang{} offers multi-language support, including simplified Chinese, traditional Chinese, English, French, German, Japanese, and Russian (among them, Chinese, Japanese, and Russian require appropriate \TeX{} engines and fonts to support). The language can be selected by the following macros:
\begin{itemize}
\item \lstinline|\UseLanguage{|\meta{language name}\lstinline|}| is used to specify the language. The corresponding setting of the language will be applied after it. It can be used either in the preamble or in the main body. When no language is specified, ``English" is selected by default.
@@ -209,9 +209,9 @@ In addition, you can also add new settings to selected language:
For example, \lstinline|\AddLanguageSetting(German){\color{orange}}| can make all German text displayed in orange (of course, one then need to add \lstinline|\AddLanguageSetting{\color{black}}| in order to correct the color of the text in other languages).
-\subsection{PLlogo}
+\subsection{PJLlogo}
-\PLlogo{} offers the \lstinline|\ProjLib| macro to draw the logo, which looks like \ProjLib{}. It is similar to ordinary text macros and can be used with different font size macros:
+\PJLlogo{} offers the \lstinline|\ProjLib| macro to draw the logo, which looks like \ProjLib{}. It is similar to ordinary text macros and can be used with different font size macros:
% \begin{itemize}
% \item \lstinline|\tiny|:\quad {\tiny\ProjLib}
% \item \lstinline|\scriptsize|:\quad {\scriptsize\ProjLib}
@@ -237,9 +237,9 @@ For example, \lstinline|\AddLanguageSetting(German){\color{orange}}| can make al
\end{longtable}
\clearpage
-\subsection{PLpaper}
+\subsection{PJLpaper}
-\PLpaper{} is mainly used to adjust the paper color. It has the following options:
+\PJLpaper{} is mainly used to adjust the paper color. It has the following options:
\begin{itemize}
\item \texttt{paperstyle = \meta{paper style name}}
@@ -258,9 +258,9 @@ For example, \lstinline|\AddLanguageSetting(German){\color{orange}}| can make al
It is recommended to pass these options as global options of the document class. In this way, the paper settings would be clear at a glance.
-\subsection{PLthm}
+\subsection{PJLthm}
-\PLthm{} offers the configuration of theorem-like environments. It has the following option:
+\PJLthm{} offers the configuration of theorem-like environments. It has the following option:
% \vspace{-.3\baselineskip}
\begin{itemize}
\item \texttt{nothms}
@@ -269,7 +269,7 @@ It is recommended to pass these options as global options of the document class.
\end{itemize}
\end{itemize}
-Preset environments include: \texttt{assumption}, \texttt{axiom}, \texttt{conjecture}, \texttt{convention}, \texttt{corollary}, \texttt{definition}, \texttt{definition-proposition}, ~~\texttt{definition-theorem}, ~~\texttt{example}, ~~\texttt{exercise}, ~~\texttt{fact}, ~~\texttt{hypothesis}, ~~\texttt{lemma}, \\\texttt{notation}, \texttt{problem}, \texttt{property}, \texttt{proposition}, \texttt{question}, \texttt{remark}, \texttt{theorem}, and the corresponding unnumbered version with an asterisk \lstinline|*| in the name. The display of these environments will change according to the current language. For example, \texttt{theorem} will be displayed as ``Theorem" in English mode and ``Théorème" in French mode. For details on how to select a language, please refer to the section on \PLlang{}.
+Preset environments include: \texttt{assumption}, \texttt{axiom}, \texttt{conjecture}, \texttt{convention}, \texttt{corollary}, \texttt{definition}, \texttt{definition-proposition}, ~~\texttt{definition-theorem}, ~~\texttt{example}, ~~\texttt{exercise}, ~~\texttt{fact}, ~~\texttt{hypothesis}, ~~\texttt{lemma}, \\\texttt{notation}, \texttt{problem}, \texttt{property}, \texttt{proposition}, \texttt{question}, \texttt{remark}, \texttt{theorem}, and the corresponding unnumbered version with an asterisk \lstinline|*| in the name. The display of these environments will change according to the current language. For example, \texttt{theorem} will be displayed as ``Theorem" in English mode and ``Théorème" in French mode. For details on how to select a language, please refer to the section on \PJLlang{}.
When referencing a theorem-like environment, it is recommended to use smart reference \lstinline|\cref{|\meta{label}\texttt{\}}. In this way, there is no need to explicitly write down the name of the corresponding environment every time.
@@ -348,13 +348,13 @@ defines an unnumbered environment \lstinline|proofidea*| and a numbered environm
\section{Known issues}
\begin{itemize}[itemsep=.6em]
- \item \PLauthor{} is still in its preliminary stage, and thus its effect is still not as good as the relatively mature \textsf{authblk} in some aspects.
- \item \PLlang{}: It is still quite problematic with the configuration of \textsf{polyglossia}, so main features are implemented through \textsf{babel} for now.
- \item \PLpaper{}: the \texttt{preview} option is mainly implemented with the help of package \textsf{geometry}, so it does not work quite as well in the \textsc{\textsf{Koma}} document classes.
- \item \PLthm{}: The numbering and theorem-style settings of the theorem-like environments cannot be accessed by the user at present.
- \item \PLthm{}: The localization of \textsf{cleveref} is not yet complete for all supported languages of \PLlang{}, especially for Chinese, Japanese and Russian.
+ \item \PJLauthor{} is still in its preliminary stage, and thus its effect is still not as good as the relatively mature \textsf{authblk} in some aspects.
+ \item \PJLlang{}: It is still quite problematic with the configuration of \textsf{polyglossia}, so main features are implemented through \textsf{babel} for now.
+ \item \PJLpaper{}: the \texttt{preview} option is mainly implemented with the help of package \textsf{geometry}, so it does not work quite as well in the \textsc{\textsf{Koma}} document classes.
+ \item \PJLthm{}: The numbering and theorem-style settings of the theorem-like environments cannot be accessed by the user at present.
+ \item \PJLthm{}: The localization of \textsf{cleveref} is not yet complete for all supported languages of \PJLlang{}, especially for Chinese, Japanese and Russian.
\item The error handling mechanism is incomplete: there is no corresponding error prompt when some problems occur.
- \item There are many things that can be optimized in the code. Some codes take too long to run, especially the definition of theorem-like environments in \PLthm{}.
+ \item There are many things that can be optimized in the code. Some codes take too long to run, especially the definition of theorem-like environments in \PJLthm{}.
\end{itemize}
@@ -363,13 +363,13 @@ defines an unnumbered environment \lstinline|proofidea*| and a numbered environm
\subsection{Standard classes}
-In standard classes, one usually only need to configure the page size, hyperlinks and load \PLtoolkit{} before actually start writing the document. Below is a complete example.
+In standard classes, one usually only need to configure the page size, hyperlinks and load \PJLtoolkit{} before actually start writing the document. Below is a complete example.
\begin{code}
\documentclass{article}
\usepackage[a4paper,margin=.75in]{geometry}
\usepackage[hidelinks]{hyperref}
-\usepackage[palatino]{PLtoolkit} % Load the toolkit and use font Palatino
+\usepackage[palatino]{PJLtoolkit} % Load the toolkit and use font Palatino
\UseLanguage{French} % Use French from here
@@ -377,7 +377,7 @@ In standard classes, one usually only need to configure the page size, hyperlink
\title{Le Titre}
\author{Auteur}
-\date{\PLdate{2022-04-01}}
+\date{\PJLdate{2022-04-01}}
\maketitle
@@ -398,20 +398,20 @@ Référence du théorème: \cref{thm:abc} % It is recommended to use clever refe
\end{code}
\bigskip
-If \PLamssim{} is loaded, then one can adopt the \AmS{} writing style in the document (of course, the original way is also valid, so always adding the option \texttt{amssim} usually does not cause problems). This way, the line that introduces \PLtoolkit{} should be written as:
+If \PJLamssim{} is loaded, then one can adopt the \AmS{} writing style in the document (of course, the original way is also valid, so always adding the option \texttt{amssim} usually does not cause problems). This way, the line that introduces \PJLtoolkit{} should be written as:
\begin{code}
-\usepackage[amssim,palatino]{PLtoolkit}
+\usepackage[amssim,palatino]{PJLtoolkit}
\end{code}
\clearpage
\subsection{The \texorpdfstring{\AmS{}}{AMS} classes}
-In \AmS{} classes, one usually only need to configure the page size, hyperlinks and load \PLtoolkit{} before actually start writing the document. Below is a complete example.
+In \AmS{} classes, one usually only need to configure the page size, hyperlinks and load \PJLtoolkit{} before actually start writing the document. Below is a complete example.
\begin{code}
\documentclass{amsart}
\usepackage[a4paper,margin=.75in]{geometry}
\usepackage[hidelinks]{hyperref}
-\usepackage[palatino]{PLtoolkit} % Load the toolkit and use font Palatino
+\usepackage[palatino]{PJLtoolkit} % Load the toolkit and use font Palatino
\UseLanguage{French} % Use French from here
@@ -424,7 +424,7 @@ In \AmS{} classes, one usually only need to configure the page size, hyperlinks
\author{Auteur 1}
\address{Adresse 1}
\email{\href{Courriel 2}{Courriel 2}}
-\date{\PLdate{2022-04-01}}
+\date{\PJLdate{2022-04-01}}
\subjclass{*****}
\keywords{...}
diff --git a/macros/latex/contrib/projlib/ProjLib.dtx b/macros/latex/contrib/projlib/ProjLib.dtx
index 42f43b7ea1..94e4aa5d8e 100644
--- a/macros/latex/contrib/projlib/ProjLib.dtx
+++ b/macros/latex/contrib/projlib/ProjLib.dtx
@@ -16,58 +16,58 @@
%</driver>
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
%
-%<*PLamssim>
-\ProvidesPackage{PLamssim}
- [2021/05/12 Simulate some features of amsart]
-%</PLamssim>
+%<*PJLamssim>
+\ProvidesPackage{PJLamssim}
+ [2021/05/19 Simulate some features of amsart]
+%</PJLamssim>
%
-%<*PLauthor>
-\ProvidesPackage{PLauthor}
- [2021/05/12 Enhanced author information block]
-%</PLauthor>
+%<*PJLauthor>
+\ProvidesPackage{PJLauthor}
+ [2021/05/19 Enhanced author information block]
+%</PJLauthor>
%
-%<*PLdate>
-\ProvidesPackage{PLdate}
- [2021/05/12 Convert yyyy-mm-dd to normal datetime format]
-%</PLdate>
+%<*PJLdate>
+\ProvidesPackage{PJLdate}
+ [2021/05/19 Convert yyyy-mm-dd to normal datetime format]
+%</PJLdate>
%
-%<*PLdraft>
-\ProvidesPackage{PLdraft}
- [2021/05/12 Some useful macros for the draft stage]
-%</PLdraft>
+%<*PJLdraft>
+\ProvidesPackage{PJLdraft}
+ [2021/05/19 Some useful macros for the draft stage]
+%</PJLdraft>
%
-%<*PLlang>
-\ProvidesPackage{PLlang}
- [2021/05/12 Multi-language configuration]
-%</PLlang>
+%<*PJLlang>
+\ProvidesPackage{PJLlang}
+ [2021/05/19 Multi-language configuration]
+%</PJLlang>
%
-%<*PLlogo>
-\ProvidesPackage{PLlogo}
- [2021/05/12 The ProjLib logo]
-%</PLlogo>
+%<*PJLlogo>
+\ProvidesPackage{PJLlogo}
+ [2021/05/19 The ProjLib logo]
+%</PJLlogo>
%
-%<*PLpaper>
-\ProvidesPackage{PLpaper}
- [2021/05/12 Paper style configuration]
-%</PLpaper>
+%<*PJLpaper>
+\ProvidesPackage{PJLpaper}
+ [2021/05/19 Paper style configuration]
+%</PJLpaper>
%
-%<*PLthm>
-\ProvidesPackage{PLthm}
- [2021/05/12 Theorem setup and configuration]
-%</PLthm>
+%<*PJLthm>
+\ProvidesPackage{PJLthm}
+ [2021/05/19 Theorem setup and configuration]
+%</PJLthm>
%
-%<*PLtoolkit>
-\ProvidesPackage{PLtoolkit}
- [2021/05/12 Collective interface of ProjLib Toolkit]
-%</PLtoolkit>
+%<*PJLtoolkit>
+\ProvidesPackage{PJLtoolkit}
+ [2021/05/19 Collective interface of ProjLib Toolkit]
+%</PJLtoolkit>
%
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
%
-%<*PLamssim>
+%<*PJLamssim>
\ifdefined\subjclass\endinput\fi
-\RequirePackage{PLauthor}
+\RequirePackage{PJLauthor}
\RequirePackage{calc}
\providecommand{\conditionalbfseries}{\bfseries}
@@ -82,53 +82,53 @@
\def\keywordsnameRU{Ключевые слова и фразы}
\ifdefined\keywords\else
- \def\PL@keywords{}
- \newcommand*{\keywords}[1]{\def\PL@keywords{#1}}
+ \def\PJL@keywords{}
+ \newcommand*{\keywords}[1]{\def\PJL@keywords{#1}}
\fi
% dedicatory
\ifdefined\dedicatory\else
- \def\PL@dedicatory{}
- \newcommand*{\dedicatory}[1]{\def\PL@dedicatory{#1}}
+ \def\PJL@dedicatory{}
+ \newcommand*{\dedicatory}[1]{\def\PJL@dedicatory{#1}}
\fi
% \thanks: behave like article-style when in \author, and ams-style (no marker) when outside
\AtEndPreamble{
% In case that \@author changes again
-\let\footnotemark@PLoriginal\footnotemark%
+\let\footnotemark@PJLoriginal\footnotemark%
\let\footnotemark\relax%
-\let\thanks@PLoriginal\thanks%
-\newlength\PL@starlength
-\setlength{\PL@starlength}{\widthof{*}}
-\newcommand*{\PL@prethanks}[1]{\thanks@PLoriginal{\hspace*{-\PL@starlength}#1}}
+\let\thanks@PJLoriginal\thanks%
+\newlength\PJL@starlength
+\setlength{\PJL@starlength}{\widthof{*}}
+\newcommand*{\PJL@prethanks}[1]{\thanks@PJLoriginal{\hspace*{-\PJL@starlength}#1}}
% \renewcommand*{\thanks}[1]{%
% \ifx#1\@empty\else%
-% \thanks@PLoriginal{\hspace*{-\PL@starlength}#1}%
+% \thanks@PJLoriginal{\hspace*{-\PJL@starlength}#1}%
% \fi}
\renewcommand*{\thanks}[1]{%
\ifx#1\@empty\else%
\apptocmd{\@title}{%
- \thanks@PLoriginal{\hspace*{-\PL@starlength}#1}%
+ \thanks@PJLoriginal{\hspace*{-\PJL@starlength}#1}%
}{}{\FAIL}%
\fi}
-\let\author@PLoriginal\author
+\let\author@PJLoriginal\author
\renewcommand{\author}[1]{%
- \author@PLoriginal{%
- \let\footnotemark\footnotemark@PLoriginal%
- \let\thanks\thanks@PLoriginal%
+ \author@PJLoriginal{%
+ \let\footnotemark\footnotemark@PJLoriginal%
+ \let\thanks\thanks@PJLoriginal%
#1%
\let\footnotemark\relax%
}%
}
-% \pretocmd{\@author}{\let\footnotemark\footnotemark@PLoriginal\let\thanks\thanks@PLoriginal}{}{\FAIL}
+% \pretocmd{\@author}{\let\footnotemark\footnotemark@PJLoriginal\let\thanks\thanks@PJLoriginal}{}{\FAIL}
% \apptocmd{\@author}{\let\footnotemark\relax}{}{\FAIL}
}
%% Modify abstract to allow it before maketitle
-\let\abstract@PLoriginal\abstract%
-\let\endabstract@PLoriginal\endabstract%
-\newif\if@PLamssim@maketitle\@PLamssim@maketitlefalse
-\newif\if@PLamssim@absbefore\@PLamssim@absbeforefalse
+\let\abstract@PJLoriginal\abstract%
+\let\endabstract@PJLoriginal\endabstract%
+\newif\if@PJLamssim@maketitle\@PJLamssim@maketitlefalse
+\newif\if@PJLamssim@absbefore\@PJLamssim@absbeforefalse
\RequirePackage{fancyvrb}
% Taken from https://tex.stackexchange.com/a/596328
% define the same as \protected@write, but with \immediate
@@ -147,18 +147,18 @@
{}{}
%
\renewenvironment{abstract}{%
- \VerbatimOut{\jobname.plabs}%
+ \VerbatimOut{\jobname.pjlabs}%
}{
\endVerbatimOut%
- \if@PLamssim@maketitle%
- \begin{abstract@PLoriginal}%
- \input{\jobname.plabs}%
- \end{abstract@PLoriginal}%
- % \ifx\PL@keywords\@empty\else%
- % \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PL@keywords%
+ \if@PJLamssim@maketitle%
+ \begin{abstract@PJLoriginal}%
+ \input{\jobname.pjlabs}%
+ \end{abstract@PJLoriginal}%
+ % \ifx\PJL@keywords\@empty\else%
+ % \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PJL@keywords%
% \fi%
\else%
- \global\@PLamssim@absbeforetrue%
+ \global\@PJLamssim@absbeforetrue%
\fi%
}
@@ -168,37 +168,37 @@
\patchcmd{\@maketitle}{\@date}{%
\ifx\@date\@empty\vspace{-2\baselineskip}%
\else\@date\fi%
- \ifx\PL@dedicatory\@empty\else%
+ \ifx\PJL@dedicatory\@empty\else%
\par\vspace{-\parskip}\bigskip%
- {\itshape\PL@dedicatory}\fi}
+ {\itshape\PJL@dedicatory}\fi}
{}{\FAIL}
% Add keywords to maketitle
\pretocmd{\maketitle}{%
- \ifx\PL@keywords\@empty\else%
- \PL@prethanks{{\conditionalbfseries%
+ \ifx\PJL@keywords\@empty\else%
+ \PJL@prethanks{{\protect\conditionalbfseries%
\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}%
- ~\PL@keywords}%
+ ~\PJL@keywords}%
\fi}{}{\FAIL}
% Add abstract to maketitle
\apptocmd{\maketitle}{%
- \if@PLamssim@absbefore%
- \begin{abstract@PLoriginal}%
- \input{\jobname.plabs}%
- % \ifx\PL@keywords\@empty\else%
- % \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PL@keywords%
+ \if@PJLamssim@absbefore%
+ \begin{abstract@PJLoriginal}%
+ \input{\jobname.pjlabs}%
+ % \ifx\PJL@keywords\@empty\else%
+ % \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PJL@keywords%
% \fi%
- \end{abstract@PLoriginal}%
+ \end{abstract@PJLoriginal}%
\fi%
\global\let\address\relax
\global\let\curraddr\relax
\global\let\email\relax
\global\let\dedicatory\relax
\global\let\keywords\relax
- \global\@PLamssim@maketitletrue
+ \global\@PJLamssim@maketitletrue
}{}{\FAIL}
% Disbale the \newpage in maketitle
-% \let\maketitle@PLoriginal=\maketitle
-% \renewcommand*{\maketitle}{{\let\newpage\relax\maketitle@PLoriginal}}
+% \let\maketitle@PJLoriginal=\maketitle
+% \renewcommand*{\maketitle}{{\let\newpage\relax\maketitle@PJLoriginal}}
}
\newcommand*\subjclass[2][2020]{%
@@ -210,7 +210,7 @@
}{%
\expandafter\let\expandafter\subjclassname\csname subjclassname@#1\endcsname
}%
- \PL@prethanks{{\itshape\subjclassname.}\enspace\@subjclass{}.}
+ \PJL@prethanks{{\itshape\subjclassname.}\enspace\@subjclass{}.}
}
\@namedef{subjclassname@1991}{%
\textup{1991} Mathematics Subject Classification}
@@ -220,68 +220,68 @@
\textup{2010} Mathematics Subject Classification}
\@namedef{subjclassname@2020}{%
\textup{2020} Mathematics Subject Classification}
-%</PLamssim>
+%</PJLamssim>
%
-%<*PLauthor>
+%<*PJLauthor>
\ifdefined\subjclass\endinput\fi
-\RequirePackage{PLlang}
+\RequirePackage{PJLlang}
%%================================
%% Font and style
%%================================
-\def\PLauthor@font@author{\normalsize\normalfont\scshape}
-\def\PLauthor@font@address{\small\normalfont\itshape}
-\def\PLauthor@font@curraddr{\small\normalfont\itshape}
-\def\PLauthor@font@email{\small\normalfont\ttfamily}
+\def\PJLauthor@font@author{\normalsize\normalfont\scshape}
+\def\PJLauthor@font@address{\small\normalfont\itshape}
+\def\PJLauthor@font@curraddr{\small\normalfont\itshape}
+\def\PJLauthor@font@email{\small\normalfont\ttfamily}
%%================================
%% Lengths
%%================================
% Space between author and address
-\newlength{\PLauthor@length@innersep}
-\setlength{\PLauthor@length@innersep}{.3\baselineskip}
+\newlength{\PJLauthor@length@innersep}
+\setlength{\PJLauthor@length@innersep}{.3\baselineskip}
% Space between different author blocks
-\newlength{\PLauthor@length@sep}
-\setlength{\PLauthor@length@sep}{.5\baselineskip}
+\newlength{\PJLauthor@length@sep}
+\setlength{\PJLauthor@length@sep}{.5\baselineskip}
% Space between affiliation and date
-\newlength{\PLauthor@length@aftersep}
-\setlength{\PLauthor@length@aftersep}{.3\baselineskip}
+\newlength{\PJLauthor@length@aftersep}
+\setlength{\PJLauthor@length@aftersep}{.3\baselineskip}
%%================================
%% The macros
%%================================
-\newif\if@PLauthor@affilon
+\newif\if@PJLauthor@affilon
\renewcommand*{\author}[1]{%
\gappto\@author{\phantom{A}\\[-\baselineskip]%
- \vspace{\PLauthor@length@sep}%
- \PLauthor@font@author{#1}\\\phantom{}
- \@PLauthor@affilonfalse}}
+ \vspace{\PJLauthor@length@sep}%
+ \PJLauthor@font@author{#1}\\\phantom{}
+ \@PJLauthor@affilonfalse}}
\providecommand*{\address}[1]{%
\gappto\@author{\phantom{A}\\[-\baselineskip]%
- \if@PLauthor@affilon\else%
- \vspace{\PLauthor@length@innersep}%
+ \if@PJLauthor@affilon\else%
+ \vspace{\PJLauthor@length@innersep}%
\fi%
- \@PLauthor@affilontrue%
- \PLauthor@font@address{#1}\\\phantom{}}%
+ \@PJLauthor@affilontrue%
+ \PJLauthor@font@address{#1}\\\phantom{}}%
}
\providecommand*{\curraddr}[1]{%
\gappto\@author{\phantom{A}\\[-\baselineskip]%
- \if@PLauthor@affilon\else%
- \vspace{\PLauthor@length@innersep}%
+ \if@PJLauthor@affilon\else%
+ \vspace{\PJLauthor@length@innersep}%
\fi%
- \@PLauthor@affilontrue%
- \PLauthor@font@curraddr{#1}\\\phantom{}}%
+ \@PJLauthor@affilontrue%
+ \PJLauthor@font@curraddr{#1}\\\phantom{}}%
}
\providecommand*{\email}[1]{%
\gappto\@author{\phantom{A}\\[-\baselineskip]%
- \if@PLauthor@affilon\else%
- \vspace{\PLauthor@length@innersep}%
+ \if@PJLauthor@affilon\else%
+ \vspace{\PJLauthor@length@innersep}%
\fi%
- \@PLauthor@affilontrue%
- \PLauthor@font@email{#1}\\\phantom{}}%
+ \@PJLauthor@affilontrue%
+ \PJLauthor@font@email{#1}\\\phantom{}}%
}
%%================================
@@ -291,31 +291,31 @@
\patchcmd{\@maketitle}{\end{tabular}}{}{}{}
\def\@author{} % Remove "No \author given."
\pretocmd{\@maketitle}{%
- \pretocmd{\@author}{\vspace{-\PLauthor@length@sep}}{}{\FAIL}%
+ \pretocmd{\@author}{\vspace{-\PJLauthor@length@sep}}{}{\FAIL}%
\apptocmd{\@author}{%
% Fix the space caused by `\\\phantom{}`
\vspace{-\baselineskip}%
- \if@PLauthor@affilon%
- \vspace{\PLauthor@length@aftersep}%
+ \if@PJLauthor@affilon%
+ \vspace{\PJLauthor@length@aftersep}%
\fi%
}{}{\FAIL}%
}{}{\FAIL}
-%</PLauthor>
+%</PJLauthor>
%
-%<*PLdate>
+%<*PJLdate>
\SetupKeyvalOptions{
- family = @PLdate,
- prefix = @PLdate@,
+ family = @PJLdate,
+ prefix = @PJLdate@,
}
\DeclareBoolOption[false]{draft}
\DeclareBoolOption[false]{fast}
\ProcessKeyvalOptions*\relax
-\if@PLdate@draft
- \@PLdate@fasttrue
+\if@PJLdate@draft
+ \@PJLdate@fasttrue
\fi
-\if@PLdate@fast\let\PLdate\relax\endinput\fi
+\if@PJLdate@fast\let\PJLdate\relax\endinput\fi
-\RequirePackage{PLlang}
+\RequirePackage{PJLlang}
% The following line is for "authblk"
\robustify\@latex@warning@no@line
@@ -325,44 +325,44 @@
\RequirePackage{datetime2}
\RequirePackage{zhnumber}
-\let\@DTMdate@PLoriginal\@DTMdate
-\gappto{\PLlang@langconfig@common}{%
- \let\@DTMdate\@DTMdate@PLoriginal%
+\let\@DTMdate@PJLoriginal\@DTMdate
+\gappto{\PJLlang@langconfig@common}{%
+ \let\@DTMdate\@DTMdate@PJLoriginal%
}
-\gappto{\PLlang@langconfig@chinese}{%
+\gappto{\PJLlang@langconfig@chinese}{%
\renewcommand*{\@DTMdate}[1]{%
\expandafter\@dtm@parsedate#1\@dtm@endparsedate%
\zhdate{\@dtm@year/\@dtm@month/\@dtm@day}%
}%
}
-\gappto{\PLlang@langconfig@tchinese}{%
+\gappto{\PJLlang@langconfig@tchinese}{%
\renewcommand*{\@DTMdate}[1]{%
\expandafter\@dtm@parsedate#1\@dtm@endparsedate%
\zhdate{\@dtm@year/\@dtm@month/\@dtm@day}%
}%
}
-\gappto{\PLlang@langconfig@japanese}{%
+\gappto{\PJLlang@langconfig@japanese}{%
\renewcommand*{\@DTMdate}[1]{%
\expandafter\@dtm@parsedate#1\@dtm@endparsedate%
\zhdate{\@dtm@year/\@dtm@month/\@dtm@day}%
}%
}
-\providecommand*{\PLdate}[1]{\DTMdate{#1}}
-%</PLdate>
+\providecommand*{\PJLdate}[1]{\DTMdate{#1}}
+%</PJLdate>
%
-%<*PLdraft>
+%<*PJLdraft>
\SetupKeyvalOptions{
- family = @PLdraft,
- prefix = @PLdraft@,
+ family = @PJLdraft,
+ prefix = @PJLdraft@,
}
\DeclareBoolOption[false]{draft}
\DeclareBoolOption[false]{fast}
\ProcessKeyvalOptions*\relax
-\if@PLdraft@draft
- \@PLdraft@fasttrue
+\if@PJLdraft@draft
+ \@PJLdraft@fasttrue
\fi
-\RequirePackage{PLlang}
+\RequirePackage{PJLlang}
\RequirePackage{xcolor}
\def\dnfFont{\ttfamily}
@@ -386,7 +386,7 @@
\definecolor{dnfColor}{RGB}{21,122,20}
\definecolor{needgraphColor}{RGB}{70,130,180}
-\if@PLdraft@fast
+\if@PJLdraft@fast
\newcommand{\plainBox}[2][-paper]{\textcolor{#1}{%
\setlength{\fboxsep}{1.5pt}%
\setlength{\fboxrule}{1.2pt}%
@@ -421,12 +421,12 @@
\IfNoValueF{#1}{\,: #1}}%
\end{center}%
}
-%</PLdraft>
+%</PJLdraft>
%
-%<*PLlang>
+%<*PJLlang>
\SetupKeyvalOptions{%
- family = @PLlang,
- prefix = @PLlang@
+ family = @PJLlang,
+ prefix = @PJLlang@
}
\DeclareBoolOption[false]{polyglossia}
\ProcessKeyvalOptions*\relax
@@ -445,7 +445,7 @@
\RequirePackage{inputenc}
\fi
-\if@PLlang@polyglossia
+\if@PJLlang@polyglossia
\RequirePackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage[frenchpart=false]{french}
@@ -469,15 +469,15 @@
\frenchsetup{PartNameFull=false}
\fi
%
-\let\today@PLoriginal\today
-\newcommand{\PLlang@langconfig@common}{%
+\let\today@PJLoriginal\today
+\newcommand{\PJLlang@langconfig@common}{%
\ifdefined\DTMtoday%
\let\today\DTMtoday%
\else%
- \let\today\today@PLoriginal%
+ \let\today\today@PJLoriginal%
\fi%
}
-\newcommand{\PLlang@langconfig@chinese}{%
+\newcommand{\PJLlang@langconfig@chinese}{%
\def\abstractname{摘要}%
\def\proofname{证明}%
\def\contentsname{目录}%
@@ -492,7 +492,7 @@
\let\today\zhtoday%
\renewcommand{\languagename}{chinese}%
}
-\newcommand{\PLlang@langconfig@tchinese}{%
+\newcommand{\PJLlang@langconfig@tchinese}{%
\def\abstractname{摘要}%
\def\proofname{證明}%
\def\contentsname{目錄}%
@@ -507,81 +507,81 @@
\let\today\zhtoday%
\renewcommand{\languagename}{tchinese}%
}
-\newcommand{\PLlang@langconfig@japanese}{%
+\newcommand{\PJLlang@langconfig@japanese}{%
\selectlanguage{japanese}%
}
-\newcommand{\PLlang@langconfig@english}{%
+\newcommand{\PJLlang@langconfig@english}{%
\selectlanguage{english}%
}
-\newcommand{\PLlang@langconfig@french}{%
+\newcommand{\PJLlang@langconfig@french}{%
\selectlanguage{french}%
% The line below is currently only needed for 'babel', but also works with 'polyglossia'
\def\frenchpartname{Partie}%
}
-\newcommand{\PLlang@langconfig@german}{%
+\newcommand{\PJLlang@langconfig@german}{%
\selectlanguage{ngerman}%
}
-\newcommand{\PLlang@langconfig@russian}{%
+\newcommand{\PJLlang@langconfig@russian}{%
\selectlanguage{russian}%
}
\NewDocumentCommand\AddLanguageSetting{d()m}{%
\IfNoValueTF{#1}%
- {\gappto{\PLlang@langconfig@common}{#2}}%
+ {\gappto{\PJLlang@langconfig@common}{#2}}%
{%
- \ifstrequal{#1}{chinese}{\gappto{\PLlang@langconfig@chinese}{#2}}{}%
- \ifstrequal{#1}{Chinese}{\gappto{\PLlang@langconfig@chinese}{#2}}{}%
- \ifstrequal{#1}{schinese}{\gappto{\PLlang@langconfig@chinese}{#2}}{}%
- \ifstrequal{#1}{SChinese}{\gappto{\PLlang@langconfig@chinese}{#2}}{}%
- \ifstrequal{#1}{simplifiedchinese}{\gappto{\PLlang@langconfig@chinese}{#2}}{}%
- \ifstrequal{#1}{SimplifiedChinese}{\gappto{\PLlang@langconfig@chinese}{#2}}{}%
- \ifstrequal{#1}{tchinese}{\gappto{\PLlang@langconfig@tchinese}{#2}}{}%
- \ifstrequal{#1}{TChinese}{\gappto{\PLlang@langconfig@tchinese}{#2}}{}%
- \ifstrequal{#1}{traditionalchinese}{\gappto{\PLlang@langconfig@tchinese}{#2}}{}%
- \ifstrequal{#1}{TraditionalChinese}{\gappto{\PLlang@langconfig@tchinese}{#2}}{}%
- \ifstrequal{#1}{japanese}{\gappto{\PLlang@langconfig@japanese}{#2}}{}%
- \ifstrequal{#1}{Japanese}{\gappto{\PLlang@langconfig@japanese}{#2}}{}%
- \ifstrequal{#1}{english}{\gappto{\PLlang@langconfig@english}{#2}}{}%
- \ifstrequal{#1}{English}{\gappto{\PLlang@langconfig@english}{#2}}{}%
- \ifstrequal{#1}{french}{\gappto{\PLlang@langconfig@french}{#2}}{}%
- \ifstrequal{#1}{French}{\gappto{\PLlang@langconfig@french}{#2}}{}%
- \ifstrequal{#1}{ngerman}{\gappto{\PLlang@langconfig@german}{#2}}{}%
- \ifstrequal{#1}{german}{\gappto{\PLlang@langconfig@german}{#2}}{}%
- \ifstrequal{#1}{German}{\gappto{\PLlang@langconfig@german}{#2}}{}%
- \ifstrequal{#1}{russian}{\gappto{\PLlang@langconfig@russian}{#2}}{}%
- \ifstrequal{#1}{Russian}{\gappto{\PLlang@langconfig@russian}{#2}}{}%
+ \ifstrequal{#1}{chinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}{}%
+ \ifstrequal{#1}{Chinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}{}%
+ \ifstrequal{#1}{schinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}{}%
+ \ifstrequal{#1}{SChinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}{}%
+ \ifstrequal{#1}{simplifiedchinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}{}%
+ \ifstrequal{#1}{SimplifiedChinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}{}%
+ \ifstrequal{#1}{tchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}{}%
+ \ifstrequal{#1}{TChinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}{}%
+ \ifstrequal{#1}{traditionalchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}{}%
+ \ifstrequal{#1}{TraditionalChinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}{}%
+ \ifstrequal{#1}{japanese}{\gappto{\PJLlang@langconfig@japanese}{#2}}{}%
+ \ifstrequal{#1}{Japanese}{\gappto{\PJLlang@langconfig@japanese}{#2}}{}%
+ \ifstrequal{#1}{english}{\gappto{\PJLlang@langconfig@english}{#2}}{}%
+ \ifstrequal{#1}{English}{\gappto{\PJLlang@langconfig@english}{#2}}{}%
+ \ifstrequal{#1}{french}{\gappto{\PJLlang@langconfig@french}{#2}}{}%
+ \ifstrequal{#1}{French}{\gappto{\PJLlang@langconfig@french}{#2}}{}%
+ \ifstrequal{#1}{ngerman}{\gappto{\PJLlang@langconfig@german}{#2}}{}%
+ \ifstrequal{#1}{german}{\gappto{\PJLlang@langconfig@german}{#2}}{}%
+ \ifstrequal{#1}{German}{\gappto{\PJLlang@langconfig@german}{#2}}{}%
+ \ifstrequal{#1}{russian}{\gappto{\PJLlang@langconfig@russian}{#2}}{}%
+ \ifstrequal{#1}{Russian}{\gappto{\PJLlang@langconfig@russian}{#2}}{}%
}%
}
\RequirePackage{setspace}
%
-\def\PL@config@linespacing{\setstretch{1.00}}
-\def\PL@config@CJKlinespacing{\onehalfspacing}
-\newcommand{\PLsetlinespacing}[1]{\renewcommand{\PL@config@linespacing}{#1}}
-\newcommand{\PLsetCJKlinespacing}[1]{\renewcommand{\PL@config@CJKlinespacing}{#1}}
+\def\PJL@config@linespacing{\setstretch{1.00}}
+\def\PJL@config@CJKlinespacing{\onehalfspacing}
+\newcommand{\PJLsetlinespacing}[1]{\renewcommand{\PJL@config@linespacing}{#1}}
+\newcommand{\PJLsetCJKlinespacing}[1]{\renewcommand{\PJL@config@CJKlinespacing}{#1}}
%
\newcommand{\UseLanguageCORE}[1]{%
- \PLlang@langconfig@common%
- \ifstrequal{#1}{chinese}{\PL@config@CJKlinespacing\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{Chinese}{\PL@config@CJKlinespacing\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{schinese}{\PL@config@CJKlinespacing\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{SChinese}{\PL@config@CJKlinespacing\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{simplifiedchinese}{\PL@config@CJKlinespacing\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{SimplifiedChinese}{\PL@config@CJKlinespacing\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{tchinese}{\PL@config@CJKlinespacing\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{TChinese}{\PL@config@CJKlinespacing\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{traditionalchinese}{\PL@config@CJKlinespacing\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{TraditionalChinese}{\PL@config@CJKlinespacing\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{japanese}{\PL@config@CJKlinespacing\PLlang@langconfig@japanese}{}%
- \ifstrequal{#1}{Japanese}{\PL@config@CJKlinespacing\PLlang@langconfig@japanese}{}%
- \ifstrequal{#1}{english}{\PL@config@linespacing\PLlang@langconfig@english}{}%
- \ifstrequal{#1}{English}{\PL@config@linespacing\PLlang@langconfig@english}{}%
- \ifstrequal{#1}{french}{\PL@config@linespacing\PLlang@langconfig@french}{}%
- \ifstrequal{#1}{French}{\PL@config@linespacing\PLlang@langconfig@french}{}%
- \ifstrequal{#1}{ngerman}{\PL@config@linespacing\PLlang@langconfig@german}{}%
- \ifstrequal{#1}{german}{\PL@config@linespacing\PLlang@langconfig@german}{}%
- \ifstrequal{#1}{German}{\PL@config@linespacing\PLlang@langconfig@german}{}%
- \ifstrequal{#1}{russian}{\PL@config@linespacing\PLlang@langconfig@russian}{}%
- \ifstrequal{#1}{Russian}{\PL@config@linespacing\PLlang@langconfig@russian}{}%
+ \PJLlang@langconfig@common%
+ \ifstrequal{#1}{chinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{Chinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{schinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{SChinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{simplifiedchinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{SimplifiedChinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{tchinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{TChinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{traditionalchinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{TraditionalChinese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{japanese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@japanese}{}%
+ \ifstrequal{#1}{Japanese}{\PJL@config@CJKlinespacing\PJLlang@langconfig@japanese}{}%
+ \ifstrequal{#1}{english}{\PJL@config@linespacing\PJLlang@langconfig@english}{}%
+ \ifstrequal{#1}{English}{\PJL@config@linespacing\PJLlang@langconfig@english}{}%
+ \ifstrequal{#1}{french}{\PJL@config@linespacing\PJLlang@langconfig@french}{}%
+ \ifstrequal{#1}{French}{\PJL@config@linespacing\PJLlang@langconfig@french}{}%
+ \ifstrequal{#1}{ngerman}{\PJL@config@linespacing\PJLlang@langconfig@german}{}%
+ \ifstrequal{#1}{german}{\PJL@config@linespacing\PJLlang@langconfig@german}{}%
+ \ifstrequal{#1}{German}{\PJL@config@linespacing\PJLlang@langconfig@german}{}%
+ \ifstrequal{#1}{russian}{\PJL@config@linespacing\PJLlang@langconfig@russian}{}%
+ \ifstrequal{#1}{Russian}{\PJL@config@linespacing\PJLlang@langconfig@russian}{}%
}
\newcommand{\UseLanguage}[1]{%
\ifx\@onlypreamble\@notprerr%
@@ -592,79 +592,79 @@
}
\newcommand{\UseOtherLanguage}[2]{%
\begingroup%
- \PLlang@langconfig@common%
- \ifstrequal{#1}{chinese}{\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{Chinese}{\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{schinese}{\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{SChinese}{\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{simplifiedchinese}{\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{SimplifiedChinese}{\PLlang@langconfig@chinese}{}%
- \ifstrequal{#1}{tchinese}{\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{TChinese}{\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{traditionalchinese}{\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{TraditionalChinese}{\PLlang@langconfig@tchinese}{}%
- \ifstrequal{#1}{japanese}{\PLlang@langconfig@japanese}{}%
- \ifstrequal{#1}{Japanese}{\PLlang@langconfig@japanese}{}%
- \ifstrequal{#1}{english}{\PLlang@langconfig@english}{}%
- \ifstrequal{#1}{English}{\PLlang@langconfig@english}{}%
- \ifstrequal{#1}{french}{\PLlang@langconfig@french}{}%
- \ifstrequal{#1}{French}{\PLlang@langconfig@french}{}%
- \ifstrequal{#1}{ngerman}{\PLlang@langconfig@german}{}%
- \ifstrequal{#1}{german}{\PLlang@langconfig@german}{}%
- \ifstrequal{#1}{German}{\PLlang@langconfig@german}{}%
- \ifstrequal{#1}{russian}{\PLlang@langconfig@russian}{}%
- \ifstrequal{#1}{Russian}{\PLlang@langconfig@russian}{}%
+ \PJLlang@langconfig@common%
+ \ifstrequal{#1}{chinese}{\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{Chinese}{\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{schinese}{\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{SChinese}{\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{simplifiedchinese}{\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{SimplifiedChinese}{\PJLlang@langconfig@chinese}{}%
+ \ifstrequal{#1}{tchinese}{\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{TChinese}{\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{traditionalchinese}{\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{TraditionalChinese}{\PJLlang@langconfig@tchinese}{}%
+ \ifstrequal{#1}{japanese}{\PJLlang@langconfig@japanese}{}%
+ \ifstrequal{#1}{Japanese}{\PJLlang@langconfig@japanese}{}%
+ \ifstrequal{#1}{english}{\PJLlang@langconfig@english}{}%
+ \ifstrequal{#1}{English}{\PJLlang@langconfig@english}{}%
+ \ifstrequal{#1}{french}{\PJLlang@langconfig@french}{}%
+ \ifstrequal{#1}{French}{\PJLlang@langconfig@french}{}%
+ \ifstrequal{#1}{ngerman}{\PJLlang@langconfig@german}{}%
+ \ifstrequal{#1}{german}{\PJLlang@langconfig@german}{}%
+ \ifstrequal{#1}{German}{\PJLlang@langconfig@german}{}%
+ \ifstrequal{#1}{russian}{\PJLlang@langconfig@russian}{}%
+ \ifstrequal{#1}{Russian}{\PJLlang@langconfig@russian}{}%
#2%
\endgroup%
}
\UseLanguage{English}
-%</PLlang>
+%</PJLlang>
%
-%<*PLlogo>
+%<*PJLlogo>
\SetupKeyvalOptions{
- family = @PLlogo,
- prefix = @PLlogo@,
+ family = @PJLlogo,
+ prefix = @PJLlogo@,
}
\DeclareBoolOption[false]{draft}
\DeclareBoolOption[false]{fast}
\ProcessKeyvalOptions*\relax
-\if@PLlogo@draft
- \@PLlogo@fasttrue
+\if@PJLlogo@draft
+ \@PJLlogo@fasttrue
\fi
-\if@PLlogo@fast\def\ProjLib{{\normalfont ProjLib}}\endinput\fi
+\if@PJLlogo@fast\def\ProjLib{{\normalfont ProjLib}}\endinput\fi
\RequirePackage{xcolor}
\RequirePackage{graphicx}
\RequirePackage{iftex}
% \ifPDFTeX
% \RequirePackage{fontenc}
-% \newcommand{\PLlogo@font}{\fontfamily{LinuxBiolinumT-TLF}\selectfont}
+% \newcommand{\PJLlogo@font}{\fontfamily{LinuxBiolinumT-TLF}\selectfont}
% \else
% \RequirePackage{fontspec}
-% \newcommand{\PLlogo@font}{\fontspec{LinBiolinum_R.otf}\selectfont}
+% \newcommand{\PJLlogo@font}{\fontspec{LinBiolinum_R.otf}\selectfont}
% \fi
\ifdefined\fontspec
- \newcommand{\PLlogo@font}{\normalfont\fontspec{LinBiolinum_R.otf}\selectfont}
+ \newcommand{\PJLlogo@font}{\normalfont\fontspec{LinBiolinum_R.otf}\selectfont}
\else
\PassOptionsToPackage{T1}{fontenc}
\RequirePackage{fontenc}
- \newcommand{\PLlogo@font}{\normalfont\fontfamily{LinuxBiolinumT-TLF}\selectfont}
+ \newcommand{\PJLlogo@font}{\normalfont\fontfamily{LinuxBiolinumT-TLF}\selectfont}
\fi
-% \DeclareSymbolFont{PLupright}{OT1}{zplm}{b}{n}
-\DeclareSymbolFont{PLupright}{U}{zeur}{b}{n}
-\DeclareMathSymbol{\PLSigma}{\mathalpha}{PLupright}{"06}
+% \DeclareSymbolFont{PJLupright}{OT1}{zplm}{b}{n}
+\DeclareSymbolFont{PJLupright}{U}{zeur}{b}{n}
+\DeclareMathSymbol{\PJLSigma}{\mathalpha}{PJLupright}{"06}
\providecommand*{\ProjLib}{%
\begingroup%
-\PLlogo@font%
+\PJLlogo@font%
\color{blue!60!cyan}P%
\color{blue!45!cyan}r%
\color{blue!30!cyan}o%
\color{green!70!black}\j%
-% \kern-0.235em\raisebox{0.57em}{\scalebox{0.3}{\rotatebox{-10}{$\PLSigma$}}}%
+% \kern-0.235em\raisebox{0.57em}{\scalebox{0.3}{\rotatebox{-10}{$\PJLSigma$}}}%
% \kern-0.01em%
-\kern-0.266em\raisebox{0.56em}{\scalebox{0.4}{\rotatebox{-10}{$\PLSigma$}}}%
+\kern-0.266em\raisebox{0.56em}{\scalebox{0.4}{\rotatebox{-10}{$\PJLSigma$}}}%
\kern-0.065em%
\color{red!20!yellow}L%
\color{red!40!yellow}i%
@@ -674,7 +674,7 @@
\providecommand*{\ProjLibText}{%
\begingroup%
-\PLlogo@font%
+\PJLlogo@font%
\color{blue!60!cyan}P%
\color{blue!45!cyan}r%
\color{blue!30!cyan}o%
@@ -684,21 +684,21 @@
\color{red!60!yellow}b%
\endgroup%
}
-%</PLlogo>
+%</PJLlogo>
%
-%<*PLpaper>
+%<*PJLpaper>
\RequirePackage{ifthen}
\SetupKeyvalOptions{%
- family = @PLpaper,
- prefix = @PLpaper@,
+ family = @PJLpaper,
+ prefix = @PJLpaper@,
setkeys=\kvsetkeys
}
\DeclareStringOption[normal]{paperstyle}
-\DeclareVoidOption{yellowpaper}{\kvsetkeys{@PLpaper}{paperstyle=yellow}}
-\DeclareVoidOption{darkpaper}{\kvsetkeys{@PLpaper}{paperstyle=dark}}
-\DeclareVoidOption{nordpaper}{\kvsetkeys{@PLpaper}{paperstyle=nord}}
+\DeclareVoidOption{yellowpaper}{\kvsetkeys{@PJLpaper}{paperstyle=yellow}}
+\DeclareVoidOption{darkpaper}{\kvsetkeys{@PJLpaper}{paperstyle=dark}}
+\DeclareVoidOption{nordpaper}{\kvsetkeys{@PJLpaper}{paperstyle=nord}}
\DeclareBoolOption[false]{preview}
\ProcessKeyvalOptions*\relax
@@ -706,8 +706,8 @@
%%================================
%% Preview mode
%%================================
-\ifdefined\PLnoPreview\else%
- \if@PLpaper@preview%
+\ifdefined\PJLnoPreview\else%
+ \if@PJLpaper@preview%
\RequirePackage{calc}
\AtEndPreamble{%
\setlength{\paperwidth}{\textwidth*\real{1.05}}%
@@ -727,46 +727,46 @@
\definecolor{paper}{RGB}{255,255,255}
\definecolor{maintext}{RGB}{0,0,0}
-\ifthenelse{\equal{\@PLpaper@paperstyle}{yellow}}
+\ifthenelse{\equal{\@PJLpaper@paperstyle}{yellow}}
{
\definecolor{paper}{RGB}{247,246,233}
}
{\relax}
-\ifthenelse{\equal{\@PLpaper@paperstyle}{dark}}
+\ifthenelse{\equal{\@PJLpaper@paperstyle}{dark}}
{
\definecolor{paper}{RGB}{30,30,30}
\definecolor{maintext}{RGB}{207,207,207}
}
{\relax}
-\ifthenelse{\equal{\@PLpaper@paperstyle}{nord}}
+\ifthenelse{\equal{\@PJLpaper@paperstyle}{nord}}
{
\definecolor{paper}{RGB}{46,52,64}
\definecolor{maintext}{RGB}{214,220,230}
}
{\relax}
-\newcommand{\PLglobalcolor}[1]{%
+\newcommand{\PJLglobalcolor}[1]{%
\color{#1}\global\let\default@color\current@color
}
\pagecolor{paper}
-\PLglobalcolor{maintext}
+\PJLglobalcolor{maintext}
\ifdefined\tcbset%
\tcbset{colupper=maintext,collower=maintext}
\fi
-%</PLpaper>
+%</PJLpaper>
%
-%<*PLthm>
+%<*PJLthm>
\SetupKeyvalOptions{%
- family = @PLthm,
- prefix = @PLthm@
+ family = @PJLthm,
+ prefix = @PJLthm@
}
\DeclareBoolOption[false]{nothms}
\ProcessKeyvalOptions*\relax
-\RequirePackage{PLlang}
+\RequirePackage{PJLlang}
\RequirePackage{amsmath,amsthm}
\RequirePackage{aliascnt}
\PassOptionsToPackage{nameinlink}{cleveref}
@@ -1021,11 +1021,11 @@
\expandafter\def\csname definition-propositionnameRU\endcsname{\definitionnameRU-\propositionnameRU}
\expandafter\def\csname definition-theoremnameRU\endcsname{\definitionnameRU-\theoremnameRU}
-\newif\ifPLthm@IsBook
-\ifdefined\chapter\PLthm@IsBooktrue\else\PLthm@IsBookfalse\fi
-\if@PLthm@nothms\else
+\newif\ifPJLthm@IsBook
+\ifdefined\chapter\PJLthm@IsBooktrue\else\PJLthm@IsBookfalse\fi
+\if@PJLthm@nothms\else
%% Theorem environments
-\ifbool{PLthm@IsBook}{
+\ifbool{PJLthm@IsBook}{
\newaliascnt{highest}{chapter}
}{
\newaliascnt{highest}{section}
@@ -1078,7 +1078,7 @@
\fi
% Some localization of cref
-\gappto{\PLlang@langconfig@chinese}{%
+\gappto{\PJLlang@langconfig@chinese}{%
\crefname{equation}{式}{式}%
\crefname{figure}{图}{图}%
\crefname{table}{表}{表}%
@@ -1095,7 +1095,7 @@
\def\creflastgroupconjunction{~和~}%
\def\crefrangeconjunction{~}%
}
-\gappto{\PLlang@langconfig@tchinese}{%
+\gappto{\PJLlang@langconfig@tchinese}{%
\crefname{equation}{式}{式}%
\crefname{figure}{圖}{圖}%
\crefname{table}{表}{表}%
@@ -1112,7 +1112,7 @@
\def\creflastgroupconjunction{~與~}%
\def\crefrangeconjunction{~}%
}
-\gappto{\PLlang@langconfig@japanese}{%
+\gappto{\PJLlang@langconfig@japanese}{%
\crefname{equation}{式}{式}%
\crefname{figure}{図}{図}%
\crefname{table}{表}{表}%
@@ -1129,7 +1129,7 @@
\def\creflastgroupconjunction{~と~}%
\def\crefrangeconjunction{〜}%
}
-\gappto{\PLlang@langconfig@russian}{%
+\gappto{\PJLlang@langconfig@russian}{%
\crefname{equation}{уравнение}{уравнения}%
\crefname{figure}{рис.}{рис.}%
\crefname{table}{таблица}{таблицы}%
@@ -1146,12 +1146,12 @@
\def\creflastgroupconjunction{~и~}%
\def\crefrangeconjunction{~\textasciitilde~}%
}
-%</PLthm>
+%</PJLthm>
%
-%<*PLtoolkit>
+%<*PJLtoolkit>
\SetupKeyvalOptions{
- family = @PLtoolkit,
- prefix = @PLtoolkit@,
+ family = @PJLtoolkit,
+ prefix = @PJLtoolkit@,
}
\DeclareBoolOption[false]{draft}
\DeclareBoolOption[false]{fast}
@@ -1163,29 +1163,29 @@
\DeclareBoolOption[false]{garamond}
\DeclareBoolOption[false]{biolinum}
\ProcessKeyvalOptions*\relax
-\if@PLtoolkit@draft
- \@PLtoolkit@fasttrue
+\if@PJLtoolkit@draft
+ \@PJLtoolkit@fasttrue
\fi
-\if@PLtoolkit@fast
- \PassOptionsToPackage{fast}{PLdate}
- \PassOptionsToPackage{fast}{PLdraft}
- \PassOptionsToPackage{fast}{PLlogo}
+\if@PJLtoolkit@fast
+ \PassOptionsToPackage{fast}{PJLdate}
+ \PassOptionsToPackage{fast}{PJLdraft}
+ \PassOptionsToPackage{fast}{PJLlogo}
\fi
-\if@PLtoolkit@nothms
- \PassOptionsToPackage{nothms}{PLthm}
+\if@PJLtoolkit@nothms
+ \PassOptionsToPackage{nothms}{PJLthm}
\fi
-\if@PLtoolkit@author
- \RequirePackage{PLauthor}
+\if@PJLtoolkit@author
+ \RequirePackage{PJLauthor}
\fi
-\if@PLtoolkit@amssim
- \RequirePackage{PLamssim}
+\if@PJLtoolkit@amssim
+ \RequirePackage{PJLamssim}
\fi
-\RequirePackage{PLdate}
-\RequirePackage{PLdraft}
-\RequirePackage{PLlogo}
-\RequirePackage{PLpaper}
-\RequirePackage{PLthm}
+\RequirePackage{PJLdate}
+\RequirePackage{PJLdraft}
+\RequirePackage{PJLlogo}
+\RequirePackage{PJLpaper}
+\RequirePackage{PJLthm}
% \RequirePackage{iftex}
% \ifPDFTeX
@@ -1195,38 +1195,38 @@
%
\RequirePackage{mathtools}
-% \PL@font@alreadyset should contain the current font name
+% \PJL@font@alreadyset should contain the current font name
% A message can then be shown as: Font "(font name)" has been set
-\ifdefined\PL@font@alreadyset\else
+\ifdefined\PJL@font@alreadyset\else
-\if@PLtoolkit@palatino
+\if@PJLtoolkit@palatino
\RequirePackage{amssymb}
\RequirePackage{mathpazo}
\PassOptionsToPackage{defaultsups}{newpxtext}
\RequirePackage{newpxtext}
\RequirePackage{newpxmath}
\let\openbox\relax
- \PLsetlinespacing{\setstretch{1.07}}
+ \PJLsetlinespacing{\setstretch{1.07}}
\fi
-\if@PLtoolkit@times
+\if@PJLtoolkit@times
\RequirePackage{amssymb}
\PassOptionsToPackage{defaultsups}{newtxtext}
\RequirePackage{newtxtext}
\RequirePackage{newtxmath}
\let\openbox\relax
- \PLsetlinespacing{\setstretch{1.00}}
+ \PJLsetlinespacing{\setstretch{1.00}}
\fi
-\if@PLtoolkit@garamond
+\if@PJLtoolkit@garamond
\RequirePackage{amssymb}
\RequirePackage{ebgaramond-maths}
\RequirePackage{ebgaramond}
% \RequirePackage{garamondlibre}
- \PLsetlinespacing{\setstretch{1.00}}
+ \PJLsetlinespacing{\setstretch{1.00}}
\fi
-\if@PLtoolkit@biolinum
+\if@PJLtoolkit@biolinum
\RequirePackage{amssymb}
\RequirePackage{mathpazo}
% \RequirePackage[sansmath]{libertinust1math}
@@ -1241,12 +1241,12 @@
ItalicFont = LinBiolinum_RI.otf ,
BoldItalicFont = LinBiolinum_RBO.otf ]
\fi
- \PLsetlinespacing{\setstretch{1.05}}
+ \PJLsetlinespacing{\setstretch{1.05}}
\fi
\fi
\RequirePackage{microtype}
-%</PLtoolkit>
+%</PJLtoolkit>
\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/projlib/ProjLib.ins b/macros/latex/contrib/projlib/ProjLib.ins
index d2432689de..d51b90e70d 100644
--- a/macros/latex/contrib/projlib/ProjLib.ins
+++ b/macros/latex/contrib/projlib/ProjLib.ins
@@ -39,15 +39,15 @@ and version 1.3c or later is part of all distributions of LaTeX version
\def\mypreamble{\copyright\lppllicense}
\usepreamble\mypreamble
-\generate{\file{PLamssim.sty}{\from{ProjLib.dtx}{PLamssim}}}
-\generate{\file{PLauthor.sty}{\from{ProjLib.dtx}{PLauthor}}}
-\generate{\file{PLdate.sty}{\from{ProjLib.dtx}{PLdate}}}
-\generate{\file{PLdraft.sty}{\from{ProjLib.dtx}{PLdraft}}}
-\generate{\file{PLlang.sty}{\from{ProjLib.dtx}{PLlang}}}
-\generate{\file{PLlogo.sty}{\from{ProjLib.dtx}{PLlogo}}}
-\generate{\file{PLpaper.sty}{\from{ProjLib.dtx}{PLpaper}}}
-\generate{\file{PLthm.sty}{\from{ProjLib.dtx}{PLthm}}}
-\generate{\file{PLtoolkit.sty}{\from{ProjLib.dtx}{PLtoolkit}}}
+\generate{\file{PJLamssim.sty}{\from{ProjLib.dtx}{PJLamssim}}}
+\generate{\file{PJLauthor.sty}{\from{ProjLib.dtx}{PJLauthor}}}
+\generate{\file{PJLdate.sty}{\from{ProjLib.dtx}{PJLdate}}}
+\generate{\file{PJLdraft.sty}{\from{ProjLib.dtx}{PJLdraft}}}
+\generate{\file{PJLlang.sty}{\from{ProjLib.dtx}{PJLlang}}}
+\generate{\file{PJLlogo.sty}{\from{ProjLib.dtx}{PJLlogo}}}
+\generate{\file{PJLpaper.sty}{\from{ProjLib.dtx}{PJLpaper}}}
+\generate{\file{PJLthm.sty}{\from{ProjLib.dtx}{PJLthm}}}
+\generate{\file{PJLtoolkit.sty}{\from{ProjLib.dtx}{PJLtoolkit}}}
\obeyspaces
\Msg{*************************************************************}
@@ -55,15 +55,15 @@ and version 1.3c or later is part of all distributions of LaTeX version
\Msg{* To finish the installation you have to move the following *}
\Msg{* files into a directory searched by TeX: *}
\Msg{* *}
-\Msg{* PLamssim.sty *}
-\Msg{* PLauthor.sty *}
-\Msg{* PLdate.sty *}
-\Msg{* PLdraft.sty *}
-\Msg{* PLlang.sty *}
-\Msg{* PLlogo.sty *}
-\Msg{* PLpaper.sty *}
-\Msg{* PLthm.sty *}
-\Msg{* PLtoolkit.sty *}
+\Msg{* PJLamssim.sty *}
+\Msg{* PJLauthor.sty *}
+\Msg{* PJLdate.sty *}
+\Msg{* PJLdraft.sty *}
+\Msg{* PJLlang.sty *}
+\Msg{* PJLlogo.sty *}
+\Msg{* PJLpaper.sty *}
+\Msg{* PJLthm.sty *}
+\Msg{* PJLtoolkit.sty *}
\Msg{* *}
\Msg{* Happy TeXing! *}
\Msg{* *}
diff --git a/macros/latex/contrib/projlib/README.md b/macros/latex/contrib/projlib/README.md
index 450a47e2e5..d88d15a875 100644
--- a/macros/latex/contrib/projlib/README.md
+++ b/macros/latex/contrib/projlib/README.md
@@ -2,45 +2,45 @@
# ProjLib Toolkit
-A collection of tools that help you write LaTeX document. With `PLtoolkit` loaded, you no longer need to set up the theorem-like environments nor to manually configure the appropriate multilingual settings. In addition, a series of auxiliary functionalities are introduced.
+A collection of tools that help you write LaTeX document. With `PJLtoolkit` loaded, you no longer need to set up the theorem-like environments nor to manually configure the appropriate multilingual settings. In addition, a series of auxiliary functionalities are introduced.
-1. `PLamssim.sty`
+1. `PJLamssim.sty`
- Simulate some features of `amsart` in the standard classes
-1. `PLauthor.sty`
+1. `PJLauthor.sty`
- Enhanced author information block
- Offers `\address`, `\curraddr` and `\email`
-1. `PLdate.sty`
- - Offers a macro `\PLdate` to convert `yyyy-mm-dd` to normal datetime format, with multi-language support
-1. `PLdraft.sty`
+1. `PJLdate.sty`
+ - Offers a macro `\PJLdate` to convert `yyyy-mm-dd` to normal datetime format, with multi-language support
+1. `PJLdraft.sty`
- Useful macros during the draft stage: `\dnf` and `\needgraph`, with multi-language support
-1. `PLlang.sty`
+1. `PJLlang.sty`
- Multi-language configuration based on `babel` or `polyglossia`
- Offers `\UseLanguage`, `\UseOtherLanguage` and `\AddLanguageSetting`
- Currently support Chinese (simplified and traditional), English, French, German, Japanese and Russian, *more to be added*
-1. `PLlogo.sty`
+1. `PJLlogo.sty`
- Draw the ProjLib logo
-1. `PLpaper.sty`
+1. `PJLpaper.sty`
- Paper style configuration: yellow theme, dark theme and nord theme
-1. `PLthm.sty`
+1. `PJLthm.sty`
- Theorem setup and configuration
- Offers a macro `\CreateTheorem` for creating theorem-like environments with multi-language support
- Preset environments include: `assumption`, `axiom`, `conjecture`, `convention`, `corollary`, `definition`, `definition-proposition`, `definition-theorem`, `example`, `exercise`, `fact`, `hypothesis`, `lemma`, `notation`, `problem`, `property`, `proposition`, `question`, `remark`, `theorem`, and the corresponding unnumbered version with an asterisk `*` in the name.
-1. `PLtoolkit.sty`, *the all-in-one solution*
+1. `PJLtoolkit.sty`, *the all-in-one solution*
- A collective interface of ProjLib Toolkit, loading all the packages above
- Provide some pre-defined font configuration
-> Since `PLthm.sty` (and thus `PLtoolkit.sty`) uses `cleveref`, it should be loaded after `varioref` and `hyperref`.
+> Since `PJLthm.sty` (and thus `PJLtoolkit.sty`) uses `cleveref`, it should be loaded after `varioref` and `hyperref`.
Demonstration:
```latex
\documentclass{amsart}
\usepackage[a4paper,margin=.75in]{geometry}
\usepackage[hidelinks]{hyperref}
-\usepackage[palatino]{PLtoolkit}
+\usepackage[palatino]{PJLtoolkit}
%% You can also comment the above lines and try the following (require xelatex or lualatex):
% \documentclass[a4paper,allowbf]{lebhart}
-% \usepackage{PLtoolkit}
+% \usepackage{PJLtoolkit}
%% Using \UseLanguage to select language, by default "English" is selected
\UseLanguage{French} % Use French from here
@@ -54,7 +54,7 @@ Demonstration:
\author{Auteur 1}
\address{Adresse 1}
\email{\href{Courriel 2}{Courriel 2}}
-\date{\PLdate{2022-04-01}}
+\date{\PJLdate{2022-04-01}}
\subjclass{*****}
\keywords{...}