summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-08-08 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2021-08-08 03:01:03 +0000
commited204b296810be74994f70f76b7f5b849f6e9ecb (patch)
treef39bb9d2abbf54d1fa1a585d245a0942c77e2f05 /macros/latex
parent5991e0faa2ab9a1b9bdb72d6399cff4444b02f35 (diff)
CTAN sync 202108080301
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx6
-rw-r--r--macros/latex/contrib/easybook/easybook.pdfbin583938 -> 583892 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.tex34
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-cn.pdfbin325472 -> 310106 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-en.pdfbin202001 -> 195753 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc-fr.pdfbin204097 -> 197885 bytes
-rw-r--r--macros/latex/contrib/projlib/ProjLib-doc.dtx759
-rw-r--r--macros/latex/contrib/projlib/ProjLib.dtx83
8 files changed, 458 insertions, 424 deletions
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index 821c06cf7c..b48cd00d3d 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/easybook/easybook.dtx
@@ -8,7 +8,7 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/08/06}{1.28e}
+\ProvidesExplClass{easybook}{2021/08/06}{1.28F}
{Typeset Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -292,7 +292,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/08/06}{1.28e}
+\ProvidesExplPackage{easybase}{2021/08/06}{1.28F}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_add:Nn { NV,Nv }
@@ -2372,7 +2372,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/06}{1.28e}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/06}{1.28F}
{Customization of tcolorbox for easybook}
\tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip }
diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf
index 793816f3a7..2f7d0b55ac 100644
--- a/macros/latex/contrib/easybook/easybook.pdf
+++ b/macros/latex/contrib/easybook/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index 202a35ab0c..fe2228bc1a 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -11,7 +11,7 @@
{
name = easybook,
title = EASYBOOK 使用手册,
- version = v1.28e,
+ version = v1.28F,
date = 2021/08/06,
authors = 瞿毅,
info = 排版简体中文学位论文和书籍,
@@ -176,12 +176,12 @@
\opt{newline}\Default!
部分和章标题的样式为另起一行,符合一般英文书籍的习惯。
\keychoice{scheme}{chinese,plain}\Default{chinese}
- 文档主题方案选项 \option{scheme} 扩展了 C\TeX 文档类中同名选项原有的作用范围,\option{plain} 选项可使各类标题变为英文形式。包括章节标题、图表标题和定理标题等。
+ 文档主题方案选项 \option{scheme} 扩展了 C\TeX 文档类中同名选项原有的作用范围,选项值 \code{plain} 可使各类标题变为英文形式。包括章节标题、图表标题和定理标题等。
\opt{enmode}\Default!
同时开启 \option{newline} 和 \keyis-{scheme}{plain} 选项以符合英文原生风格。
\keychoice{scheme}{a4paper,b5paper,c5paper,letterpaper,其它纸张}\Default{a4paper}
- 页眉尺寸选项将参数交给 \pkg*{geometry} 宏包处理,可使用它支持的所有纸张规格。建议选项 \option*{b5paper} 和 \keyis*-{zihao}{5},选项 \option*{a4paper} 和 \keyis*-{zihao}{-4} 配合。
- \keyval-{config}{配置文件名}
+ 页眉尺寸选项将参数交给 \pkg*{geometry} 宏包处理,可使用它支持的所有纸张规格。建议选项值 \code{b5paper} 和 \keyis*-{zihao}{5},选项值 \code{a4paper} 和 \keyis*-{zihao}{-4} 配合。
+ \keyval-{config}{配置文件名}\Default
选项 \option{config} 载入用户配置文件,最好放在当前路径且需带有文件扩展名如 \code{tex}、\code{def} 和 \code{cfg}。
\keybool{floatpage}\Default{true}
开启这个选项后浮动环境 \env*{table} 和 \env*{figure} 的比例参数会使用默认值,关闭它则尽可能避免出现浮动页,使图表环境与正文段落更加紧凑,减少多余的空白版面。
@@ -223,7 +223,7 @@
\subsection{article 模式}
\begin{options}
\keychoice{class}{book,article}\Default{book}
- 使用 \cls*{easybook} 文档类可以有两种模式,默认为 \cls*{book} 模式。选用 \option{article} 会变为 \option*{oneside} 单面排版,同时使文档编号、结构等与标准 \cls*{article} 文档类的特性相似,可用于短篇幅的文章,不需要再使用 \cs*{chapter} 命令,此时节 \ref{sec:document command} 中目录命令的 \option{chapter} 选项会失效,将以 \option{section} 标题级别输出目录。如果使用 \cls*{ctexart} 配合 \pkg*{easybase} 宏包,则选项值 \code{book} 会失效。
+ 使用 \cls*{easybook} 文档类可以有两种模式,默认为 \cls*{book} 模式。选用 \code{article} 会变为 \code{oneside} 单面排版,同时使文档编号、结构等与标准 \cls*{article} 文档类的特性相似,可用于短篇幅的文章,不需要再使用 \cs*{chapter} 命令。此时节 \ref{sec:document command} 中目录命令的 \option{chapter} 选项会失效,将以 \code{section} 标题级别输出目录。如果使用 \cls*{ctexart} 配合 \pkg*{easybase} 宏包,则选项值 \code{book} 会失效。
\opt{book}\Default!
开启 \cls*{book} 书籍模式,与 \keyis*-{class}{book} 等效。
\opt{article}\Default!
@@ -236,7 +236,7 @@
\subsection{文区命令}
\begin{commands}
\command{frontmatter}[\sarg\oarg{编号格式}]\Default{Roman}
- 前言区命令,使部分和章标题不编号,带有星号的变体命令不使用 \cs{cleardoublepage} 命令。页码 \meta{编号格式} 可设置为例如 \code{roman}、\code{Alph} 等格式。
+ 前言区命令,使部分和章标题不编号,带有星号的变体命令不使用 \cs{cleardoublepage} 命令。页码 \meta{编号格式} 可设置为例如 \code{roman} 或 \code{Alph} 等形式。
\command{mainmatter}[\sarg]
主文区命令,章标题正常编号且页码为从 1 开始计数的阿拉伯数字,带有星号的变体命令不使用 \cs{cleardoublepage} 清双页命令。
\command{backmatter} 后记区命令,页码格式与编号保持不变,章标题不编号。
@@ -260,14 +260,14 @@
\begin{options}
\opt{chapter}\Default!
- 使目录标题按照 \code{chapter} 级别输出,这是默认级别。
+ 使当前目录标题按照 \code{chapter} 章级别输出。
\opt{section}\Default!
- 使目录标题按照 \code{section} 级别输出。
+ 使当前目录标题按照 \code{section} 节级别输出。
\keybool{multoc}\Default{false}
与 \module*{style/}\option{multoc} 选项具有相同的效果,但是具有优先性且可单独设置不同目录是否多栏排版,栏数默认为双栏,可使用 \option{columns} 更改。
\keyval-{columns}{目录栏数}\Default{2}
设置目录的栏数,仅在 \keyis-{multoc}{true} 时有效,默认为双栏。
- \kvsplit{title}{中文目录标题,英文目录标题}\Default
+ \kvsplit{title}{中文目录标题,英文目录标题}\newline
用于更改目录的标题,标题之间用一个英文逗号分开,也可以只有一部分,表示中文目录的标题。当设置了英文目录标题时,英文目录标题将会自动加入主文档目录 \cs*{tableofcontents+} 命令。
\keyval-{format}{目录标题格式}\Default
在书籍模式且 \option{chapter} 选项开启或者文章模式的情况下,\option{format} 用于设置目录标题的格式。
@@ -432,24 +432,24 @@
\subsection{行距}
\label{subsec:spacing}
-行距因子用于设置各种行距倍数,只能是浮点数,不能带有长度单位。各行距既可在导言区全局设置也可正文中设置对后面生效。
+行距因子用于设置各种行距倍数,\meta{数值} 是不带有长度单位的浮点数。各类行距既可以在导言区全局设置,也可以在正文中设置对后面生效。
\begin{options}
\keyval-{line}{数值}\Module{spread}\Default{1.3}
- 正文行距,C\TeX 原有的行距选项 \option*{linespread} 失效。
+ 正文行距因子,C\TeX 原有的行距选项 \option*{linespread} 失效。
\keyval-{table}{数值}\Default{1.05}
- 表格行距,对传统表格环境 \env*{tabular}、\env*{tabularx} 以及 \pkg*{tabularray} 宏包的 \env{tblr} 环境生效,同时 \env{tblr} 也自带有 \option*{stretch} 选项设置行距。
+ 表格行距因子,对传统表格环境 \env*{tabular}、\env*{tabularx} 以及 \pkg*{tabularray} 宏包的 \env{tblr} 环境生效,同时 \env{tblr} 也自带有 \option*{stretch} 选项设置行距。
\keyval-{math}{数值}\Default{1.05}
- 数学环境行距,包括 \pkg*{amsmath} 和 \pkg*{mathtools} 宏包附带的环境,但并未加载 \pkg*{mathtools} 宏包。
+ 数学环境的行距因子,包含了 \pkg*{amsmath} 和 \pkg*{mathtools} 宏包提供的公式环境。
\keyval-{caption}{数值}\Default{1.1}
- 图片、表格和代码题注的行距。
+ 图片、表格和代码题注的行距因子。
\keyval-{footnote}{数值}\Default{1.1}
- 脚注整体内容的行距,可以使用 \option{fntext-form} 的代码覆盖每个脚注单独的行距,从而与不同脚注的段落间距不同。
+ 脚注整体内容的行距因子,可以使用 \option{fntext-form} 的代码覆盖每个脚注单独的行距,从而与不同脚注的段落间距不同。
\begin{ctexexam}
\spread{footnote = 1.3}
\hdrset{fntext-form = \linespread{1.2}\selectfont}
\end{ctexexam}
\keyval-{spread-all}{数值}\Default
- 统一设置上述各种行距。
+ 统一设置上述各种行距因子。
\end{options}
\subsection{其它字体}
@@ -749,7 +749,7 @@
\keyval-{belowoffset}{刚性长度}\Module{/(level)}\Default{0pc}
\code{level} 代表 \code{figure}、\code{table} 和 \code{lstlisting} 三个级别目录标题下方间距补偿,也可以使用 \code{list} 统一设置,一般为正值。这个距离也可以用 C\TeX 标题下方距离选项修改。
\keyval-{lolskip}{弹性长度}\Module{tocset}\Default{0.8pc}
- 代码目录中章之间的代码标题的距离,与 C\TeX 的表格目录和图片目录中章之间的标题距离选项 \option*{lotskip} 和 \option*{lofskip} 类似,它们的值均默认为 \code{0.8pc},在 \cls*{article} 模式中此选项失效。
+ 代码目录中每章代码标题的额外距离,与 C\TeX 的表格和图片目录中每章间的标题距离选项 \option*{lotskip} 和 \option*{lofskip} 类似,在 \cls*{article} 模式中此选项失效。
\keyval-{tocline-fig}{图片目录标签}
图片目录标签,选项参数中 \code{\#1} 代表编号,还可包含标签名称,默认标签名称与图片题注名称一致。
\keyval-{tocline-tab}{表格目录标签}
diff --git a/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf b/macros/latex/contrib/projlib/ProjLib-doc-cn.pdf
index bc47e1c0c6..9a561d6472 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-en.pdf b/macros/latex/contrib/projlib/ProjLib-doc-en.pdf
index 18f374500e..d5d058f7a8 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-fr.pdf b/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
index 1b11d43a80..ffdf43be50 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
+++ b/macros/latex/contrib/projlib/ProjLib-doc-fr.pdf
Binary files differ
diff --git a/macros/latex/contrib/projlib/ProjLib-doc.dtx b/macros/latex/contrib/projlib/ProjLib-doc.dtx
index 05c3977be8..161f53b2cd 100644
--- a/macros/latex/contrib/projlib/ProjLib-doc.dtx
+++ b/macros/latex/contrib/projlib/ProjLib-doc.dtx
@@ -108,25 +108,25 @@
%<*ProjLib-doc-cn>
\title{\ProjLib{} 工具集\\[.3\baselineskip]\normalsize 使用指南}
\author{许锦文}
-\thanks{对应版本.~~\texttt{\ProjLib{}~2021/07/30}}
+\thanks{对应版本.~~\texttt{\ProjLib{}~2021/08/07}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
-\date{2021年7月,北京}
+\date{2021年8月,北京}
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
\title{\ProjLib{}~\,Toolkit\\[.3\baselineskip]\normalsize User Manual}
\author{Jinwen XU}
-\thanks{Corresponding to: \texttt{\ProjLib{}~2021/07/30}}
+\thanks{Corresponding to: \texttt{\ProjLib{}~2021/08/07}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
-\date{July 2021, Beijing}
+\date{August 2021, Beijing}
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
\title{La boîte à outils~\,\ProjLib{}\\[.3\baselineskip]\normalsize Manuel d'utilisation}
\author{Jinwen XU}
-\thanks{Correspondant à : \texttt{\ProjLib{}~2021/07/30}}
+\thanks{Correspondant à : \texttt{\ProjLib{}~2021/08/07}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
-\date{Juillet 2021, à Pékin}
+\date{Août 2021, à Pékin}
%</ProjLib-doc-fr>
\maketitle
@@ -403,7 +403,7 @@ For detailed description of this command and more related commands, please refer
\UseLanguage{French}
\end{code}
-Cette ligne indique que le français sera utilisé dans le document (d'ailleurs, si seul l'anglais apparaît dans votre article, alors il n'est pas nécessaire de choisir la langue). Vous pouvez également changer de langue de la même manière plus tard au milieu du texte. Les langues prises en charge sont les suivantes : chinois simplifié, chinois traditionnel, japonais, anglais, français, allemand, espagnol, portugais, portugais brésilien et russe\footnote{Cependant, vous devez ajouter vous-même l'encodage et les polices de la langue correspondante. Par exemple, pour le chinois, vous devrez peut-être ajouter le package \textsf{ctex} et choisir les polices. Pour rappel, vous pouvez essayer les classes de documents \textsf{einfart} ou \textsf{lebhart} de l'auteur, dans lesquelles les paramètres correspondants ont été effectués. Pour les détails, exécutez \lstinline|texdoc minimalist| ou \lstinline|coloriste texdoc| en ligne de commande.}.
+Cette ligne indique que le français sera utilisé dans le document (d'ailleurs, si seul l'anglais apparaît dans votre article, alors il n'est pas nécessaire de choisir la langue). Vous pouvez également changer de langue de la même manière plus tard au milieu du texte. Les langues prises en charge sont : chinois simplifié, chinois traditionnel, japonais, anglais, français, allemand, espagnol, portugais, portugais brésilien et russe\footnote{Cependant, vous devez ajouter vous-même l'encodage et les polices de la langue correspondante. Par exemple, pour le chinois, vous devrez peut-être ajouter le package \textsf{ctex} et choisir les polices. Pour rappel, vous pouvez essayer les classes de documents \textsf{einfart} ou \textsf{lebhart} de l'auteur, dans lesquelles les paramètres correspondants ont été effectués. Pour les détails, exécutez \lstinline|texdoc minimalist| ou \lstinline|coloriste texdoc| en ligne de commande.}.
Pour une description détaillée de cette commande et d'autres commandes associées, veuillez vous référer à la section sur le support multilingue.
%</ProjLib-doc-fr>
@@ -669,12 +669,14 @@ In addition, there are also some options of the components that should be passed
\end{itemize}
\item \texttt{amsfashion}
\begin{itemize}
- \item Permet à l'utilisateur d'écrire à la manière \AmS{}. En attendant, l'option \texttt{author} sera automatiquement activée.
+ \item Permet d'écrire à la manière \AmS{}. En attendant, l'option \texttt{author} sera automatiquement activée.
\end{itemize}
\end{itemize}
De plus, il existe également certaines options des composants qui doivent être passées en tant qu'options globales de votre classe de document, telles que les options de langue de \PJLlang{} comme \texttt{EN} / \texttt{english} / \texttt{English}, \texttt{FR} / \texttt{french} / \texttt{French} etc., et les options de papier de \PJLpaper{} comme \texttt{paperstyle} et \texttt{preview}. Pour plus d'informations, veuillez vous référer aux sections correspondantes.
%</ProjLib-doc-fr>
+
+
\clearpage
%<*ProjLib-doc-cn>
@@ -690,7 +692,19 @@ De plus, il existe également certaines options des composants qui doivent être
%</ProjLib-doc-fr>
%<*ProjLib-doc-cn>
-\subsection{PJLauthor:增强的作者信息块}
+\subsection{主要功能}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsection{Main function}
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsection{Fonction principale}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLauthor:增强的作者信息块}
\PJLauthor{} 提供了 \lstinline|\address|、\lstinline|\curraddr|、\lstinline|\email| 命令,并且允许输入多组用户信息。标准的输入方式是这样的:
\begin{code}
@@ -718,7 +732,7 @@ De plus, il existe également certaines options des composants qui doivent être
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
-\subsection{PJLauthor: enhanced author block}
+\subsubsection{PJLauthor: enhanced author block}
\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}
@@ -746,7 +760,7 @@ In addition, you can use the option \texttt{amsfashion} to enable the \AmS{} fas
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
-\subsection{PJLauthor : bloc auteur amélioré}
+\subsubsection{PJLauthor : bloc auteur amélioré}
\PJLauthor{} propose les macros \lstinline|\address|, \lstinline|\curraddr| et \lstinline|\email|, et vous permet de saisir plusieurs groupes d'informations sur l'auteur. L'utilisation standard est comme ceci :
\begin{code}
@@ -773,68 +787,9 @@ De plus, vous pouvez utiliser l'option \texttt{amsfashion} pour écrire à la ma
\end{tip}
%</ProjLib-doc-fr>
-%<*ProjLib-doc-cn>
-\subsection{PJLdate:智能日期处理}
-
-\PJLdatePackage{} 提供了 \lstinline|\PLdate|\meta{yyyy-mm-dd} (或 \lstinline|\PJLdate|\meta{yyyy-mm-dd}) 命令,以将 \meta{yyyy-mm-dd} 转换为当前语言的日期格式显示。例如,在当前的中文语境下,\lstinline|\PLdate{2022-04-01}| 会被显示为“\PJLdate{2022-04-01}”,而在英文语境下则会被显示为“\UseOtherLanguage{English}{\PJLdate{2022-04-01}}”。
-
-关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLdate: date-time processing}
-
-\PJLdatePackage{} offers the \lstinline|\PLdate|\meta{yyyy-mm-dd} (or \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|\PLdate{2022-04-01}| would become ``\PLdate{2022-04-01}'', while in French context as ``\UseOtherLanguage{French}{\PLdate{2022-04-01}}''.
-
-For details on how to select a language, please refer to the section on \PJLlang{}.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLdate : traitement de date-heure}
-
-\PJLdatePackage{} propose la macro \lstinline|\PLdate|\meta{yyyy-mm-dd} (ou \lstinline|\PJLdate|\meta{yyyy-mm-dd}) pour convertir \meta{yyyy-mm-dd} dans le format de date de la langue actuellement sélectionnée. Par exemple, dans le contexte français actuel, \lstinline|\PLdate{2022-04-01}| deviendrait «~\PLdate{2022-04-01}~», tandis que dans le contexte anglais «~\UseOtherLanguage{English}{\PLdate{2022-04-01}}~».
-
-Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
-%</ProjLib-doc-fr>
-
-%<*ProjLib-doc-cn>
-\subsection{PJLdraft:未完成标记}
-
-\PJLdraft{} 提供了下列命令:
-\begin{itemize}\setstretch{1.15}
- \item \lstinline|\dnf| 或 \lstinline|\dnf<...>|。效果为:\dnf~或 \dnf<...>。\\其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\dnf}。
- \item \lstinline|\needgraph| 或 \lstinline|\needgraph<...>|。效果为:\needgraph~或 \needgraph<...>其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\needgraph}
-\end{itemize}
-
-关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLdraft: draft marks}
-
-\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 \PJLlang{}.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLdraft : marques de brouillon}
-
-\PJLdraft{} propose les macros suivantes :
-\begin{itemize}
- \item \lstinline|\dnf| ou \lstinline|\dnf<...>|. L'effet est : \dnf~ ou \dnf<...>. \\Le texte à l'intérieur changera en fonction de la langue actuelle. Par exemple, il sera affiché sous la forme \UseOtherLanguage{English}{\dnf} en mode anglais.
- \item \lstinline|\needgraph| ou \lstinline|\needgraph<...>|. L'effet est : \needgraph ou \needgraph<...>Le texte de l'invite change en fonction de la langue actuelle. Par exemple, en mode anglais, il sera affiché sous la forme \UseOtherLanguage{English}{\needgraph}
-\end{itemize}
-
-Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
-%</ProjLib-doc-fr>
%<*ProjLib-doc-cn>
-\subsection{PJLlang:多语言支持}
+\subsubsection{PJLlang:多语言支持}
\PJLlang{} 提供了多语言支持,包括简体中文、繁体中文、英文、法文、德文、日文、俄文 (其中中文、日文、俄文需要相应的 \TeX{} 引擎与字体支持)。
@@ -858,7 +813,8 @@ Pour plus de détails sur la façon de sélectionner une langue, veuillez vous r
\end{itemize}
\end{itemize}
-\medskip
+% \medskip
+\clearpage
\meta{language name} 有下列选择 (不区分大小写,如 \texttt{French} 或 \texttt{french} 均可):
\begin{itemize}\setstretch{1.15}
\item 简体中文:\texttt{CN}、\texttt{Chinese}、\texttt{SChinese} 或 \texttt{SimplifiedChinese}
@@ -890,7 +846,7 @@ Pour plus de détails sur la façon de sélectionner une langue, veuillez vous r
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
-\subsection{PJLlang: multi-language support}
+\subsubsection{PJLlang: multi-language support}
\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).
@@ -941,7 +897,7 @@ For example, \lstinline|\AddLanguageSetting(German){\color{orange}}| can make al
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
-\subsection{PJLlang : support multilingue}
+\subsubsection{PJLlang : support multilingue}
\PJLlang{} offre le support multilingue, notamment : chinois simplifié, chinois traditionnel, anglais, français, allemand, japonais et russe (parmi eux, le chinois, le japonais et le russe requièrent des moteurs \TeX{} et des polices appropriés).
@@ -991,294 +947,9 @@ De plus, vous pouvez également ajouter de nouveaux paramètres à la langue sé
Par exemple, \lstinline|\AddLanguageSetting(German){\color{orange}}| peut rendre tout le texte allemand affiché en orange (bien sûr, il faut alors ajouter \lstinline|\AddLanguageSetting{\color{black}}| afin de corriger la couleur du texte dans d'autres langues).
%</ProjLib-doc-fr>
-%<*ProjLib-doc-cn>
-\clearpage
-\subsection{PJLlogo:\texorpdfstring{\ProjLib{} 图标}{ProjLib 图标}}
-
-\PJLlogo{} 提供了 \lstinline|\ProjLib| 命令用于绘制 Logo,效果为:\ProjLib{}。它与普通的文字指令效果类似,可以用于不同的字号:
-
-\vspace{-0.5\baselineskip}
-% \begin{longtable}{ll}
-\begin{center}
- \begin{tabular}{ll}
- \lstinline|\tiny|:& {\tiny\ProjLib}\\
- \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
- \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
- \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
- \lstinline|\large|:& {\large\ProjLib}\\
- \lstinline|\Large|:& {\Large\ProjLib}\\
- \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
- \lstinline|\huge|:& {\huge\ProjLib}\\
- \lstinline|\Huge|:& {\Huge\ProjLib}
- \end{tabular}
-\end{center}
-% \end{longtable}
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLlogo: the logo \texorpdfstring{\ProjLib}{ProjLib}}
-
-\PJLlogo{} offers the macro \lstinline|\ProjLib| 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}
-% \item \lstinline|\footnotesize|:\quad {\footnotesize\ProjLib}
-% \item \lstinline|\normalsize|:\quad {\normalsize\ProjLib}
-% \item \lstinline|\large|:\quad {\large\ProjLib}
-% \item \lstinline|\Large|:\quad {\Large\ProjLib}
-% \item \lstinline|\LARGE|:\quad {\LARGE\ProjLib}
-% \item \lstinline|\huge|:\quad {\huge\ProjLib}
-% \item \lstinline|\Huge|:\quad {\Huge\ProjLib}
-% \end{itemize}
-% \bigskip
-
-% \begin{longtable}{ll}
-\begin{center}
- \begin{tabular}{ll}
- \lstinline|\tiny|:& {\tiny\ProjLib}\\
- \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
- \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
- \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
- \lstinline|\large|:& {\large\ProjLib}\\
- \lstinline|\Large|:& {\Large\ProjLib}\\
- \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
- \lstinline|\huge|:& {\huge\ProjLib}\\
- \lstinline|\Huge|:& {\Huge\ProjLib}
- \end{tabular}
-\end{center}
-% \end{longtable}
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLlogo : le logo \texorpdfstring{\ProjLib}{ProjLib}}
-
-\PJLlogo{} propose la macro \lstinline|\ProjLib| pour dessiner le logo, qui ressemble à \ProjLib{}. Elle est similaire aux macros de texte ordinaires et peut être utilisée avec différentes macros de taille de texte :
-
-% \begin{longtable}{ll}
-\begin{center}
- \begin{tabular}{ll}
- \lstinline|\tiny|:& {\tiny\ProjLib}\\
- \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
- \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
- \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
- \lstinline|\large|:& {\large\ProjLib}\\
- \lstinline|\Large|:& {\Large\ProjLib}\\
- \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
- \lstinline|\huge|:& {\huge\ProjLib}\\
- \lstinline|\Huge|:& {\Huge\ProjLib}
- \end{tabular}
-\end{center}
-% \end{longtable}
-%</ProjLib-doc-fr>
-
-%<*ProjLib-doc-cn>
-\subsection{PJLmath:数学符号与捷径}
-
-\PJLmath{} 提供下列捷径:
-\begin{enumerate}[label=\roman*)]
- \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ 或 \lstinline|\frak|$\cdot$。例如,\lstinline|\mfA| (或 \lstinline|\mf{A}|) 与 \lstinline|\mathfrak{A}| 效果相同. 这对大写、小写字母都有效:\vspace{-\baselineskip}
- \begin{align*}
- \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
- \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
- \end{align*}
- \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$。这只针对大写字母或数字 \( 1 \).
- \begin{equation*}
- \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
- \end{equation*}
- 对于常见的代数结构有这些特殊命令:\lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
- \[
- \N\Z\Q\R\C\F\A
- \]
- \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ 或 \lstinline|\cal|$\cdot$。这只针对大写字母。
- \begin{equation*}
- \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
- \end{equation*}
- \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ 或 \lstinline|\scr|$\cdot$。这只针对大写字母。
- \begin{equation*}
- \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
- \end{equation*}
-\end{enumerate}
-
-另外,\PJLmath{} 还提供了一些 \LaTeX 中未自带的符号。
-
-\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm} }
-\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & 绝对值符号 \\
-\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & 范数符号 \\
-\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & 表示单射的箭头符号 \\
-\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & 表示满射的箭头符号 \\
-\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & 表示双射的箭头符号 \\
-% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre 符号 \\
-% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
-% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre 符号 (text style) \\
-% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre 符号 (display style) \\
-\end{longtable}
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\medskip
-\subsection{PJLmath: math symbols and shortcuts}
-
-\PJLmath{} offers the following shortcuts:
-\begin{enumerate}[label=\roman*)]
- \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ or \lstinline|\frak|$\cdot$ . For example, \lstinline|\mfA| (or \lstinline|\mf{A}|) has the same effect as \lstinline|\mathfrak{A}|. This works for both upper and lower case, producing:
- \begin{align*}
- \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
- \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
- \end{align*}
- \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . This only works for uppercase alphabet and the number \( 1 \).
- \begin{equation*}
- \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
- \end{equation*}
- There are also special command for well-known algebraic structures: \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
- \[
- \N\Z\Q\R\C\F\A
- \]
- \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . This only works for uppercase alphabet.
- \begin{equation*}
- \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
- \end{equation*}
- \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . This only works for uppercase alphabet.
- \begin{equation*}
- \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
- \end{equation*}
-\end{enumerate}
-
-In addition, \PJLmath{} also provides some math symbols that are not by default included in \LaTeX{}.
-
-\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
-\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & absolute value symbol \\
-\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & norm symbol \\
-\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & arrow symbol for injection \\
-\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & arrow symbol for surjection \\
-\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & arrow symbol for bijection \\
-% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre symbol \\
-% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
-% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre symbol (text style) \\
-% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre symbol (display style) \\
-\end{longtable}
-%
-% There's also a starred version of \lstinline|\pmod|, which eliminate the spacing before it: \lstinline|a\pmod*{4}| $\rightarrow a\pmod*{4}$. Compared with: \lstinline|a\pmod{4}| $\rightarrow a\pmod{4}$.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLmath : symboles et raccourcis mathématiques}
-
-\PJLmath{} propose les raccourcis suivants :
-\begin{enumerate}[label=\roman*)]
- \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ ou \lstinline|\frak|$\cdot$ . Par exemple, \lstinline|\mfA| (ou \lstinline|\mf{A}|) a le même effet que \lstinline|\mathfrak{A}|. Cela fonctionne à la fois pour l'alphabet majuscule et minuscule, produisant :
- \begin{align*}
- \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
- \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
- \end{align*}
- \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule et le nombre \( 1 \).
- \begin{equation*}
- \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
- \end{equation*}
- Il y a aussi des commandes spéciales pour les structures algébriques bien connues : \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
- \[
- \N\Z\Q\R\C\F\A
- \]
- \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
- \begin{equation*}
- \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
- \end{equation*}
- \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
- \begin{equation*}
- \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
- \end{equation*}
-\end{enumerate}
-
-De plus, \PJLmath{} fournit également des symboles mathématiques qui ne sont pas inclus par défaut avec \LaTeX{}.
-
-\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
-\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & symbole de valeur absolue \\
-\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & symbole de norme \\
-\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & symbole de flèche pour l'injection \\
-\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & symbole de flèche pour la surjection \\
-\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & symbole de flèche pour la bijection \\
-% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Symbole Legendre \\
-% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
-% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Symbole Legendre (text-style) \\
-% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Symbole Legendre (display-style) \\
-\end{longtable}
-%</ProjLib-doc-fr>
-
-\clearpage
-%<*ProjLib-doc-cn>
-\subsection{PJLpaper:纸张设置}
-
-\PJLpaper{} 主要用于调节纸张颜色。它支持下列选项:
-
-\begin{itemize}
- \item \texttt{paperstyle = \meta{paper style name}}
- \begin{itemize}
- \item 设定纸张色彩样式。\meta{paper style name} 可供选择的选项有:\texttt{yellow}、\texttt{dark} 与 \texttt{nord}。
- \end{itemize}
- \item \texttt{yellowpaper}、\texttt{darkpaper}、\texttt{nordpaper}
- \begin{itemize}
- \item 设定纸张色彩样式。效果与相应名称的 \texttt{paperstyle} 相同。
- \end{itemize}
- \item \texttt{preview}
- \begin{itemize}
- \item 预览模式,将会把 pdf 文件的白边去掉以方便阅读。
- \end{itemize}
-\end{itemize}
-
-为了使用的方便,建议把这些选项作为文档类的全局参数,这样对于文档的纸张设定一目了然。
-%</ProjLib-doc-cn>
-%
-%<*ProjLib-doc-en>
-\subsection{PJLpaper: paper configuration}
-
-\PJLpaper{} is mainly used to adjust the paper color. It has the following options:
-
-\vspace{-.3\baselineskip}
-\begin{itemize}
- \item \texttt{paperstyle = \meta{paper style name}}
- \begin{itemize}
- \item Set the paper color style. The options available for \meta{paper style name} are: \texttt{yellow}, \texttt{dark} and \texttt{nord}.
- \end{itemize}
- \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
- \begin{itemize}
- \item Same as \texttt{paperstyle} with the corresponding \meta{paper style name} specified.
- \end{itemize}
- \item \texttt{preview}
- \begin{itemize}
- \item Preview mode. Crop the white edges of pdf file for the convenience of reading.
- \end{itemize}
-\end{itemize}
-\vspace{-.3\baselineskip}
-
-It is recommended to use them as global options of the document class. In this way, the paper settings would be clear at a glance.
-%</ProjLib-doc-en>
-%
-%<*ProjLib-doc-fr>
-\subsection{PJLpaper : configuration papier}
-
-\PJLpaper{} est principalement utilisé pour ajuster la couleur du papier. Il a les options suivantes :
-
-\vspace{-.3\baselineskip}
-\begin{itemize}
- \item \texttt{paperstyle = \meta{paper style name}}
- \begin{itemize}
- \item Définit le style de couleur du papier. Les options disponibles pour \meta{paper style name} sont : \texttt{yellow}, \texttt{dark} et \texttt{nord}.
- \end{itemize}
- \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
- \begin{itemize}
- \item Identique à \texttt{paperstyle} avec le \meta{paper style name} correspondant spécifié.
- \end{itemize}
- \item \texttt{preview}
- \begin{itemize}
- \item Mode aperçu. Recadrez les bords blancs du fichier pdf pour faciliter la lecture.
- \end{itemize}
-\end{itemize}
-\vspace{-.3\baselineskip}
-
-Il est recommandé de les passer comme options globales de la classe de document. De cette façon, les paramètres du papier seraient clairs en un coup d'œil.
-%</ProjLib-doc-fr>
%<*ProjLib-doc-cn>
-\subsection{PJLthm:带有智能引用与多语言支持的定理类环境}
+\subsubsection{PJLthm:带有智能引用与多语言支持的定理类环境}
\PJLthm{} 提供定理类环境的设置。它支持下列选项:
\begin{itemize}
@@ -1323,7 +994,6 @@ Il est recommandé de les passer comme options globales de la classe de document
\vspace{-.15\baselineskip}%
其中,\meta{language name} 可参阅关于 \PJLlang{} 的小节。当不指定 \meta{language name}时,则会将该名称设置为所有支持语言下的名称。另外,带星号与不带星号的同名环境共用一个名称,因此 \lstinline|\NameTheorem{envname*}{...}| 与 \lstinline|\NameTheorem{envname}{...}| 效果相同。
-\clearpage
然后用下面五种方式之一定义这一环境:
\begin{itemize}
\item \lstinline|\CreateTheorem*{|\meta{name of environment}\lstinline|}|
@@ -1382,7 +1052,7 @@ Il est recommandé de les passer comme options globales de la classe de document
%</ProjLib-doc-cn>
%
%<*ProjLib-doc-en>
-\subsection{PJLthm: theorem-like environments with clever reference and multilingual support}
+\subsubsection{PJLthm: theorem-like environments with clever reference and multilingual support}
\PJLthm{} offers the configuration of theorem-like environments. It has the following option:
@@ -1430,7 +1100,6 @@ If you need to define a new theorem-like environment, you must first define the
\end{itemize}
For \meta{language name}, please refer to the section on \PJLlang{}. When \meta{language name} is not specified, the name will be set for all supported languages. In addition, environments with or without asterisk share the same name, therefore, \lstinline|\NameTheorem{envname*}{...}| has the same effect as \lstinline|\NameTheorem{envname}{...}| .
-\clearpage
And then define this environment in one of following five ways:
\vspace{-.3\baselineskip}
\begin{itemize}
@@ -1490,7 +1159,7 @@ defines an unnumbered environment \lstinline|proofidea*| and a numbered environm
%</ProjLib-doc-en>
%
%<*ProjLib-doc-fr>
-\subsection{PJLthm : environnements de type théorème avec référence intelligente et support multilingue}
+\subsubsection{PJLthm : environnements de type théorème avec référence intelligente et support multilingue}
\PJLthm{} offre la configuration d'environnements de type théorème. Il a l'option suivante :
@@ -1582,6 +1251,368 @@ définit un environnement non numéroté \lstinline|proofidea*| et un environnem
\end{proofidea}
%</ProjLib-doc-fr>
+
+
+\bigskip
+
+%<*ProjLib-doc-cn>
+\subsection{次要功能}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsection{Secondary function}
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsection{Fonction secondaire}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLdate:智能日期处理}
+
+\PJLdatePackage{} 提供了 \lstinline|\PLdate|\meta{yyyy-mm-dd} (或 \lstinline|\PJLdate|\meta{yyyy-mm-dd}) 命令,以将 \meta{yyyy-mm-dd} 转换为当前语言的日期格式显示。例如,在当前的中文语境下,\lstinline|\PLdate{2022-04-01}| 会被显示为“\PJLdate{2022-04-01}”,而在英文语境下则会被显示为“\UseOtherLanguage{English}{\PJLdate{2022-04-01}}”。
+
+关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLdate: date-time processing}
+
+\PJLdatePackage{} offers the \lstinline|\PLdate|\meta{yyyy-mm-dd} (or \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|\PLdate{2022-04-01}| would become ``\PLdate{2022-04-01}'', while in French context as ``\UseOtherLanguage{French}{\PLdate{2022-04-01}}''.
+
+For details on how to select a language, please refer to the section on \PJLlang{}.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLdate : traitement de date-heure}
+
+\PJLdatePackage{} propose la macro \lstinline|\PLdate|\meta{yyyy-mm-dd} (ou \lstinline|\PJLdate|\meta{yyyy-mm-dd}) pour convertir \meta{yyyy-mm-dd} dans le format de date de la langue actuellement sélectionnée. Par exemple, dans le contexte français actuel, \lstinline|\PLdate{2022-04-01}| deviendrait «~\PLdate{2022-04-01}~», tandis que dans le contexte anglais «~\UseOtherLanguage{English}{\PLdate{2022-04-01}}~».
+
+Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLdraft:未完成标记}
+
+\PJLdraft{} 提供了下列命令:
+\begin{itemize}\setstretch{1.15}
+ \item \lstinline|\dnf| 或 \lstinline|\dnf<...>|。效果为:\dnf~或 \dnf<...>。\\其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\dnf}。
+ \item \lstinline|\needgraph| 或 \lstinline|\needgraph<...>|。效果为:\needgraph~或 \needgraph<...>其提示文字与当前语言相对应,例如,在法语模式下将会显示为 \UseOtherLanguage{French}{\needgraph}
+\end{itemize}
+
+关于如何选定语言,请参阅关于 \PJLlang{} 的小节。
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLdraft: draft marks}
+
+\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 \PJLlang{}.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLdraft : marques de brouillon}
+
+\PJLdraft{} propose les macros suivantes :
+\begin{itemize}
+ \item \lstinline|\dnf| ou \lstinline|\dnf<...>|. L'effet est : \dnf~ ou \dnf<...>. \\Le texte à l'intérieur changera en fonction de la langue actuelle. Par exemple, il sera affiché sous la forme \UseOtherLanguage{English}{\dnf} en mode anglais.
+ \item \lstinline|\needgraph| ou \lstinline|\needgraph<...>|. L'effet est : \needgraph ou \needgraph<...>Le texte de l'invite change en fonction de la langue actuelle. Par exemple, en mode anglais, il sera affiché sous la forme \UseOtherLanguage{English}{\needgraph}
+\end{itemize}
+
+Pour plus de détails sur la façon de sélectionner une langue, veuillez vous référer à la section sur \PJLlang{}.
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLlogo:\texorpdfstring{\ProjLib{} 图标}{ProjLib 图标}}
+
+\PJLlogo{} 提供了 \lstinline|\ProjLib| 命令用于绘制 Logo,效果为:\ProjLib{}。它与普通的文字指令效果类似,可以用于不同的字号:
+
+\vspace{-0.5\baselineskip}
+% \begin{longtable}{ll}
+\begin{center}
+ \begin{tabular}{ll}
+ \lstinline|\tiny|:& {\tiny\ProjLib}\\
+ \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
+ \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
+ \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
+ \lstinline|\large|:& {\large\ProjLib}\\
+ \lstinline|\Large|:& {\Large\ProjLib}\\
+ \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
+ \lstinline|\huge|:& {\huge\ProjLib}\\
+ \lstinline|\Huge|:& {\Huge\ProjLib}
+ \end{tabular}
+\end{center}
+% \end{longtable}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLlogo: the logo \texorpdfstring{\ProjLib}{ProjLib}}
+
+\PJLlogo{} offers the macro \lstinline|\ProjLib| 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}
+% \item \lstinline|\footnotesize|:\quad {\footnotesize\ProjLib}
+% \item \lstinline|\normalsize|:\quad {\normalsize\ProjLib}
+% \item \lstinline|\large|:\quad {\large\ProjLib}
+% \item \lstinline|\Large|:\quad {\Large\ProjLib}
+% \item \lstinline|\LARGE|:\quad {\LARGE\ProjLib}
+% \item \lstinline|\huge|:\quad {\huge\ProjLib}
+% \item \lstinline|\Huge|:\quad {\Huge\ProjLib}
+% \end{itemize}
+% \bigskip
+
+% \begin{longtable}{ll}
+\begin{center}
+ \begin{tabular}{ll}
+ \lstinline|\tiny|:& {\tiny\ProjLib}\\
+ \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
+ \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
+ \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
+ \lstinline|\large|:& {\large\ProjLib}\\
+ \lstinline|\Large|:& {\Large\ProjLib}\\
+ \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
+ \lstinline|\huge|:& {\huge\ProjLib}\\
+ \lstinline|\Huge|:& {\Huge\ProjLib}
+ \end{tabular}
+\end{center}
+% \end{longtable}
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLlogo : le logo \texorpdfstring{\ProjLib}{ProjLib}}
+
+\PJLlogo{} propose la macro \lstinline|\ProjLib| pour dessiner le logo, qui ressemble à \ProjLib{}. Elle est similaire aux macros de texte ordinaires et peut être utilisée avec différentes macros de taille de texte :
+
+% \begin{longtable}{ll}
+\begin{center}
+ \begin{tabular}{ll}
+ \lstinline|\tiny|:& {\tiny\ProjLib}\\
+ \lstinline|\scriptsize|:& {\scriptsize\ProjLib}\\
+ \lstinline|\footnotesize|:& {\footnotesize\ProjLib}\\
+ \lstinline|\normalsize|:& {\normalsize\ProjLib}\\
+ \lstinline|\large|:& {\large\ProjLib}\\
+ \lstinline|\Large|:& {\Large\ProjLib}\\
+ \lstinline|\LARGE|:& {\LARGE\ProjLib}\\
+ \lstinline|\huge|:& {\huge\ProjLib}\\
+ \lstinline|\Huge|:& {\Huge\ProjLib}
+ \end{tabular}
+\end{center}
+% \end{longtable}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLmath:数学符号与捷径}
+
+\PJLmath{} 提供下列捷径:
+\begin{enumerate}[label=\roman*)]
+ \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ 或 \lstinline|\frak|$\cdot$。例如,\lstinline|\mfA| (或 \lstinline|\mf{A}|) 与 \lstinline|\mathfrak{A}| 效果相同. 这对大写、小写字母都有效:\vspace{-\baselineskip}
+ \begin{align*}
+ \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
+ \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
+ \end{align*}
+ \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$。这只针对大写字母或数字 \( 1 \).
+ \begin{equation*}
+ \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
+ \end{equation*}
+ 对于常见的代数结构有这些特殊命令:\lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
+ \[
+ \N\Z\Q\R\C\F\A
+ \]
+ \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ 或 \lstinline|\cal|$\cdot$。这只针对大写字母。
+ \begin{equation*}
+ \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
+ \end{equation*}
+ \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ 或 \lstinline|\scr|$\cdot$。这只针对大写字母。
+ \begin{equation*}
+ \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
+ \end{equation*}
+\end{enumerate}
+
+另外,\PJLmath{} 还提供了一些 \LaTeX 中未自带的符号。
+
+\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm} }
+\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & 绝对值符号 \\
+\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & 范数符号 \\
+\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & 表示单射的箭头符号 \\
+\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & 表示满射的箭头符号 \\
+\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & 表示双射的箭头符号 \\
+% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre 符号 \\
+% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
+% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre 符号 (text style) \\
+% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre 符号 (display style) \\
+\end{longtable}
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\medskip
+\subsubsection{PJLmath: math symbols and shortcuts}
+
+\PJLmath{} offers the following shortcuts:
+\begin{enumerate}[label=\roman*)]
+ \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ or \lstinline|\frak|$\cdot$ . For example, \lstinline|\mfA| (or \lstinline|\mf{A}|) has the same effect as \lstinline|\mathfrak{A}|. This works for both upper and lower case, producing:
+ \begin{align*}
+ \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
+ \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
+ \end{align*}
+ \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . This only works for uppercase alphabet and the number \( 1 \).
+ \begin{equation*}
+ \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
+ \end{equation*}
+ There are also special command for well-known algebraic structures: \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
+ \[
+ \N\Z\Q\R\C\F\A
+ \]
+ \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . This only works for uppercase alphabet.
+ \begin{equation*}
+ \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
+ \end{equation*}
+ \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . This only works for uppercase alphabet.
+ \begin{equation*}
+ \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
+ \end{equation*}
+\end{enumerate}
+
+In addition, \PJLmath{} also provides some math symbols that are not by default included in \LaTeX{}.
+
+\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
+\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & absolute value symbol \\
+\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & norm symbol \\
+\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & arrow symbol for injection \\
+\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & arrow symbol for surjection \\
+\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & arrow symbol for bijection \\
+% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Legendre symbol \\
+% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
+% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Legendre symbol (text style) \\
+% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Legendre symbol (display style) \\
+\end{longtable}
+%
+% There's also a starred version of \lstinline|\pmod|, which eliminate the spacing before it: \lstinline|a\pmod*{4}| $\rightarrow a\pmod*{4}$. Compared with: \lstinline|a\pmod{4}| $\rightarrow a\pmod{4}$.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLmath : symboles et raccourcis mathématiques}
+
+\PJLmath{} propose les raccourcis suivants :
+\begin{enumerate}[label=\roman*)]
+ \item \lstinline|\mathfrak{|$\cdot$\lstinline|}| $\longrightarrow$ \lstinline|\mf|$\cdot$ ou \lstinline|\frak|$\cdot$ . Par exemple, \lstinline|\mfA| (ou \lstinline|\mf{A}|) a le même effet que \lstinline|\mathfrak{A}|. Cela fonctionne à la fois pour l'alphabet majuscule et minuscule, produisant :
+ \begin{align*}
+ \mfa\mfb\mfc\mfd\mfe\mff\mfg\mfh\mfi\mfj\mfk\mfl\mfm\mfn&\mfo\mfp\mfq\mfr\mfs\mft\mfu\mfv\mfw\mfx\mfy\mfz\\
+ \mfA\mfB\mfC\mfD\mfE\mfF\mfG\mfH\mfI\mfJ\mfK\mfL\mfM\mfN&\mfO\mfP\mfQ\mfR\mfS\mfT\mfU\mfV\mfW\mfX\mfY\mfZ
+ \end{align*}
+ \item \lstinline|\mathbb{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\bb|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule et le nombre \( 1 \).
+ \begin{equation*}
+ \bbA\bbB\bbC\bbD\bbE\bbF\bbG\bbH\bbI\bbJ\bbK\bbL\bbM\bbN\bbO\bbP\bbQ\bbR\bbS\bbT\bbU\bbV\bbW\bbX\bbY\bbZ\bb1
+ \end{equation*}
+ Il y a aussi des commandes spéciales pour les structures algébriques bien connues : \lstinline|\N|, \lstinline|\Z|, \lstinline|\Q|, \lstinline|\R|, \lstinline|\C|, \lstinline|\F|, \lstinline|\A|.
+ \[
+ \N\Z\Q\R\C\F\A
+ \]
+ \item \lstinline|\mathcal{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\mc|$\cdot$ or \lstinline|\cal|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
+ \begin{equation*}
+ \mcA\mcB\mcC\mcD\mcE\mcF\mcG\mcH\mcI\mcJ\mcK\mcL\mcM\mcN\mcO\mcP\mcQ\mcR\mcS\mcT\mcU\mcV\mcW\mcX\mcY\mcZ
+ \end{equation*}
+ \item \lstinline|\mathscr{|$\cdot$\lstinline|}| \( \longrightarrow \) \lstinline|\ms|$\cdot$ or \lstinline|\scr|$\cdot$ . Cela ne fonctionne que pour l'alphabet majuscule.
+ \begin{equation*}
+ \msA\msB\msC\msD\msE\msF\msG\msH\msI\msJ\msK\msL\msM\msN\msO\msP\msQ\msR\msS\msT\msU\msV\msW\msX\msY\msZ
+ \end{equation*}
+\end{enumerate}
+
+De plus, \PJLmath{} fournit également des symboles mathématiques qui ne sont pas inclus par défaut avec \LaTeX{}.
+
+\begin{longtable}[l]{ p{4cm} p{6cm} p{6cm}}
+\lstinline|\abs| & \lstinline|\abs{a}| $\rightarrow \abs{a}$ & symbole de valeur absolue \\
+\lstinline|\norm| & \lstinline|\norm{a}| $\rightarrow \norm{a}$ & symbole de norme \\
+\lstinline|\injection| & \lstinline|\injection| $\rightarrow ~\injection$ & symbole de flèche pour l'injection \\
+\lstinline|\surjection| & \lstinline|\surjection| $\rightarrow ~\surjection$ & symbole de flèche pour la surjection \\
+\lstinline|\bijection| & \lstinline|\bijection| $\rightarrow ~\bijection$ & symbole de flèche pour la bijection \\
+% \lstinline|\legendre| & \lstinline|\legendre{a}{p}| $\rightarrow \legendre{a}{p}$ & Symbole Legendre \\
+% & \lstinline|\legendre[z]{a}{p}| $\rightarrow \legendre[z]{a}{p}$ & \\
+% \lstinline|\tlegendre| & \lstinline|\tlegendre{a}{p}| $\rightarrow \tlegendre{a}{p}$ & Symbole Legendre (text-style) \\
+% \lstinline|\dlegendre| & \lstinline|\dlegendre{a}{p}| $\rightarrow \dlegendre{a}{p}$ & Symbole Legendre (display-style) \\
+\end{longtable}
+%</ProjLib-doc-fr>
+
+%<*ProjLib-doc-cn>
+\subsubsection{PJLpaper:纸张设置}
+
+\PJLpaper{} 主要用于调节纸张颜色。它支持下列选项:
+
+\begin{itemize}
+ \item \texttt{paperstyle = \meta{paper style name}}
+ \begin{itemize}
+ \item 设定纸张色彩样式。\meta{paper style name} 可供选择的选项有:\texttt{yellow}、\texttt{dark} 与 \texttt{nord}。
+ \end{itemize}
+ \item \texttt{yellowpaper}、\texttt{darkpaper}、\texttt{nordpaper}
+ \begin{itemize}
+ \item 设定纸张色彩样式。效果与相应名称的 \texttt{paperstyle} 相同。
+ \end{itemize}
+ \item \texttt{preview}
+ \begin{itemize}
+ \item 预览模式,将会把 pdf 文件的白边去掉以方便阅读。
+ \end{itemize}
+\end{itemize}
+
+为了使用的方便,建议把这些选项作为文档类的全局参数,这样对于文档的纸张设定一目了然。
+%</ProjLib-doc-cn>
+%
+%<*ProjLib-doc-en>
+\subsubsection{PJLpaper: paper configuration}
+
+\PJLpaper{} is mainly used to adjust the paper color. It has the following options:
+
+\vspace{-.3\baselineskip}
+\begin{itemize}
+ \item \texttt{paperstyle = \meta{paper style name}}
+ \begin{itemize}
+ \item Set the paper color style. The options available for \meta{paper style name} are: \texttt{yellow}, \texttt{dark} and \texttt{nord}.
+ \end{itemize}
+ \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
+ \begin{itemize}
+ \item Same as \texttt{paperstyle} with the corresponding \meta{paper style name} specified.
+ \end{itemize}
+ \item \texttt{preview}
+ \begin{itemize}
+ \item Preview mode. Crop the white edges of pdf file for the convenience of reading.
+ \end{itemize}
+\end{itemize}
+\vspace{-.3\baselineskip}
+
+It is recommended to use them as global options of the document class. In this way, the paper settings would be clear at a glance.
+%</ProjLib-doc-en>
+%
+%<*ProjLib-doc-fr>
+\subsubsection{PJLpaper : configuration papier}
+
+\PJLpaper{} est principalement utilisé pour ajuster la couleur du papier. Il a les options suivantes :
+
+\vspace{-.3\baselineskip}
+\begin{itemize}
+ \item \texttt{paperstyle = \meta{paper style name}}
+ \begin{itemize}
+ \item Définit le style de couleur du papier. Les options disponibles pour \meta{paper style name} sont : \texttt{yellow}, \texttt{dark} et \texttt{nord}.
+ \end{itemize}
+ \item \texttt{yellowpaper}, \texttt{darkpaper}, \texttt{nordpaper}
+ \begin{itemize}
+ \item Identique à \texttt{paperstyle} avec le \meta{paper style name} correspondant spécifié.
+ \end{itemize}
+ \item \texttt{preview}
+ \begin{itemize}
+ \item Mode aperçu. Recadrez les bords blancs du fichier pdf pour faciliter la lecture.
+ \end{itemize}
+\end{itemize}
+\vspace{-.3\baselineskip}
+
+Il est recommandé de les passer comme options globales de la classe de document. De cette façon, les paramètres du papier seraient clairs en un coup d'œil.
+%</ProjLib-doc-fr>
+
+
+
\clearpage
%<*ProjLib-doc-cn>
diff --git a/macros/latex/contrib/projlib/ProjLib.dtx b/macros/latex/contrib/projlib/ProjLib.dtx
index 583e08f3cb..92b1d84fed 100644
--- a/macros/latex/contrib/projlib/ProjLib.dtx
+++ b/macros/latex/contrib/projlib/ProjLib.dtx
@@ -18,47 +18,47 @@
%
%<*ProjLib>
\ProvidesPackage{ProjLib}
- [2021/07/30 The collective interface of ProjLib toolkit]
+ [2021/08/07 The collective interface of ProjLib toolkit]
%</ProjLib>
%
%<*PJLauthor>
\ProvidesPackage{PJLauthor}
- [2021/07/30 Enhanced author information block]
+ [2021/08/07 Enhanced author information block]
%</PJLauthor>
%
%<*PJLdate>
\ProvidesPackage{PJLdate}
- [2021/07/30 Convert yyyy-mm-dd to normal datetime format]
+ [2021/08/07 Convert yyyy-mm-dd to normal datetime format]
%</PJLdate>
%
%<*PJLdraft>
\ProvidesPackage{PJLdraft}
- [2021/07/30 Some useful macros for the draft stage]
+ [2021/08/07 Some useful macros for the draft stage]
%</PJLdraft>
%
%<*PJLlang>
\ProvidesPackage{PJLlang}
- [2021/07/30 Multi-language configuration]
+ [2021/08/07 Multi-language configuration]
%</PJLlang>
%
%<*PJLlogo>
\ProvidesPackage{PJLlogo}
- [2021/07/30 The ProjLib logo]
+ [2021/08/07 The ProjLib logo]
%</PJLlogo>
%
%<*PJLmath>
\ProvidesPackage{PJLmath}
- [2021/07/30 Useful math macros and shortcuts]
+ [2021/08/07 Useful math macros and shortcuts]
%</PJLmath>
%
%<*PJLpaper>
\ProvidesPackage{PJLpaper}
- [2021/07/30 Paper style configuration]
+ [2021/08/07 Paper style configuration]
%</PJLpaper>
%
%<*PJLthm>
\ProvidesPackage{PJLthm}
- [2021/07/30 Theorem setup and configuration]
+ [2021/08/07 Theorem setup and configuration]
%</PJLthm>
%
%# 下面两行引入宏包的代码是所有文件共用的。
@@ -179,7 +179,7 @@
%# 若使用 AMS 风格
%# If AMS fashion enabled
-\if@PJLauthor@amsfashion
+\ifbool{@PJLauthor@amsfashion}{
%# 使用 PJLlang 以支持自动语言转换
%# Use `PJLlang` to support automatic language conversion
@@ -251,8 +251,8 @@
%# Modify abstract to allow it before maketitle
\let\abstract@PJLoriginal\abstract%
\let\endabstract@PJLoriginal\endabstract%
-\newif\if@PJLamssim@maketitle\@PJLamssim@maketitlefalse
-\newif\if@PJLamssim@absbefore\@PJLamssim@absbeforefalse
+\newif\if@PJLauthor@maketitle\@PJLauthor@maketitlefalse
+\newif\if@PJLauthor@absbefore\@PJLauthor@absbeforefalse
\RequirePackage{fancyvrb}
% Taken from https://tex.stackexchange.com/a/596328
% define the same as \protected@write, but with \immediate
@@ -274,7 +274,7 @@
\VerbatimOut{\jobname.pjlabs}%
}{
\endVerbatimOut%
- \if@PJLamssim@maketitle%
+ \if@PJLauthor@maketitle%
\begin{abstract@PJLoriginal}%
\input{\jobname.pjlabs}%
\end{abstract@PJLoriginal}%
@@ -282,7 +282,7 @@
% \par\smallskip\noindent{\conditionalbfseries\csname keywordsname\csname\languagename ABBR\endcsname\endcsname.}~\PJL@keywords%
% \fi%
\else%
- \global\@PJLamssim@absbeforetrue%
+ \global\@PJLauthor@absbeforetrue%
\fi%
}
@@ -315,7 +315,7 @@
%## 将 abstract 添加进 \maketitle
%## Add abstract to \maketitle
\apptocmd{\maketitle}{%
- \if@PJLamssim@absbefore%
+ \if@PJLauthor@absbefore%
\begin{abstract@PJLoriginal}%
\input{\jobname.pjlabs}%
% \ifx\PJL@keywords\@empty\else%
@@ -328,7 +328,7 @@
\global\let\email\relax
\global\let\dedicatory\relax
\global\let\keywords\relax
- \global\@PJLamssim@maketitletrue
+ \global\@PJLauthor@maketitletrue
}{}{\FAIL}
%##- 这段未被采用的代码将使 maketitle 中的 \newpage 失效
%##- Disbale the \newpage in maketitle
@@ -358,7 +358,7 @@
\@namedef{subjclassname@2020}{%
\textup{2020} Mathematics Subject Classification}
-\fi
+}
%</PJLauthor>
%
%<*PJLdate>
@@ -411,7 +411,7 @@
\gappto{\PJLlang@langconfig@common}{%
\let\@DTMdate\@DTMdate@PJLoriginal%
}
-\gappto{\PJLlang@langconfig@chinese}{%
+\gappto{\PJLlang@langconfig@schinese}{%
\renewcommand*{\@DTMdate}[1]{%
\expandafter\@dtm@parsedate#1\@dtm@endparsedate%
\zhdate{\@dtm@year/\@dtm@month/\@dtm@day}%
@@ -659,7 +659,7 @@
\newcommand\portugueseABBR{PT}
\newcommand\brazilianABBR{BR}
\newcommand\spanishABBR{ES}
-\newcommand\chineseABBR{CN}
+\newcommand\schineseABBR{CN}
\newcommand\tchineseABBR{TC}
\newcommand\japaneseABBR{JP}
\newcommand\russianABBR{RU}
@@ -705,6 +705,9 @@
\if@PJLlang@enable@FR
\frenchsetup{PartNameFull=false}
\fi
+
+ \babelprovide{schinese}
+ \babelprovide{tchinese}
\fi
%# 本地化 \today
@@ -720,7 +723,7 @@
%# 各个语言的设置
%# The configuration for each language
-\newcommand{\PJLlang@langconfig@chinese}{%
+\newcommand{\PJLlang@langconfig@schinese}{%
\def\abstractname{摘要}%
\def\proofname{证明}%
\def\contentsname{目录}%
@@ -733,7 +736,7 @@
\def\refname{参考文献}%
\def\bibname{参考文献}%
\let\today\zhtoday%
- \renewcommand{\languagename}{chinese}%
+ \renewcommand{\languagename}{schinese}%
}
\newcommand{\PJLlang@langconfig@tchinese}{%
\def\abstractname{摘要}%
@@ -788,10 +791,10 @@
{\gappto{\PJLlang@langconfig@common}{#2}}%
{%
\lowercase{\IfStrEqCase{#1}}{%
- {cn}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
- {chinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
- {schinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
- {simplifiedchinese}{\gappto{\PJLlang@langconfig@chinese}{#2}}%
+ {cn}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
+ {chinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
+ {schinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
+ {simplifiedchinese}{\gappto{\PJLlang@langconfig@schinese}{#2}}%
{tc}{\gappto{\PJLlang@langconfig@tchinese}{#2}}%
{tchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}%
{traditionalchinese}{\gappto{\PJLlang@langconfig@tchinese}{#2}}%
@@ -841,10 +844,10 @@
\newcommand{\UseLanguageCORE}[1]{%
\PJLlang@langconfig@common%
\lowercase{\IfStrEqCase{#1}}{%
- {cn}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
- {chinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
- {schinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
- {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@chinese}%
+ {cn}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
+ {chinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
+ {schinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
+ {simplifiedchinese}{\PJL@config@CJK\PJLlang@langconfig@schinese}%
{tc}{\PJL@config@CJK\PJLlang@langconfig@tchinese}%
{tchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}%
{traditionalchinese}{\PJL@config@CJK\PJLlang@langconfig@tchinese}%
@@ -881,13 +884,13 @@
%# 用于局部选定语言的 UseOtherLanguage
%# Macro for selecting language locally
\newcommand{\UseOtherLanguage}[2]{%
-\begingroup%
+\begingroup\begingroup%
\PJLlang@langconfig@common%
\lowercase{\IfStrEqCase{#1}}{%
- {cn}{\PJLlang@langconfig@chinese}%
- {chinese}{\PJLlang@langconfig@chinese}%
- {schinese}{\PJLlang@langconfig@chinese}%
- {simplifiedchinese}{\PJLlang@langconfig@chinese}%
+ {cn}{\PJLlang@langconfig@schinese}%
+ {chinese}{\PJLlang@langconfig@schinese}%
+ {schinese}{\PJLlang@langconfig@schinese}%
+ {simplifiedchinese}{\PJLlang@langconfig@schinese}%
{tc}{\PJLlang@langconfig@tchinese}%
{tchinese}{\PJLlang@langconfig@tchinese}%
{traditionalchinese}{\PJLlang@langconfig@tchinese}%
@@ -912,7 +915,7 @@
{russian}{\PJLlang@langconfig@russian}%
}%
#2%
-\endgroup%
+\endgroup\endgroup%
}
%# 运行默认语言的设置
@@ -1288,13 +1291,13 @@
\def\@pmods#1{\mkern4mu({\operator@font mod}\mkern 6mu#1)}
\fi
-\newcommand{\genlegendre}[4]{%
+\providecommand{\genlegendre}[4]{%
\genfrac{(}{)}{}{#1}{#3}{#4}%
\if\relax\detokenize{#2}\relax\else_{\!#2}\fi%
}
-\newcommand{\legendre}[3][]{\genlegendre{}{#1}{#2}{#3}}
-\newcommand{\dlegendre}[3][]{\genlegendre{0}{#1}{#2}{#3}}
-\newcommand{\tlegendre}[3][]{\genlegendre{1}{#1}{#2}{#3}}
+\providecommand{\legendre}[3][]{\genlegendre{}{#1}{#2}{#3}}
+\providecommand{\dlegendre}[3][]{\genlegendre{0}{#1}{#2}{#3}}
+\providecommand{\tlegendre}[3][]{\genlegendre{1}{#1}{#2}{#3}}
%</PJLmath>
%
%<*PJLpaper>
@@ -2071,7 +2074,7 @@
%# 一些 cref 的本地化
%# Some localization of cref
-\gappto{\PJLlang@langconfig@chinese}{%
+\gappto{\PJLlang@langconfig@schinese}{%
\crefname{equation}{式}{式}%
\crefname{figure}{图}{图}%
\crefname{table}{表}{表}%