phd/src/commands.sty

18 lines
575 B
TeX

\newcommand{\minitoc}[1][Contents]{%
\etocsettocstyle{\addsec*{#1}}{}%
\localtableofcontents%
}
\newcommand{\written}[1]{{\noindent\color{Green}Things written in #1}}
\newcommand{\unpublished}[1]{{\noindent\color{Green}Things written but not published in #1}}
\newcommand{\missing}[1]{{\noindent\color{Red}Missing #1}}
\newcommand{\argmax}[1]{\underset{#1}{\mathrm{argmax}\ }}
\newcommand{\copied}{\color{blue}}
\newcommand{\fresh}{\color{black}}
\newcommand{\resetstyle}{\color{black}}
\let\rawhref\href%
\renewcommand{\href}[2]{\rawhref{#1}{#2}\footnote{\url{#1}}}