%%%-------------------- %%% Packages %%%-------------------- \usepackage{amsmath,amssymb,amsbsy,amsfonts,amsthm,latexsym,amsopn,amstext,amsxtra,euscript,amscd,stmaryrd,mathrsfs,cite,array} \usepackage{bbm} \usepackage{color} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{enumitem} \usepackage{graphicx} \usepackage{tikz-cd} \usepackage{verbatim} \usepackage[normalem]{ulem} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} % Page layout & spacing. \usepackage[text={6.25in,9.5in},centering]{geometry} \usepackage{setspace} % Margin todo notes. \usepackage[colorinlistoftodos]{todonotes} \setlength{\marginparwidth}{2cm} % Bold citations (cite package). \renewcommand{\citeform}[1]{\textbf{#1}} % Hyperlinks (load late). % Link colours: a cool palette (blue, teal, green, violet), one colour per kind of link. \definecolor{lnkref}{RGB}{36,84,168} % cobalt blue: theorems, sections, pages \definecolor{lnkeq}{RGB}{18,128,128} % teal: equation numbers \definecolor{lnkcite}{RGB}{110,58,160} % violet: citations \definecolor{lnkurl}{RGB}{28,128,84} % green: URLs \definecolor{lnkback}{RGB}{118,138,166} % cool gray-blue: back-references in the bibliography \usepackage[colorlinks,linkcolor=lnkref,anchorcolor=lnkref, citecolor=lnkcite,urlcolor=lnkurl,filecolor=lnkurl,backref=page]{hyperref} \hypersetup{breaklinks=true} % Equation references in their own colour. \makeatletter \let\hexagon@eqref\eqref \renewcommand{\eqref}[1]{{\hypersetup{linkcolor=lnkeq}\hexagon@eqref{#1}}} \makeatother % Backref formatting. \renewcommand*{\backref}[1]{} \renewcommand*{\backrefalt}[4]{% \hypersetup{linkcolor=lnkback}\textcolor{lnkback}{% \ifcase #1 (Not cited.)% \or (p.\,#2)% \else (pp.\,#2)% \fi}} %%%-------------------- %%% Headings, floats, and page-break hygiene %%%-------------------- \usepackage[section]{placeins} \usepackage{etoolbox} \usepackage{needspace} \makeatletter % Larger, centered small-caps section titles with extra space above. \def\section{\@startsection{section}{1}% \z@{1.2\linespacing\@plus\linespacing}{.5\linespacing}% {\normalfont\large\scshape\centering}} % Restore the space above a theorem or proof that directly follows a heading. \newcommand{\restore@headskip}{\if@nobreak\vskip\medskipamount\fi} \pretocmd{\@thm}{\restore@headskip}{}{} \AtBeginEnvironment{proof}{\restore@headskip} % Keep a heading with the text that follows it. \pretocmd{\section}{\par\Needspace*{4\baselineskip}}{}{} \pretocmd{\subsection}{\par\Needspace*{3\baselineskip}}{}{} \makeatother \setlength{\parindent}{15pt} %%%-------------------- %%% Theorem environments %%%-------------------- \newtheoremstyle{customthm} {1em} % ABOVESPACE {1em} % BELOWSPACE {\itshape} % BODYFONT {} % INDENT {\scshape} % HEADFONT {.} % HEADPUNCT {5pt plus 1pt minus 1pt} % HEADSPACE {} % CUSTOM-HEAD-SPEC \newtheoremstyle{customdef} {1em}{1em}{\normalfont}{}{\scshape}{.}{5pt plus 1pt minus 1pt}{} \theoremstyle{customthm} \newtheorem{theorem}[subsubsection]{Theorem} \newtheorem{proposition}[subsubsection]{Proposition} \newtheorem{lemma}[subsubsection]{Lemma} \newtheorem{corollary}[subsubsection]{Corollary} \newtheorem{conjecture}[subsubsection]{Conjecture} \newtheorem{question}[subsubsection]{Question} \newtheorem{fact}[subsubsection]{Fact} \newtheorem*{theoremA}{Theorem A} \newtheorem*{theoremB}{Theorem B} \newtheorem*{theoremC}{Theorem C} \newtheorem*{theoremD}{Theorem D} \newtheorem*{theoremE}{Theorem E} \newtheorem*{theoremF}{Theorem F} \newtheorem*{theoremG}{Theorem G} \theoremstyle{customdef} \newtheorem{definition}[subsubsection]{Definition} \newtheorem{example}[subsubsection]{Example} \newtheorem{remark}[subsubsection]{Remark} \newtheorem{claim}[subsubsection]{Claim} \newtheorem{convention}[subsubsection]{Convention} \newtheorem{hypothesis}[subsubsection]{Hypothesis} %%%-------------------- %%% Commenting / markups (from the x-Paperstyle kit) %%%-------------------- \long\def\cc#1{{\color{Red}#1}} % red text \long\def\ccb#1{{\color{Blue}#1}} % blue text \long\def\ccg#1{{\color{Green}#1}} % green text \long\def\cco#1{{\color{Orange}#1}} % orange text \long\def\ccm#1{{\color{Magenta}#1}} % magenta text \newcommand{\xxx}{\vskip3pt\hrule\vskip3pt} \newcommand{\imhere}{\textcolor{Blue}{ \xxx\centerline{\footnotesize\bf I'm here}\xxx }} \newcommand{\incomment}[1]{\textcolor{DarkMagenta}{ \xxx\centerline{\footnotesize\bf #1}\xxx }} \newcommand{\comm}[2][]{\todo[#1,color=green!24]{#2}} \newif\ifdraft \drafttrue \long\def\td#1{\ifdraft\ccm{#1}\fi} % in-line task \long\def\tdpar#1{\ifdraft\par\noindent\ccm{#1}\par\fi} % task paragraph \draftfalse % switch to \drafttrue to show the tasks % Relation symbols as in the kit. \renewcommand{\le}{\ensuremath{\leqslant}} \renewcommand{\ge}{\ensuremath{\geqslant}} \renewcommand{\leq}{\ensuremath{\leqslant}} \renewcommand{\geq}{\ensuremath{\geqslant}} %%%-------------------- %%% Macros of this article %%%-------------------- \hyphenation{archi-me-dean} \DeclareMathOperator{\Hdg}{Hdg} \DeclareMathOperator{\trop}{trop} \newcommand{\otrop}{\overline{\trop}} \DeclareMathOperator{\Hom}{Hom} \DeclareMathOperator{\End}{End} \DeclareMathOperator{\Lie}{Lie} \DeclareMathOperator{\Spf}{Spf} \DeclareMathOperator{\Spec}{Spec} \DeclareMathOperator{\rk}{rk} \DeclareMathOperator{\ord}{ord} \DeclareMathOperator{\codim}{codim} \DeclareMathOperator{\Pic}{Pic} \DeclareMathOperator{\Sym}{Sym} \DeclareMathOperator{\ret}{ret} \DeclareMathOperator{\Ann}{Ann} \DeclareMathOperator{\Bad}{Bad} \DeclareMathOperator{\Gal}{Gal} \DeclareMathOperator{\Aut}{Aut} \DeclareMathOperator{\im}{im} \DeclareMathOperator{\red}{red} \DeclareMathOperator{\can}{can} \DeclareMathOperator{\length}{length} \DeclareMathOperator{\GL}{GL} \DeclareMathOperator{\SO}{SO} \DeclareMathOperator{\cost}{cost} \DeclareMathOperator{\Frac}{Frac} \DeclareMathOperator{\Supp}{Supp} \DeclareMathOperator{\Stab}{Stab} \DeclareMathOperator{\Bs}{Bs} \DeclareMathOperator{\Lip}{Lip} \DeclareMathOperator{\Vor}{Vor} \DeclareMathOperator{\dist}{dist} \DeclareMathOperator{\ev}{ev} \DeclareMathOperator{\vol}{vol} \DeclareMathOperator{\Res}{Res} \newcommand{\bZ}{\mathbb{Z}} \newcommand{\bQ}{\mathbb{Q}} \newcommand{\bR}{\mathbb{R}} \newcommand{\bC}{\mathbb{C}} \newcommand{\bN}{\mathbb{N}} \newcommand{\bF}{\mathbb{F}} \newcommand{\bG}{\mathbb{G}} \newcommand{\bk}{\Bbbk} \newcommand{\brK}{\breve K} \newcommand{\brR}{\breve R} \newcommand{\cL}{\mathcal{L}} \newcommand{\cG}{\mathcal{G}} \newcommand{\cB}{\mathcal{B}} \newcommand{\cA}{\mathcal{A}} \newcommand{\cE}{\mathcal{E}} \newcommand{\cT}{\mathcal{T}} \newcommand{\cH}{\mathcal{H}} \newcommand{\cW}{\mathcal{W}} \newcommand{\cN}{\mathcal{N}} \newcommand{\cO}{\mathcal{O}} \newcommand{\cM}{\mathcal{M}} \newcommand{\cV}{\mathcal{V}} \newcommand{\cX}{\mathcal{X}} \newcommand{\cF}{\mathcal{F}} \newcommand{\cC}{\mathcal{C}} \newcommand{\hHdg}{h_{\Hdg}} \newcommand{\bform}{\mathfrak b} % tropical polarization form \newcommand{\sconv}{\mathfrak s} % quadratic sup-convolution \newcommand{\pr}{\mathrm{pr}} % projections of products \newcommand{\an}{\mathrm{an}} \newcommand{\dt}{{\mathrm t}} % superscript for duals: A^\dt, \phi^\dt \newcommand{\tor}{\mathrm{tor}} \newcommand{\Gm}{\bG_{\mathrm{m}}} \newcommand{\norm}[1]{\left\lVert #1 \right\rVert} \newcommand{\abs}[1]{\left\lvert #1 \right\rvert} \newcommand{\ip}[2]{\langle #1,#2\rangle} \newcommand{\pair}[2]{[\,#1,#2\,]} \DeclareMathOperator{\size}{size} \newcommand{\NL}{\size_L} \newcommand{\deghat}{\widehat{\deg}} \newcommand{\defn}[1]{\textbf{#1}} % defined terms \renewcommand{\H}{\mathrm{H}} \renewcommand{\bf}{\mathbf{f}} \newcommand{\cubesq}[1]{{\vcenter{\hbox{\rule{#1}{#1}}}}} \newcommand{\cube}{{\mathchoice{\cubesq{.8ex}}{\cubesq{.8ex}}{\cubesq{.6ex}}{\cubesq{.45ex}}}} \numberwithin{equation}{subsection} \setlength{\emergencystretch}{3em} % An appendix attached to one part. Usage, right after the last section of the part: % \appendixtopart % sections become "Appendix A", "Appendix B", ...; theorems A.1.1, ... % \section{Title}\label{sec:appx} % ... % \closeappendixtopart % back to arabic section numbers, continuing the count % Refer to it as Appendix~\ref{sec:appx}. The macro resets the hyperref anchors, so % several parts may each carry their own appendix. \makeatletter \newcounter{savedsection} \newcommand{\appendixtopart}{\par \setcounter{savedsection}{\value{section}}% \setcounter{section}{0}\setcounter{subsection}{0}% \let\sectionname\appendixname \renewcommand{\thesection}{\Alph{section}}% \renewcommand{\theHsection}{\Alph{section}.\arabic{savedsection}}} \newcommand{\closeappendixtopart}{\clearpage % flush deferred TOC entries before renumbering \let\sectionname\@empty \renewcommand{\thesection}{\arabic{section}}% \renewcommand{\theHsection}{\arabic{section}}% \setcounter{section}{\value{savedsection}}} \makeatother \setcounter{tocdepth}{1} % ------------------------------------------------------------ % \tbd{...} -- a blue note to self: material not written yet. % \tbd{check the constant here} -> [(spade) TBD: check the constant here] % Flip \tbdtrue to \tbdfalse to make every note vanish at once % (nothing is printed, no stray space is left behind). % The suit is \tbdsuit: \spadesuit, \heartsuit, \diamondsuit, \clubsuit. % ------------------------------------------------------------ \makeatletter \newif\iftbd \tbdtrue \definecolor{tbdblue}{RGB}{0,84,199} \newcommand{\tbdsuit}{\ensuremath{\spadesuit}} \newcommand{\tbd@print}[1]{% {\normalfont\sffamily\small\color{tbdblue}[\tbdsuit\ TBD: #1]}% } \DeclareRobustCommand{\tbd}{% \iftbd \expandafter\tbd@print \else \expandafter\@gobble \fi } \makeatother