123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- \NeedsTeXFormat{LaTeX2e}
- \ProvidesPackage{essay}
- %set margins
- \usepackage{geometry}
- %math packages
- \usepackage{authblk}
- \usepackage{amsmath}
- \usepackage{amssymb}
- \usepackage{amsthm}
- %\usepackage{MnSymbol}
- \usepackage{bm}
- \usepackage{accents}
- \usepackage{mathtools}
- \usepackage{tikz}
- \usetikzlibrary{calc}
- \usetikzlibrary{automata,positioning}
- \usepackage{tikz-cd}
- \usepackage{forest}
- \usepackage{braket}
- \usepackage{listings}
- \usepackage{mdframed}
- \usepackage{verbatim}
- %\usepackage{/home/patrickl/homework/macaulay2}
- %Fonts
- \usepackage[sc]{mathpazo}
- \usepackage{eulervm}
- \usepackage[scaled=0.86]{berasans}
- \usepackage{inconsolata}
- \usepackage{microtype}
- %CS packages
- \usepackage{algorithmicx}
- \usepackage{algpseudocode}
- \usepackage{algorithm}
- % typeset and bib
- \usepackage[english]{babel}
- \usepackage[utf8]{inputenc}
- \usepackage[T1]{fontenc}
- \usepackage[backend=biber, style=alphabetic]{biblatex}
- \usepackage[bookmarks, colorlinks, breaklinks]{hyperref}
- \hypersetup{linkcolor=black,citecolor=black,filecolor=black,urlcolor=black}
- % other formatting packages
- \usepackage{float}
- \usepackage{booktabs}
- \usepackage{enumitem}
- \usepackage{csquotes}
- \usepackage{titlesec}
- \usepackage{titling}
- \usepackage{fancyhdr}
- \usepackage{lastpage}
- \usepackage{parskip}
- % delimiters
- \DeclarePairedDelimiter{\gen}{\langle}{\rangle}
- \DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
- \DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
- \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
- \DeclarePairedDelimiter{\norm}{\lVert}{\rVert}
- \newtheorem{thm}{Theorem}
- \newtheorem{cor}[thm]{Corollary}
- \newtheorem{prop}[thm]{Proposition}
- \newtheorem{lem}[thm]{Lemma}
- \newtheorem{conj}[thm]{Conjecture}
- \newtheorem{quest}[thm]{Question}
- \theoremstyle{definition}
- \newtheorem{defn}[thm]{Definition}
- \newtheorem{defns}[thm]{Definitions}
- \newtheorem{con}[thm]{Construction}
- \newtheorem{exm}[thm]{Example}
- \newtheorem{exms}[thm]{Examples}
- \newtheorem{notn}[thm]{Notation}
- \newtheorem{notns}[thm]{Notations}
- \newtheorem{addm}[thm]{Addendum}
- \newtheorem{exer}[thm]{Exercise}
- \theoremstyle{remark}
- \newtheorem{rmk}[thm]{Remark}
- \newtheorem{rmks}[thm]{Remarks}
- \newtheorem{warn}[thm]{Warning}
- \newtheorem{sch}[thm]{Scholium}
- % unnumbered theorems
- \theoremstyle{plain}
- \newtheorem*{thm*}{Theorem}
- \newtheorem*{prop*}{Proposition}
- \newtheorem*{lem*}{Lemma}
- \newtheorem*{cor*}{Corollary}
- \newtheorem*{conj*}{Conjecture}
- % unnumbered definitions
- \theoremstyle{definition}
- \newtheorem*{defn*}{Definition}
- \newtheorem*{rmk*}{Remark}
- \newtheorem*{exer*}{Exercise}
- \newtheorem*{exm*}{Example}
- % shortcuts
- \newcommand{\Ima}{\mathrm{Im}}
- \newcommand{\A}{\mathbb{A}}
- \newcommand{\R}{\mathbb{R}}
- \newcommand{\C}{\mathbb{C}}
- \newcommand{\Z}{\mathbb{Z}}
- \newcommand{\Q}{\mathbb{Q}}
- \renewcommand{\k}{\Bbbk}
- \renewcommand{\P}{\mathbb{P}}
- \newcommand{\M}{\overline{M}}
- \newcommand{\g}{\mathfrak{g}}
- \newcommand{\h}{\mathfrak{h}}
- \newcommand{\n}{\mathfrak{n}}
- \renewcommand{\b}{\mathfrak{b}}
- \newcommand{\ep}{\varepsilon}
- \newcommand*{\dt}[1]{%
- \accentset{\mbox{\Huge\bfseries .}}{#1}}
- \renewcommand{\abstractname}{Official Description}
- \newcommand{\mc}[1]{\mathcal{#1}}
- \newcommand{\T}{\mathbb{T}}
- \newcommand{\mf}[1]{\mathfrak{#1}}
- \newcommand{\mr}[1]{\mathrm{#1}}
- \DeclareMathOperator{\Der}{Der}
- \DeclareMathOperator{\Hom}{Hom}
- \DeclareMathOperator{\End}{End}
- \DeclareMathOperator{\ad}{ad}
- \DeclareMathOperator{\tr}{tr}
- \DeclareMathOperator{\Aut}{Aut}
- \DeclareMathOperator{\Rad}{Rad}
- \DeclareMathOperator{\supp}{supp}
- \DeclareMathOperator{\sgn}{sgn}
- % style
- \titleformat{\section}
- {\centering\large\scshape}{\thesection}{1em}{}
- \titleformat{\subsection}[runin]
- {\normalfont\bfseries}{\thesubsection}{1em}{}
- \titleformat{\subsubsection}[runin]{\normalfont\itshape}{\thesubsubsection}{1em}{}
- \pretitle{\begin{center}\Large\scshape}
- \posttitle{\end{center}}
- \preauthor{\begin{center}\large\scshape}
- \postauthor{\end{center}}
- \predate{\begin{center}\normalsize\itshape}
- \postdate{\end{center}}
- \setlength{\droptitle}{-40pt}
- % header style
|