<filename>CohenimTex/archiv/nc_Format_beackup.sty
\ProvidesPackage{nc_Format}

% 
%%%%%%%%%%%%%%%%%%%%%  MY STUFF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\makeatletter
%\g@addto@macro{\endabstract}{\@setabstract}
%\makeatother

% Load usepackages
    %\usepackage{epsfig}
    \usepackage{graphics, stackrel}
    \usepackage{amsmath, amssymb, amsthm}
    \usepackage{graphicx}
    \usepackage{verbatim}
    \usepackage{amsfonts}

    \usepackage{natbib}

    \usepackage{enumitem}
    %font
    %---------
    % Computer Modern Family (by <NAME>)
    %\usepackage{lmodern} % like amsfonts! 
    \usepackage[T1]{fontenc}

    % cohenim: 
    % this line make font look modern.  
    % without it we get Times fonts like clasical article
    % URW *Palladio*:
    %(as the original of this temlate)
    %\usepackage{mathpazo} % which is the same as: \usepackage{pxfonts}

    % cohenim: <NAME> style:)...
    % *Utopia* (Utopia Regular with Fourier)
    \usepackage{fourier} % which is almost identical to: \usepackage[adobe-utopia]{mathdesign}
    %\usepackage{cochineal}          % not far from utopia / fourier

    %  URW Nimbus Roman: 
    %\usepackage{mathptmx}  % most simmiler to Time New Roman?
    % or \usepackage{txfonts}?

    % BoI Formal Fonts
    %\usepackage{mdsymbol}    
    % or
    %\usepackage[scaled]{uarial}
    %\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
    %------------

    %\usepackage{tgpagella}

    %subfloats / figures
    \usepackage{caption}
    \usepackage{subcaption}

    % For pandas latex tables
    \usepackage{booktabs}
    \usepackage{fancyvrb}
    \usepackage[usenames, dvipsnames, svgnames,table]{xcolor}
    \usepackage{sectsty}
    
        \definecolor{BoI_blue}{rgb}{0,0.373,0.545} %  (0,95,139)/255
        \definecolor{BoI_azure}{rgb}{0.145,0.616,0.835} 
        \definecolor{BoI_bluegray}{rgb}{0.353,0.439,0.502} 
        \definecolor{BoI_GreenGras}{rgb}{0.376,0.596,0.325} 

        \sectionfont{\color{BoI_azure}}
        %\sectionfont{\color{red}}
        \subsectionfont{\color{BoI_GreenGras}}
        %\subsectionfont{\color{green!80!black}}
        \subsubsectionfont{\color{BoI_bluegray}}
        %\subsubsectionfont{\color{blue!50!white}}
    
    \usepackage{mdwlist}
    % lists
    \usepackage{enumitem}
    \setlist[enumerate]{itemsep=2pt,topsep=3pt}
    \setlist[itemize]{itemsep=2pt,topsep=3pt}
    \setlist[enumerate,1]{label=(\alph*)}

    % caligraphic
    \usepackage{mathrsfs}
    \usepackage{bbm}

    %% page layout
    \usepackage[left=1.25in, right=1.25in, top=1.0in, bottom=1.15in, includehead, includefoot]{geometry}
    \usepackage[citecolor=blue, colorlinks=true, urlcolor=blue, linkcolor=blue]{hyperref}

    % nice inequalities
    \renewcommand{\leq}{\leqslant}
    \renewcommand{\geq}{\geqslant}

    % inner product
    \providecommand{\inner}[1]{\left\langle{#1}\right\rangle}
    \providecommand{\innerp}[1]{\left\langle{#1}\right\rangle_\pi}

\usepackage[ruled, linesnumbered]{algorithm2e}
% End Load usepackages

%extra spacing
\renewcommand{\baselinestretch}{1.25}

%horizonal line
\newcommand{\HRule}{\rule{\linewidth}{0.3mm}}

% skip a line between paragraphs, no indentation
\setlength{\parskip}{1.5ex plus0.5ex minus0.5ex}
\setlength{\parindent}{0pt}

% footnote without a maker (blfootnote)
\newcommand\blfootnote[1]{%
  \begingroup
  \renewcommand\thefootnote{}\footnote{#1}%
  \addtocounter{footnote}{-1}%
  \endgroup
}

\DeclareMathOperator{\Span}{span}
\DeclareMathOperator{\diag}{diag}
\DeclareMathOperator{\card}{card}
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator{\cl}{cl}
%\DeclareMathOperator{\overset{\circ}}{int}
\DeclareMathOperator{\Prob}{Prob}
\DeclareMathOperator{\determinant}{det}
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\Cov}{Cov}
\DeclareMathOperator{\graph}{graph}

% mics short cuts and symbols
\newcommand{\st}{\ensuremath{\ \mathrm{s.t.}\ }}
\newcommand{\setntn}[2]{ \{ #1 : #2 \} }
\newcommand{\fore}{\therefore \quad}
\newcommand{\preqsd}{\preceq_{sd} }
\newcommand{\toas}{\stackrel {\textrm{ \scriptsize{a.s.} }} {\to} }
\newcommand{\tod}{\stackrel { d } {\to} }
\newcommand{\tou}{\stackrel { u } {\to} }
\newcommand{\toweak}{\stackrel { w } {\to} }
\newcommand{\topr}{\stackrel { p } {\to} }
\newcommand{\disteq}{\stackrel { \mathscr D } {=} }
\newcommand{\eqdist}{\stackrel {\textrm{ \scriptsize{d} }} {=} }
\newcommand{\iidsim}{\stackrel {\textrm{ {\sc iid }}} {\sim} }
\newcommand{\1}{\mathbbm 1}
\newcommand{\la}{\langle}
\newcommand{\ra}{\rangle}
\newcommand{\dee}{\,{\rm d}}
\newcommand{\og}{{\mathbbm G}}
\newcommand{\ctimes}{\! \times \!}
\newcommand{\sint}{{\textstyle\int}}
\newcommand{\A}{\forall}

% d for integrals
\newcommand*\diff{\mathop{}\!\mathrm{d}}
\newcommand*\e{\mathrm{e}}

% Special symbols and shortcuts
\newcommand{\rR}{\mathcal R}
\newcommand{\infot}{\fF_t}
\newcommand{\given}{\,|\,}
\newcommand{\pspace}{\mathscr{P}(\mathsf{X})}
\newcommand{\cspace}{\mathscr{C}(\mathsf{X})}
%\renewcommand{\times}{\! \times \!}
\newcommand{\aA}{\mathscr A}
\newcommand{\cC}{\mathscr C}
\newcommand{\dD}{\mathscr D}
\newcommand{\sS}{\mathcal S}
\newcommand{\bB}{\mathscr B}
\newcommand{\oO}{\mathcal O}
\newcommand{\gG}{\mathcal G}
\newcommand{\hH}{\mathcal H}
\newcommand{\kK}{\mathcal K}
\newcommand{\iI}{\mathcal I}
\newcommand{\mM}{\mathcal M}
\newcommand{\eE}{\mathcal E}
\newcommand{\fF}{\mathscr F}
\newcommand{\qQ}{\mathcal Q}
\newcommand{\tT}{\mathcal T}
\newcommand{\xX}{\mathcal X}
\newcommand{\yY}{\mathcal Y}
\newcommand{\zZ}{\mathcal Z}
\newcommand{\wW}{\mathcal W}
\newcommand{\uU}{\mathcal U}
\newcommand{\lL}{\mathcal L}
\newcommand{\pP}{\mathscr P}
\newcommand{\vV}{\mathcal V}
\newcommand{\BB}{\mathbbm B}
\newcommand{\RR}{\mathbbm R}
\newcommand{\CC}{\mathbbm C}
\newcommand{\QQ}{\mathbbm Q}
\newcommand{\NN}{\mathbbm N}
\newcommand{\GG}{\mathbbm G}
\newcommand{\UU}{\mathbbm U}
\newcommand{\YY}{\mathbbm Y}
\newcommand{\ZZ}{\mathbbm Z}
\newcommand{\KK}{\mathbbm K}
\newcommand{\PP}{\mathbbm P}
\newcommand{\XX}{\mathsf X}
\newcommand{\WW}{\mathsf W}
\newcommand{\EE}{\mathbbm E}
\newcommand{\var}{\mathbbm V}
\newcommand{\bP}{\mathbf P}
\newcommand{\bQ}{\mathbf Q}
\newcommand{\bE}{\mathbf E}
\newcommand{\bM}{\mathbf M}
\newcommand{\bX}{\mathbf X}
\newcommand{\bY}{\mathbf Y}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
%\newtheorem{corollary}{Corollary}[section]
%\newtheorem{lemma}{Lemma}[section]
%\newtheorem{proposition}{Proposition}[section]
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}

\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{axiom}{Axiom}[section]
\newtheorem{example}{Example}[section]
\newtheorem{remark}{Remark}[section]
\newtheorem{notation}{Notation}[section]
\newtheorem{assumption}{Assumption}[section]
\newtheorem{condition}{Condition}[section]

%\DeclareTextFontCommand{\emph}{\bfseries}

%%%%%%%%%%%%%%%%%% end my preamble %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[normalem]{ulem}
%\usepackage{soul}