diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-02 21:36:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-02 21:36:29 +0000 |
commit | 49a4569d58f5a7343ace6341dcb93b18d603966c (patch) | |
tree | 70f0114a35f47498124b33345250b66378f1cb5b /Master/texmf-dist/doc | |
parent | 8f18ec7f6ef555dd830d468f9e73c117c258cb4d (diff) |
create-theorem (2mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62348 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf | bin | 111285 -> 112139 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex | 19 |
2 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf b/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf Binary files differindex 52d4bd1e93b..99b8e7290ca 100644 --- a/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf +++ b/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf diff --git a/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex b/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex index c077649309e..749b345a2ab 100644 --- a/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex +++ b/Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex @@ -89,8 +89,8 @@ \title{\createtheorempackage{}\\\smallskip\itshape Initializing theorem-like environments with multilingual support} \author{Jinwen XU} -\thanks{Corresponding to: \texttt{\createtheorempackage{} 2022/02/27}} -\date{February 2022, in Paris} +\thanks{Corresponding to: \texttt{\createtheorempackage{} 2022/03/01}} +\date{March 2022, in Paris} \maketitle @@ -208,7 +208,7 @@ Supported keys are: The syntax of \lstinline|\CreateTheorem| is as follows: \begin{code} -\CreateTheorem{(*\meta{name of environment}*)}{(*\meta{key-value configuration}*)} +\CreateTheorem{(*\meta{list of the name of environments}*)}{(*\meta{key-value configuration}*)} \end{code} Supported keys are: @@ -265,7 +265,16 @@ Supported keys are: \medskip -Please note that, by default, an normal environment \meta{env} and its starred relative \meta{env}\texttt{*} do not share the same set of names, for the sake of generality. However, with proper usage of \commandoption{create starred version} and \commandoption{copy existed}, you are already able to produce all of the following combinations that shares the same set of names: 1$)$ numbered \meta{env}, numbered \meta{env}\texttt{*} ; 2$)$ numbered \meta{env}, unnumbered \meta{env}\texttt{*} ; 3$)$ unnumbered \meta{env}, numbered \meta{env}\texttt{*} ; and 4$)$ unnumbered \meta{env}, unnumbered \meta{env}\texttt{*}. I left it as an easy exercise for you ;-) +Please note that, by default, an normal environment \meta{env} and its starred relative \meta{env}\texttt{*} do \emph{not} share the same set of names, for the sake of generality. However, with proper usage of \commandoption{create starred version} and \commandoption{copy existed}, you are already able to produce all of the following combinations that shares the same set of names: 1$)$ numbered \meta{env}, numbered \meta{env}\texttt{*} ; 2$)$ numbered \meta{env}, unnumbered \meta{env}\texttt{*} ; 3$)$ unnumbered \meta{env}, numbered \meta{env}\texttt{*} ; and 4$)$ unnumbered \meta{env}, unnumbered \meta{env}\texttt{*}. I left it as an easy exercise for you ;-) + +% \subsection[Configuring theorem-like environments]{Configuring theorem-like environments with \texttt{\textbackslash\textcolor{maintheme}{SetTheorem}}} + +% Even after defining the environments, you can still configure them with \lstinline|\SetTheorem|. The syntax of which is as follows: + +% \begin{code} +% \SetTheorem{(*\meta{list of the name of environments}*)}{(*\meta{key-value configuration}*)} +% \end{code} + \section{Examples} @@ -319,7 +328,7 @@ Next we shall deal with the numbering problem. Let's continue to use this enviro \subsection{Let's play with numbering} -Remember the exercise I left to you at the end of the previous section? Let's do this together. +Remember the exercise I left you at the end of the previous section? Let's do it together now. \subsubsection{Numbered \texttt{idea} and numbered \texttt{idea*}} |