16 lines
476 B
TeX
16 lines
476 B
TeX
\usepackage{amsfonts, amsthm}
|
|
\usepackage{hyperref}
|
|
|
|
\newtheorem{theorem}{Theorem}
|
|
\newtheorem{xtheoreminner}{Theorem}
|
|
\newenvironment{xtheorem}[1]{%
|
|
\renewcommand\thextheoreminner{#1}%
|
|
\xtheoreminner
|
|
}{\endxtheoreminner}
|
|
|
|
\hypersetup{colorlinks=true, urlcolor=blue}
|
|
|
|
% The first argument refers to a relative path upward from a current file to
|
|
% the root of the workspace (i.e. where this `preamble.tex` file is located).
|
|
\newcommand{\lean}[4]{\href{#1/#2.html\##3}{#4}}
|