% % This package provides standard definitions that I end up putting at the % top of most of my documents. % \ProvidesPackage{kcannon0}[2004/02/14 v0.1 Kipp Cannon's Standard Definitions] \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{graphics} \RequirePackage{latexsym} \RequirePackage[squaren]{SIunits} \RequirePackage{tensind} % % Setup the tensind package % \tensordelimiter{:} \tensorformat{} \whenindex{,}{\,,\,}{\finishdots} \whenindex{;}{\,;\,}{\finishdots} \whenindex{|}{\,|\,}{\finishdots} % % Fix the SIunit package % \renewcommand{\unit}[2]{\ensuremath{#1\:\mathrm{#2}}} \addunit{\annum}{a} \addunit{\astronomicalunit}{AU} \addunit{\lightyear}{light\ year} \addunit{\parsec}{pc} \addunit{\bc}{\textsc{bc}} \addunit{\jansky}{Jy} % % Augment the math typsetting facilities % \newcommand{\sidescript}[3]{{\vphantom{#3}}#1#3#2} \DeclareMathOperator{\sign}{sign} % sign x = -1,0,+1 \DeclareMathOperator{\ci}{Ci} % cosine integral \DeclareMathOperator{\order}{O} % order of magnitude \DeclareMathOperator{\F}{F} % hypergeometric function \newcommand{\pFq}[2]{\sideset{_{#1}}{_{#2}}{\F}} \DeclareMathOperator{\erf}{erf} % error integral function \DeclareMathOperator{\erfc}{erfc} % complementary error function \DeclareMathOperator{\erfi}{erfi} % imaginary error integral \DeclareMathOperator{\besselJ}{J} \DeclareMathOperator{\besselY}{Y} \DeclareMathOperator{\besselH}{H} \DeclareMathOperator{\besselj}{j} \DeclareMathOperator{\bessely}{y} \DeclareMathOperator{\besselh}{h} \newcommand{\ddelim}[1]{#1\!#1} \newcommand*{\diff}{\,\mathrm{d}} % eg. "\int \diff x" \newcommand*{\ee}{\mathrm{e}} % \log^{-1} 1 \newcommand*{\aye}{\mathrm{i}} % \sqrt{-1} \newcommand{\mat}[1]{\mathbb{#1}} % a matrix \newcommand*{\conditionalon}{\mid} \newcommand{\mean}[1]{\left\langle#1\right\rangle} \DeclareMathOperator{\median}{median} \newcommand{\cumulant}[1]{\ddelim{\left\langle}#1\ddelim{\right\rangle}} \newcommand{\magnitude}[1]{\left|#1\right|} \newcommand{\transpose}[1]{#1^{\mathrm{T}}} \newcommand*{\Reals}{\text{Reals}} \newcommand*{\Integers}{\text{Integers}} \newcommand*{\Naturals}{\text{Naturals}} % % Augment the physics typsetting facilities % \newcommand*{\Sol}{\odot} \newcommand*{\Tera}{\oplus} \newcommand*{\Msol}{{M_{\Sol}}} \newcommand*{\Mtera}{{M_{\Tera}}} \newcommand*{\boltzmann}{{k_{\mathrm{B}}}} \newcommand{\planck}[1]{{\mathit{#1}_{\mathrm{Pl}}}} \newcommand*{\lplanck}{\planck{l}} % Planck length \newcommand*{\tplanck}{\planck{t}} % Planck time \newcommand*{\mplanck}{\planck{m}} % Planck mass \newcommand*{\Tplanck}{\planck{T}} % Planck temperature