%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Custom Macros %%%%%%%%%%%%%%%%%%%%%%%%%%%% % Make a nice border and box for the tops of our examples \newcommand\klab[3]{\vspace{#1}\noindent{}\hrulefill\fbox{\texttt{~#2~}}\hrulefill\vspace{#3}} % Add an \hrule with space above and below \newcommand\krule[2]{\vspace{#1}\hrule\vspace{#2}} % Make hrefs easier (must load package hyperref} \newcommand\kref[2]{\href{#1}{{\texttt{#2}}}} % Rotate text in tables easier % https://tex.stackexchange.com/questions/89115/how-to-rotate-text-in-multirow-table \newcommand\krot[3]{\parbox[t]{#1}{\multirow{#2}{*}{\rotatebox[origin=c]{90}{#3}}}} % Make diversions easier (and uniform!) \newcommand\kdivb[2]{ \medskip \hrule \medskip \noindent{}\textbf{#1} \vspace{#2mm} \begin{multicols}{2} } \newcommand\kdive[1]{ \end{multicols} \vspace{#1mm} \hrule \medskip }