2023-04-10 12:56:47 +00:00
|
|
|
\usepackage{amsfonts, amsthm}
|
|
|
|
\usepackage{hyperref}
|
|
|
|
|
|
|
|
\newtheorem{theorem}{Theorem}
|
|
|
|
\newtheorem{xtheoreminner}{Theorem}
|
|
|
|
\newenvironment{xtheorem}[1]{%
|
|
|
|
\renewcommand\thextheoreminner{#1}%
|
|
|
|
\xtheoreminner
|
|
|
|
}{\endxtheoreminner}
|
|
|
|
|
|
|
|
\hypersetup{colorlinks=true, urlcolor=blue}
|
2023-05-06 18:34:05 +00:00
|
|
|
|
2023-05-09 17:15:49 +00:00
|
|
|
\newcommand{\abs}[1]{\left|#1\right|}
|
2023-05-08 19:18:12 +00:00
|
|
|
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
|
|
|
|
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
|
2023-05-09 17:15:49 +00:00
|
|
|
\newcommand{\icc}[2]{\left[#1, #2\right]}
|
|
|
|
\newcommand{\ico}[2]{\left[#1, #2\right)}
|
|
|
|
\newcommand{\ioc}[2]{\left(#1, #2\right]}
|
|
|
|
\newcommand{\ioo}[2]{\left(#1, #2\right)}
|
2023-05-06 18:34:05 +00:00
|
|
|
% 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).
|
2023-05-03 19:09:58 +00:00
|
|
|
\newcommand{\lean}[4]{\href{#1/#2.html\##3}{#4}}
|