From 38bddb402ca3724721fb61aeca79ca9daf6bbc27 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 1 Feb 2022 22:10:26 +0000 Subject: proof-at-the-end (1feb22) git-svn-id: svn://tug.org/texlive/trunk@61844 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/proof-at-the-end/README.md | 13 +++++++++---- .../latex/proof-at-the-end/proof-at-the-end.pdf | Bin 347459 -> 315974 bytes .../proof-at-the-end/proof-at-the-end_demo.pdf | Bin 121561 -> 121558 bytes 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/proof-at-the-end/README.md b/Master/texmf-dist/doc/latex/proof-at-the-end/README.md index c1110368753..5e7a2f9b957 100644 --- a/Master/texmf-dist/doc/latex/proof-at-the-end/README.md +++ b/Master/texmf-dist/doc/latex/proof-at-the-end/README.md @@ -48,7 +48,7 @@ If `proof-at-the-end` it's not installed in your CTAN distribution, copy the [`p And I am a proof. \end{proofE} ``` -The options (here `restate` and `end`) tells what should go in appendix, how to configure the links... Here the proof should go in appendix, and the `restate` options states that the theorem should be restated before the proof. +The options (here `restate` and `end`) tells what should go in appendix, how to configure the links... Here the proof should go in appendix, and the `restate` options states that the theorem should be restated before the proof. Note that in case you don't want any title but do want to add options, make sure to insert an empty pair of brackets like in `\begin{thmE}[][end, text link=]` (the option `text link` is used to choose the text of the link to the proof, writting `text link=` is used to display no link at all). You can find below a full example to compile which should produce this output (sorry, this is a screenshot, that way I can export it easily in the github page). Just make sure to compile twice to get references. @@ -69,14 +69,15 @@ You can directly copy them (with a more complete demo) in the github page here h \newcommand{\thmautorefname}{Theorem} %% Load the library. createShortEnv automatically creates the shortcuts -%% thmE, theoremE, lemmaE, corrolaryE, proofE. See \newEndThm for more details. +%% thmE, theoremE, lemmaE, propositionE, corollaryE, proofE. See \newEndThm for more details. \usepackage[createShortEnv]{proof-at-the-end} \begin{document} \section{Theorems} -\begin{thmE}[My title][end] +%% If you don't have any title, leave an empty bracket like \begin{thmE}[][end] +\begin{thmE}[My title][end, restate] I am a theorem \end{thmE} \begin{proofE} @@ -184,7 +185,7 @@ For example: \end{proofEnd} ``` -Since `theoremEnd` may be a bit verbose to use, we provide since the version 2022/01/28, an option: if you load the program using `\usepackage[createShortEnv]{proof-at-the-end}`, you will automatically have the shortcut environments `proofE` (to replace `proof`), `thmE` (to replace `thm`), `theoremE` (to replace... ok you got the pattern), `lemmaE` and `corollaryE`. Note that it is your role to define the initial commands `thm`..., but you don't need to define them all, only those that you use. Then, you can use them like: +Since `theoremEnd` may be a bit verbose to use, we provide since the version 2022/01/28, an option: if you load the program using `\usepackage[createShortEnv]{proof-at-the-end}`, you will automatically have the shortcut environments `proofE` (to replace `proof`), `thmE` (to replace `thm`), `theoremE` (to replace... ok you got the pattern), `lemmaE`, `propositionE` and `corollaryE`. Note that it is your role to define the initial commands `thm`..., but you don't need to define them all, only those that you use. Then, you can use them like: ```latex \begin{thmE}[My title][end, restate] @@ -527,6 +528,10 @@ In anycase, there exists some workarounds, some of the are for instance give in ## Changelog +- 2022/02/01: + 1. Fix a typo when defining the shortcut for lemma + 2. Add a shortcut for proposition + 3. Fix a small spacing issue in the text before the proof in Appendix - 2022/01/28: 1. Fix the issue when using sharps in a proof https://github.com/leo-colisson/proof-at-the-end/issues/7. 2. Provide `\newEndThm`, `\newEndProof` and the option `createShortEnv` to quickly create environments. diff --git a/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end.pdf b/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end.pdf index 63ce2cb59f2..7672d466314 100644 Binary files a/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end.pdf and b/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end.pdf differ diff --git a/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end_demo.pdf b/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end_demo.pdf index 2186bcc8233..ac5ddf1d5c7 100644 Binary files a/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end_demo.pdf and b/Master/texmf-dist/doc/latex/proof-at-the-end/proof-at-the-end_demo.pdf differ -- cgit v1.2.3