Dhj.sty: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
\theoremstyle{remark} | \theoremstyle{remark} | ||
\newtheorem{remark}[theorem]{Remark} | \newtheorem{remark}[theorem]{Remark} | ||
\theoremstyle{definition} | |||
\newtheorem{notation}[theorem]{Notation} | |||
\theoremstyle{plain} | \theoremstyle{plain} | ||
Line 47: | Line 49: | ||
\newcommand{\calB}{{\mathcal{B}}} | \newcommand{\calB}{{\mathcal{B}}} | ||
\newcommand{\calC}{{\mathcal{C}}} | \newcommand{\calC}{{\mathcal{C}}} | ||
\newcommand{\calE}{\mathcal{E}} | |||
\newcommand{\calS}{\mathcal{S}} | |||
\newcommand{\calU}{\mathcal{U}} | |||
% barred letters | % barred letters | ||
\newcommand{\barJ}{{\overline{J}}} | |||
\newcommand{\barT}{{\overline{T}}} | \newcommand{\barT}{{\overline{T}}} | ||
Line 59: | Line 66: | ||
\newcommand{\noteryan}[1]{*\marginpar{\tiny *Ryan: \bf #1}} | \newcommand{\noteryan}[1]{*\marginpar{\tiny *Ryan: \bf #1}} | ||
%\newcommand{\noteryan}[1]{} | %\newcommand{\noteryan}[1]{} | ||
\newcommand{\notetim}[1]{*\marginpar{\tiny *Tim: \bf #1}} | |||
%\newcommand{\notetim}[1]{} | |||
Line 67: | Line 76: | ||
\newcommand{\dtv}[2]{d_{\mathrm{TV}}(#1,#2)} | \newcommand{\dtv}[2]{d_{\mathrm{TV}}(#1,#2)} | ||
\newcommand{\dchi}[2]{d_{\chi^2}(#1,#2)} | \newcommand{\dchi}[2]{d_{\chi^2}(#1,#2)} | ||
\newcommand{\chg}[3]{#1^{#2\rightarrow#3}} |
Revision as of 20:08, 13 May 2009
\usepackage{amsmath,amssymb,amsthm,amsfonts,latexsym,hyperref,xspace}
% layout \setlength{\textwidth}{6.5 in} \setlength{\textheight}{9in} \setlength{\oddsidemargin}{0in} \setlength{\topmargin}{0in} \addtolength{\voffset}{-.5in}
% environments \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{claim}[theorem]{Claim} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{fact}[theorem]{Fact} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \theoremstyle{definition} \newtheorem{notation}[theorem]{Notation} \theoremstyle{plain}
%%%%%%%%%%%% Generic math macros %%%%%%%%%%%%
% probability and other operators \renewcommand{\Pr}{\mathop{\bf Pr\/}} \newcommand{\Ex}{\mathop{\bf E\/}} \newcommand{\Varx}{\mathop{\bf Var\/}} \newcommand{\Covx}{\mathop{\bf Cov\/}} \newcommand{\littlesum}{\mathopTemplate:\textstyle \sum} % you're getting is too large
% number systems \newcommand{\R}{\mathbb R} \newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z}
% short forms \newcommand{\eps}{\epsilon} \newcommand{\lam}{\lambda} \newcommand{\la}{\langle} \newcommand{\ra}{\rangle} \newcommand{\half}Template:\textstyle \frac12
% calligraphic letters \newcommand{\calA}{{\mathcal{A}}} \newcommand{\calB}{{\mathcal{B}}} \newcommand{\calC}{{\mathcal{C}}} \newcommand{\calE}{\mathcal{E}} \newcommand{\calS}{\mathcal{S}} \newcommand{\calU}{\mathcal{U}}
% barred letters
\newcommand{\barJ}{{\overline{J}}}
\newcommand{\barT}{{\overline{T}}}
%%%%%%%%%%%% document-writing macros %%%%%%%%%%%%
\newcommand{\ignore}[1]{*\marginpar{\tiny \em ignored part}} %\newcommand{\ignore}[1]{}
\newcommand{\noteryan}[1]{*\marginpar{\tiny *Ryan: \bf #1}} %\newcommand{\noteryan}[1]{} \newcommand{\notetim}[1]{*\marginpar{\tiny *Tim: \bf #1}} %\newcommand{\notetim}[1]{}
%%%%%%%%%%%% DHJ-centric macros %%%%%%%%%%%%
\newcommand{\eqs}[1]{\overline{\mu}_{#1}} \newcommand{\eqsc}[1]{\widetilde{\mu}_{#1}}
\newcommand{\dtv}[2]{d_{\mathrm{TV}}(#1,#2)} \newcommand{\dchi}[2]{d_{\chi^2}(#1,#2)}
\newcommand{\chg}[3]{#1^{#2\rightarrow#3}}