diff options
author | Norbert Preining <norbert@preining.info> | 2021-07-31 03:00:52 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-07-31 03:00:52 +0000 |
commit | 6476d9b56070f64c62d6a81514c0c9b25aad1eda (patch) | |
tree | bbcbbc5af76f023abb6d36c84ae8a2c2e46dc601 /macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex | |
parent | 83b88676e8526454a292a894c5f30451eb75b828 (diff) |
CTAN sync 202107310300
Diffstat (limited to 'macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex')
-rw-r--r-- | macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex b/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex index a17d82f367..ad2b800694 100644 --- a/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex +++ b/macros/unicodetex/latex/beaulivre/beaulivre-doc-en.tex @@ -1,16 +1,4 @@ -\documentclass[English,Chinese,French,allowbf,puretext]{beaulivre} - -\theoremstyle{basic} -\CreateTheorem{definition}<highest> -\CreateTheorem{theorem}[definition] -\CreateTheorem{conjecture}[definition] -\CreateTheorem*{example*} -\CreateTheorem{problem}[definition] - -\theoremstyle{emphasis} -\CreateTheorem{remark}<highest> - -\theoremstyle{simple} +\documentclass[English,Chinese,French,allowbf]{beaulivre} %%================================ %% Import toolkit @@ -111,7 +99,7 @@ \fill [cyan!90!black] ($(current page.south west)+(0,7)$) rectangle ($(current page.north west)+(25,-7)$); \fill [yellow] (current page.south west) rectangle ($(current page.north west)+(3,0)$); \node[text width=10cm] at ($(current page.north west)+(8.5,-6)$) {\huge\ProjLib}; - \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-10)$) {\textcolor{white}{\sffamily\beaulivre{}\\[5pt]\footnotesize\textsc{Write your books in \\a colorful way}\\[10pt]\tiny Corresponding to: \texttt{\beaulivre{} 2021/07/27}}}; + \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-10)$) {\textcolor{white}{\sffamily\beaulivre{}\\[5pt]\footnotesize\textsc{Write your books in \\a colorful way}\\[10pt]\tiny Corresponding to: \texttt{\beaulivre{} 2021/07/30}}}; \node at ($(current page.south)+(1.5,3)$) {\fontsize{16pt}{0pt}\selectfont\textcolor{gray}{\scshape Jinwen XU}}; \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{July 2021, Beijing}}; \end{tikzpicture}% @@ -294,7 +282,7 @@ When the corresponding font is not installed, fonts that comes with TeX Live wil \begin{itemize} \item Paper size options. The default paper size is 8.5in $\times$ 11in. \end{itemize} - \item \texttt{palatino}, \texttt{times}, \texttt{garamond}, \texttt{biolinum} ~$|$~ \texttt{useosf} + \item \texttt{palatino}, \texttt{times}, \texttt{garamond}, \texttt{noto}, \texttt{biolinum} ~$|$~ \texttt{useosf} \begin{itemize} \item Font options. As the name suggest, font with corresponding name will be loaded. \item The \texttt{useosf} option is used to enable the old-style figures. @@ -311,9 +299,15 @@ When the corresponding font is not installed, fonts that comes with TeX Live wil \begin{itemize} \item Pure text mode. Does not load theorem-like environments. \end{itemize} - \item \texttt{nothmnum} + \item \texttt{nothmnum}, \texttt{thmnum} or \texttt{thmnum=}\meta{counter} \begin{itemize} - \item Theorem-like environments will not be numbered. + \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. If no option is used, they will be numbered within \texttt{chapter} (book) or \texttt{section} (article). + \end{itemize} +\clearpage + \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''. + \item In \texttt{fast} mode, the option \texttt{originalref} will have no effect. \end{itemize} \end{itemize} @@ -388,7 +382,7 @@ After using \lstinline|\UseLanguage{French}|, a theorem will be displayed as: Un théorème en français. \end{theorem} -By default, when referenced, the name of the theorem always matches the language of the context in which the theorem is located. For example, the definition above is still displayed in English in the current French mode: \cref{def: strange} and \cref{thm}. If you want the name of the theorem to match the current context when referencing, you can add \texttt{regionalref} to the global options. +By default, when referenced, the name of the theorem matches the current context. For example, the definition above will be displayed in French in the current French context: \cref{def: strange,thm}. If you want the name of the theorem to always match the language of the context in which the theorem is located, you can add \texttt{originalref} to the global options. \end{tip} \UseLanguage{English} @@ -435,6 +429,7 @@ If you need to define a new theorem-like environment, you must first define the \begin{itemize} \item \lstinline|\NameTheorem[|\meta{language name}\lstinline|]{|\meta{name of environment}\lstinline|}{|\meta{name string}\lstinline|}| \end{itemize} + For \meta{language name}, please refer to the section on language configuration. 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}{...}| . \medskip |