CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/linkedthm

README.md

linkedthm — Linked Theorem–Proof Environments

Version: 1.0 Author: Luis A. Ortega License: LPPL 1.3c Date: 2025-07-21


This package provides an easy way to hyperlink between theorem-like environments and their corresponding proofs.

  • Automatically restates a theorem inside its proof
  • Adds clickable Proof and Return links using hyperref
  • Works with any amsthm-compatible environment

Example

\newtheorem{theorem}{Theorem}
\usepackage{linkedthm}

\DeclareLinkedTheorem{linkedtheorem}{theorem}{Theorem}

\begin{linkedtheorem}{thm:example}
All even numbers greater than 2 are the sum of two primes.
\end{linkedtheorem}

\begin{linkedproof}{thm:example}
This is known as Goldbach's conjecture and remains unproven.
\end{linkedproof}

Download the contents of this package in one zip archive (212.8k).

linkedthm – Hyperlinked theorem–proof environments for

This package provides lightweight infrastructure for bidirectional linking between theorem-like environments and their corresponding proofs. It automatically adds a [Proof] hyperlink at the end of a theorem and a restated version with a [Return] link inside the proof.

You can declare any number of custom linked environments (e.g., linkeddefinition, linkedexample) using \DeclareLinkedTheorem, and base them on any amsthm-compatible environment.

This is useful for mathematical writing and documentation, where proof navigation is essential.

The package uses amsthm, xparse, and hyperref, and is compatible with all standard engines.

Packagelinkedthm
Repositoryhttps://github.com/Ludvins/linkedthm/tree/main
Version1.0 2025-07-21
LicensesThe Project Public License 1.3c
MaintainerLuis Antonio Ortega Andrés
Contained inTeX Live as linkedthm
MiKTeX as linkedthm
TopicsMaths theorem
Hyper
...
Guest Book Sitemap Contact Contact Author