Skip to content

Commit 5aba790

Browse files
committed
Clarified proof environment.
1 parent bcb85b1 commit 5aba790

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

md_version/main.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ Markdown only
162162
Carl Friedrich Gauss told me so. \qed
163163

164164
To insert numbered theorems, definitions, and the like, and be able to reference them or add automatically the "qed" (□) symbol, you need to use \LaTeX's `theorem` environment, `label` commands, etc.
165+
Note that, by default, proofs are unnumbered environments, but that there are [ways to reference them](https://tex.stackexchange.com/q/223352) if you want to.
165166

166167
\begin{theorem}[Pythagoras theorem]
167168
\label{thm:pythagoras}
@@ -172,6 +173,7 @@ To insert numbered theorems, definitions, and the like, and be able to reference
172173
Proving \autoref{thm:pythagoras} is not that easy.
173174
\end{proof}
174175

176+
175177
Markdown only
176178
~ If you would rather keep the "pure" markdown syntax but improve pandoc using a filter, you can look at [the pandoc filter "statement"](https://github.com/jdutant/statement) and its [discussion on related filters](https://github.com/jdutant/statement#related-filters), but it may be more difficult to install and use properly.
177179

tex_version/main.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,10 @@ \section{Theorem, Proof, and Others
931931
To insert numbered theorems, definitions, and the like, and be able to
932932
reference them or add automatically the ``qed'' (□) symbol, you need to
933933
use \LaTeX's \passthrough{\lstinline!theorem!} environment,
934-
\passthrough{\lstinline!label!} commands, etc.
934+
\passthrough{\lstinline!label!} commands, etc. Note that, by default,
935+
proofs are unnumbered environments, but that there are
936+
\href{https://tex.stackexchange.com/q/223352}{ways to reference them} if
937+
you want to.
935938

936939
\begin{theorem}[Pythagoras theorem]
937940
\label{thm:pythagoras}

0 commit comments

Comments
 (0)