Skip to content

Add \Remark, \NamedProof, \SmileWithTear macros to handout template#76

Merged
PatrikBak merged 1 commit into
mainfrom
patrik/template-remark
May 7, 2026
Merged

Add \Remark, \NamedProof, \SmileWithTear macros to handout template#76
PatrikBak merged 1 commit into
mainfrom
patrik/template-remark

Conversation

@PatrikBak
Copy link
Copy Markdown
Owner

Summary

  • data/handouts/_template.tex:
    • \Remark — paragraph-leading remark with optional {label} argument; uses new \captionRemark (Poznámka / Poznámka / Remark in CS/SK/EN).
    • \NamedProof{...} — labelled proof header for use inside multi-proof \Theorem bodies.
    • \Theorem now peeks at the first token of the proof argument: if it is \NamedProof, the body emits its own headers; otherwise the standard auto \captionProof. prefix is kept.
    • \SmileWithTear emoji macro (renders :'-) in the PDF, 🥲 on the web).
  • backend/.../TexCleaner/tex_cleaner_rules.txt:
    • Web rules for \Remark, \Remark{label}, \NamedProof, \SmileWithTear.
    • Adds \em italic form alongside the existing \it rule.
    • Adds \cong and \Leftarrow to the math passthrough list.

🤖 Generated with Claude Code

Extends \Theorem to peek at the proof body for a leading \NamedProof
sentinel, allowing multi-proof theorems to supply their own labelled
headers instead of the auto "\captionProof." prefix. Adds matching
TeX cleaner rules so \Remark, \NamedProof, \SmileWithTear and the
\em italic form render correctly on the web.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
math-comps Ready Ready Preview, Comment May 7, 2026 9:09pm

@PatrikBak PatrikBak merged commit 284c2d8 into main May 7, 2026
4 checks passed
@PatrikBak PatrikBak deleted the patrik/template-remark branch May 7, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant