Skip to content

Instantly share code, notes, and snippets.

@mikepierce
Created November 17, 2020 17:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikepierce/f7b0ae5cee2ffafe7588358840013730 to your computer and use it in GitHub Desktop.
Save mikepierce/f7b0ae5cee2ffafe7588358840013730 to your computer and use it in GitHub Desktop.
My LaTeX Workflow
% LaTeX's standard color definitions
\definecolor{blue}{HTML}{0000FF}
\definecolor{brown}{HTML}{A52A2A}
\definecolor{cyan}{HTML}{00FFFF}
\definecolor{green}{HTML}{008000}
\definecolor{lime}{HTML}{00FF00}
\definecolor{magenta}{HTML}{FF00FF}
\definecolor{olive}{HTML}{808000}
\definecolor{orange}{HTML}{FFA500}
\definecolor{pink}{HTML}{FFC0CB}
\definecolor{purple}{HTML}{800080}
\definecolor{red}{HTML}{FF0000}
\definecolor{teal}{HTML}{008080}
\definecolor{violet}{HTML}{EE82EE}
\definecolor{yellow}{HTML}{FFFF00}
% IBM's color-blind safe palette
\definecolor{blue}{HTML}{648FFF}
\definecolor{violet}{HTML}{785EF0}
\definecolor{red}{HTML}{DC267F}
\definecolor{orange}{HTML}{F86100}
\definecolor{yellow}{HTML}{FFB000}
% Wong's conservative 7-color palette
\definecolor{orange}{HTML}{E69F00}
\definecolor{cyan}{HTML}{56B4E9}
\definecolor{green}{HTML}{009E73}
\definecolor{yellow}{HTML}{F0E438}
\definecolor{blue}{HTML}{0072B2}
\definecolor{violet}{HTML}{CC79A7}
\definecolor{red}{HTML}{D55E00}
% Krzywinski's 12-color palette
\definecolor{teal}{HTML}{006E82}
\definecolor{purple}{HTML}{8214A0}
\definecolor{blue}{HTML}{005AC8}
\definecolor{violet}{HTML}{00A0FA} % light blue
\definecolor{magenta}{HTML}{FA78FA}
\definecolor{cyan}{HTML}{00A0FA}
\definecolor{red}{HTML}{AA0A3C}
\definecolor{orange}{HTML}{FA7850}
\definecolor{green}{HTML}{A0B45A}
\definecolor{yellow}{HTML}{F0F032}
\definecolor{lime}{HTML}{A0FA82}
\definecolor{brown}{HTML}{FAE6BE}
% Adapted from Krzywinski's 15-color palettes
% Pretty good, but red-green is tough to distinguish
\definecolor{brown}{HTML}{A50F15}
\definecolor{red}{HTML}{DE2D26}
\definecolor{orange}{HTML}{FB6A4A}
\definecolor{yellow}{HTML}{F0F032}
\definecolor{blue}{HTML}{08519C}
\definecolor{teal}{HTML}{146964}
\definecolor{cyan}{HTML}{78E6E6}
\definecolor{green}{HTML}{3C690F}
\definecolor{olive}{HTML}{5F6E0F}
\definecolor{lime}{HTML}{82D78C}
\definecolor{purple}{HTML}{9428A0}
\definecolor{magenta}{HTML}{C80F9B}
\definecolor{violet}{HTML}{C86EBE}
\definecolor{pink}{HTML}{E6CDFF}
% An amalgamation of Paul Tol's
% muted palette (Figure 4) and vibrant palette (figure 3)
\definecolor{purple}{HTML}{332288}
\definecolor{blue}{HTML}{0077BB} %*
\definecolor{cyan}{HTML}{88CCEE}
\definecolor{teal}{HTML}{44AA99}
\definecolor{green}{HTML}{117733}
\definecolor{olive}{HTML}{999933}
\definecolor{yellow}{HTML}{DDCC77}
\definecolor{orange}{HTML}{EE7733} %*
\definecolor{pink}{HTML}{CC6677}
\definecolor{red}{HTML}{CC3311} %*
\definecolor{brown}{HTML}{882255}
\definecolor{violet}{HTML}{AA4499}
\definecolor{magenta}{HTML}{EE3377} %*
%______________________________________________________________________________
% main.tex
\input{preamble.tex}
\hypersetup{%
pdfauthor={Mike Pierce}%
,pdftitle={TTILE - Mike Pierce}%
,pdfkeywords={}%
}
\usepackage{fourier}
\pagestyle{fancy}
\lhead{\nouppercase{\leftmark}}
\rhead{\nouppercase{\thepage}}
\cfoot{}
\setcounter{secnumdepth}{0}
\input{newcommand.tex}
\input{newenvironment.tex}
\input{accessible-colors.tex}
%\excludecomment{solution}
%\excludecomment{commentary}
%\excludecomment{attention}
\title{Working Title}
\author{Mike Pierce}
\date{}
\begin{document}
\maketitle
\tableofcontents
%
\end{document}
%______________________________________________________________________________
% newcommand.tex
\newcommand{\inv}[1]{#1\raisebox{1.15ex}{$\scriptscriptstyle-\!1$}} % a smaller superscript "-1" for inverses
\renewcommand{\bar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu} % original \bar is two narrow
\newcommand{\sfrac}[2]{\;^{\mathlarger{#1}}\!\!\diagup\!\!_{\mathlarger{#2}}\;} % for "sloping" fractions
\newcommand{\units}[1]{\,\text{#1}} % for typesetting units, but really one should just use the ... package
\newcommand{\lcm}{\operatorname{lcm}}
\newcommand{\distance}{\operatorname{d}}
\newcommand{\Derivative}{\operatorname{D}}
\newcommand{\differential}{\operatorname{d}}
\newcommand{\ds}{\;\mathrm{d}s}
\newcommand{\dt}{\;\mathrm{d}t}
\newcommand{\du}{\;\mathrm{d}u}
\newcommand{\dv}{\;\mathrm{d}v}
\newcommand{\dw}{\;\mathrm{d}w}
\newcommand{\dx}{\;\mathrm{d}x}
\newcommand{\dy}{\;\mathrm{d}y}
\newcommand{\dz}{\;\mathrm{d}z}
\newcommand{\dmu}{\;\mathrm{d}\mu}
\newcommand{\dnu}{\;\mathrm{d}\nu}
\newcommand{\domega}{\;\mathrm{d}\omega}
\newcommand{\dtheta}{\;\mathrm{d}\theta}
\newcommand{\dphi}{\;\mathrm{d}\phi}
\newcommand{\length}{\operatorname{\ell}}
\newcommand{\arcsec}{\operatorname{arcsec}}
\newcommand{\arccsc}{\operatorname{arccsc}}
\newcommand{\arccot}{\operatorname{arccot}}
\newcommand{\op}{\mathrm{op}}
\newcommand{\ad}{\mathrm{ad}}
\newcommand{\dbl}{\mathrm{dbl}}
\newcommand{\dual}{\vee}
\newcommand{\transpose}{\mathrm{t}}
\newcommand{\qbinom}[2]{\begin{bmatrix}#1\\#2\end{bmatrix}}
\newcommand{\smatrix}[1]{\begin{smallmatrix} #1 \end{smallmatrix}}
\newcommand{\psmatrix}[1]{\begin{psmallmatrix} #1 \end{psmallmatrix}}
\newcommand{\bsmatrix}[1]{\begin{bsmallmatrix} #1 \end{bsmallmatrix}}
\newcommand{\compose}{\circ}
\newcommand{\tensor}{\otimes}
\newcommand{\defeq}{\coloneqq}
\newcommand{\subgroup}{\lt}
\newcommand{\normal}{\mathrel{\triangleleft}}
\newcommand{\lessthan}{\mathrel{\vartriangleleft}}
\newcommand{\lessthaneq}{\mathrel{\underline{\vartriangleleft}}}
\newcommand{\sgn}{\operatorname{sgn}}
\newcommand{\adj}{\operatorname{adj}}
\renewcommand{\phi}{\varphi}
\newcommand{\product}{\operatorname{\nabla}}
\newcommand{\coproduct}{\operatorname{\Delta}}
\newcommand{\unit}{\operatorname{\eta}}
\newcommand{\counit}{\operatorname{\epsilon}}
\newcommand{\antipode}{\operatorname{S}}
\newcommand{\maxideal}{\mathfrak{m}}
\newcommand{\primeideal}{\mathfrak{p}}
\newcommand{\wumbo}{\omega}
\newcommand{\wu}{\wumbo}
\newcommand{\blank}{{-}}
\newcommand{\zero}{\mathbf{0}}
\newcommand{\one}{\mathbf{1}}
\newcommand{\indicator}{\mathbb{1}}
\newcommand{\id}{\mathbf{1}}
\newcommand{\identity}{\mathbb{1}}
\newcommand{\im}{\mathfrak{i}}
\newcommand{\ex}{\mathrm{e}}
\newcommand{\vect}[1]{\boldsymbol{#1}}
\newcommand{\vectu}{\boldsymbol{u}}
\newcommand{\vectv}{\boldsymbol{v}}
\newcommand{\vectw}{\boldsymbol{w}}
\newcommand{\vectx}{\boldsymbol{x}}
\newcommand{\vecty}{\boldsymbol{y}}
\newcommand{\vectz}{\boldsymbol{z}}
\newcommand{\vectmu}{\boldsymbol{\mu}}
\newcommand{\vectnu}{\boldsymbol{\nu}}
\newcommand{\vectomega}{\boldsymbol{\omega}}
\newcommand{\dimvect}{\underline{\operatorname{dim}}}
\newcommand{\isomorphic}{\mathrel{\cong}}
\newcommand{\nisomorphic}{\mathrel{\not\cong}}
\newcommand{\from}{\leftarrow}
\newcommand{\limit}{\varprojlim} % Inverse Limit
\newcommand{\colimit}{\varinjlim} % Directed Limit
\newcommand{\inject}{\hookrightarrow}
\newcommand{\surject}{\twoheadrightarrow} % HTML ↠
\newcommand{\biject}{\leftrightarrow}
\newcommand{\admono}{\rightarrowtail}
\newcommand{\adepi}{\twoheadrightarrow}
\newcommand{\largerleadsto}{\mathlarger{\mathlarger{\leadsto}}}
\newcommand{\liealgf}{\mathfrak{f}}
\newcommand{\liealgg}{\mathfrak{g}}
\newcommand{\liealgh}{\mathfrak{h}}
\newcommand{\liealgn}{\mathfrak{n}}
\newcommand{\bracket}[2]{\left[#1\,#2\right]}
\newcommand{\innerproduct}[2]{\left\langle#1 , #2\right\rangle}
\newcommand{\GeneralLinear}{\mathrm{GL}}
\newcommand{\generallinear}{\mathfrak{gl}}
\newcommand{\SpecialLinear}{\mathrm{SL}}
\newcommand{\speciallinear}{\mathfrak{sl}}
\newcommand{\SpecialUnitary}{\mathrm{SU}}
\newcommand{\specialunitary}{\mathfrak{su}}
\newcommand{\SpecialOrthogonal}{\mathrm{SO}}
\newcommand{\specialorthogonal}{\mathfrak{so}}
\newcommand{\Symplectic}{\mathrm{Sp}}
\newcommand{\symplectic}{\mathfrak{sp}}
\newcommand{\Exceptional}{\mathrm{E}}
\newcommand{\exceptional}{\mathfrak{e}}
\newcommand{\Hall}{\mathbf{H}}
\newcommand{\Weyl}{\mathrm{W}}
\newcommand{\Braid}{\mathrm{Br}}
\newcommand{\CoHA}{\mathcal{H}}
\newcommand{\rank}{\mathrm{rank}}
\newcommand{\trace}{\mathrm{tr}}
\newcommand{\Trace}{\mathrm{Tr}}
\newcommand{\Mat}{\mathrm{Mat}}
\newcommand{\Matrices}{\Mat}
\newcommand{\Hom}{\mathrm{Hom}}
\newcommand{\Tor}{\mathrm{Tor}}
\newcommand{\Ext}{\mathrm{Ext}}
\newcommand{\ExtUnderline}{\underline{\mathrm{Ext}}}
\newcommand{\Exact}{E}
\newcommand{\Iso}{\operatorname{Iso}}
\newcommand{\Skeleton}{\operatorname{Skel}}
\newcommand{\Skel}{\Skeleton}
\newcommand{\Ind}{\operatorname{Ind}}
\newcommand{\Irr}{\operatorname{Irr}}
\newcommand{\Prim}{\operatorname{Prim}}
\newcommand{\GrothGroup}{\operatorname{K}_0}
\newcommand{\GrothMonoid}{\operatorname{\Gamma}}
\newcommand{\QuivA}{\mathtt{A}}
\newcommand{\QuivB}{\mathtt{B}}
\newcommand{\QuivC}{\mathtt{C}}
\newcommand{\QuivD}{\mathtt{D}}
\newcommand{\QuivE}{\mathtt{E}}
\newcommand{\QuivQ}{\mathtt{Q}}
\newcommand{\QuivR}{\mathtt{R}}
\newcommand{\QuivS}{\mathtt{S}}
\newcommand{\QuivT}{\mathtt{T}}
\newcommand{\CatA}{\mathcal{A}}
\newcommand{\CatB}{\mathcal{B}}
\newcommand{\CatC}{\mathcal{C}}
\newcommand{\CatD}{\mathcal{D}}
\newcommand{\CatH}{\mathcal{H}}
\newcommand{\CatSet}{\text{Set}}
\newcommand{\CatSET}{\text{\textsc{Set}}}
\newcommand{\CatVect}{\text{Vect}}
\newcommand{\CatVECT}{\text{\textsc{Vect}}}
\newcommand{\CatRep}{\text{Rep}}
\newcommand{\CatREP}{\text{\textsc{Rep}}}
\newcommand{\CatQuiv}{\text{Quiv}}
\newcommand{\CatQUIV}{\text{\textsc{QUIV}}}
\newcommand{\CatRing}{\text{Ring}}
\newcommand{\CatRING}{\text{\textsc{Ring}}}
\newcommand{\CatRng}{\text{Rng}}
\newcommand{\CatRNG}{\text{\textsc{Rng}}}
\newcommand{\CatCat}{\text{Cat}}
\newcommand{\CatCAT}{\text{\textsc{Cat}}}
\newcommand{\CatMod}{\text{Mod}}
\newcommand{\CatMOD}{\text{\textsc{Mod}}}
\newcommand{\AMod}{A\text{-Mod}}
\newcommand{\AMOD}{A\text{-\textsc{Mod}}}
\newcommand{\RMod}{R\text{-Mod}}
\newcommand{\RMOD}{R\text{-\textsc{Mod}}}
\newcommand{\SMod}{S\text{-Mod}}
\newcommand{\SMOD}{S\text{-\textsc{Mod}}}
\newcommand{\ModA}{\text{Mod}\text{-}A}
\newcommand{\MODA}{\text{\textsc{Mod}}\text{-}A}
\newcommand{\ModR}{\text{Mod}\text{-}R}
\newcommand{\MODR}{\text{\textsc{Mod}}\text{-}R}
\newcommand{\ModS}{\text{Mod}\text{-}S}
\newcommand{\MODS}{\text{\textsc{Mod}}\text{-}S}
\newcommand{\CatAssAlg}{\text{AssAlg}}
\newcommand{\CatASSALG}{\text{\textsc{AssAlg}}}
\newcommand{\CatLieAlg}{\text{LieAlg}}
\newcommand{\CatLIEALG}{\text{\textsc{LieAlg}}}
\newcommand{\CatOp}{\text{\textsc{Op}}}
\newcommand{\CatAb}{\mathrm{Ab}}
\newcommand{\CatAB}{\text{\textsc{Ab}}}
\newcommand{\CatGrp}{\mathrm{Grp}}
\newcommand{\CatGRP}{\text{\textsc{Grp}}}
\newcommand{\CatFI}{\text{FI}}
\newcommand{\CatTop}{\text{Top}}
\newcommand{\CathTop}{\text{hTop}}
\newcommand{\CatTOP}{\text{\textsc{Top}}}
\newcommand{\CathTOP}{\text{\textsc{hTop}}}
\newcommand{\FunctorF}{\mathrm{F}}
\newcommand{\FunctorG}{\mathrm{G}}
\newcommand{\FunctorL}{\mathcal{L}}
\newcommand{\Forget}{\mathfrak{F}}
\newcommand{\SheafF}{\operatorname{\mathcal{F}}}
\newcommand{\SheafG}{\operatorname{\mathcal{G}}}
\newcommand{\SheafH}{\operatorname{\mathcal{H}}}
\newcommand{\SheafI}{\operatorname{\mathcal{I}}}
\newcommand{\SheafJ}{\operatorname{\mathcal{J}}}
\newcommand{\SheafO}{\operatorname{\mathcal{O}}}
\newcommand{\orbit}{\mathcal{O}}
\newcommand{\Lie}{\operatorname{Lie}}
\newcommand{\Universal}{\mathbf{U}}
\newcommand{\Uber}{\mathcal{U}}
\newcommand{\universal}{\mathbf{u}}
\newcommand{\Monomials}{\operatorname{M}}
\newcommand{\TensorAlgebra}{\operatorname{T}}
\newcommand{\ExteriorAlgebra}{\operatorname{\Lambda}}
\newcommand{\SymmetricAlgebra}{\operatorname{S}}
\newcommand{\SymmetricGroupoid}{\mathbf{S}}
\newcommand{\BraidedGroupoid}{\mathbf{B}}
\newcommand{\Homology}{\operatorname{H}}
\newcommand{\Cohomology}{\operatorname{H}}
\newcommand{\Aut}{\operatorname{Aut}}
\newcommand{\aut}{\operatorname{aut}}
\newcommand{\Inn}{\operatorname{Inn}}
\newcommand{\Out}{\operatorname{Out}}
\newcommand{\End}{\operatorname{End}}
\newcommand{\Ann}{\operatorname{Ann}}
\newcommand{\Frac}{\operatorname{Frac}}
\newcommand{\Jacobson}{\operatorname{J}}
\newcommand{\Rad}{\operatorname{Rad}}
\newcommand{\Soc}{\operatorname{Soc}}
\newcommand{\Top}{\operatorname{Top}}
\newcommand{\Spec}{\operatorname{Spec}}
\newcommand{\Proj}{\operatorname{Proj}}
\newcommand{\Gal}{\operatorname{Gal}}
\newcommand{\Char}{\operatorname{char}}
\newcommand{\Center}{\operatorname{Z}}
\newcommand{\Kernel}{\operatorname{Ker}}
\newcommand{\kernel}{\Kernel}
\newcommand{\Ker}{\Kernel}
\newcommand{\Cokernel}{\operatorname{CoKer}}
\newcommand{\cokernel}{\Cokernel}
\newcommand{\CoKer}{\Cokernel}
\newcommand{\Coker}{\Cokernel}
\newcommand{\Image}{\operatorname{Im}}
\newcommand{\image}{\Image}
\newcommand{\Coimage}{\operatorname{CoIm}}
\newcommand{\CoImage}{\Coimage}
\newcommand{\Closure}[1]{\overline{#1}}
\newcommand{\closure}[1]{\overline{#1}}
\newcommand{\Field}{{\boldsymbol{F}}}
\newcommand{\field}{{\boldsymbol{k}}}
\newcommand{\Nats}{\mathbf{N}}
\newcommand{\Ints}{{\mathbf{Z}}}
\newcommand{\Rats}{\mathbf{Q}}
\newcommand{\Reals}{\mathbf{R}}
\newcommand{\Comps}{\mathbf{C}}
\newcommand{\Projective}{\mathbf{P}}
%______________________________________________________________________________
% newenvironment.tex
\definecolor{DeepOrange}{HTML}{773f07}
\definecolor{DeepBlue}{HTML}{077777}
\definecolor{DeepMagenta}{HTML}{77073f}
\newtheoremstyle{asdf}
{\parskip}% measure of space to leave above the theorem
{\topsep}% measure of space to leave below the theorem
{\normalfont}% name of font to use in the body of the theorem
{\parindent}% measure of space to indent
{\scshape}% name of head font
{---}% punctuation between head and body
{ }% space after theorem head
{\thmname{#1}~\thmnumber{#2}~\thmnote{#3}}
\theoremstyle{asdf}
\newtheorem{theorem}{Theorem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem*{conjecture}{Conjecture}
\renewenvironment{proof}[1][{}]{%
\par%
\textit{Proof #1}~~%
}{%
\hfill\qed%
\par%
}
\newcommand{\term}[1]{\textcolor{DeepBlue}{#1}}
\newcommand{\FLAG}{\textcolor{DeepMagenta}{$\blacktriangleleft$}\;}
\newcommand{\attend}[1]{\textcolor{DeepMagenta}{#1}}
\newenvironment{blockmath}{\begin{equation}}{\end{equation}}
\newenvironment{blockmath*}{\begin{equation*}}{\end{equation*}}
\newcounter{QuestionCounter}
\newenvironment{question}[1][{~}]{%
\par%
\refstepcounter{QuestionCounter}%
\textbf{\textsc{Question \theQuestionCounter}} #1---~%
}{%
\par%
}
\RequirePackage{enumitem}
\newcounter{ExerciseCounter}%
\newenvironment{exercise}[1][{~}]{%
\par%
\setenumerate[0]{label=(\alph*)}
\refstepcounter{ExerciseCounter}%
\textbf{\textsc{Exercise \theExerciseCounter}} #1---~%
}{%
\par%
}
\RequirePackage{comment}
\RequirePackage{changepage}
\RequirePackage{enumitem}
\specialcomment{solution}{%
\par%
\setenumerate[0]{label=(\alph*)}
\begin{adjustwidth}{4ex}{4ex}%
\color{DeepOrange}
}{%
\end{adjustwidth}%
\par%
}
\RequirePackage{comment}
\RequirePackage{changepage}
\specialcomment{attention}{%
\par%
\begin{adjustwidth}{4ex}{4ex}%
\color{DeepMagenta}%
}{%
\end{adjustwidth}%
\par%
}
\RequirePackage{comment}
\RequirePackage{changepage}
\specialcomment{commentary}{%
\par%
\begin{adjustwidth}{4ex}{4ex}%
\color{gray}%
}{%
\end{adjustwidth}%
\par%
}
%______________________________________________________________________________
% preamble-common.tex
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amssymb,mathtools}
\usepackage{stmaryrd}
\usepackage{geometry}
\geometry{%
top=1.167in%
,right=1.167in%
,left=1.167in%
,bottom=1.33in%
}
\usepackage{marginnote}
\renewcommand{\marginfont}{\footnotesize\color{gray}}
\usepackage{float}
\restylefloat{table}
\usepackage{relsize}
\usepackage{setspace}
\usepackage{multicol}
\usepackage{array}
\usepackage{enumitem}
\usepackage{microtype}
\usepackage[dvipsnames]{xcolor}
\usepackage{fancyhdr}
\usepackage[hang,flushmargin,bottom]{footmisc}
\usepackage{tikz-cd}
\tikzcdset{%
row sep/normal=6.67ex%
,column sep/normal=2.67em%
,ampersand replacement=\&%
}
\usepackage{tasks}
\settasks{%
counter-format={\null}%
% counter-format=(tsk[a])%
,item-indent=1em%
%,item-indent=0em%
,label-width=0em%
%,label-width=1.5em%
,column-sep=1em%
,before-skip=0ex%
,after-skip=1ex plus 1ex minus 1ex%
,after-item-skip=0ex plus 1ex minus 1ex%
}
\usepackage{dynkin-diagrams}
\pgfkeys{/Dynkin diagram,%
mark=o%
,o/.style={solid,draw=black,fill=white}%
,affine mark=*%
,root radius=0.67ex%
,edge length=6ex%
,edge/.style={solid,draw=black,fill=white,fill opacity=0,thin}%
,fold radius=3ex%
,fold style/.style={dashed,<->,shorten <=1ex, shorten >=1ex,draw=black!67,fill=none,line width=0.083ex}%
%,backwards%
}
\usepackage{hyperref}
\hypersetup{%
pdfauthor={Unspecified Author}%
,pdftitle={Unspecified Title}%
,pdfsubject={Unspecified Subject}%
,pdfkeywords={}%
,pdfproducer={LaTeX using hyperref}%
,pdfcreator={pdfLaTeX from TeXLive}%
,pageanchor={true}%
,pdfborder={0 0 .33 [3 1]}% cornerRadius1 cornerRadius2 borderThickness [dashLength spaceLength]
,colorlinks=true% % change to FALSE to draw borders around links instead
,linkcolor=blue% %TOC and \ref{}/\label{}
,citecolor=blue% %\cite{}
,filecolor=blue% %href{}{}
,urlcolor=blue% %url{}
,linkbordercolor=teal% %TOC and \ref{}/\label{}
,citebordercolor=teal% %\cite{}
,filebordercolor=teal% %href{}{}
,urlbordercolor=blue% %url{}
}
\usepackage{datetime}
\newdateformat{dmy}{\THEDAY~\shortmonthname[\THEMONTH]~\THEYEAR}
% Use this format with a command like \dmy\today
\usepackage[english]{babel}
\usepackage{csquotes} % to make biber happy
\usepackage[
backend=biber%
%,style=alphabetic%
,hyperref=true%
,bibencoding=utf8%
]{biblatex}
\usepackage{enumitem}
\setlist{%
topsep=0em%
,itemsep=0em%
,parsep=1em%
,itemindent=0em%
,leftmargin=2em%
,rightmargin=0em%
}
\usepackage{parskip}
\usepackage[all]{nowidow}
\linespread{1.167}
\frenchspacing
%\usepackage[tagged]{accessibility}
%\usepackage{axessibility}
\newcommand{\WEBSITE}{%
\href{http://math.ucr.edu/~mpierce}%
{\url{math.ucr.edu/~mpierce}}}
\newcommand{\EMAILADDRESS}{%
\href{mailto:mpierce@math.ucr.edu}%
{\url{mpierce@math.ucr.edu}}}
\newcommand{\PHONE}{\texttt{(530)\hspace{2pt}280-7135}}
%______________________________________________________________________________
%\input{preamble.tex}
%\hypersetup{%
% pdfauthor={Mike Pierce}%
% ,pdftitle={INSERT PDF TITLE HERE}%
% ,pdfsubject={INSERT PDF SUBJECT HERE}%
% ,pdfkeywords={INSERT PDF KEYWORDS HERE}%
% ,pdfproducer={LaTeX using hyperref}%
% ,pdfcreator={pdfLaTeX from TeXLive}%
%}
%\usepackage{fourier}
% %\usepackage{newtxtext,newtxmath} % Times Roman
% %\usepackage{mathpazo} % Palatino text and Pazo math
% %\usepackage{cmbright} % Computer Modern bright (sans serif)
% %\usepackage[math]{anttor} % Antykwa Toru ´nska text and math
% %\usepackage{kmath,kerkis} % Kerkis text and math
% %\usepackage{millennial} % New Centry Schoolbook with Millenial Math
% %\usepackage{fouriernc} % New Centry Schoolbook with Fourier Math
% %\usepackage{arev} % Arev text and math (sans serif)
%\input{newcommand.tex}
%\input{newenvironment.tex}
%\input{solarized-colors.tex}
%\input{accessible-colors.tex}
%\pagestyle{fancy}
%\lhead{\nouppercase{\leftmark}}
%\rhead{}
%\setcounter{\secnumdepth}{0}
%\addbibresource{bibliography.bib}
%\usepackage{draftwatermark}
%\SetWatermarkText{Final}
%\SetWatermarkColor[gray]{0.8}
%\SetWatermarkScale{2}
%\SetWatermarkAngle{52.31} % arctan(11/8.5)
%______________________________________________________________________________
% preamble.tex
\documentclass{article}
\input{preamble-common.tex}
\RequirePackage{geometry}
\geometry{%
margin=1.67in%
,top=1.67in%
,bottom=1.33in%
}
\RequirePackage{tikz-cd}
\tikzcdset{%
row sep/normal=6.67ex%
,column sep/normal=2.67em%
}
\RequirePackage{tasks}
\settasks{%
counter-format={\null}%
% counter-format=(tsk[a])%
,item-indent=1em%
,label-width=0em%
,column-sep=1em%
,before-skip=0ex%
,after-skip=1ex plus 1ex minus 1ex%
,after-item-skip=0ex plus 1ex minus 1ex%
}
\RequirePackage{dynkin-diagrams}
\pgfkeys{/Dynkin diagram,%
,root radius=0.67ex%
,edge length=6ex%
,fold radius=3.33ex%
}
\RequirePackage{enumitem}
\setlist{%
topsep=0ex%
,itemsep=0ex%
,parsep=2ex%
,itemindent=0ex%
,leftmargin=4ex%
,rightmargin=0ex%
}
\RequirePackage{xcolor}
\definecolor{base03}{HTML}{002b36}
\definecolor{base02}{HTML}{073642}
\definecolor{darkgray}{HTML}{073642}
\definecolor{base01}{HTML}{586e75}
\definecolor{lightgray}{HTML}{586e75}
\definecolor{gray}{HTML}{586e75}
\definecolor{base00}{HTML}{657b83}
\definecolor{base0}{HTML}{839496}
\definecolor{base1}{HTML}{93a1a1}
\definecolor{base2}{HTML}{eee8d5}
\definecolor{base3}{HTML}{fdf6e3}
\definecolor{yellow}{HTML}{b58900}
\definecolor{orange}{HTML}{cb4b16}
\definecolor{red}{HTML}{dc322f}
\definecolor{magenta}{HTML}{d33682}
\definecolor{violet}{HTML}{6c71c4}
\definecolor{purple}{HTML}{6c71c4}
\definecolor{blue}{HTML}{268bd2}
\definecolor{cyan}{HTML}{2aa198}
\definecolor{green}{HTML}{859900}
\definecolor{olive}{HTML}{859900}
\pagecolor{base3}
\color{base03}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment