Skip to content

Instantly share code, notes, and snippets.

@vutunganh
Created June 2, 2022 13:47
Show Gist options
  • Save vutunganh/9973412eaaac391335ee49eccacc4fc2 to your computer and use it in GitHub Desktop.
Save vutunganh/9973412eaaac391335ee49eccacc4fc2 to your computer and use it in GitHub Desktop.
%%BeginIpePreamble
%% Math
% These two are needed because something.
% https://tex.stackexchange.com/a/133783
\usepackage{sansmathaccent}
\pdfmapfile{+sansmathaccent.map}
\usepackage{amsmath,amssymb}
\usepackage{mathtools}
\usepackage{subcaption}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage[shortcuts]{extdash} % Must be last!
% General
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\SetBuilder}[2]{% before bar, after bar
\{#1 \mid #2\}
}
\newcommand{\abs}[1]{|#1|}
\DeclareMathOperator{\poly}{poly}
% TCS
\DeclareMathOperator{\bigO}{\mathcal{O}}
\let\Grid=\boxplus
\let\PN=\textsc % Problem Name
\let\CC=\textsf % Complexity Class
\DeclareMathOperator{\OPT}{OPT}
\DeclareMathOperator{\polylog}{polylog}
%%EndIpePreamble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment