123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- %!TEX TS-program = lualatex
- %!TEX encoding = UTF-8 Unicode
- \documentclass[leqno, openany]{memoir}
- \setulmarginsandblock{3.5cm}{3.5cm}{*}
- \setlrmarginsandblock{3cm}{3.5cm}{*}
- \checkandfixthelayout
- \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{physics}
- %\usepackage{/home/patrickl/homework/macaulay2}
- %font
- \usepackage{fontspec}
- \usepackage{unicode-math}
- \setmainfont[Ligatures={Common}, Numbers={OldStyle}]{Libertinus Serif}
- \setsansfont{Libertinus Sans}
- \setmonofont{Inconsolata}
- \setmathfont{Libertinus Math}
- \usepackage{microtype}
- %CS packages
- \usepackage{algorithmicx}
- \usepackage{algpseudocode}
- \usepackage{algorithm}
- % typeset and bib
- \usepackage[english]{babel}
- \usepackage[utf8]{inputenc}
- \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}
- \usepackage{lipsum}
- % delimiters
- \DeclarePairedDelimiter{\gen}{\langle}{\rangle}
- \DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
- \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
- \newtheorem{thm}{Theorem}[section]
- \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*{exer*}{Exercise}
- \newtheorem*{defns*}{Definitions}
- \newtheorem*{con*}{Construction}
- \newtheorem*{exm*}{Example}
- \newtheorem*{exms*}{Examples}
- \newtheorem*{notn*}{Notation}
- \newtheorem*{notns*}{Notations}
- \newtheorem*{addm*}{Addendum}
- \theoremstyle{remark}
- \newtheorem*{rmk*}{Remark}
- % shortcuts
- \newcommand{\Ima}{\mathrm{Im}}
- \newcommand{\A}{\mathbb{A}}
- \newcommand{\R}{\mathbb{R}}
- \renewcommand{\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}}
- \newcommand{\ol}[1]{\overline{#1}}
- \newcommand{\wt}[1]{\widetilde{#1}}
- \DeclareMathOperator{\Der}{Der}
- \DeclareMathOperator{\Hom}{Hom}
- \DeclareMathOperator{\End}{End}
- \DeclareMathOperator{\ad}{ad}
- \DeclareMathOperator{\Aut}{Aut}
- \DeclareMathOperator{\Rad}{Rad}
- \DeclareMathOperator{\supp}{supp}
- \DeclareMathOperator{\sgn}{sgn}
- % Section formatting
- \titleformat{\section}
- {\Large\sffamily\scshape\bfseries}{\thesection}{1em}{}
- \titleformat{\subsection}[runin]
- {\large\sffamily\bfseries}{\thesubsection}{1em}{}
- \titleformat{\subsubsection}[runin]{\normalfont\itshape}{\thesubsubsection}{1em}{}
- \title{COURSE TITLE}
- \author{Lectures by INSTRUCTOR, Notes by NOTETAKER}
- \date{SEMESTER}
- \newcommand*{\titleSW}
- {\begingroup% Story of Writing
- \raggedleft
- \vspace*{\baselineskip}
- {\Huge\itshape COURSE TITLE \\ COURSE NUMBER}\\[\baselineskip]
- {\large\itshape Notes by NOTE TAKER,
- SEMESTER}\\[0.2\textheight]
- {\Large Lectures by INSTRUCTOR}\par
- \vfill
- {\Large \sffamily UNIVERSITY NAME}
- \vspace*{\baselineskip}
- \endgroup}
- \pagestyle{simple}
- \chapterstyle{ell}
- %\renewcommand{\cftchapterpagefont}{}
- \renewcommand\cftchapterfont{\sffamily}
- \renewcommand\cftsectionfont{\scshape}
- \renewcommand*{\cftchapterleader}{}
- \renewcommand*{\cftsectionleader}{}
- \renewcommand*{\cftsubsectionleader}{}
- \renewcommand*{\cftchapterformatpnum}[1]{~\textbullet~#1}
- \renewcommand*{\cftsectionformatpnum}[1]{~\textbullet~#1}
- \renewcommand*{\cftsubsectionformatpnum}[1]{~\textbullet~#1}
- \renewcommand{\cftchapterafterpnum}{\cftparfillskip}
- \renewcommand{\cftsectionafterpnum}{\cftparfillskip}
- \renewcommand{\cftsubsectionafterpnum}{\cftparfillskip}
- \setrmarg{3.55em plus 1fil}
- \setsecnumdepth{subsection}
- \maxsecnumdepth{subsection}
- \settocdepth{subsection}
- \begin{document}
-
- \begin{titlingpage}
- \titleSW
- \end{titlingpage}
- \thispagestyle{empty}
- \section*{Disclaimer}%
- \label{sec:disclaimer}
- These notes were taken during lecture using the \texttt{vimtex} package of the editor \texttt{neovim}.
- Any errors are mine and not the instructor's.
- In addition, my notes are picture-free (but will include commutative diagrams) and are a mix of my mathematical style
- (omit lengthy computations, use category theory) and that of the instructor.
- If you find any errors, please contact me at \texttt{email@university.edu}.
- \newpage
- \tableofcontents
- \chapter{First Chapter}%
- \label{cha:first_chapter}
- \lipsum[1-4]
- \section{Organization}%
- \label{sec:organization}
- \lipsum[5-8]
- \end{document}
|