diff options
author | Karl Berry <karl@freefriends.org> | 2021-10-31 21:09:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-10-31 21:09:13 +0000 |
commit | 9b4a31e3008d8ea772d27e8566b5eb38bae6b6e8 (patch) | |
tree | e157a8b3761bab9e176dc022e30d083163cace60 /Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex | |
parent | 2df086481eed9b96ca38f21228299834a8bf0daa (diff) |
projlib (31oct21)
git-svn-id: svn://tug.org/texlive/trunk@60914 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex b/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex index c4e4c6b35dc..9dc99c9a04f 100644 --- a/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex +++ b/Master/texmf-dist/doc/latex/projlib/ProjLib-doc-en.tex @@ -85,9 +85,9 @@ \title{\ProjLib{}~\,Toolkit\\[.3\baselineskip]\normalsize User Manual} \author{Jinwen XU} -\thanks{Corresponding to: \texttt{\ProjLib{}~2021/10/24}} +\thanks{Corresponding to: \texttt{\ProjLib{}~2021/10/30}} \email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}} -\date{October 2021, Paris} +\date{October 2021, in Paris} \maketitle @@ -248,6 +248,7 @@ Référence du théorème: \cref{thm:abc} Commonly used theorem-like environments have been pre-defined. Also, when referencing a theorem-like environment, it is recommended to use \lstinline|\cref{|\meta{label}\texttt{\}} --- in this way, there is no need to explicitly write down the name of the corresponding environment every time. +\clearpage \section{Options of the main package} \ProjLibPackage{} offers the following options: @@ -261,7 +262,7 @@ Commonly used theorem-like environments have been pre-defined. Also, when refere \item Font options. As the names suggest, font with corresponding name will be loaded. \item The \texttt{useosf} option is used to enable the old-style figures. \end{itemize} - \item \texttt{nothms}, \texttt{delaythms}, \texttt{nothmnum}, \texttt{thmnum} or \texttt{thmnum=}\meta{counter}, \texttt{regionalref}, \texttt{originalref} + \item \texttt{nothms}, \texttt{delaythms}, \texttt{nothmnum}, \texttt{thmnum} or \texttt{thmnum=}\meta{counter}, \texttt{complexname}, \texttt{simplename}, \texttt{regionalref}, \texttt{originalref} \begin{itemize} \item Options from the component \PJLthm{} used for setting theorem-like environments, please refer to the section on this package for details. \end{itemize} @@ -282,32 +283,6 @@ In addition, there are also some options of the components that should be passed \subsection{Main functions} -\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} -\author{(*\meta{author 1}*)} -\address{(*\meta{address 1}*)} -\email{(*\meta{email 1}*)} -\author{(*\meta{author 2}*)} -\address{(*\meta{address 2}*)} -\email{(*\meta{email 2}*)} -... -\end{code} -The mutual order of \lstinline|\address|, \lstinline|\curraddr| and \lstinline|\email| is not important. - -\medskip -In addition, you can use the option \texttt{amsfashion} to enable the \AmS{} fashion. More specifically, the effect is: -\begin{itemize} - \item Provides the macros \lstinline|\dedicatory|, \lstinline|\keywords| and \lstinline|\subjclass|; - \item \lstinline|\thanks| can be written outside \lstinline|\author|; - \item The \lstinline|abstract| environment can be placed before \lstinline|\maketitle|. -\end{itemize} - -\begin{tip}[Attention] - These modifications would only take place in standard classes. In the \AmS{} classes, \PJLauthor{} does not have any effect. -\end{tip} - \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). @@ -375,6 +350,10 @@ For example, \lstinline|\AddLanguageSetting(German){\color{orange}}| can make al \begin{itemize} \item Theorem-like environments will not be numbered / numbered in order 1, 2, 3... / numbered within \meta{counter}. Here, \meta{counter} should be a built-in counter (such as \texttt{subsection}) or a custom counter defined in the preamble (with the option \texttt{delaythms} enabled). If no option is used, they will be numbered within \texttt{chapter} (book) or \texttt{section} (article). \end{itemize} + \item \texttt{complexname}, \texttt{simplename} + \begin{itemize} + \item Enabled the detailed preset (default) or the simple preset for names of theorem-like environments. The detailed version includes singular and plural forms, and, where possible, the definite articles; the simple version uses always the same word, without distinction between singular and plural forms. + \end{itemize} \item \texttt{regionalref}, \texttt{originalref} \begin{itemize} \item When referencing, whether the name of the theorem-like environment changes with the current language. The default is \texttt{regionalref}, \emph{i.e.}, the name corresponding to the current language is used; for example, when referencing a theorem-like environment in English context, the names "Theorem, Definition..." will be used no matter which language context the original environment is in. If \texttt{originalref} is enabled, then the name will always remain the same as the original place; for example, when referencing a theorem written in the French context, even if one is currently in the English context, it will still be displayed as ``Théorème''. @@ -524,10 +503,35 @@ or set the names while defining them (for \lstinline|proofidea*| and \lstinline| } \end{code} -\clearpage \subsection{Secondary functions} +\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} +\author{(*\meta{author 1}*)} +\address{(*\meta{address 1}*)} +\email{(*\meta{email 1}*)} +\author{(*\meta{author 2}*)} +\address{(*\meta{address 2}*)} +\email{(*\meta{email 2}*)} +... +\end{code} +The mutual order of \lstinline|\address|, \lstinline|\curraddr| and \lstinline|\email| is not important. + +\medskip +In addition, you can use the option \texttt{amsfashion} to enable the \AmS{} fashion. More specifically, the effect is: +\begin{itemize} + \item Provides the macros \lstinline|\dedicatory|, \lstinline|\keywords| and \lstinline|\subjclass|; + \item \lstinline|\thanks| can be written outside \lstinline|\author|; + \item The \lstinline|abstract| environment can be placed before \lstinline|\maketitle|. +\end{itemize} + +\begin{tip}[Attention] + These modifications would only take place in standard classes. In the \AmS{} classes, \PJLauthor{} does not have any effect. +\end{tip} + \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}}''. |