diff options
author | Karl Berry <karl@freefriends.org> | 2022-08-05 21:32:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-08-05 21:32:45 +0000 |
commit | 3c9c81692e46bc10f166065bdc5dcf9283315f66 (patch) | |
tree | 315a2959bd2c5a31a69f508663cb282dd7311238 /Master/texmf-dist/doc/latex/create-theorem | |
parent | 2d8d0532237256e7514405ce2179cfb1b967e408 (diff) |
create-theorem (5aug22)
git-svn-id: svn://tug.org/texlive/trunk@64055 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/create-theorem')
-rw-r--r-- | Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.pdf | bin | 71867 -> 72947 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/create-theorem/create-theorem-doc.tex | 7 |
2 files changed, 6 insertions, 1 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 540dc7052e7..a7d8146917e 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 6ac3cb86041..7c53f133ff5 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 @@ -104,7 +104,7 @@ \begin{document} -\def\PackageVersion{2022/08/04} +\def\PackageVersion{2022/08/05} \title{\createtheorempackage{}\\\smallskip\itshape Initializing theorem-like environments with multilingual support} \author{Jinwen XU} @@ -278,6 +278,7 @@ Supported keys are: \begin{itemize} \item Specifying the Q.E.D. symbol for the current environment. \item Note that the Q.E.D. symbol has already been put in math mode. If you want regular text such as \textquote{Q.E.D.}, you need to write \commandoption{qed}\lstinline| = \mathrm{Q.E.D.}|. + \item If you are using \textsf{ntheorem} as the backend, then you need to load it with option \packageoption{thmmarks}. \item Synonymous names: \commandoption{qed symbol} \,$|$\, \commandoption{qed-symbol} \,$|$\, \commandoption{qedsymbol} \end{itemize} \item \commandoption{parent counter}\lstinline| = |\meta{parent counter} @@ -533,6 +534,10 @@ If you wish to have a {\normalfont\texttt{proof}} environment with a custom theo It defines an environment \lstinline|proof_inner| (with its starred variant) with theorem style \lstinline|remark| to mimic the default style (you are welcome to use your own style here), and with the name to be a variable which is latter used to define the actual environments \lstinline|proof| and \lstinline|proof*|. These two environments are defined in such a way that \lstinline|proof| is the usual unnumbered version and \lstinline|proof*| is the numbered version. The \lstinline|\SetTheoremBinding| lines are to ensure that user can directly write \lstinline|\SetTheorem{proof}| rather than \lstinline|\SetTheorem{proof_inner}|. +\begin{tip} + The code above requires \textsf{amsthm}. If you are using \textsf{ntheorem} as the backend, then you need to load it with option \packageoption{amsthm}, and remove the \lstinline|\newcounter| line. +\end{tip} + \bigskip \section{Known issues} |