18 lines
577 B
TeX
18 lines
577 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}
|
|
|
|
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
|
|
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
|
|
% 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}}
|