You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# #2985 When proving semantic blocks to export PDF, use \begin{proof} \end{proof}
2
+
3
+
## 2026/03/16 Update LaTeX export for semantic proof blocks
4
+
5
+
### What
6
+
Updated the LaTeX export logic for `proof` and `proof*` environments to use the standard LaTeX `proof` environment (from `amsthm`) instead of manual formatting.
7
+
8
+
### Why
9
+
-**Semantic Correctness**: Moves from visual imitation (`\noindent\textbf{...}`) to logical LaTeX environments.
10
+
-**Improved Maintenance**: Uses standard structures that align with typical LaTeX theorem environments.
11
+
-**Global Styling**: Follows the document class and global `amsthm` settings for QED box placement and labels.
12
+
13
+
### How
14
+
- Modified `latex-define.scm` (core and plugin) to map `proof` to `\begin{proof}` and `proof*` to `\begin{proof}[Title]`.
15
+
- Added dependency on `amsthm` package in `latex-drd.scm` (core and plugin) to ensure it's automatically included in the preamble.
0 commit comments