-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmathprelude.sty
More file actions
35 lines (28 loc) · 1.33 KB
/
Copy pathmathprelude.sty
File metadata and controls
35 lines (28 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mathprelude}[2026/07/04 v1.0 Common preamble for notes/papers/homework]
% =====================================================================
% mathprelude.sty -- one-line preamble for article-based documents.
% Loads sensible packages + all the shared macro packages, so a
% document only needs: \usepackage{mathprelude}
% (Do NOT use this with beamer or the exam class; they manage layout
% themselves -- load mathmacros/econ/theorems directly there.)
% =====================================================================
\RequirePackage{etoolbox}
% Load cleveref LAST -- after hyperref AND after any biblatex the document
% adds -- by deferring it to the end of the preamble. Registered here,
% before theorems.sty, so it runs before theorems' \crefname hook.
\AtEndPreamble{\RequirePackage[nameinlink]{cleveref}}
\RequirePackage[margin=1in]{geometry}
\RequirePackage{microtype}
\RequirePackage{graphicx}
\RequirePackage{booktabs}
\RequirePackage{enumitem}
\RequirePackage[dvipsnames,table]{xcolor}
\RequirePackage{mathmacros}
\RequirePackage{theorems}
\RequirePackage{econ}
\definecolor{LinkNavy}{HTML}{1A5276}
\definecolor{CiteGreen}{HTML}{1E7145}
\RequirePackage[colorlinks=true,linkcolor=LinkNavy,citecolor=CiteGreen,%
urlcolor=LinkNavy,breaklinks=true]{hyperref}
\endinput