%---------------Custom Definitions--------------

\def\liminf{\mathop{\rm lim\, inf}\limits} 
\DeclareMathOperator{\Ex}{\mathbb{E}} % Expectations operator 
\def\var{\operatorname{var}} % variance
\def\cov{\operatorname{cov}} % covariance
\def\std{\operatorname{std}} % standard deviation
\def\argmax{\operatornamewithlimits{arg\,max}} % argmax

%---------------Custom Modifications----------------------

% \htline defines a thick horizontal line in table
\def\htline{\noalign{\hrule height 2\arrayrulewidth}}

% \hdline defines a dotted horizontal line in table
\def\hdline{\noalign{.\dotfill{}.}}

%To keep footnotes on a single page except in extreme cases
\interfootnotelinepenalty=5000 %from 0 to 10000

%To prevent hyphenation
\hyphenpenalty=5000 %from 0 to 10000, default is 200

%To prevent breaking math formula
\relpenalty=4000 %from 0 to 10000, default is 500

%To prevent breaking math formula after binary operator 
\binoppenalty=10000 %from 0 to 10000, default is 700

%--------------------------------------------------------




